manhattan
05-29-2016, 10:05 AM
Hello.
Does anybody know how to apply reverse thrust using a mapped button?
Reverse thrust is not shown anywhere within FSUIPC nor FS ASSIGNMENTS?
I want to use a button for reverse thrust because of build complications.
Any help appreciated.
TONY. UK
Avro748
05-31-2016, 11:55 PM
Reverse thrust is essentially negative throttle in MSFS. Unfortunately, the "Throttle1 Set" command doesn't allow you to pick a value less than idle. There are two alternate options:
Option 1 - Map it to "Throttle1 Dec." This requires you to hold down the button to achieve full reverse. You can map releasing the key to Throttle1 Idle as well.
Option 2 - Make a very simple XML gauge. Have the gauge check for the state of an L:Var and toggle the throttle to move into reverse when the L:Var is equal to 1. Make an FSUIPC macro manually and set your button to toggle the L:Var. This way you don't have to hold the button down. I haven't tested this but it should work:
<Gauge Name="Reverser Toggle" Version="1.0">
<Update>
(A:General Eng Throttle Lever Position,percent) 0 < (L:TonysButton, bool) 1 == and
if{ 1 (>K:THROTTLE1_DECR) }
(A:General Eng Throttle Lever Position,percent) 0 < (L:TonysButton, bool) 0 == and
if{ 1 (>K:THROTTLE1_INCR) }
(A:General Eng Throttle Lever Position,percent) 0 > (L:TonysButton, bool) 0 == and
if{ 0 (>K:THROTTLE1_INCR) 0 (>K:THROTTLE1_DECR) }
(A:General Eng Throttle Lever Position,percent) 0 > (L:TonysButton, bool) 1 == and
if{ 0 (>K:THROTTLE1_INCR) 0 (>K:THROTTLE1_DECR) }
</Update>
</Gauge>
The code is set up so that if the throttles are at idle and L:TonysButton is active, then the throttles are repeatedly forced backwards until L:TonysButton is inactive, at which point the throttles are moved forwards until they are at idle again.