Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello all,

 

Is it possible to program a switch so when it is on, the throttle outout is limited to a certain percentage (let's say 90%) even though the physical throttle is maxed out? Thank you all!

 

Best regards,

C.Schaffhausen

Posted

The best way to do this would be to handle the throttle assignment in a lua script. You would assign your throttle axis to a free FSUIPC offset, and the lua script (which should auto-run) would monitor this offset (using event,offset), perform any calibration needed and then send the appropriate throttle axis control to the sim (using ipc.control). The script could also monitor for the button/switch (using event.button) and set/clear a flag when the switch is pressed/released, and this flag can be used in the function that calibrates the throttle offset value, so that it can be calibrated differently depending upon whether the flag is set or cleared.

John

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.