Enabler Posted February 25, 2024 Posted February 25, 2024 Is it possible to add single press ejection control and the seat arming into the control lua? It's an easy fix with just a couple lines of code in the lua. The code is available in the forums but must be added every time there is an update. It seems like this is a simple fix to paste it in as part of the standard programing and would make things a lot simpler for scale pit builders. Better yet would be to incorporate it into the ui across effective for all aircraft. {down = iCommandPlaneEject, pressed = iCommandPlaneEject, up = iCommandPlaneEject, name = _('Eject (press once)'), category = _('Systems')}, { down = cpt_commands.EjectionSafetyLever, cockpit_device_id = devices.CPT_MECH, value_down = 0.0, name = _('Ejection Safety Lever, LOCKED'), category = {_('Systems')}}, { down = cpt_commands.EjectionSafetyLever, cockpit_device_id = devices.CPT_MECH, value_down = 1.0, name = _('Ejection Safety Lever, ARMED'), category = {_('Systems')}}, { down = cpt_commands.EjectionSafetyLever, up = cpt_commands.EjectionSafetyLever, cockpit_device_id = devices.CPT_MECH, value_down = 1.0, value_up = 0.0, name = _('Ejection Safety Lever, ARMED/LOCKED'), category = {_('Systems')}}, 3 1 GD ViperWorks - YouTube F-16CM Block 50 Replica Sim Pit Construction
Treker Posted March 10, 2024 Posted March 10, 2024 Hello @Enabler I'm trying to paste your code into: \DCSWorld\Mods\aircraft\F-16C\Input\F-16C\joystick\default.lua But whatever I do it won't work... can't find it in DCS. Can you help me? Thank you.
Enabler Posted March 11, 2024 Author Posted March 11, 2024 (edited) 21 hours ago, Treker said: Hello @Enabler I'm trying to paste your code into: \DCSWorld\Mods\aircraft\F-16C\Input\F-16C\joystick\default.lua But whatever I do it won't work... can't find it in DCS. Can you help me? Thank you. Paste at the bottom of the "systems" section. Be sure to hit "return key" at after pasting. Edited March 11, 2024 by Enabler 1 GD ViperWorks - YouTube F-16CM Block 50 Replica Sim Pit Construction
Treker Posted April 21, 2024 Posted April 21, 2024 @Enabler sorry, totally forgot to thank you. Works great. Thank you!
Recommended Posts