I'm working on improving the SR-71 Blackbird on SimV (the Michael Pook model).
It's good so far, but I'm running into XML issues.
As you can see, according to the diagram below, the tertiary doors (assigned to flaps in FS) should close at Mach 1.5 and be open before that.
However, I'm having issues coding this in XML (I only know some C++).
Any help would be appreciated.
Thanks,
zachary77
- Code: Select all
<Gauge Name="TertiaryDoors">
//wingvortex
<Element>
<Select>
<Value>
(A:AIRSPEED MACH, mach) 1.5 > &
if{ (A:FLAP HANDLE PERCENT,percent) 100 < if{ (A:FLAP HANDLE PERCENT,percent 100 &==;) } }
els{ (A:FLAP HANDLE PERCENT,percent) if{ (A:FLAP HANDLE PERCENT,percent 0 &==;) } }
</Value>
</Select>
</Element>
</Gauge>