- Messages
- 231
- Country
Designing in gmax for FS 2004. I want to create a gauge which functions as automatic switch to turn on a L:Variable part animation at 103 knots indicated airspeed. I found this code over at FFDS forum archive;
<Gauge Name="KCAileron" Version="1.0">
<Element>
<Select>
<Value>
(A:AIRSPEED INDICATED,knots) 3 > if{ (>K:FLAPS_UP) } els{ (>K:FLAPS_DOWN) }
</Value>
</Select>
</Element>
</Gauge>
Which I reedited as;
<Gauge Name="A_Spd_Snsr" Version="1.0">
<Element>
<Select>
<Value>
(A:AIRSPEED INDICATED,knots) 103 > if{ (>K:FLAPS_UP) } els{ (>K:FLAPS_DOWN) }
</Value>
</Select>
</Element>
</Gauge>
This works fine to raise the flaps at 103 knots. But when I try to use my L variable statement the gauge fails to trigger the part
animation at any speed. Below is my base gauge, which should flip a switch in the VC if the gauge functions;
<Gauge Name="A_Spd_Snsr" Version="1.0">
<Element>
<Select>
<Value>
(A:AIRSPEED INDICATED,knots) 103 > (L:AS_Trgr_Switch,bool) ! (>L:AS_Trgr_Switch,bool)
</Value>
</Select>
</Element>
</Gauge>
The gauge above does not function. I have reedited the value statement many different ways with no results. The more I play
with this problem the more confused and discouraged I become. So my question now, is it even possible to use the
(A:AIRSPEED INDICATED,knots) 103 > statement to trigger a key frame part animation?
Carl
<Gauge Name="KCAileron" Version="1.0">
<Element>
<Select>
<Value>
(A:AIRSPEED INDICATED,knots) 3 > if{ (>K:FLAPS_UP) } els{ (>K:FLAPS_DOWN) }
</Value>
</Select>
</Element>
</Gauge>
Which I reedited as;
<Gauge Name="A_Spd_Snsr" Version="1.0">
<Element>
<Select>
<Value>
(A:AIRSPEED INDICATED,knots) 103 > if{ (>K:FLAPS_UP) } els{ (>K:FLAPS_DOWN) }
</Value>
</Select>
</Element>
</Gauge>
This works fine to raise the flaps at 103 knots. But when I try to use my L variable statement the gauge fails to trigger the part
animation at any speed. Below is my base gauge, which should flip a switch in the VC if the gauge functions;
<Gauge Name="A_Spd_Snsr" Version="1.0">
<Element>
<Select>
<Value>
(A:AIRSPEED INDICATED,knots) 103 > (L:AS_Trgr_Switch,bool) ! (>L:AS_Trgr_Switch,bool)
</Value>
</Select>
</Element>
</Gauge>
The gauge above does not function. I have reedited the value statement many different ways with no results. The more I play
with this problem the more confused and discouraged I become. So my question now, is it even possible to use the
(A:AIRSPEED INDICATED,knots) 103 > statement to trigger a key frame part animation?
Carl