- Messages
- 35
- Country

I want to make a vsi gauge that is in meters with a range of +/- 10 meters/sec that has frames of animation
So I make a new animation entry:
<Animation name="needle_vsi_10ms" guid="0311f59d-a350-4504-a01b-b7603b87f5a8" type="Sim" typeParam="AutoPlay" typeParam2="needle_vsi_10ms" length="395"/>
Then I make a new part:
<PartInfo>
<Name>needle_vsi_10ms</Name>
<AnimLength>395</AnimLength>
<Animation>
<Parameter>
<Sim>
<Variable>VERTICAL SPEED</Variable>
<Units>knots</Units>
<Scale>10</Scale>
<MinValue>0</MinValue>
<MaxValue>395</MaxValue>
</Sim>
</Parameter>
</Animation>
<MouseRect>
<TooltipID>TOOLTIPTEXT_VSI_METERS_PER_SEC</TooltipID>
</MouseRect>
</PartInfo>
length is 395 since 1 m/s = 196.85039 ft/m and with a scale of 10 I need 196 frames for -10 to 0 and from 0 to +10 another 196. The scale of 10 means that at 10 m/s = 1968.5039 ft/min means for each frame the ft/min number is divided by 10.
Correct????
So I make a new animation entry:
<Animation name="needle_vsi_10ms" guid="0311f59d-a350-4504-a01b-b7603b87f5a8" type="Sim" typeParam="AutoPlay" typeParam2="needle_vsi_10ms" length="395"/>
Then I make a new part:
<PartInfo>
<Name>needle_vsi_10ms</Name>
<AnimLength>395</AnimLength>
<Animation>
<Parameter>
<Sim>
<Variable>VERTICAL SPEED</Variable>
<Units>knots</Units>
<Scale>10</Scale>
<MinValue>0</MinValue>
<MaxValue>395</MaxValue>
</Sim>
</Parameter>
</Animation>
<MouseRect>
<TooltipID>TOOLTIPTEXT_VSI_METERS_PER_SEC</TooltipID>
</MouseRect>
</PartInfo>
length is 395 since 1 m/s = 196.85039 ft/m and with a scale of 10 I need 196 frames for -10 to 0 and from 0 to +10 another 196. The scale of 10 means that at 10 m/s = 1968.5039 ft/min means for each frame the ft/min number is divided by 10.
Correct????

