Jump to content

On/Off toggle switches in DCS 2?


Recommended Posts

I suggest take a look in this LUA edit tips, seems complicated but is not, generally involve add a new command name and a number or two to the file.

 

Without a previous experience I did various changes in Mig-21, based on these threads.

Just do a backup copy of the original file before try edit.

 

See this example:

 

Original - 510 {combos = {{key = "JOY_BTN19"}, }, down = iCommandPlaneAHCPMasterArm, name = "Master switch ARM", category = "Armament HUD Control Panel"},

 

Edited - 510 {combos = {{key = "JOY_BTN19"}, }, down = iCommandPlaneAHCPMasterArm, up = iCommandPlaneAHCPMasterSafe, name = "Master switch ARM", category = "Armament HUD Control Panel"},

 

Now the switch executes function when moved Down and when moved Up, previously are only when moved Down.


Edited by Sokol1_br
Link to comment
Share on other sites

  • Recently Browsing   0 members

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