- Messages
- 35
- Country

SOLVED: http://www.fsdeveloper.com/forum/threads/xml-gauge-needle-pointing-wrong-way.438922/#post-760278
Hi,
Searched the forum but couldn't find something for this (doesn't mean there was none, just that I couldn't see it in front of my face).
The flap position needle is defined towards west and the brake pressure needle is defined towards east. But the flap needle points the same way as the brake pressure needle when both are 0.

Both needles behave and turn as they should.

I don't get it. I've tried DegreesPointTo=270 for west and 90 for east; same results. The flap needle would point backwards from where it should.
All needle BMPs are painted the same way; vertically with tip pointing upwards.
I defined the flap position needle as east for a temporary fix, but there has to be something wrong.
Robert
Hi,
Searched the forum but couldn't find something for this (doesn't mean there was none, just that I couldn't see it in front of my face).
The flap position needle is defined towards west and the brake pressure needle is defined towards east. But the flap needle points the same way as the brake pressure needle when both are 0.

Both needles behave and turn as they should.

Code:
<Gauge Name="KK_BrakePressure" Version="1.0">
<Image Name="BrakePressureBackground.bmp"/>
<!-- ========================= BrakePressure ===================== -->
<Element>
<Position X="50" Y="50"/>
<Image Name="BrakePressureNeedle.bmp" PointsTo="East">
<Axis X="13" Y="35"/>
</Image>
<Rotate>
<Value Minimum="0" Maximum="40">(L:KK_BrakePressure,number)</Value>
<Delay DegreesPerSecond="18"/>
<Nonlinearity>
<Item Value="0" Degrees="90"/>
<Item Value="10" Degrees="150"/>
<Item Value="20" Degrees="210"/>
<Item Value="30" Degrees="270"/>
<Item Value="40" Degrees="330"/>
</Nonlinearity>
</Rotate>
</Element>
</Gauge>
Code:
<Gauge Name="KK_FlapPosition" Version="1.0">
<Image Name="FlapPositionBackground.bmp"/>
<!-- ========================= Flap Position - Left ============== -->
<Element>
<Position X="60" Y="60"/>
<Image Name="FlapLeftNeedle.bmp" PointsTo="East">
<Axis X="8" Y="55"/>
</Image>
<Rotate>
<Value Minimum="0" Maximum="10624">(L:KK_FlapLeft,number)</Value>
<Nonlinearity>
<Item Value="0" Degrees="270"/>
<Item Value="1062" Degrees="315"/>
<Item Value="2560" Degrees="0"/>
<Item Value="5120" Degrees="45"/>
<Item Value="5888" Degrees="90"/>
<Item Value="8525" Degrees="135"/>
<Item Value="10624" Degrees="180"/>
</Nonlinearity>
</Rotate>
</Element>
<!-- ========================= Flap Position - Right ============== -->
<Element>
<Position X="60" Y="60"/>
<Image Name="FlapRightNeedle.bmp" PointsTo="East">
<Axis X="8" Y="55"/>
</Image>
<Rotate>
<Value Minimum="0" Maximum="10624">(L:KK_FlapRight,number)</Value>
<Nonlinearity>
<Item Value="0" Degrees="270"/>
<Item Value="1062" Degrees="315"/>
<Item Value="2560" Degrees="0"/>
<Item Value="5120" Degrees="45"/>
<Item Value="5888" Degrees="90"/>
<Item Value="8525" Degrees="135"/>
<Item Value="10624" Degrees="180"/>
</Nonlinearity>
</Rotate>
</Element>
</Gauge>
I don't get it. I've tried DegreesPointTo=270 for west and 90 for east; same results. The flap needle would point backwards from where it should.
All needle BMPs are painted the same way; vertically with tip pointing upwards.
I defined the flap position needle as east for a temporary fix, but there has to be something wrong.
Robert
Last edited:








