Rhinozherous Posted July 22, 2021 Posted July 22, 2021 (edited) Hello! I was happy to see that we can now assign the Wepon selector (the dial where you select guns, rockets...) for each position. But the most useless "feature" in DCS struck hard again. The only thing you can change in the controls menu is the keybinding. All my other joysticks (Warthog, Thrustmaster MFDs,...) are greyed out. I already had to fight with this nonsense in the A10C, where you have to delete some lua files to get this assignments open for use. But now I wanted to ask if this HAS to be that way? I cant imagine what benefit this should bring to anyone? Can anyone tell me what lua files I have to delete to get this assignable? Back in the A10C I had to delete a MFD lua, but the Hind does not have this. Thank you Edited July 22, 2021 by Rhinozherous i7-14700KF 5.6GHz Water Cooled /// ZOTAC RTX 4070 TI Super 16GB /// 32GB RAM DDR5 /// Win11 /// SSDs only DCS - XP12 - MSFS2020
Wrcknbckr Posted July 22, 2021 Posted July 22, 2021 Given that the weapon selector is a rotary one and are not multiple push buttons, the 'Select Weapon Pilot Next' and 'Select Weapon Pilot Prev' seems more appropriate...
Rhinozherous Posted July 22, 2021 Author Posted July 22, 2021 34 minutes ago, Wrcknbckr said: Given that the weapon selector is a rotary one and are not multiple push buttons, the 'Select Weapon Pilot Next' and 'Select Weapon Pilot Prev' seems more appropriate... But the thing is that they made it possible to assign a button for each position (see screenshot) but we are not allowed to use it? i7-14700KF 5.6GHz Water Cooled /// ZOTAC RTX 4070 TI Super 16GB /// 32GB RAM DDR5 /// Win11 /// SSDs only DCS - XP12 - MSFS2020
Munkwolf Posted July 28, 2021 Posted July 28, 2021 (edited) On 7/22/2021 at 5:49 AM, Rhinozherous said: Can anyone tell me what lua files I have to delete to get this assignable? Back in the A10C I had to delete a MFD lua, but the Hind does not have this. edit (not delete) the default.lua in DCS\Mods\aircraft\Mi-24P\Input\Mi_24P_pilot\joystick you can copy the bindings for the selector over from the keyboard default.lua, search for "Select Weapon Pilot". for custom binds it is good to use Quaggles mod so they are defined in your Saved Games folder and don't get lost during updates: https://github.com/Quaggles/dcs-input-command-injector also, for other binds, the keybinds project has pretty good coverage for the Hind: https://github.com/Munkwolf/dcs-community-keybinds it's structured for use with Quaggles mod, here's the Hind binds in it: https://github.com/Munkwolf/dcs-community-keybinds/blob/main/InputCommands/Mi-24P/Input/Mi_24P_pilot/joystick/default.lua Edited July 28, 2021 by Munkwolf 1 1
hannibal Posted September 23, 2022 Posted September 23, 2022 would this quaggles mod work for axis commands for analog mappings? find me on steam! username: Hannibal_A101A http://steamcommunity.com/profiles/76561197969447179
Munkwolf Posted September 26, 2022 Posted September 26, 2022 On 9/23/2022 at 6:24 AM, hannibal said: would this quaggles mod work for axis commands for analog mappings? yes, it supports axis commands. using hind as reference, see the axisCommands section from keybinds project: https://github.com/Munkwolf/dcs-community-keybinds/blob/074eadb4111d5bb376102aeb365aa8b3d6854955/InputCommands/Mi-24P/Input/Mi_24P_pilot/joystick/default.lua#L1574
hannibal Posted September 26, 2022 Posted September 26, 2022 (edited) Amazingg... I have to try my minigun controllerd with this!! 57 minutes ago, Munkwolf said: yes, it supports axis commands. using hind as reference, see the axisCommands section from keybinds project: https://github.com/Munkwolf/dcs-community-keybinds/blob/074eadb4111d5bb376102aeb365aa8b3d6854955/InputCommands/Mi-24P/Input/Mi_24P_pilot/joystick/default.lua#L1574 Since doorgun slew up/down right/left grayed out for joysticks but not for the mouse, I guess I should look at the Lua axis assignment there and alter that to fit the keybind? Also your link is for the pilot.. I would have to create one for mi24_gunner..? Edited September 26, 2022 by hannibal find me on steam! username: Hannibal_A101A http://steamcommunity.com/profiles/76561197969447179
Munkwolf Posted September 26, 2022 Posted September 26, 2022 1 hour ago, hannibal said: Amazingg... I have to try my minigun controllerd with this!! Since doorgun slew up/down right/left grayed out for joysticks but not for the mouse, I guess I should look at the Lua axis assignment there and alter that to fit the keybind? Also your link is for the pilot.. I would have to create one for mi24_gunner..? Dang, I really need to circle back and do a keybinds update for the hind! Lots of updates I haven't accounted for yet. You will need to create a folder for 'Mi-24P_Gunner' if using quaggles mod with the keybinds lua files. In dcs install, 'DCS\Mods\aircraft\Mi-24P\Input\Mi-24P_Gunner\mouse\default.lua' looks like it might have the mouse commands you are looking to use for joystick? {action = weapon_commands.Gunner_SIGHT_UP_DOWN_AXIS, cockpit_device_id = devices.WEAP_SYS, name = _('Gun Up/Down')}, {action = weapon_commands.Gunner_SIGHT_LEFT_RIGHT_AXIS, cockpit_device_id = devices.WEAP_SYS, name = _('Gun Left/Right')}, If you want to use quaggles mod and keybinds project, then working from main input folder for the hind: https://github.com/Munkwolf/dcs-community-keybinds/tree/074eadb4111d5bb376102aeb365aa8b3d6854955/InputCommands/Mi-24P/Input You'll want to copy-paste 'Mi_24P_AimingStation' folder and rename to 'Mi-24P_Gunner'. Then in the new 'Mi-24P_Gunner' folder, go into joystick folder and edit the default.lua so it looks like: return { keyCommands = { }, axisCommands = { {action = weapon_commands.Gunner_SIGHT_UP_DOWN_AXIS, cockpit_device_id = devices.WEAP_SYS, name = _('Gun Up/Down')}, {action = weapon_commands.Gunner_SIGHT_LEFT_RIGHT_AXIS, cockpit_device_id = devices.WEAP_SYS, name = _('Gun Left/Right')}, } } Basically copying over those 2 commands from the mouse configuration to the joystick configuration. I haven't tested that to see if it works. I will try to do so after work today, and add them to the keybinds project with some other updates I have pending.
hannibal Posted September 28, 2022 Posted September 28, 2022 (edited) I tried quaggles.. I couldn't get the mapping to take a controller input for the mi24 doorgun. Nothing exists for doorgun axis assignment for sa342 minigun variant I tried your Lua but no joy.. @Munkwolf Edited September 28, 2022 by hannibal find me on steam! username: Hannibal_A101A http://steamcommunity.com/profiles/76561197969447179
Recommended Posts