- Lear45.cab -
<Gauge Name="Backup Attitude" Version="1.0" Author="KGZ">
<!-- Kopyright (C) 2003-06 Kritical GamerZ -->
<Image Name="attitude_bu_background.bmp" Luminous="No" UseTransparency="Yes" ImageSizes="104,104"/>
<Element>
<!-- Failures -->
<Failures>
<FAIL_GAUGE_ATTITUDE Action="0"/>
</Failures>
</Element>
<Element>
<MaskImage Name="attitude_bu_mask.bmp" UseTransparency="Yes" ImageSizes="104,104">
<Axis X="52" Y="52"/>
</MaskImage>
<Image Name="attitude_bu_ladder.bmp" ImageSizes="100,354">
<Axis X="50" Y="177"/>
</Image>
<Shift>
<Value Minimum="-90" Maximum="90">(A:Attitude indicator pitch degrees, degrees) /-/</Value>
<Scale Y="1.21"/>
</Shift>
<Rotate>
<Value>(A:Attitude indicator bank degrees, radians)</Value>
</Rotate>
</Element>
<Element>
<!-- Heading Bug -->
<Position X="52" Y="52"/>
<Image Name="attitude_bu_heading_bug.bmp" UseTransparency="Yes" ImageSizes="104,104">
<Axis X="52" Y="52"/>
</Image>
<Rotate>
<Value>(A:Attitude indicator bank degrees, radians)</Value>
</Rotate>
</Element>
<Element>
<!-- Bars -->
<Position X="22" Y="39"/>
<Select>
<Value>(A:ELECTRICAL MASTER BATTERY, bool)</Value>
<Case Value="0">
<Image Name="attitude_bu_bars.bmp" UseTransparency="Yes" ImageSizes="82,30"/>
</Case>
<Case Value="1">
<Image Name="attitude_bu_bars.bmp" Bright="Yes" UseTransparency="Yes" ImageSizes="82,30"/>
</Case>
</Select>
</Element>
</Gauge>
<!-- NOTES:
A backup gauge should be independent of the main electrical system. Possible gauge "Event" entries include:
ATTITUDE_BARS_POSITION_UP - Increments attitude indicator pitch reference bars
ATTITUDE_BARS_POSITION_DOWN - Decrements attitude indicator pitch reference bars
ATTITUDE_CAGE_BUTTON - Cages attitude indicator at 0 pitch and bank
ATTITUDE_BARS_POSITION
ATTITUDE_INDICATOR_PITCH_DEGREES
ATTITUDE_INDICATOR_BANK_DEGREES
FAIL_GAUGE_ATTITUDE - NONE=0, FREEZE, ZERO, NO-DRAW, COVER
//TODO: Activate Cage knob
-->