xxJohnxx Posted October 30, 2012 Posted October 30, 2012 Hi, I use the Ka-50 with the TM Warthog. I have the gear and the door assigned to the EAC and RDR ALTM. switches on the throttle unit. By default, if I move the RDR ALTM switch up, the gear goes up. If I move it back down the gear stays up. If I move the switch back up the gear comes down. And so on. I heard that it is possible to change the correspondending lua file so that this switch works like: switch up -> gear up; switch down -> gear down; I have found the lua file and the line for the gear, however I don't know what to change. {combos = {{key = "JOY_BTN25"}, }, down = iCommandPlaneGear, name = "Gear lever", category = "Ins Forward panel and gauges"}, Hopfully someone can point me in the right direction. Thanks John Check out my YouTube: xxJohnxx Intel i7 6800k watercooled | ASUS Rampage V Edition 10 | 32 GB RAM | Asus GTX1080 watercooled
JG14_Smil Posted October 30, 2012 Posted October 30, 2012 (edited) It's a drag and drop deal with Helios, but I think if Helios can do it, there is a way to do it in the lua code too. If you are not familiar with Helios, I suggest looking into it. http://www.gadrocsworkshop.com/forum Good luck to you. Actually, you should be able to fix this easily in the TM software by using on/off code. Edited October 30, 2012 by JG14_Smil
MTFDarkEagle Posted October 30, 2012 Posted October 30, 2012 Try this: {combos = {{key = "JOY_BTN25"}, }, down = iCommandPlaneGear, up = iCommandPlaneGear, name = "Gear lever", category = "Ins Forward panel and gauges"}, DOWN is when you PRESS the button/switch, UP is when you release it. Because there is no seperate command for gearup and geardown beware that a de-sync can occur. 1 Lukas - "TIN TIN" - 9th Shrek Air Strike Squadron TIN TIN's Cockpit thread
xxJohnxx Posted October 30, 2012 Author Posted October 30, 2012 Thank you both for your answers! I will check out what Helios can do for me, however until then I will stick to the method Lukas described, which works perfectly fine! Many thanks! John 1 Check out my YouTube: xxJohnxx Intel i7 6800k watercooled | ASUS Rampage V Edition 10 | 32 GB RAM | Asus GTX1080 watercooled
MTFDarkEagle Posted October 30, 2012 Posted October 30, 2012 Glad I could help :) I'm using both the LUA editing as helios for my profiling, for various reasons. Anyway, have fun programming :-) Lukas - "TIN TIN" - 9th Shrek Air Strike Squadron TIN TIN's Cockpit thread
Recommended Posts