adr179
Resource contributor
- Messages
- 259
- Country
Hi everyone. I'm trying to make a relative simple variometer gauge that works in FS9, to work in FSX where it doesn't - for no obvious reason.Vertical speed indication itself works, but there's a portion of gauge code that shoud turn the McCready ring and that part works in FS9 but not in FSX. Code looks like this:
and the relevant mouse code:
I checked both SDK's for eventual change of the variable used, but it's the same in both versions of SDK, so I can't figure out, why gauge works in FS9, but not in FSX.
Code:
<Element>
<Position X="157" Y="157"/>
<Image Name="MCVario_LS7_ring.bmp" PointsTo="North" ImageSizes="315,315,0,0">
<Axis X="157" Y="157"/>
</Image>
<Rotate>
<Value Minimum="0" Maximum="3">(A:Autopilot mach hold var, mach) 2- </Value>
<Nonlinearity>
<Item Value="0" X="2" Y="157"/>
<Item Value="0.5" X="315" Y="157"/>
<Item Value="1" X="2" Y="157"/>
</Nonlinearity>
<Delay DegreesPerSecond="30"/>
</Rotate>
</Element>
and the relevant mouse code:
Code:
<Mouse>
<Area Left="5" Width="45" Top="75" Height="150">
<Click Event="AP_MACH_VAR_DEC" Repeat="Yes"/>
<Cursor Type="DownArrow"/>
</Area>
<Area Left="250" Width="45" Top="75" Height="150">
<Click Event="AP_MACH_VAR_INC" Repeat="Yes"/>
<Cursor Type="UpArrow"/>
</Area>
</Mouse>
I checked both SDK's for eventual change of the variable used, but it's the same in both versions of SDK, so I can't figure out, why gauge works in FS9, but not in FSX.