- Messages
- 1,468
- Country

.....A Century of Flight (so it seems) I've got round to killing a bug in the original model.
I've been working on a two engine out take-off scenario which also required a three minute gravity drop for the gear. That works a dream thanks to you.
At the same time on landing I was getting tired of the reverser of one or other of the dead engines coming on.
The original bug was that with all engines off at the stand, selecting the reverse lever would make the N2 gauges spring to life, which of course is absurd!
So two birds killed with one stone as it were.
For the reverse lights all I needed was to add the turb value thus still allowing the test function.
And for the gauges themselves the turb value was re evaluated +1
Elementary training for you guys, but a major milestone for mortals such as myself. Such simple code changes mean that 1. Something unexpected doesn't happen when moving a lever and 2. An emergency scenario works correctly all the way start to finish.
Thanks guys.
I've been working on a two engine out take-off scenario which also required a three minute gravity drop for the gear. That works a dream thanks to you.
At the same time on landing I was getting tired of the reverser of one or other of the dead engines coming on.
The original bug was that with all engines off at the stand, selecting the reverse lever would make the N2 gauges spring to life, which of course is absurd!
So two birds killed with one stone as it were.
For the reverse lights all I needed was to add the turb value thus still allowing the test function.
Code:
<Value>(A:Turb eng1 N2, percent) 1 > (A:General eng1 throttle lever position, part) 0 < and (L:REV_TEST,bool) 1 == |</Value>
And for the gauges themselves the turb value was re evaluated +1
Code:
Before
<Value>(A:Turb eng1 N2, percent) s0 (A:General eng1 throttle lever position, part) 0 < if{ l0 10 + } els{ l0 }</Value>
Code:
After
(A:Turb eng1 N2, percent) s0 (A:General eng1 throttle lever position, part) 0 < (A:Turb eng1 N2, percent) 1 > and if{ l0 10 + } els{ l0 }</Value>
Elementary training for you guys, but a major milestone for mortals such as myself. Such simple code changes mean that 1. Something unexpected doesn't happen when moving a lever and 2. An emergency scenario works correctly all the way start to finish.
Thanks guys.
