Jump to content

Recommended Posts

Posted

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')}},

  • Like 3
  • Thanks 1

GD ViperWorks - YouTube

F-16CM Block 50 Replica Sim Pit Construction

  • 2 weeks later...
Posted

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.

Posted (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 by Enabler
  • Like 1

GD ViperWorks - YouTube

F-16CM Block 50 Replica Sim Pit Construction

  • 1 month later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...