Jump to content

Recommended Posts

Posted

Has anyone figured out how to modify the Lua files to get on/off toggle switches to work? I've tried with no luck so far.

Posted

Thanks!

 

Man this stuff is such a pain! I'd pay big bucks for a program that could do all this for all the aircraft in the game.

Posted

that would be what I'd use next time. Right now I don't have the enthusiasm to redo my panel. Once the F18 comes out I'll build new ones for that.

Posted (edited)

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
  • Recently Browsing   0 members

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