Zeke Posted December 7, 2015 Posted December 7, 2015 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.
Sokol1_br Posted December 7, 2015 Posted December 7, 2015 (edited) Explained there: http://forums.eagle.ru/showthread.php?t=89226&highlight=warthog+position+switches A useful thread that should be made stick... Edited December 7, 2015 by Sokol1_br
Zeke Posted December 7, 2015 Author Posted December 7, 2015 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.
joebloggs Posted December 7, 2015 Posted December 7, 2015 Why don't you get an ON/ON switch. I have these for the A10C and don't have to mess with the lua files.
Zeke Posted December 7, 2015 Author Posted December 7, 2015 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.
Sokol1_br Posted December 8, 2015 Posted December 8, 2015 (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 December 8, 2015 by Sokol1_br
Recommended Posts