xpxop / improvedTCA

Improved Thrustmaster Boeing TCA Autopilot Control Integration LUA Script for X-plane
MIT License
0 stars 3 forks source link

Does it works with 2 TCA throttle? + add for one axes reverse. #7

Open Clemy01 opened 9 months ago

Clemy01 commented 9 months ago

Hello,

I'm thinking of buying a 2nd Thrustmaster TCA Boeing, does this script work with both? (ie 2 knobs etc...) I've had a look at the script file but I don't know much about it. On the other hand I added this for those who fly only with one motor axis:

dataref("reverser_12", "laminar/B738/flt_ctrls/reverse_lever12", "writable")

create_command("FlyWithLua/improvedboetca/rev12_idle", -- command's name
  "Reverser #12 idle while holding", -- description
  "reverser_12 = 0.06001", -- set DataRef on first press
  "", -- continue while holding
  "reverser_12 = 0")

This reverses the two engines on a single axis for the 737 zibo.

Thanks a lot!

xpxop commented 9 months ago

I would probably "work" when you simply assign the same functions to both quadrants but the mode switching on one would effect the status of the other as the script is only running once. A quick "fix" would be to simply copy the script (rename it) and rename every improvedboetca to something else. This will then create new commands for the second script under you new name that you could assign and should work completely independently. But that is quite an ugly solution...

ryanov commented 1 month ago

I have two throttles, but I don't really use the second one to its full capability for example, I typically leave the second knob in the first position and use it to either select V/S mode or to manipulate the V/S wheel, and don't try to mess with anything else.

I could have sworn there was rudimentary support for this in this script, but I guess I am thinking of the secondary mode for the selector?