Bearfoot Posted March 14, 2017 Posted March 14, 2017 So, in the default SA-342 controls, the right/left pylon arms are toggle switches. I want to use the TMWH Throttle EAC and RDR ALTM switches for these. But the problem with these (or, indeed, any of the TMWH Throttle base switches) is that I have to flip them off and then back on again to effect a toggle. The switches can easily get out of sync, and it is not always easy to keep track of the virtual world state vis a vis the physical world state. Very confusing in the heat of the moment, especially as you have to glance down inthe cockpit to see the state of the switches and then sync the throttle base etc. etc. So I did the following modification. This allows for the throttle switches to directly mimic the state of the cockpit switches: flip up to on, flip down to off. No muss, no fuss. In: "Mods\aircraft\SA342\Input\joystick\default.lua", under the keyCommands = { section, add the following: -- [**CUSTOM**] {down = device_commands.Button_21,cockpit_device_id = devices.WEAPONS, up = device_commands.Button_21,cockpit_device_id = devices.WEAPONS, value_down = 1, value_up = 0, name = _('(Custom) SA342 Left Arm Toggle'), category = _('(Custom) SA342 Weapons Panel')}, {down = device_commands.Button_23,cockpit_device_id = devices.WEAPONS, up = device_commands.Button_23,cockpit_device_id = devices.WEAPONS, value_down = 1, value_up = 0, name = _('(Custom) SA342 Right Arm Toggle'), category = _('(Custom) SA342 Weapons Panel')}, This file will almost certainly be overwritten during an update, so either be prepared to copy it over again and again, or, better yet, manage it through JSGME. For your convenience, I've attached a JSGME-ready archive incorporating the above.AC-SA342-Controls-Custom-Toggles.zip
The_Tau Posted March 15, 2017 Posted March 15, 2017 But isnt it set that when both switches are armed, Guns are selected? So You keep missiles armed all the time and then just use gun switch on/off to switch between weapons Tau's Youtube channel Twitch channel https://www.twitch.tv/the0tau
Recommended Posts