- Messages
- 75
- Country

Hey everyone I am making a PFD. I have the bank working but the pitch is non functioning. I was also wondering about making some parts of the gauges like the attitude indicator outline using the XML draw in aces as opposed to images. Would it also be possible to do that for the FD? I am also having trouble with the bank indicator as it does not completely line up. I would like to try and maximize the use of the XML draw where possible. Any and all input is very much appreciated. The highlighted portions are the trouble spots.
Here is the code so far
Here is the code so far
Code:
<?xml version="1.0" encoding="UTF-8"?>
<SimBase.Document
Type="AceXML"
version="1,0"
id="PFD Screen">
<Descr>AceXML Document</Descr>
<Filename>PFD Screen.xml</Filename>
<SimGauge.Gauge id="PFD Screen" ArtDirectory=".">
<FloatPosition>0.000,0.000</FloatPosition>
<Size>131,145</Size>
<Element id="PFD Screen">
<FloatPosition>0.000,0.000</FloatPosition>
<Visibility>(A:CIRCUIT GENERAL PANEL ON, bool)</Visibility>
<Element id="ATT">
<FloatPosition>0.000,0.000</FloatPosition>
<Element id="Attitude Ball">
<FloatPosition>64.500,76.000</FloatPosition>
<Image id="Blue-Brown1.bmp" Name="Blue-Brown1.bmp">
<Transparent>True</Transparent>
<Axis>67.500,300.000</Axis>
<Bright>True</Bright>
</Image>
[COLOR="Red"]<Shift id="Shift">
<Expression id="Expression">
<Minimum>-90.000</Minimum>
<Maximum>90.000</Maximum>
<Script>(A:Attitude indicator pitch degrees,degrees) </Script>[/COLOR]
</Expression>
</Shift>
<Rotation id="Rotation">
<Expression id="Expression">
<Script>(A:Attitude indicator bank degrees,radians)</Script>
</Expression>
</Rotation>
</Element>
<Element id="Roll Scale">
<FloatPosition>0.000,3.000</FloatPosition>
<Image id="bank.bmp" Name="bank.bmp">
<Transparent>True</Transparent>
<Bright>True</Bright>
</Image>
</Element>
</Element>
<Element id="Screen Outline">
<FloatPosition>4.000,8.000</FloatPosition>
<Image id="screenoutline.bmp" Name="screenoutline.bmp">
<Transparent>True</Transparent>
<Bright>True</Bright>
</Image>
</Element>
<Element id="Airplane Symbol">
<FloatPosition>4.500,73.500</FloatPosition>
<Image id="fixed pitch.bmp" Name="fixed pitch.bmp">
<Transparent>True</Transparent>
<Bright>True</Bright>
</Image>
</Element>
<Element id="Element">
<FloatPosition>0.000,0.000</FloatPosition>
<Image id="leveltriangle.bmp" Name="leveltriangle.bmp">
<Transparent>True</Transparent>
<Axis>-60.500,0.000</Axis>
<Bright>True</Bright>
</Image>
</Element>
</Element>
[COLOR="Red"] <Element id="Bank ind">
<FloatPosition>64.500,73.500</FloatPosition>
<Image id="bankind.bmp" Name="bankind.bmp">
<Transparent>True</Transparent>
<Axis>4.000,64.500</Axis>
<Bright>True</Bright>
</Image>
<Rotation id="Rotation">
<PointsTo>NORTH</PointsTo>
<Expression id="Expression">
<Minimum>-360.000</Minimum>
<Maximum>360.000</Maximum>
<Script>(A:Attitude indicator bank degrees:1, radians)</Script>[/COLOR]
</Expression>
</Rotation>
</Element>
</SimGauge.Gauge>
</SimBase.Document>