Heretic
Resource contributor
- Messages
- 6,830
- Country

I'm using the gauge in FSX but it's in FS9 formatting.
Here's the code of the element in question (a G Force needle):
No matter if I try the commented out degree-based approach or the active coordinate based approach, I always end up with this (sitting still on the runway, mind you):
What the heck am I doing wrong?
I already had to fix another nonlinear gauge, but at least it responded to my inputs!
Here's the code of the element in question (a G Force needle):
Code:
<Element>
<Position X="100" Y="100"/>
<Image Name="gfneedle.bmp">
<Axis X="20" Y="80"/>
</Image>
<Rotate>
<Value Minimum="-4" Maximum="8">(A:ELECTRICAL MAIN BUS VOLTAGE, volts) 10 > if{ (A:G FORCE,G Force) } els{ 0 }</Value>
<NonLinearity>
<!-- Item Value="-4" Degrees="-90" />
<Item Value="0" Degrees="0" />
<Item Value="4" Degrees="90" />
<Item Value="8" Degrees="180" / -->
<Item Value="-4" X="0" Y="100" />
<Item Value="0" X="100" Y="0" />
<Item Value="4" X="200" Y="100" />
</NonLinearity>
<!-- Delay DegreesPerSecond="20" / -->
</Rotate>
</Element>
No matter if I try the commented out degree-based approach or the active coordinate based approach, I always end up with this (sitting still on the runway, mind you):
What the heck am I doing wrong?
I already had to fix another nonlinear gauge, but at least it responded to my inputs!


