1
0
Fork 0

Instruments are now consolidated in a single directory.

Textures are now more organized and usefully named.
This commit is contained in:
j4strngs 2001-12-12 14:20:38 +00:00
parent 65e3a8a929
commit b5537626f8
59 changed files with 7714 additions and 17 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,397 @@
<?xml version="1.0"?>
<!--
Parameterized ADF radio instrument.
John Check <j4strngs@rockfish.net>
June 2001
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>ADF Radio</name>
<w-base>256</w-base>
<h-base>64</h-base>
<params>
<adf-freq-selected-prop>/radios/adf/frequencies/selected-khz</adf-freq-selected-prop>
<adf-freq-standby-prop>/radios/adf/frequencies/standby-khz</adf-freq-standby-prop>
<adf-morse-id-volume-prop>/radios/adf/volume</adf-morse-id-volume-prop>
<adf-morse-ident-toggle-prop>/radios/adf/ident</adf-morse-ident-toggle-prop>
</params>
<layers>
<layer>
<name>background</name>
<texture>
<path>Aircraft/Instruments/Textures/navcom-radios.rgb</path>
<x1>0.0</x1>
<y1>0.5</y1>
<x2>1.0</x2>
<y2>0.75</y2>
</texture>
</layer>
<layer>
<name>display</name>
<type>text</type>
<point-size>14</point-size>
<color>
<red>1.0</red>
<green>0.5</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>number-value</type>
<property alias="../../../../../params/adf-freq-selected-prop"/>
<format>%4.0f</format>
</chunk>
<chunk>
<type>number-value</type>
<property alias="../../../../../params/adf-freq-standby-prop"/>
<format>%8.0f</format>
</chunk>
</chunks>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-110</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-4</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>annunciator display</name>
<type>text</type>
<point-size>6</point-size>
<color>
<red>1.0</red>
<green>0.5</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>literal</type>
<text>SEL STDBY</text>
</chunk>
</chunks>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-90</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>12</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>swap adffrequencies button label</name>
<type>text</type>
<point-size>6</point-size>
<color>
<red>0.0</red>
<green>0.0</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>literal</type>
<text>SWAP</text>
</chunk>
</chunks>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-95</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>knob</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.75</y1>
<x2>0.25</x2>
<y2>1.0</y2>
</texture>
<h>32</h>
<w>32</w>
<transformations>
<transformation>
<type>x-shift</type>
<offset>100</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>ident knob</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.75</y1>
<x2>0.25</x2>
<y2>1.0</y2>
</texture>
<w>15</w>
<h>15</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>70</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-16</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>ident knob pointer</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.1640625</y1>
<x2>0.1</x2>
<y2>0.328125</y2>
</texture>
<w>2</w>
<h>6</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>70</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-16</offset>
</transformation>
<transformation>
<type>rotation</type>
<property>/radios/adf/volume</property>
<min>0</min>
<max>2</max>
<scale>140</scale>
<offset>-140</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>3</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>voice/ident toggle</name>
<type>switch</type>
<property alias="../../../params/adf-morse-ident-toggle-prop"/>
<layer>
<name>voice on</name>
<texture>
<path>Aircraft/Instruments/Textures/switches.rgb</path>
<x1>0.0</x1>
<y1>0.75</y1>
<x2>0.25</x2>
<y2>1.0</y2>
</texture>
<w>12</w>
<h>12</h>
<transformations>
<transformation>
<type>y-shift</type>
<offset>1</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>ident on</name>
<texture>
<path>Aircraft/Instruments/Textures/switches.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.25</x2>
<y2>0.30</y2>
</texture>
<w>12</w>
<h>15</h>
</layer>
<transformations>
<transformation>
<type>x-shift</type>
<offset>42</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-20</offset>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<action>
<name>small decrease</name>
<button>0</button>
<x>89</x>
<y>-12</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/adf-freq-selected-prop"/>
<step>-1</step>
<min>100</min>
<max>1299</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large decrease</name>
<button>1</button>
<x>89</x>
<y>-12</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/adf-freq-selected-prop"/>
<step>-25</step>
<min>100</min>
<max>1299</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>small increase</name>
<button>0</button>
<x>100</x>
<y>-12</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/adf-freq-selected-prop"/>
<step>1</step>
<min>100</min>
<max>1299</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large increase</name>
<button>1</button>
<x>100</x>
<y>-12</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/adf-freq-selected-prop"/>
<step>25</step>
<min>100</min>
<max>1299</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>swap adf frequencies</name>
<button>0</button>
<x>-95</x>
<y>-26</y>
<w>20</w>
<h>14</h>
<binding>
<command>property-swap</command>
<property alias="../../../../params/adf-freq-selected-prop"/>
<property alias="../../../../params/adf-freq-standby-prop"/>
</binding>
</action>
<action>
<name>ident volume increase</name>
<button>0</button>
<x>70</x>
<y>-24</y>
<w>8</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/adf-morse-id-volume-prop"/>
<step>0.5</step>
<min>0</min>
<max>2</max>
</binding>
</action>
<action>
<name>ident volume decrease</name>
<button>0</button>
<x>62</x>
<y>-24</y>
<w>16</w>
<h>8</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/adf-morse-id-volume-prop"/>
<step>-0.5</step>
<min>0</min>
<max>2</max>
</binding>
</action>
<action>
<name>ident volume on/off</name>
<button>0</button>
<x>37</x>
<y>-30</y>
<w>14</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/adf-morse-ident-toggle-prop"/>
<step>1.0</step>
<min>0</min>
<max>1</max>
<wrap>1</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,258 @@
<?xml version="1.0"?>
<!--
Default ADF gauge instrument.
Started summer 2000 by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>ADF Gauge</name>
<w-base>128</w-base>
<h-base>128</h-base>
<layers>
<layer>
<name>gauge face</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-1.rgb</path>
<x1>0.0</x1>
<y1>0.515625</y1>
<x2>0.484375</x2>
<y2>1.0</y2>
</texture>
<w>104</w>
<h>104</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/radios/adf/rotation-deg</property>
<min>-360.0</min>
<max>360.0</max>
</transformation>
</transformations>
</layer>
<layer>
<name>Face with markings</name>
<texture>
<path>Aircraft/Instruments/Textures/gyro-fronts.rgb</path>
<x1>0.01</x1>
<y1>0.5</y1>
<x2>0.5</x2>
<y2>1.0</y2>
</texture>
<w>104</w>
<h>104</h>
</layer>
<!-- fix misc.rgb -->
<layer>
<name>Needle</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8671875</x1>
<y1>0.25</y1>
<x2>0.921875</x2>
<y2>1.0</y2>
</texture>
<w>9</w>
<h>64</h>
<transformations>
<transformation>
<type>rotation</type>
<!--set>45</offset-->
<property>/steam/adf-deg</property>
<min>-360</min>
<max>360</max>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-1</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Plane</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.5</x1>
<y1>0.734375</y1>
<x2>0.59375</x2>
<y2>0.828125</y2>
</texture>
<w>25</w>
<h>25</h>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-6</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>bezel</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-1</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>124</w>
<h>124</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/orientation/roll-deg</property>
<min>-360.0</min>
<max>360.0</max>
<scale>1.0</scale>
<wrap>1</wrap>
</transformation>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Knob</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.25</x1>
<y1>0.75</y1>
<x2>0.5</x2>
<y2>1.0</y2>
</texture>
<h>24</h>
<w>24</w>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>rotation</type>
<property>/radios/adf/rotation-deg</property>
<min>-360.0</min>
<max>360.0</max>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<action>
<name>small clockwise rotation</name>
<button>0</button>
<x>-56</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/adf/rotation-deg</property>
<step>-1.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large clockwise rotation</name>
<button>1</button>
<x>-56</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/adf/rotation-deg</property>
<step>-5.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>small counter-clockwise rotation</name>
<button>0</button>
<x>-46</x>
<y>-65</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/adf/rotation-deg</property>
<step>1.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large counter-clockwise rotation</name>
<button>1</button>
<x>-46</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/adf/rotation-deg</property>
<step>5.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,317 @@
<?xml version="1.0"?>
<!--
Improved altimeter instrument.
Adds enhancements allowing for calibration.
Jan, 2001 by Julian Foad <julianfoad@netscapeonline.co.uk>
Julian sez:
"provides a modified instrument definition with a knob
driving a subscale showing through a cut-out in the face....
I've put two lines in 'altimeter.xml', one to display millibars and
another, presently commented out, for inHg; USA pilots might want to
uncomment the inHg line instead. At present, my subscale texture map
only has marks on it, not numbers, so it can stay the same. Really
there should be two different versions of the altimeter, and a
USA-registered C172 would be fitted with an altimeter with inHg while
and a UK-registered C172 would be fitted with an altimeter with mb on
its subscale."
_________________________________________________________________
Based on default by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>Altimeter</name>
<w-base>128</w-base>
<h-base>128</h-base>
<layers>
<layer>
<name>subscale</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-6.rgb</path>
<x1>0.51</x1>
<y1>0.51</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
<w>104</w>
<h>104</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/steam/altimeter-datum-mb</property>
<scale>-4.5</scale> <!-- degrees rotation per millibar -->
</transformation>
</transformations>
</layer>
<layer>
<name>guage face</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-1.rgb</path>
<x1>0.51</x1>
<y1>0.51</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
<w>110</w>
<h>110</h>
</layer>
<layer>
<name>numeric datum</name>
<type>text</type>
<point-size>10</point-size>
<color>
<red>1.0</red>
<green>1.0</green>
<blue>1.0</blue>
</color>
<chunks>
<chunk>
<type>number-value</type>
<property>/steam/altimeter-datum-mb</property>
<!-- <format>%5.2f</format> <scale>0.029530</scale> --> <!-- Display inHg -->
<format>%4.0f</format> <!-- Display mb -->
</chunk>
</chunks>
<transformations>
<transformation>
<type>x-shift</type>
<offset>10</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-5</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>short needle (thousands)</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.859375</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>24</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/steam/altitude-ft</property>
<max>100000.0</max>
<scale>0.036</scale>
</transformation>
<transformation>
<type>y-shift</type>
<offset>14.0</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>long needle (hundreds)</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>48</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/steam/altitude-ft</property>
<max>100000.0</max>
<scale>0.36</scale>
</transformation>
<transformation>
<type>y-shift</type>
<offset>20.0</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>bug (ten thousands)</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.85</x1>
<y1>0.8125</y1>
<x2>0.8755</x2>
<y2>0.84375</y2>
</texture>
<w>12</w>
<h>12</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/steam/altitude-ft</property>
<max>100000.0</max>
<scale>0.0036</scale>
</transformation>
<transformation>
<type>y-shift</type>
<offset>50.0</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>button</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6171875</x1>
<y1>0.2421875</y1>
<x2>0.7890625</x2>
<y2>0.4140625</y2>
</texture>
<w>15</w>
<h>15</h>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>128</w>
<h>128</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Knob</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.25</x1>
<y1>0.75</y1>
<x2>0.5</x2>
<y2>1.0</y2>
</texture>
<h>24</h>
<w>24</w>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>180</offset>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<action>
<name>calibrate fine</name>
<button>0</button>
<x>-56</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/steam/altimeter-datum-mb</property>
<step>-0.333333</step>
<min>500</min>
<max>1100</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>calibrate coarse</name>
<button>1</button>
<x>-56</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/steam/altimeter-datum-mb</property>
<step>-5</step>
<min>500</min>
<max>1100</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>calibrate fine</name>
<button>0</button>
<x>-46</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/steam/altimeter-datum-mb</property>
<step>0.333333</step>
<min>500</min>
<max>1100</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>calibrate coarse</name>
<button>1</button>
<x>-46</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/steam/altimeter-datum-mb</property>
<step>5</step>
<min>500</min>
<max>1100</max>
<wrap>false</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,125 @@
<?xml version="1.0"?>
<!--
Improved airspeed indicator instrument.
Apr 27 2001
Martin Dressler dr@musicabona.cz
airspeed indicator instrument from C172RG
GPL
_______________________________________________________________________________
Based on Default by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>C172RG Airspeed Indicator</name>
<w-base>128</w-base>
<h-base>128</h-base>
<layers>
<layer>
<name>gauge face</name>
<texture>
<path>Aircraft/Instruments/Textures/airspeed-160-knot.rgb</path>
<x1>0.5</x1>
<y1>0.5</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
<w>126</w>
<h>126</h>
</layer>
<!--
<layer>
<name>numbers under hub</name>
<texture>
<path>Aircraft/Instruments/Textures/airspeed-160-knot.rgb</path>
<x1>0.171875</x1>
<x2>0.328125</x2>
<y1>0.1640625</y1>
<y2>0.3203125</y2>
</texture>
<w>19</w>
<h>19</h>
</layer>
-->
<layer>
<name>needle</name>
<texture>
<path>Aircraft/Instruments/Textures/airspeed-160-knot.rgb</path>
<x1>0.69921875</x1>
<x2>0.84765625</x2>
<y1>0.15625</y1>
<y2>0.5</y2>
</texture>
<w>19</w>
<h>44</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/steam/airspeed-kt</property>
<min>10.0</min>
<max>190.0</max>
<scale>1.0</scale>
<interpolation>
<entry><ind> 10</ind><dep> 3</dep></entry>
<entry><ind> 40</ind><dep> 38</dep></entry>
<entry><ind> 60</ind><dep> 85</dep></entry>
<entry><ind> 80</ind><dep> 146</dep></entry>
<entry><ind> 100</ind><dep> 198</dep></entry>
<entry><ind> 120</ind><dep> 236</dep></entry>
<entry><ind> 140</ind><dep> 274</dep></entry>
<entry><ind> 160</ind><dep> 313</dep></entry>
<entry><ind> 190</ind><dep> 353</dep></entry>
</interpolation>
</transformation>
<transformation>
<type>y-shift</type>
<offset>12</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>128</w>
<h>128</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>

View file

@ -51,7 +51,7 @@ properties' values.
<layer>
<name>needle</name>
<texture>
<path>Aircraft/c172/Instruments/Textures/misc-1.rgb</path>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
@ -91,7 +91,7 @@ properties' values.
<layer>
<name>button</name>
<texture>
<path>Aircraft/c172/Instruments/Textures/misc-1.rgb</path>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6171875</x1>
<y1>0.2421875</y1>
<x2>0.7890625</x2>

View file

@ -0,0 +1,208 @@
<?xml version="1.0"?>
<!--
Improved artificial horizon instrument.
Mar 20 2000
Martin Dressler dr@musicabona.cz
Artificial horizont from C172RG small versionn
GPL
_______________________________________________________________________________
Based on Default by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>C172RG-mini Artifical horizon</name>
<w-base>128</w-base>
<h-base>128</h-base>
<layers>
<layer>
<name>background</name>
<texture>
<path>Aircraft/Instruments/Textures/attitude-indicator.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.5</x2>
<y2>0.5</y2>
</texture>
<transformations>
<transformation>
<type>rotation</type>
<property>/orientation/roll-deg</property>
<min>-360.0</min>
<max>360.0</max>
<scale>-1</scale>
</transformation>
</transformations>
</layer>
<layer>
<name>pitch</name>
<texture>
<path>Aircraft/Instruments/Textures/attitude-indicator.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>0.875</x2>
<y2>0.25</y2>
</texture>
<w>92</w>
<h>62</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/orientation/roll-deg</property>
<min>-360.0</min>
<max>360.0</max>
<scale>-1</scale>
</transformation>
<transformation>
<type>y-shift</type>
<property>/orientation/pitch-deg</property>
<min>-20.0</min>
<max>20.0</max>
<scale>-1.075</scale>
<offset>0</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>roll</name>
<texture>
<path>Aircraft/Instruments/Textures/attitude-indicator.rgb</path>
<x1>0.5</x1>
<y1>0.5</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
<transformations>
<transformation>
<type>rotation</type>
<property>/orientation/roll-deg</property>
<min>-360.0</min>
<max>360.0</max>
<scale>-1</scale>
</transformation>
</transformations>
</layer>
<layer>
<name>plane</name>
<texture>
<path>Aircraft/Instruments/Textures/attitude-indicator.rgb</path>
<x1>0.5</x1>
<y1>0.25</y1>
<x2>0.75</x2>
<y2>0.40625</y2>
</texture>
<h>42</h>
<w>66</w>
<transformations>
<transformation>
<type>y-shift</type>
<property>/steam/horizon-adjust</property>
<offset>-17</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>foreground</name>
<texture>
<path>Aircraft/Instruments/Textures/attitude-indicator.rgb</path>
<x1>0.0</x1>
<y1>0.5</y1>
<x2>0.5</x2>
<y2>1.0</y2>
</texture>
</layer>
</layers>
<actions>
<action>
<name>fine lower</name>
<button>0</button>
<x>-11</x>
<y>-62</y>
<w>11</w>
<h>22</h>
<binding>
<command>property-adjust</command>
<property>/steam/horizon-adjust</property>
<step>-0.5</step>
<min>-5</min>
<max>5</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>coarse lower</name>
<button>1</button>
<x>-11</x>
<y>-62</y>
<w>11</w>
<h>22</h>
<binding>
<command>property-adjust</command>
<property>/steam/horizon-adjust</property>
<step>-5</step>
<min>-5</min>
<max>5</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>fine raise</name>
<button>0</button>
<x>0</x>
<y>-62</y>
<w>11</w>
<h>22</h>
<binding>
<command>property-adjust</command>
<property>/steam/horizon-adjust</property>
<step>0.5</step>
<min>-5</min>
<max>5</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>coarse raise</name>
<button>1</button>
<x>0</x>
<y>-62</y>
<w>11</w>
<h>22</h>
<binding>
<command>property-adjust</command>
<property>/steam/horizon-adjust</property>
<step>5</step>
<min>-5</min>
<max>5</max>
<wrap>false</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,511 @@
<?xml version="1.0"?>
<!--
Modularized lighted buttons added March 5 2001
by John Check, <j4strngs@rockfish.net>
Wing leveler and climb/descent added Feb 2001
by Curtis Olson, <curt@infoplane.com>
_______________________________________________________________________________
Default autopilot instrument.
Started summer 2000 by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>autopilot</name>
<w-base>256</w-base>
<h-base>32</h-base>
<layers>
<layer>
<name>background</name>
<texture>
<path>Aircraft/Instruments/Textures/navcom-radios.rgb</path>
<x1>0.0</x1>
<y1>0.375</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>256</w>
<h>32</h>
</layer>
<layer>
<name>WL button</name>
<type>switch</type>
<property>/autopilot/locks/wing-leveler</property>
<layer>
<name>WL on</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.328125</y1>
<x2>0.21875</x2>
<y2>0.4921875</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<layer>
<name>WL off</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.1640625</y1>
<x2>0.21875</x2>
<y2>0.328125</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-64</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>WL top</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.21875</x2>
<y2>0.1326125</y2>
</texture>
<w>32</w>
<h>16</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-64</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>WL label</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.421875</x1>
<y1>0.0625</y1>
<x2>0.546875</x2>
<y2>0.125</y2>
</texture>
<w>20</w>
<h>8</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-64</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>HDG button</name>
<type>switch</type>
<property>/autopilot/locks/heading</property>
<layer>
<name>HDG on</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.328125</y1>
<x2>0.21875</x2>
<y2>0.4921875</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<layer>
<name>HDG off</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.1640625</y1>
<x2>0.21875</x2>
<y2>0.328125</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-32</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>HDG top</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.21875</x2>
<y2>0.1326125</y2>
</texture>
<w>32</w>
<h>16</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-32</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>HDG label</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.4140625</x1>
<y1>0.0078125</y1>
<x2>0.609375</x2>
<y2>0.0703125</y2>
</texture>
<w>20</w>
<h>8</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-32</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>NAV button</name>
<type>switch</type>
<property>/autopilot/locks/nav[0]</property>
<layer>
<name>NAV on</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.328125</y1>
<x2>0.21875</x2>
<y2>0.4921875</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<layer>
<name>NAV off</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.1640625</y1>
<x2>0.21875</x2>
<y2>0.328125</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-0</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>NAV top</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.21875</x2>
<y2>0.1326125</y2>
</texture>
<w>32</w>
<h>16</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-0</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>NAV label</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.21875</x1>
<y1>0.0078125</y1>
<x2>0.421875</x2>
<y2>0.0703125</y2>
</texture>
<w>20</w>
<h>8</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-0</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>ALT button</name>
<type>switch</type>
<property>/autopilot/locks/altitude</property>
<layer>
<name>ALT on</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.328125</y1>
<x2>0.21875</x2>
<y2>0.4921875</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<layer>
<name>ALT off</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.1640625</y1>
<x2>0.21875</x2>
<y2>0.328125</y2>
</texture>
<w>32</w>
<h>16</h>
</layer>
<transformations>
<transformation>
<type>x-shift</type>
<offset>32</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>ALT top</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.21875</x2>
<y2>0.1326125</y2>
</texture>
<w>32</w>
<h>16</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>32</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>ALT label</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.21875</x1>
<y1>0.0625</y1>
<x2>0.421875</x2>
<y2>0.125</y2>
</texture>
<w>20</w>
<h>8</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>32</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>button</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.75</y1>
<x2>0.25</x2>
<y2>1.0</y2>
</texture>
<w>15</w>
<h>15</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>64</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>target climb rate</name>
<type>text</type>
<point-size>10</point-size>
<color>
<red>1.0</red>
<green>0.5</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>number-value</type>
<property>/autopilot/settings/altitude-ft</property>
<format>%05.0f</format>
</chunk>
</chunks>
<transformations>
<transformation>
<type>x-shift</type>
<offset>74</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-3</offset>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<action>
<name>toggle wing leveler lock</name>
<button>0</button>
<x>-80</x>
<y>-8</y>
<w>32</w>
<h>16</h>
<binding>
<command>property-toggle</command>
<property>/autopilot/locks/wing-leveler</property>
</binding>
</action>
<action>
<name>toggle heading lock</name>
<button>0</button>
<x>-48</x>
<y>-8</y>
<w>32</w>
<h>16</h>
<binding>
<command>property-toggle</command>
<property>/autopilot/locks/heading</property>
</binding>
</action>
<action>
<name>toggle nav1 lock</name>
<button>0</button>
<x>-16</x>
<y>-8</y>
<w>32</w>
<h>16</h>
<binding>
<command>property-toggle</command>
<property>/autopilot/locks/nav[0]</property>
</binding>
</action>
<action>
<name>toggle altitude lock</name>
<button>0</button>
<x>16</x>
<y>-8</y>
<w>32</w>
<h>16</h>
<binding>
<command>property-toggle</command>
<property>/autopilot/locks/altitude</property>
</binding>
</action>
<action>
<name>decrease climb rate</name>
<button>0</button>
<x>56</x>
<y>-8</y>
<w>8</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/altitude-ft</property>
<step>-100</step>
<min>0</min>
<max>99900</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<name>large decrease climb rate</name>
<button>1</button>
<x>56</x>
<y>-8</y>
<w>8</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/altitude-ft</property>
<step>-1000</step>
<min>0</min>
<max>99900</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<name>increase climb rate</name>
<button>0</button>
<x>64</x>
<y>-8</y>
<w>8</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/altitude-ft</property>
<step>100</step>
<min>0</min>
<max>99900</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<name>large increase climb rate</name>
<button>1</button>
<x>64</x>
<y>-8</y>
<w>8</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/altitude-ft</property>
<step>1000</step>
<min>0</min>
<max>99900</max>
<wrap>0</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,110 @@
<?xml version="1.0"?>
<!--
A simple indicator lamp. Used here as a brake light.
John Check <j4strngs@usa.net>
-->
<PropertyList>
<name>Brake</name>
<w-base>64</w-base>
<h-base>26</h-base>
<layers>
<!-- The "bulb" -->
<layer>
<name>Brake light</name>
<type>switch</type>
<property>/controls[0]/brakes[2]</property> <!-- nose brake -->
<layer>
<name>on</name>
<texture>
<path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
<x1>0.25</x1>
<y1>0.0</y1>
<x2>0.5</x2>
<y2>0.095</y2>
</texture>
<w>64</w>
<h>26</h>
</layer>
<layer>
<name>off</name>
<texture>
<path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.25</x2>
<y2>0.095</y2>
</texture>
<w>64</w>
<h>26</h>
</layer>
</layer>
<!-- translucent lens -->
<layer>
<name>lens</name>
<texture>
<path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
<x1>0.495</x1>
<y1>0.0875</y1>
<x2>0.75</x2>
<y2>0.1975</y2>
</texture>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
<w>64</w>
<h>26</h>
</layer>
</layers>
<actions>
<!--
<action>
<name>left on</name>
<type>adjust</type>
<x>-32</x>
<y>-13</y>
<w>64</w>
<h>26</h>
<property>/controls[0]/brakes[0]</property>
<increment>1.0</increment>
<min>0</min>
<max>1</max>
<wrap>true</wrap>
<button>0</button>
</action>
<action>
<name>right on</name>
<type>adjust</type>
<x>-32</x>
<y>-13</y>
<w>64</w>
<h>26</h>
<property>/controls[0]/brakes[1]</property>
<increment>1.0</increment>
<min>0</min>
<max>1</max>
<wrap>true</wrap>
<button>0</button>
</action>
-->
<action>
<name>nose brake</name>
<type>adjust</type>
<x>-32</x>
<y>-13</y>
<w>64</w>
<h>26</h>
<property>/controls[0]/brakes[2]</property> <!-- nose brake -->
<increment>1.0</increment>
<min>0</min>
<max>1</max>
<wrap>true</wrap>
<button>0</button>
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,125 @@
<?xml version="1.0"?>
<!--
Default digital clock instrument.
Started summer 2000 by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>Digital Clock</name>
<w-base>120</w-base>
<h-base>120</h-base>
<layers>
<layer>
<name>bezel</name>
<condition>
<equals>
<property>/sim/aero</property>
<value>c172</value>
</equals>
</condition>
<texture>
<path>Aircraft/Instruments/Textures/bezel.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
<transformations>
<transformation>
<type>y-shift</type>
<offset>0</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-0</offset>
</transformation>
</transformations>
<w>120</w>
<h>120</h>
</layer>
<layer>
<name>clock background</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-3.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>115</w>
<h>115</h>
</layer>
<layer>
<name>display</name>
<type>text</type>
<point-size>13</point-size>
<color>
<red>0.0</red>
<green>0.0</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>text-value</type>
<property>/sim/time/gmt-string</property>
</chunk>
</chunks>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-37</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-7</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>115</w>
<h>115</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,247 @@
<?xml version="1.0"?>
<!--
Default control position indicator instrument.
Started summer 2000 by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>control position indicators</name>
<w-base>112</w-base>
<h-base>112</h-base>
<layers>
<layer>
<name>background</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-3.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.5</x2>
<y2>0.5</y2>
</texture>
</layer>
<layer>
<name>aileron indicator</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.11328125</x1>
<y1>0.2734375</y1>
<x2>0.15234375</x2>
<y2>0.3046875</y2>
</texture>
<transformations>
<transformation>
<type>x-shift</type>
<property>/controls/aileron</property>
<min>-1</min>
<max>1</max>
<scale>42</scale>
</transformation>
<transformation>
<type>rotation</type>
<offset>180</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-50</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
</transformations>
<w>8</w>
<h>8</h>
</layer>
<layer>
<name>rudder indicator</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.11328125</x1>
<y1>0.2734375</y1>
<x2>0.15234375</x2>
<y2>0.3046875</y2>
</texture>
<transformations>
<transformation>
<type>rotation</type>
<offset>0</offset>
</transformation>
<transformation>
<type>x-shift</type>
<property>/controls/rudder</property>
<min>-1</min>
<max>1</max>
<scale>42</scale>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-52</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-1</offset>
</transformation>
</transformations>
<w>8</w>
<h>8</h>
</layer>
<layer>
<name>elevator trim indicator</name>
<w>8</w>
<h>8</h>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.11328125</x1>
<y1>0.2734375</y1>
<x2>0.15234375</x2>
<y2>0.3046875</y2>
</texture>
<transformations>
<transformation>
<type>rotation</type>
<offset>90</offset>
</transformation>
<transformation>
<type>x-shift</type>
<property>/controls/elevator-trim</property>
<min>-1.0</min>
<max>1.0</max>
<scale>-42</scale>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-12</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>elevator indicator</name>
<w>8</w>
<h>8</h>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.11328125</x1>
<y1>0.2734375</y1>
<x2>0.15234375</x2>
<y2>0.3046875</y2>
</texture>
<transformations>
<transformation>
<type>rotation</type>
<offset>270</offset>
</transformation>
<transformation>
<type>x-shift</type>
<property>/controls/elevator</property>
<min>-1.0</min>
<max>1.0</max>
<scale>42</scale>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-10</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-1</offset>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<action>
<desc>elevator trim up</desc>
<button>0</button>
<x>-15</x>
<y>0</y>
<w>30</w>
<h>40</h>
<binding>
<command>property-adjust</command>
<property>/controls/elevator-trim</property>
<step>0.01</step>
<min>-1.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<desc>elevator trim down</desc>
<button>0</button>
<x>-15</x>
<y>-42</y>
<w>30</w>
<h>40</h>
<binding>
<command>property-adjust</command>
<property>/controls/elevator-trim</property>
<step>-0.01</step>
<min>-1.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<desc>rudder trim left</desc>
<button>0</button>
<x>-45</x>
<y>-66</y>
<w>45</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property>/controls/rudder</property>
<step>-0.005</step>
<min>-1.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<desc>rudder trim right</desc>
<button>0</button>
<x>0</x>
<y>-66</y>
<w>45</w>
<h>20</h>
<binding>
<command>property-adjust</command>
<property>/controls/rudder</property>
<step>0.005</step>
<min>-1.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -31,7 +31,7 @@ properties' values.
<layer>
<name>face</name>
<texture>
<path>Aircraft/c172/Instruments/Textures/faces-2.rgb</path>
<path>Aircraft/Instruments/Textures/faces-2.rgb</path>
<x1>0</x1>
<y1>0.51</y1>
<x2>0.49</x2>
@ -40,7 +40,7 @@ properties' values.
</layer>
<layer>
<texture>
<path>Aircraft/c172/Instruments/Textures/misc-1.rgb</path>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
@ -94,7 +94,7 @@ properties' values.
<layer>
<name>button</name>
<texture>
<path>Aircraft/c172/Instruments/Textures/misc-1.rgb</path>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6171875</x1>
<y1>0.2421875</y1>
<x2>0.7890625</x2>

View file

@ -0,0 +1,258 @@
<?xml version="1.0"?>
<!--
Default DME instrument.
Started summer 2000 by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>DME</name>
<w-base>128</w-base>
<h-base>64</h-base>
<layers>
<layer>
<name>background</name>
<texture>
<path>Aircraft/Instruments/Textures/navcom-radios.rgb</path>
<x1>0.0</x1>
<x2>0.49609375</x2>
<y1>0.0</y1>
<y2>0.23828125</y2>
</texture>
</layer>
<layer>
<name>distance to station</name>
<type>switch</type>
<property>/radios/dme/in-range</property>
<w>128</w>
<h>64</h>
<layer>
<name>display</name>
<type>text</type>
<point-size>12</point-size>
<color>
<red>1.0</red>
<green>0.5</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>number-value</type>
<property>/radios/dme/distance-nm</property>
<format>%5.1f</format>
</chunk>
</chunks>
</layer>
<layer>
<name>display</name>
<type>text</type>
<point-size>10</point-size>
<color>
<red>1.0</red>
<green>0.5</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>literal</type>
<text>---.--</text>
</chunk>
</chunks>
</layer>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-52</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>10</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>ground speed towards station</name>
<type>switch</type>
<property>/radios/dme/in-range</property>
<layer>
<type>text</type>
<point-size>12</point-size>
<color>
<red>1.0</red>
<green>0.5</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>number-value</type>
<property>/radios/dme/speed-kt</property>
<format>%3.0f</format>
</chunk>
</chunks>
</layer>
<layer>
<name>display</name>
<type>text</type>
<point-size>10</point-size>
<color>
<red>1.0</red>
<green>0.5</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>literal</type>
<text>---</text>
</chunk>
</chunks>
</layer>
<transformations>
<transformation>
<type>y-shift</type>
<offset>10</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>time to station</name>
<type>switch</type>
<property>/radios/dme/in-range</property>
<layer>
<type>text</type>
<point-size>12</point-size>
<color>
<red>1.0</red>
<green>0.5</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>number-value</type>
<property>/radios/dme/ete-min</property>
<format>%2.0f</format>
</chunk>
</chunks>
</layer>
<layer>
<name>display</name>
<type>text</type>
<point-size>10</point-size>
<color>
<red>1.0</red>
<green>0.5</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>literal</type>
<text>--</text>
</chunk>
</chunks>
</layer>
<transformations>
<transformation>
<type>y-shift</type>
<offset>10</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>36</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>knob</name>
<texture>
<path>Aircraft/Instruments/Textures/navcom-radios.rgb</path>
<x1>0.53125</x1>
<x2>0.59765625</x2>
<y1>0.05859375</y1>
<y2>0.1484375</y2>
</texture>
<w>16</w>
<h>20</h>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-24</offset>
</transformation>
<transformation>
<type>rotation</type>
<property>/radios/dme/switch-position</property>
<min>0</min>
<max>3</max>
<scale>45</scale>
<offset>-90</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-4.0</offset>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<action>
<name>Rotate knob left</name>
<button>0</button>
<x>-32</x>
<y>-32</y>
<w>32</w>
<h>32</h>
<binding>
<command>property-adjust</command>
<property>/radios/dme/switch-position</property>
<step>-1</step>
<min>0</min>
<max>3</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<name>Rotate knob right</name>
<button>0</button>
<x>0</x>
<y>-32</y>
<w>32</w>
<h>32</h>
<binding>
<command>property-adjust</command>
<property>/radios/dme/switch-position</property>
<step>1</step>
<min>0</min>
<max>3</max>
<wrap>0</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -37,7 +37,7 @@ properties' values.
<layer>
<name>gauge face </name>
<texture>
<path>Aircraft/c172/Instruments/Textures/faces-6.rgb</path>
<path>Aircraft/Instruments/Textures/faces-6.rgb</path>
<x1>0</x1>
<y1>0.515625</y1>
<x2>0.4765625</x2>
@ -50,7 +50,7 @@ properties' values.
<layer>
<name>needle 1</name>
<texture>
<path>Aircraft/c172/Instruments/Textures/misc-1.rgb</path>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6796875</x1>
<x2>0.7265625</x2>
<y1>0.68359375</y1>
@ -77,7 +77,7 @@ properties' values.
<layer>
<name>needle 0</name>
<texture>
<path>Aircraft/c172/Instruments/Textures/misc-1.rgb</path>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
@ -105,7 +105,7 @@ properties' values.
<layer>
<name>button</name>
<texture>
<path>Aircraft/c172/Instruments/Textures/misc-1.rgb</path>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6171875</x1>
<y1>0.2421875</y1>
<x2>0.7890625</x2>

View file

@ -0,0 +1,179 @@
<?xml version="1.0"?>
<!--
Default EGT/fuel-flow gauge.
Started summer 2000 by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>EGT/Fuel-Flow Gauge</name>
<w-base>120</w-base>
<h-base>120</h-base>
<params>
<engine-egt-select>/engines[0]/engine[0]/egt-degf</engine-egt-select>
<engine-fuel-flow-select>/engines[0]/engine[0]/fuel-flow-gph</engine-fuel-flow-select>
</params>
<layers>
<layer>
<name>gauge face</name>
<texture>
<path>Aircraft/Instruments/Textures/egt-fuel.rgb</path>
<x1>0.376</x1>
<y1>0.01</y1>
<x2>0.7425</x2>
<y2>0.374</y2>
</texture>
<w>102</w>
<h>102</h>
</layer>
<layer>
<name>bezel</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-0</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-0</offset>
</transformation>
</transformations>
<w>120</w>
<h>120</h>
</layer>
<layer>
<name>egt needle</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>36</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-46</offset>
</transformation>
<transformation>
<type>rotation</type>
<!-- recalibrated gauge as per D Luff's suggestion -->
<property alias="../../../../../params/engine-egt-select"/>
<min>425.0</min><!-- 50 -->
<max>775.0</max><!-- 750 -->
<scale>-0.25</scale><!-- -0.18 -->
<offset>-120</offset><!-- 135 -->
</transformation>
<transformation>
<type>y-shift</type>
<offset>19</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>fuel flow needle</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>36</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>46</offset>
</transformation>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/engine-fuel-flow-select"/>
<min>0.0</min>
<max>20.0</max>
<scale>4.25</scale>
<offset>-135</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>19</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>gauge labels</name>
<texture>
<path>Aircraft/Instruments/Textures/egt-fuel.rgb</path>
<x1>0.0078125</x1>
<y1>0.0</y1>
<x2>0.359375</x2>
<y2>0.359375</y2>
</texture>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-3</offset>
</transformation>
</transformations>
<w>100</w>
<h>100</h>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>114</w>
<h>114</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,116 @@
<?xml version="1.0"?>
<!--
C172 flaps control.
Oct 20 2000 by John Check <j4strngs@rockfish.net>
________________________________________________________________________________
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>Flaps Indicator</name>
<w-base>56</w-base>
<h-base>96</h-base>
<layers>
<layer>
<name>background</name>
<texture>
<path>Aircraft/Instruments/Textures/flaps.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.3515625</x2>
<y2>0.625</y2>
</texture>
</layer>
<layer>
<name>handle</name>
<texture>
<path>Aircraft/Instruments/Textures/handles.rgb</path>
<x1>0.0</x1>
<y1>0.85</y1>
<x2>0.38</x2>
<y2>1.0</y2>
</texture>
<w>34</w>
<h>15</h>
<transformations>
<transformation>
<type>x-shift</type>
<property>/controls/flaps</property>
<min>0.0</min>
<max>1.0</max>
<scale>17.0</scale>
<offset>0</offset>
</transformation>
<transformation>
<type>y-shift</type>
<property>/controls/flaps</property>
<min>0.0</min>
<max>1.0</max>
<scale>-45.0</scale>
<offset>24</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>180</offset>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<action>
<name>extend</name>
<button>0</button>
<x>-32</x>
<y>-61</y>
<w>32</w>
<h>96</h>
<binding>
<command>property-adjust</command>
<property>/controls/flaps</property>
<step>-0.34</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>retract</name>
<button>0</button>
<x>0</x>
<y>-61</y>
<w>32</w>
<h>96</h>
<binding>
<command>property-adjust</command>
<property>/controls/flaps</property>
<step>0.34</step>
<min>0.0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,185 @@
<?xml version="1.0"?>
<!--
Default fuel gauge.
2000 by John Check j4strngs@rockfish.net
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>Fuel Gauge</name>
<w-base>120</w-base>
<h-base>120</h-base>
<params>
<left-level-select>/consumables/fuel/tank[0]/level-gal_us</left-level-select>
<right-level-select>/consumables/fuel/tank[1]/level-gal_us</right-level-select>
</params>
<layers>
<layer>
<name>gauge face</name>
<texture>
<path>Aircraft/Instruments/Textures/egt-fuel.rgb</path>
<x1>0.3984375</x1>
<y1>0.3828125</y1>
<x2>0.7421875</x2>
<y2>0.7421875</y2>
</texture>
<w>100</w>
<h>100</h>
</layer>
<layer>
<name>bezel</name>
<condition>
<equals>
<property>/sim/aero</property>
<value>c172</value>
</equals>
</condition>
<texture>
<path>Aircraft/Instruments/Textures/bezel.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-0</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-0</offset>
</transformation>
</transformations>
<w>120</w>
<h>120</h>
</layer>
<layer>
<name>left tank needle</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>36</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-46</offset>
</transformation>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/left-level-select"/>
<min>0.0</min>
<max>26.0</max>
<scale>-3.4615</scale>
<offset>135</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>18</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>right tank needle</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>36</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>46</offset>
</transformation>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/right-level-select"/>
<min>0.0</min>
<max>26.0</max>
<scale>3.4615</scale>
<offset>-135</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>19</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>gauge label</name>
<texture>
<path>Aircraft/Instruments/Textures/egt-fuel.rgb</path>
<x1>0.01953125</x1>
<y1>0.375</y1>
<x2>0.3828215</x2>
<y2>0.75</y2>
</texture>
<w>105</w>
<h>105</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>0</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>115</w>
<h>115</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>

View file

@ -18,7 +18,7 @@
<layer>
<name>on</name>
<texture>
<path>Aircraft/c172/Instruments/Textures/brake.rgb</path>
<path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
<x1>0.25</x1>
<y1>0.0</y1>
<x2>0.5</x2>
@ -30,7 +30,7 @@
<layer>
<name>off</name>
<texture>
<path>Aircraft/c172/Instruments/Textures/brake.rgb</path>
<path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.25</x2>
@ -44,7 +44,7 @@
<layer>
<name>lens</name>
<texture>
<path>Aircraft/c172/Instruments/Textures/brake.rgb</path>
<path>Aircraft/Instruments/Textures/warning-lamps.rgb</path>
<x1>0.74609375</x1>
<y1>0.0</y1>
<x2>1.0</x2>

View file

@ -0,0 +1,423 @@
<?xml version="1.0"?>
<!--
Default gyro compass instrument.
Started summer 2000 by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>Gyro Compass</name>
<w-base>128</w-base>
<h-base>128</h-base>
<params>
<dg-style>/sim/instrument-options/dg/style</dg-style>
</params>
<layers>
<layer>
<name>compass rose</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-1.rgb</path>
<x1>0.0</x1>
<y1>0.515625</y1>
<x2>0.484375</x2>
<y2>1.0</y2>
</texture>
<w>110</w>
<h>110</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/steam/gyro-compass-deg</property>
<min>-720.0</min>
<max>720.0</max>
<scale>-1.0</scale>
</transformation>
</transformations>
</layer>
<!-- fix misc.rgb -->
<layer>
<name>heading bug</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.9375</x1>
<y1>0.4375</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>16</w>
<h>16</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/autopilot/settings/heading-bug-deg</property>
<min>-360.0</min>
<max>360.0</max>
</transformation>
<transformation>
<type>rotation</type>
<property>/steam/gyro-compass-deg</property>
<min>-360.0</min>
<max>360.0</max>
<scale>-1.0</scale>
</transformation>
<transformation>
<type>y-shift</type>
<offset>50</offset>
</transformation>
</transformations>
</layer>
<!-- style A -->
<layer>
<name>fixed center</name>
<condition>
<equals>
<property alias="../../../../../params/dg-style"/>
<value>0</value>
</equals>
</condition>
<texture>
<path>Aircraft/Instruments/Textures/gyro-fronts.rgb</path>
<x1>0.50390625</x1>
<y1>0.5078125</y1>
<x2>0.9765625</x2>
<y2>0.98046875</y2>
</texture>
<w>105</w>
<h>105</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-1.5</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-1.5</offset>
</transformation>
</transformations>
</layer>
<!-- style B -->
<layer>
<name>fixed center</name>
<condition>
<equals>
<property alias="../../../../../params/dg-style"/>
<value>1</value>
</equals>
</condition>
<texture>
<path>Aircraft/Instruments/Textures/gyro-fronts.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.49609375</x2>
<y2>0.49609375</y2>
</texture>
<w>110</w>
<h>110</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-1</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-1</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>128</w>
<h>128</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Heading Knob</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.25</x1>
<y1>0.75</y1>
<x2>0.5</x2>
<y2>1.0</y2>
</texture>
<h>24</h>
<w>24</w>
<transformations>
<transformation>
<type>x-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>180</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Heading label</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.0078125</x1>
<y1>0.5</y1>
<x2>0.1640625</x2>
<y2>0.6640625</y2>
</texture>
<w>15</w>
<h>15</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>rotation</type>
<property>/autopilot/settings/heading-bug-deg</property>
</transformation>
</transformations>
</layer>
<layer>
<name>OBS Knob</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.25</x1>
<y1>0.75</y1>
<x2>0.5</x2>
<y2>1.0</y2>
</texture>
<h>24</h>
<w>24</w>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>180</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>OBS label</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.0078125</x1>
<y1>0.66015625</y1>
<x2>0.1640625</x2>
<y2>0.82421875</y2>
</texture>
<w>15</w>
<h>15</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>rotation</type>
<property>/steam/gyro-compass-deg</property>
<min>0</min>
<max>360</max>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<action>
<name></name>
<button>0</button>
<x>-56</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/steam/gyro-compass-error-deg</property>
<step>-1</step>
<min>0</min>
<max>359</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<name></name>
<button>1</button>
<x>-56</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/steam/gyro-compass-error-deg</property>
<step>-5</step>
<min>0</min>
<max>359</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name></name>
<button>0</button>
<x>-46</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/steam/gyro-compass-error-deg</property>
<step>1</step>
<min>0</min>
<max>359</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name></name>
<button>1</button>
<x>-46</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/steam/gyro-compass-error-deg</property>
<step>5</step>
<min>0</min>
<max>359</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name></name>
<button>0</button>
<x>36</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/heading-bug-deg</property>
<step>-1</step>
<min>0</min>
<max>359</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name></name>
<button>1</button>
<x>36</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/heading-bug-deg</property>
<step>-5</step>
<min>0</min>
<max>359</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name></name>
<button>0</button>
<x>46</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/heading-bug-deg</property>
<step>1</step>
<min>0</min>
<max>359</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name></name>
<button>1</button>
<x>46</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/heading-bug-deg</property>
<step>5</step>
<min>0</min>
<max>359</max>
<wrap>1</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,584 @@
<?xml version="1.0"?>
<!--
HSI instrument
Started 24-7-01 by Timothy Gale
-->
<PropertyList>
<name>HSI</name>
<w-base>128</w-base>
<h-base>128</h-base>
<params>
<nav-gs-needle-deflection>/radios/nav[0]/gs-needle-deflection</nav-gs-needle-deflection>
<hsi-has-gs-needle>/sim/instrument-options/hsi[0]/has-gs-needle</hsi-has-gs-needle>
</params>
<layers>
<layer>
<name>compass rose</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-1.rgb</path>
<x1>0.0</x1>
<y1>0.51</y1>
<x2>0.49</x2>
<y2>1.0</y2>
</texture>
<w>104</w>
<h>104</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/orientation/heading-magnetic-deg</property>
<min>0.0</min>
<max>360.0</max>
<scale>-1.0</scale>
</transformation>
</transformations>
</layer>
<!-- Taken from Nav1.xml -->
<layer>
<name>TO/FROM/OFF flag</name>
<type>switch</type>
<property>/radios/nav[0]/to-flag</property>
<layer>
<name>TO flag</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.9375</x1>
<y1>0.578125</y1>
<x2>1.0</x2>
<y2>0.625</y2>
</texture>
<w>14</w>
<h>14</h>
</layer>
<layer>
<name>FROM/OFF flag</name>
<type>switch</type>
<property>/radios/nav[0]/from-flag</property>
<layer>
<name>FROM flag</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.9375</x1>
<y1>0.625</y1>
<x2>1.0</x2>
<y2>0.671875</y2>
</texture>
<w>14</w>
<h>14</h>
</layer>
<layer>
<name>OFF flag</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.9375</x1>
<y1>0.5</y1>
<x2>1.0</x2>
<y2>0.546875</y2>
</texture>
<w>14</w>
<h>14</h>
</layer>
</layer>
<transformations>
<transformation>
<type>rotation</type>
<property>/orientation/heading-magnetic-deg</property>
<min>0.0</min>
<max>360</max>
<scale>-1.0</scale>
</transformation>
<transformation>
<type>rotation</type>
<property>/radios/nav[0]/radials/selected-deg</property>
<min>0.0</min>
<max>360.0</max>
<scale>1.0</scale>
</transformation>
<transformation>
<type>y-shift</type>
<offset>16</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>glidescope needle</name>
<condition>
<equals>
<property alias="../../../../../params/hsi-has-gs-needle"/>
<value>1</value>
</equals>
</condition>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.439</x1>
<y1>0.5</y1>
<x2>0.4575</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>64</h>
<transformations>
<transformation>
<type>y-shift</type>
<property alias="../../../../../params/nav-gs-needle-deflection"/>
<min>-1</min>
<max>1</max>
<scale>25.6</scale>
</transformation>
<transformation>
<type>rotation</type>
<offset>90</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Nav1</name>
<texture>
<path>Aircraft/Instruments/Textures/hsi.rgb</path>
<x1>0.0</x1>
<y1>0.75</y1>
<x2>0.25</x2>
<y2>1.0</y2>
</texture>
<w>72</w>
<h>72</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/orientation/heading-magnetic-deg</property>
<min>0.0</min>
<max>360</max>
<scale>-1.0</scale>
</transformation>
<transformation>
<type>rotation</type>
<property>/radios/nav[0]/radials/selected-deg</property>
<min>0.0</min>
<max>360.0</max>
<scale>1.0</scale>
</transformation>
</transformations>
</layer>
<layer>
<name>Nav1_deviation</name>
<texture>
<path>Aircraft/Instruments/Textures/hsi.rgb</path>
<x1>0.25</x1>
<y1>0.75</y1>
<x2>0.5</x2>
<y2>1.0</y2>
</texture>
<w>72</w>
<h>72</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/orientation/heading-magnetic-deg</property>
<min>0.0</min>
<max>360</max>
<scale>-1.0</scale>
</transformation>
<transformation>
<type>rotation</type>
<property>/radios/nav[0]/radials/selected-deg</property>
<min>0.0</min>
<max>360</max>
<scale>1.0</scale>
</transformation>
<transformation>
<type>x-shift</type>
<property>/radios/nav[0]/heading-needle-deflection</property>
<min>-10.0</min>
<max>10.0</max>
<scale>3.2</scale>
</transformation>
</transformations>
</layer>
<layer>
<name>ADF Needle</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8671875</x1>
<y1>0.25</y1>
<x2>0.921875</x2>
<y2>1.0</y2>
</texture>
<w>9</w>
<h>64</h>
<transformations>
<transformation>
<type>rotation</type>
<!--set>45</offset-->
<property>/steam/adf-deg</property>
<min>-360</min>
<max>360</max>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-1</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Plane</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.5</x1>
<y1>0.734375</y1>
<x2>0.59375</x2>
<y2>0.828125</y2>
</texture>
<w>25</w>
<h>25</h>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-6</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Background</name>
<texture>
<path>Aircraft/Instruments/Textures/hsi.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.5</x2>
<y2>0.5</y2>
</texture>
<w>104</w>
<h>104</h>
</layer>
<!-- Copied from gyro.xml -->
<layer>
<name>heading bug</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.9375</x1>
<y1>0.4375</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>16</w>
<h>16</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/autopilot/settings/heading-bug-deg</property>
<min>-360.0</min>
<max>360.0</max>
</transformation>
<transformation>
<type>rotation</type>
<property>/orientation/heading-magnetic-deg</property>
<min>-360.0</min>
<max>360.0</max>
<scale>-1.0</scale>
</transformation>
<transformation>
<type>y-shift</type>
<offset>50</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>bezel</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-1</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>124</w>
<h>124</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Heading Knob</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.25</x1>
<y1>0.75</y1>
<x2>0.5</x2>
<y2>1.0</y2>
</texture>
<h>24</h>
<w>24</w>
<transformations>
<transformation>
<type>x-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>180</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Heading label</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.0078125</x1>
<y1>0.5</y1>
<x2>0.1640625</x2>
<y2>0.6640625</y2>
</texture>
<w>15</w>
<h>15</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>rotation</type>
<property>/autopilot/settings/heading-bug-deg</property>
</transformation>
</transformations>
</layer>
<layer>
<name>OBS Knob</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.25</x1>
<y1>0.75</y1>
<x2>0.5</x2>
<y2>1.0</y2>
</texture>
<h>24</h>
<w>24</w>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>180</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>OBS label</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.0078125</x1>
<y1>0.66015625</y1>
<x2>0.1640625</x2>
<y2>0.8242185</y2>
</texture>
<w>15</w>
<h>15</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>rotation</type>
<property>/radios/nav[0]/radials/selected-deg</property>
<min>0</min>
<max>360</max>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<action>
<name>OBS small clockwise rotation</name>
<button>0</button>
<x>-56</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/nav[0]/radials/selected-deg</property>
<step>-1.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>OBS large clockwise rotation</name>
<button>1</button>
<x>-56</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/nav[0]/radials/selected-deg</property>
<step>-5.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>OBS small counter-clockwise rotation</name>
<button>0</button>
<x>-46</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/nav[0]/radials/selected-deg</property>
<step>1.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>OBS large counter-clockwise rotation</name>
<button>1</button>
<x>-46</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/nav[0]/radials/selected-deg</property>
<step>5.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>Heading hold small clockwise rotation</name>
<button>0</button>
<x>36</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/heading-bug-deg</property>
<step>-1.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>Heading hold large clockwise rotation</name>
<button>1</button>
<x>36</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/heading-bug-deg</property>
<step>-5.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>Heading hold small counter-clockwise rotation</name>
<button>0</button>
<x>46</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/heading-bug-deg</property>
<step>1.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>Heading hold large counter-clockwise rotation</name>
<button>1</button>
<x>46</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/autopilot/settings/heading-bug-deg</property>
<step>5.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,48 @@
<?xml version="1.0"?>
<!--
Comical tail number.
Started summer 2000 by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>Logo</name>
<w-base>96</w-base>
<h-base>32</h-base>
<layers>
<layer>
<name>face</name>
<texture>
<path>Aircraft/Instruments/Textures/flaps.rgb</path>
<x1>0.375</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.375</y2>
</texture>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,52 @@
<?xml version="1.0"?>
<!--
Default magnetic compass instrument.
Started summer 2000 by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>Magnetic Compass</name>
<w-base>128</w-base>
<h-base>32</h-base>
<layers>
<layer>
<name>Compass Float (magic)</name>
<type>built-in</type>
<class>mag-ribbon</class>
<w>102</w>
<h>25</h>
</layer>
<layer>
<name>face</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.375</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.1875</y2>
</texture>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,282 @@
<?xml version="1.0"?>
<!--
Marker beacon indicator
March 2001
John Check <j4strngs@usa.net>
_____________________________________________________________________
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swapping them with other
properties' values.
-->
<PropertyList>
<name>marker beacon</name>
<w-base>60</w-base>
<h-base>22</h-base>
<layers>
<layer>
<name>backplate</name>
<texture>
<path>Aircraft/Instruments/Textures/flaps.rgb</path>
<x1>0.5</x1>
<y1>0.75</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
</layer>
<!-- Outer Indicator -->
<layer>
<name>lamp</name>
<type>switch</type>
<property>/radios/marker-beacon/outer</property>
<layer>
<name>on</name>
<texture>
<path>Aircraft/Instruments/Textures/led.rgb</path>
<x1>0.5</x1>
<y1>0.75</y1>
<x2>0.75</x2>
<y2>1.0</y2>
</texture>
<w>12</w>
<h>12</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>off</name>
<texture>
<path>Aircraft/Instruments/Textures/led.rgb</path>
<x1>0.25</x1>
<y1>0.75</y1>
<x2>0.5</x2>
<y2>1.0</y2>
</texture>
<w>12</w>
<h>12</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-20</offset>
</transformation>
</transformations>
</layer>
</layer>
<layer>
<name>Lens-Outer</name>
<texture>
<path>Aircraft/Instruments/Textures/led.rgb</path>
<x1>0.75</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.25</y2>
</texture>
<w>12</w>
<h>12</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Bezel-Outer</name>
<texture>
<path>Aircraft/Instruments/Textures/led.rgb</path>
<x1>0.0</x1>
<y1>0.75</y1>
<x2>0.25</x2>
<y2>1.0</y2>
</texture>
<w>12</w>
<h>12</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-20</offset>
</transformation>
</transformations>
</layer>
<!-- Middle Indicator -->
<layer>
<name>lamp</name>
<type>switch</type>
<property>/radios/marker-beacon/middle</property>
<layer>
<name>on</name>
<texture>
<path>Aircraft/Instruments/Textures/led.rgb</path>
<x1>0.5</x1>
<y1>0.75</y1>
<x2>0.75</x2>
<y2>1.0</y2>
</texture>
<w>12</w>
<h>12</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>0</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>off</name>
<texture>
<path>Aircraft/Instruments/Textures/led.rgb</path>
<x1>0.25</x1>
<y1>0.75</y1>
<x2>0.5</x2>
<y2>1.0</y2>
</texture>
<w>12</w>
<h>12</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>0</offset>
</transformation>
</transformations>
</layer>
</layer>
<layer>
<name>Lens-Middle</name>
<texture>
<path>Aircraft/Instruments/Textures/led.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>0.75</x2>
<y2>0.25</y2>
</texture>
<w>12</w>
<h>12</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>0</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Bezel-Middle</name>
<texture>
<path>Aircraft/Instruments/Textures/led.rgb</path>
<x1>0.0</x1>
<y1>0.75</y1>
<x2>0.25</x2>
<y2>1.0</y2>
</texture>
<w>12</w>
<h>12</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>0</offset>
</transformation>
</transformations>
</layer>
<!-- Inner Indicator -->
<layer>
<name>lamp</name>
<type>switch</type>
<property>/radios/marker-beacon/inner</property>
<layer>
<name>on</name>
<texture>
<path>Aircraft/Instruments/Textures/led.rgb</path>
<x1>0.5</x1>
<y1>0.75</y1>
<x2>0.75</x2>
<y2>1.0</y2>
</texture>
<w>12</w>
<h>12</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>off</name>
<texture>
<path>Aircraft/Instruments/Textures/led.rgb</path>
<x1>0.25</x1>
<y1>0.75</y1>
<x2>0.5</x2>
<y2>1.0</y2>
</texture>
<w>12</w>
<h>12</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
</layer>
<layer>
<name>Lens-Inner</name>
<texture>
<path>Aircraft/Instruments/Textures/led.rgb</path>
<x1>0.0</x1>
<y1>0.25</y1>
<x2>0.25</x2>
<y2>0.5</y2>
</texture>
<w>12</w>
<h>12</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Bezel-Inner</name>
<texture>
<path>Aircraft/Instruments/Textures/led.rgb</path>
<x1>0.0</x1>
<y1>0.75</y1>
<x2>0.25</x2>
<y2>1.0</y2>
</texture>
<w>12</w>
<h>12</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,166 @@
<?xml version="1.0"?>
<!--
Default Mixture knob.
Started summer 2000 by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>Mixture Knob</name>
<w-base>64</w-base>
<h-base>72</h-base>
<params>
<engine-mixture-select>/controls/mixture[0]</engine-mixture-select>
</params>
<layers>
<layer>
<name>background</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.625</x1>
<y1>0.2275</y1>
<x2>0.8</x2>
<y2>0.415</y2>
</texture>
<w>64</w>
<h>64</h>
</layer>
<!-- fix texture -->
<!--layer>
<name>shaft</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.890625</x1>
<y1>0.8125</y1>
<x2>0.921875</x2>
<y2>1.0</y2>
</texture>
<w>16</w>
<h>24</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-5</offset>
</transformation>
</transformations>
</layer-->
<layer>
<name>knob</name>
<texture>
<path>Aircraft/Instruments/Textures/handles.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>64</w>
<h>64</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-3</offset>
</transformation>
<transformation>
<type>y-shift</type>
<property alias="../../../../../params/engine-mixture-select"/>
<min>0.0</min>
<max>1.0</max>
<scale>18</scale>
<offset>-22</offset>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<action>
<name>small decrease</name>
<button>0</button>
<x>-32</x>
<y>-36</y>
<w>32</w>
<h>72</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/engine-mixture-select"/>
<step>-0.01</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>small increase</name>
<button>0</button>
<x>0</x>
<y>-36</y>
<w>32</w>
<h>72</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/engine-mixture-select"/>
<step>0.01</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>big decrease</name>
<button>1</button>
<x>-32</x>
<y>-36</y>
<w>32</w>
<h>72</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/engine-mixture-select"/>
<step>-0.1</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>big increase</name>
<button>1</button>
<x>0</x>
<y>-36</y>
<w>32</w>
<h>72</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/engine-mixture-select"/>
<step>0.1</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,446 @@
<?xml version="1.0"?>
<!--
Default NAV1 gauge instrument.
Started summer 2000 by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>Nav1</name>
<w-base>128</w-base>
<h-base>128</h-base>
<params>
<nav-to-flag>/radios/nav[0]/to-flag</nav-to-flag> -->
<nav-from-flag>/radios/nav[0]/from-flag</nav-from-flag> -->
<nav-radial-selected>/radios/nav[0]/radials/selected-deg</nav-radial-selected>
<nav-gs-needle-deflection>/radios/nav[0]/gs-needle-deflection</nav-gs-needle-deflection>
<nav-heading-needle-deflection>/radios/nav[0]/heading-needle-deflection</nav-heading-needle-deflection>
<nav-has-gs-needle>/sim/instrument-options/nav[0]/has-gs-needle</nav-has-gs-needle>
<nav-needles-pivot>/sim/instrument-options/nav[0]/needles-pivot</nav-needles-pivot>
</params>
<layers>
<layer>
<name>gauge face</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-1.rgb</path>
<x1>0.0</x1>
<y1>0.51</y1>
<x2>0.49</x2>
<y2>1.0</y2>
</texture>
<w>104</w>
<h>104</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>1</offset>
</transformation>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/nav-radial-selected"/>
<min>0.0</min>
<max>360.0</max>
<scale>-1.0</scale>
</transformation>
</transformations>
</layer>
<layer>
<name>TO/FROM/OFF flag</name>
<type>switch</type>
<property alias="../../../params/nav-to-flag"/>
<layer>
<name>TO flag</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.9375</x1>
<y1>0.578125</y1>
<x2>1.0</x2>
<y2>0.625</y2>
</texture>
<w>16</w>
<h>16</h>
</layer>
<layer>
<name>FROM/OFF flag</name>
<type>switch</type>
<property alias="../../../../params/nav-from-flag"/>
<layer>
<name>FROM flag</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.9375</x1>
<y1>0.625</y1>
<x2>1.0</x2>
<y2>0.671875</y2>
</texture>
<w>16</w>
<h>16</h>
</layer>
<layer>
<name>OFF flag</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.9375</x1>
<y1>0.5</y1>
<x2>1.0</x2>
<y2>0.546875</y2>
</texture>
<w>16</w>
<h>16</h>
</layer>
</layer>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-24</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>pivoting vertical needle</name>
<condition>
<equals>
<property alias="../../../../../params/nav-needles-pivot"/>
<value>1</value>
</equals>
</condition>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.439</x1>
<y1>0.5</y1>
<x2>0.4575</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>64</h>
<transformations>
<transformation>
<type>y-shift</type>
<offset>32</offset>
</transformation>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/nav-heading-needle-deflection"/>
<min>-10.0</min>
<max>10.0</max>
<scale>-3.2</scale>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-32</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>arcing vertical needle</name>
<condition>
<equals>
<property alias="../../../../../params/nav-needles-pivot"/>
<value>0</value>
</equals>
</condition>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.439</x1>
<y1>0.5</y1>
<x2>0.4575</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>64</h>
<transformations>
<transformation>
<type>x-shift</type>
<property alias="../../../../../params/nav-heading-needle-deflection"/>
<min>-10.0</min>
<max>10.0</max>
<scale>3.2</scale>
</transformation>
</transformations>
</layer>
<layer>
<name>pivoting glidescope needle</name>
<condition>
<equals>
<property alias="../../../../../params/nav-has-gs-needle"/>
<value>1</value>
</equals>
<equals>
<property alias="../../../../../params/nav-needles-pivot"/>
<value>1</value>
</equals>
</condition>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.439</x1>
<y1>0.5</y1>
<x2>0.4575</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>64</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-32</offset>
</transformation>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/nav-gs-needle-deflection"/>
<min>-1</min>
<max>1</max>
<scale>-25.6</scale>
</transformation>
<transformation>
<type>x-shift</type>
<offset>32</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>90</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>sliding glidescope needle</name>
<condition>
<equals>
<property alias="../../../../../params/nav-has-gs-needle"/>
<value>1</value>
</equals>
<equals>
<property alias="../../../../../params/nav-needles-pivot"/>
<value>0</value>
</equals>
</condition>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.439</x1>
<y1>0.5</y1>
<x2>0.4575</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>64</h>
<transformations>
<transformation>
<type>y-shift</type>
<property alias="../../../../../params/nav-gs-needle-deflection"/>
<min>-1</min>
<max>1</max>
<scale>25.6</scale>
</transformation>
<transformation>
<type>rotation</type>
<offset>90</offset>
</transformation>
</transformations>
</layer>
<!-- fix misc.rgb -->
<layer>
<name>face</name>
<w>55</w>
<h>70</h>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0</x1>
<y1>0</y1>
<x2>0.25</x2>
<y2>0.3125</y2>
</texture>
</layer>
<layer>
<name>bezel</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-1</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>124</w>
<h>124</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>OBS Knob</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.25</x1>
<y1>0.75</y1>
<x2>0.5</x2>
<y2>1.0</y2>
</texture>
<h>24</h>
<w>24</w>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>180</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>OBS label</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.0078125</x1>
<y1>0.66015625</y1>
<x2>0.1640625</x2>
<y2>0.82421875</y2>
</texture>
<w>15</w>
<h>15</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/nav-radial-selected"/>
<min>0</min>
<max>360</max>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<action>
<name>small clockwise rotation</name>
<button>0</button>
<x>-64</x>
<y>-64</y>
<w>13</w>
<h>26</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-radial-selected"/>
<step>-1.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large clockwise rotation</name>
<button>1</button>
<x>-64</x>
<y>-64</y>
<w>13</w>
<h>26</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-radial-selected"/>
<step>-5.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>small counter-clockwise rotation</name>
<button>0</button>
<x>-51</x>
<y>-64</y>
<w>13</w>
<h>26</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-radial-selected"/>
<step>1.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large counter-clockwise rotation</name>
<button>1</button>
<x>-51</x>
<y>-64</y>
<w>13</w>
<h>26</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-radial-selected"/>
<step>5.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,558 @@
<?xml version="1.0"?>
<!--
Default NAV3 gauge instrument.
Started summer 2000 by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>Nav2</name>
<w-base>128</w-base>
<h-base>128</h-base>
<layers>
<layer>
<name>gauge face</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-1.rgb</path>
<x1>0.0</x1>
<y1>0.51</y1>
<x2>0.49</x2>
<y2>1.0</y2>
</texture>
<w>104</w>
<h>104</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/radios/nav[0]/radials/selected-deg</property>
<min>0</min>
<max>360</max>
<scale>-1.0</scale>
</transformation>
</transformations>
</layer>
<!-- dme section -->
<layer>
<name>distance to station</name>
<type>switch</type>
<property>/radios/dme/in-range</property>
<w>96</w>
<h>64</h>
<layer>
<name>display</name>
<type>text</type>
<point-size>10</point-size>
<color>
<red>1.0</red>
<green>0.5</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>number-value</type>
<property>/radios/dme/distance-nm</property>
<format>%3.1f</format>
</chunk>
</chunks>
</layer>
<layer>
<name>display</name>
<type>text</type>
<point-size>10</point-size>
<color>
<red>1.0</red>
<green>0.5</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>literal</type>
<text>---.--</text>
</chunk>
</chunks>
</layer>
<transformations>
<transformation>
<type>x-shift</type>
<offset>3</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>6</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>nav frequency</name>
<type>text</type>
<point-size>10</point-size>
<color>
<red>1.0</red>
<green>0.5</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>number-value</type>
<property>/radios/nav[0]/frequencies/selected-mhz</property>
<format>%3.2f</format>
</chunk>
</chunks>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-10</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-12</offset>
</transformation>
</transformations>
</layer>
<!-- fix misc.rgb -->
<layer>
<name>face</name>
<w>55</w>
<h>70</h>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0</x1>
<y1>0</y1>
<x2>0.25</x2>
<y2>0.3125</y2>
</texture>
</layer>
<layer>
<name>TO/FROM/OFF flag</name>
<type>switch</type>
<property>/radios/nav[0]/to-flag</property>
<layer>
<name>TO flag</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.9375</x1>
<y1>0.578125</y1>
<x2>1.0</x2>
<y2>0.625</y2>
</texture>
<w>16</w>
<h>16</h>
</layer>
<layer>
<name>FROM/OFF flag</name>
<type>switch</type>
<property>/radios/nav[1]/from-flag</property>
<layer>
<name>FROM flag</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.9375</x1>
<y1>0.625</y1>
<x2>1.0</x2>
<y2>0.671875</y2>
</texture>
<w>16</w>
<h>16</h>
</layer>
<layer>
<name>OFF flag</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.9375</x1>
<y1>0.5</y1>
<x2>1.0</x2>
<y2>0.546875</y2>
</texture>
<w>16</w>
<h>16</h>
</layer>
</layer>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>vertical needle</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.439</x1>
<y1>0.5</y1>
<x2>0.4575</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>60</h>
<transformations>
<transformation>
<type>x-shift</type>
<property>/radios/nav[0]/heading-needle-deflection</property>
<min>-10.0</min>
<max>10.0</max>
<scale>3.2</scale>
</transformation>
</transformations>
</layer>
<layer>
<name>bezel</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-1</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>124</w>
<h>124</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Knob</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.25</x1>
<y1>0.75</y1>
<x2>0.5</x2>
<y2>1.0</y2>
</texture>
<h>24</h>
<w>24</w>
<transformations>
<transformation>
<type>x-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>180</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>OBS label</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.0078125</x1>
<y1>0.66015625</y1>
<x2>0.1640625</x2>
<y2>0.82421875</y2>
</texture>
<w>15</w>
<h>15</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>45</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>rotation</type>
<property>/radios/nav[0]/radials/selected-deg</property>
<min>0</min>
<max>360</max>
</transformation>
</transformations>
</layer>
<layer>
<name>Coarse Radio Knob</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.25</x1>
<y1>0.75</y1>
<x2>0.5</x2>
<y2>1.0</y2>
</texture>
<h>24</h>
<w>24</w>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>180</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Fine Radio Knob</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.25</x1>
<y1>0.75</y1>
<x2>0.5</x2>
<y2>1.0</y2>
</texture>
<h>16</h>
<w>16</w>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-45</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>180</offset>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<action>
<name>Coarse Radio Tune - clockwise</name>
<button>0</button>
<x>-56</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/nav[0]/frequencies/selected-mhz</property>
<step>-0.5</step>
<min>108.0</min>
<max>117.95</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>Fine Radio Tune - clockwise</name>
<button>1</button>
<x>-56</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/nav[0]/frequencies/selected-mhz</property>
<step>-0.05</step>
<min>108.0</min>
<max>117.95</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>OBS small counter-clockwise rotation</name>
<button>0</button>
<x>-46</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/nav[0]/frequencies/selected-mhz</property>
<step>-0.5</step>
<min>108.0</min>
<max>117.95</max>
</binding>
</action>
<action>
<name>OBS large counter-clockwise rotation</name>
<button>1</button>
<x>-46</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/nav[0]/frequencies/selected-mhz</property>
<step>-0.5</step>
<min>108.0</min>
<max>117.95</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>small clockwise rotation</name>
<button>0</button>
<x>46</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/nav[0]/radials/selected-deg</property>
<step>-1.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large clockwise rotation</name>
<button>1</button>
<x>46</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/nav[0]/radials/selected-deg</property>
<step>-5.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>small counter-clockwise rotation</name>
<button>0</button>
<x>36</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/nav[0]/radials/selected-deg</property>
<step>1.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large counter-clockwise rotation</name>
<button>1</button>
<x>36</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/nav[0]/radials/selected-deg</property>
<step>5.0</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<!--
<action>
<name>ident volume increase</name>
<button>0</button>
<x>46</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-morse-id-volume-prop"/>
<step>0.5</step>
<min>0</min>
<max>2</max>
</binding>
</action>
<action>
<name>ident volume decrease</name>
<button>0</button>
<x>36</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-morse-id-volume-prop"/>
<step>-0.5</step>
<min>0</min>
<max>2</max>
</binding>
</action>
<action>
<name>ident volume on/off</name>
<button>0</button>
<x>-36</x>
<y>-56</y>
<w>24</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-morse-ident-toggle-prop"/>
<step>1.0</step>
<min>0</min>
<max>1</max>
<wrap>1</wrap>
</binding>
</action>
-->
</actions>
</PropertyList>

View file

@ -125,7 +125,7 @@ properties' values.
<layer>
<name>ident knob pointer</name>
<texture>
<path>Aircraft/c172/Instruments/Textures/blister.rgb</path>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.1640625</y1>
<x2>0.1</x2>

View file

@ -0,0 +1,492 @@
<?xml version="1.0"?>
<!--
Default NAVCOM radio instrument.
Parameterized and improved
John Check <j4strngs@rockfish.net>
June 2001
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>NavCom Radio</name>
<w-base>256</w-base>
<h-base>64</h-base>
<params>
<comm-freq-selected-prop>/radios/comm[0]/frequencies/selected-mhz</comm-freq-selected-prop>
<comm-freq-standby-prop>/radios/comm[0]/frequencies/standby-mhz</comm-freq-standby-prop>
<nav-freq-selected-prop>/radios/nav[0]/frequencies/selected-mhz</nav-freq-selected-prop>
<nav-freq-standby-prop>/radios/nav[0]/frequencies/standby-mhz</nav-freq-standby-prop>
<nav-morse-id-volume-prop>/radios/nav[0]/volume</nav-morse-id-volume-prop>
<nav-morse-ident-toggle-prop>/radios/nav[0]/ident</nav-morse-ident-toggle-prop>
</params>
<layers>
<layer>
<name>background</name>
<texture>
<path>Aircraft/Instruments/Textures/navcom-radios.rgb</path>
<x1>0.0</x1>
<y1>0.75</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
</layer>
<layer>
<name>nav frequencies</name>
<type>text</type>
<point-size>14</point-size>
<color>
<red>1.0</red>
<green>0.5</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>number-value</type>
<property alias="../../../../../params/nav-freq-selected-prop"/>
<format>%.2f</format>
</chunk>
<chunk>
<type>number-value</type>
<property alias="../../../../../params/nav-freq-standby-prop"/>
<format>%7.2f</format>
</chunk>
</chunks>
<transformations>
<transformation>
<type>x-shift</type>
<offset>3</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>5</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>com frequencies</name>
<type>text</type>
<point-size>14</point-size>
<color>
<red>1.0</red>
<green>0.5</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>number-value</type>
<property alias="../../../../../params/comm-freq-selected-prop"/>
<scale>0.999992</scale>
<!--The above is to ensure that 25kHz increments with an undisplayed last 0.005 are always
rounded down as occurs in real life-->
<format>%.2f</format>
</chunk>
<chunk>
<type>number-value</type>
<property alias="../../../../../params/comm-freq-standby-prop"/>
<scale>0.999992</scale>
<format>%7.2f</format>
</chunk>
</chunks>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-121</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>5</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>nav knob</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.75</y1>
<x2>0.25</x2>
<y2>1.0</y2>
</texture>
<h>20</h>
<w>20</w>
<transformations>
<transformation>
<type>x-shift</type>
<offset>110</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-14</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>voice knob</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.75</y1>
<x2>0.25</x2>
<y2>1.0</y2>
</texture>
<h>20</h>
<w>20</w>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-17</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-14</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>ident knob</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.75</y1>
<x2>0.25</x2>
<y2>1.0</y2>
</texture>
<w>15</w>
<h>15</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>40</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-16</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>ident knob pointer</name>
<texture>
<path>Aircraft/Instruments/Textures/blister.rgb</path>
<x1>0.0</x1>
<y1>0.1640625</y1>
<x2>0.1</x2>
<y2>0.328125</y2>
</texture>
<w>2</w>
<h>6</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>40</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-16</offset>
</transformation>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/nav-morse-id-volume-prop"/>
<min>0</min>
<max>1</max>
<scale>140</scale>
<offset>-140</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>3</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>voice/ident toggle</name>
<type>switch</type>
<property alias="../../../params/nav-morse-ident-toggle-prop"/>
<layer>
<name>voice on</name>
<texture>
<path>Aircraft/Instruments/Textures/switches.rgb</path>
<x1>0.0</x1>
<y1>0.75</y1>
<x2>0.25</x2>
<y2>1.0</y2>
</texture>
<w>12</w>
<h>12</h>
<transformations>
<transformation>
<type>y-shift</type>
<offset>1</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>ident on</name>
<texture>
<path>Aircraft/Instruments/Textures/switches.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.25</x2>
<y2>0.30</y2>
</texture>
<w>12</w>
<h>15</h>
</layer>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-20</offset>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<action>
<name>small nav frequency decrease</name>
<button>0</button>
<x>96</x>
<y>-32</y>
<w>16</w>
<h>32</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-freq-standby-prop"/>
<step>-0.05</step>
<min>108.0</min>
<max>117.95</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large nav frequency decrease</name>
<button>1</button>
<x>96</x>
<y>-32</y>
<w>16</w>
<h>32</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-freq-standby-prop"/>
<step>-0.5</step>
<min>108.0</min>
<max>117.95</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>small nav frequency increase</name>
<button>0</button>
<x>112</x>
<y>-32</y>
<w>16</w>
<h>32</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-freq-standby-prop"/>
<step>0.05</step>
<min>108.0</min>
<max>117.95</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large nav frequency increase</name>
<button>1</button>
<x>112</x>
<y>-32</y>
<w>16</w>
<h>32</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-freq-standby-prop"/>
<step>0.5</step>
<min>108.0</min>
<max>117.95</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>small com frequency decrease</name>
<button>0</button>
<x>-36</x>
<y>-32</y>
<w>16</w>
<h>32</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-freq-standby-prop"/>
<step>-0.025</step>
<min>0.0</min>
<max>140.0</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large com frequency decrease</name>
<button>1</button>
<x>-36</x>
<y>-32</y>
<w>16</w>
<h>32</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-freq-standby-prop"/>
<step>-1.0</step>
<min>0.0</min>
<max>140.0</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>small com frequency increase</name>
<button>0</button>
<x>-20</x>
<y>-32</y>
<w>16</w>
<h>32</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-freq-standby-prop"/>
<step>0.025</step>
<min>0.0</min>
<max>140.0</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large com frequency increase</name>
<button>1</button>
<x>-20</x>
<y>-32</y>
<w>16</w>
<h>32</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/comm-freq-standby-prop"/>
<step>1.0</step>
<min>0.0</min>
<max>140.0</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>swap nav frequencies</name>
<button>0</button>
<x>48</x>
<y>-32</y>
<w>32</w>
<h>32</h>
<binding>
<command>property-swap</command>
<property alias="../../../../params/nav-freq-selected-prop"/>
<property alias="../../../../params/nav-freq-standby-prop"/>
</binding>
</action>
<action>
<name>swap com frequencies</name>
<button>0</button>
<x>-80</x>
<y>-32</y>
<w>32</w>
<h>32</h>
<binding>
<command>property-swap</command>
<property alias="../../../../params/comm-freq-selected-prop"/>
<property alias="../../../../params/comm-freq-standby-prop"/>
</binding>
</action>
<action>
<name>ident volume increase</name>
<button>0</button>
<x>40</x>
<y>-24</y>
<w>8</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-morse-id-volume-prop"/>
<step>0.5</step>
<min>0</min>
<max>2</max>
</binding>
</action>
<action>
<name>ident volume decrease</name>
<button>0</button>
<x>32</x>
<y>-24</y>
<w>16</w>
<h>8</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-morse-id-volume-prop"/>
<step>-0.5</step>
<min>0</min>
<max>2</max>
</binding>
</action>
<action>
<name>ident volume on/off</name>
<button>0</button>
<x>-6</x>
<y>-30</y>
<w>14</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-morse-ident-toggle-prop"/>
<step>1.0</step>
<min>0</min>
<max>1</max>
<wrap>1</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,182 @@
<?xml version="1.0"?>
<!--
Oil temp/pressure gauge for Cessna172.
October 2000 John Check <j4strngs@rockfish.net>
________________________________________________________________________________
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>Oil Temp/Pressure Gauge</name>
<w-base>120</w-base>
<h-base>120</h-base>
<params>
<engine-oil-temp-select>/engines/engine[0]/oil-temperature-degf</engine-oil-temp-select>
<engine-oil-press-select>/engines/engine[0]/oil-pressure-psi</engine-oil-press-select>
</params>
<layers>
<layer>
<name>gauge face</name>
<texture>
<path>Aircraft/Instruments/Textures/vac-amp-oil.rgb</path>
<x1>0.5078125</x1>
<y1>0.484375</y1>
<x2>1.0</x2>
<y2>0.9609375</y2>
</texture>
<w>110</w>
<h>110</h>
</layer>
<layer>
<name>temperature needle</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>36</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-46</offset>
</transformation>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/engine-oil-temp-select"/>
<min>75.0</min>
<max>245.0</max>
<scale>-0.6</scale>
<offset>180</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>19</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>pressure needle</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>36</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>46</offset>
</transformation>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/engine-oil-press-select"/>
<min>0.0</min>
<max>115.0</max>
<scale>1.0</scale>
<offset>-150</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>19</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>bezel</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
<transformations>
<transformation>
<type>y-shift</type>
<offset>0</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-0</offset>
</transformation>
</transformations>
<w>120</w>
<h>120</h>
</layer>
<layer>
<name>gauge labels</name>
<texture>
<path>Aircraft/Instruments/Textures/vac-amp-oil.rgb</path>
<x1>0.515625</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.4575</y2>
</texture>
<transformations>
<transformation>
<type>y-shift</type>
<offset>0</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-0</offset>
</transformation>
</transformations>
<w>102</w>
<h>102</h>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>114</w>
<h>114</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,116 @@
<?xml version="1.0"?>
<!--
Default RPM gauge instrument.
Started summer 2000 by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>RPM Gauge</name>
<w-base>128</w-base>
<h-base>128</h-base>
<params>
<rpm-select>/engines/engine[0]/rpm</rpm-select>
</params>
<layers>
<layer>
<name>gauge face</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-3.rgb</path>
<x1>0.0</x1>
<y1>0.51</y1>
<x2>0.49</x2>
<y2>1.0</y2>
</texture>
<w>104</w>
<h>104</h>
</layer>
<layer>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>48</h>
<transformations>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/rpm-select"/>
<scale>0.1</scale>
<offset>-150</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>button</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6171875</x1>
<y1>0.2421875</y1>
<x2>0.7890625</x2>
<y2>0.4140625</y2>
</texture>
<w>14</w>
<h>14</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/orientation/roll-deg</property>
<min>-360.0</min>
<max>360.0</max>
<scale>1.0</scale>
<wrap>1</wrap>
</transformation>
</transformations>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>124</w>
<h>124</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,226 @@
<?xml version="1.0"?>
<!--
Electrical panel.
John Check <j4strngs@usa.net>
-->
<PropertyList>
<name>magneto switch panel</name>
<w-base>150</w-base>
<h-base>72</h-base>
<params>
<magneto-select>/controls/magnetos[0]</magneto-select>
<starter-select>/controls/starter[0]</starter-select>
</params>
<layers>
<layer>
<name>backplate</name>
<texture>
<path>Aircraft/Instruments/Textures/flaps.rgb</path>
<x1>0.378125</x1>
<y1>0.65</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
<w>150</w>
<h>72</h>
</layer>
<layer>
<name>magneto label</name>
<texture>
<path>Aircraft/Instruments/Textures/flaps.rgb</path>
<x1>0.0</x1>
<y1>0.65</y1>
<x2>0.375</x2>
<y2>1.0</y2>
</texture>
<w>64</w>
<h>64</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-35</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-5</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>magneto switch</name>
<type>switch</type>
<property alias="../../../params/starter-select"/>
<layer>
<name>starter engage</name>
<texture>
<path>Aircraft/Instruments/Textures/navcom-radios.rgb</path>
<x1>0.53125</x1>
<x2>0.59765625</x2>
<y1>0.05859375</y1>
<y2>0.1484375</y2>
</texture>
<w>30</w>
<h>40</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-40</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-13</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>90</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-5</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>magneto select</name>
<texture>
<path>Aircraft/Instruments/Textures/navcom-radios.rgb</path>
<x1>0.53125</x1>
<x2>0.59765625</x2>
<y1>0.05859375</y1>
<y2>0.1484375</y2>
</texture>
<w>30</w>
<h>40</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-40</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-13</offset>
</transformation>
<transformation>
<type>rotation</type>
<property alias="../../../../../../params/magneto-select"/>
<min>-0</min>
<max>135</max>
<scale>45</scale>
<offset>-90</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-5</offset>
</transformation>
</transformations>
</layer>
</layer>
<!-- magneto switch end -->
<layer include="switch.xml">
<transformations>
<transformation>
<type>x-shift</type>
<offset>-0</offset>
</transformation>
</transformations>
</layer>
<layer include="switch.xml">
<transformations>
<transformation>
<type>x-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer include="switch.xml">
<transformations>
<transformation>
<type>x-shift</type>
<offset>40</offset>
</transformation>
</transformations>
</layer>
<layer include="switch.xml">
<transformations>
<transformation>
<type>x-shift</type>
<offset>60</offset>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<action>
<name>Rotate knob left</name>
<button>0</button>
<x>-70</x>
<y>-35</y>
<w>36</w>
<h>72</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/magneto-select"/>
<step>-1</step>
<min>0</min>
<max>3</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<name>Rotate knob right</name>
<button>0</button>
<x>-40</x>
<y>-35</y>
<w>36</w>
<h>72</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/magneto-select"/>
<step>1</step>
<min>0</min>
<max>3</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<name>Start</name>
<button>1</button>
<x>-70</x>
<y>-35</y>
<w>72</w>
<h>72</h>
<binding>
<command>property-toggle</command>
<property alias="../../../../params/starter-select"/>
</binding>
<!--mod-up>
<binding>
<command>property-assign</command>
<property>/controls/starter[0]</property>
<value type="bool">0</value>
</binding>
</mod-up-->
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,130 @@
<?xml version="1.0"?>
<!--
Manifold pressure instrument. This is not a stock C172 item and is usually
not found on rentals.
October 2000 by John Check, <j4strngs@rockfish.net>
________________________________________________________________________________
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>Single Manifold Pressure</name>
<w-base>128</w-base>
<h-base>128</h-base>
<params>
<mp-select>/engines/engine[0]/mp-osi</mp-select>
</params>
<layers>
<layer>
<name>gauge face </name>
<texture>
<path>Aircraft/Instruments/Textures/faces-6.rgb</path>
<x1>0</x1>
<y1>0.515625</y1>
<x2>0.4765625</x2>
<y2>1.0</y2>
</texture>
<w>105</w>
<h>105</h>
</layer>
<layer>
<name>needle</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>36</h>
<transformations>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/mp-select"/>
<min>10.0</min>
<max>50.0</max>
<scale>5.0</scale>
<offset>-150.0</offset>
<wrap>false</wrap>
</transformation>
<transformation>
<type>y-shift</type>
<offset>20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>button</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6171875</x1>
<y1>0.2421875</y1>
<x2>0.7890625</x2>
<y2>0.4140625</y2>
</texture>
<w>15</w>
<h>15</h>
</layer>
<layer>
<name>bezel</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-1</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>124</w>
<h>124</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,50 @@
<?xml version="1.0"?>
<PropertyList>
<name>voice/ident toggle</name>
<type>switch</type>
<property alias="../../../params/"/>
<layer>
<name>voice on</name>
<texture>
<path>Aircraft/Instruments/Textures/switches.rgb</path>
<x1>0.0</x1>
<y1>0.75</y1>
<x2>0.25</x2>
<y2>1.0</y2>
</texture>
<w>12</w>
<h>12</h>
<transformations>
<transformation>
<type>y-shift</type>
<offset>1</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>ident on</name>
<texture>
<path>Aircraft/Instruments/Textures/switches.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.25</x2>
<y2>0.30</y2>
</texture>
<w>12</w>
<h>15</h>
</layer>
<transformations>
<transformation>
<type>x-shift</type>
<offset>40</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-0</offset>
</transformation>
</transformations>
</PropertyList>

View file

@ -51,7 +51,7 @@ properties' values.
<layer>
<name>needle 1</name>
<texture>
<path>Aircraft/c172/Instruments/Textures/misc-1.rgb</path>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6796875</x1>
<x2>0.7265625</x2>
<y1>0.68359375</y1>
@ -78,7 +78,7 @@ properties' values.
<layer>
<name>needle 0</name>
<texture>
<path>Aircraft/c172/Instruments/Textures/misc-1.rgb</path>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
@ -105,7 +105,7 @@ properties' values.
<layer>
<name>button</name>
<texture>
<path>Aircraft/c172/Instruments/Textures/misc-1.rgb</path>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6171875</x1>
<y1>0.2421875</y1>
<x2>0.7890625</x2>

View file

@ -0,0 +1,168 @@
<?xml version="1.0"?>
<!--
Default throttle knob.
Started summer 2000 by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>Throttle Knob</name>
<w-base>64</w-base>
<h-base>72</h-base>
<params>
<engine-throttle-select>/controls/throttle[0]</engine-throttle-select>
</params>
<layers>
<layer>
<name>background</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.625</x1>
<y1>0.2275</y1>
<x2>0.8</x2>
<y2>0.415</y2>
</texture>
<w>64</w>
<h>64</h>
</layer>
<!-- fix texture -->
<!--layer>
<name>shaft</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.890625</x1>
<y1>0.8125</y1>
<x2>0.921875</x2>
<y2>1.0</y2>
</texture>
<w>16</w>
<h>24</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-5</offset>
</transformation>
</transformations>
</layer-->
<layer>
<name>knob</name>
<texture>
<path>Aircraft/Instruments/Textures/handles.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.5</x2>
<y2>0.5</y2>
</texture>
<w>64</w>
<h>64</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>0</offset>
</transformation>
<transformation>
<type>y-shift</type>
<property alias="../../../../../params/engine-throttle-select"/>
<min>0.0</min>
<max>1.0</max>
<scale>18</scale>
<offset>-20</offset>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<action>
<name>small decrease</name>
<button>0</button>
<x>-32</x>
<y>-36</y>
<w>32</w>
<h>72</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/engine-throttle-select"/>
<step>-0.01</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>small increase</name>
<button>0</button>
<x>0</x>
<y>-36</y>
<w>32</w>
<h>72</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/engine-throttle-select"/>
<step>0.01</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>big decrease</name>
<button>1</button>
<x>-32</x>
<y>-36</y>
<w>32</w>
<h>72</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/engine-throttle-select"/>
<step>-0.1</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
<action>
<name>big increase</name>
<button>1</button>
<x>0</x>
<y>-36</y>
<w>32</w>
<h>72</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/engine-throttle-select"/>
<step>0.1</step>
<min>0</min>
<max>1.0</max>
<wrap>false</wrap>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -42,7 +42,7 @@ properties' values.
<layer>
<name>backplate</name>
<texture>
<path>Aircraft/c172/Instruments/Textures/flaps.rgb</path>
<path>Aircraft/Instruments/Textures/flaps.rgb</path>
<x1>0.378125</x1>
<y1>0.65</y1>
<x2>1.0</x2>

View file

@ -0,0 +1,121 @@
<?xml version="1.0"?>
<!--
Default turn coordinator instrument.
Started summer 2000 by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>Turn Coordinator</name>
<w-base>128</w-base>
<h-base>128</h-base>
<layers>
<layer>
<name>gauge face</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-1.rgb</path>
<x1>0.51</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.49</y2>
</texture>
<w>114</w>
<h>114</h>
</layer>
<layer>
<name>plane</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.0</x1>
<y1>0.375</y1>
<x2>0.375</x2>
<y2>0.5</y2>
</texture>
<w>88</w>
<h>32</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/steam/turn-rate</property>
<min>-2.5</min>
<max>2.5</max>
<scale>20.0</scale>
</transformation>
<transformation>
<type>y-shift</type>
<offset>8</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>ball</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6171875</x1>
<y1>0.2421875</y1>
<x2>0.7890625</x2>
<y2>0.4140625</y2>
</texture>
<w>10</w>
<h>10</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/steam/slip-skid</property>
<min>-0.1</min>
<max>0.1</max>
<scale>400.0</scale>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-29</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>128</w>
<h>128</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,320 @@
<?xml version="1.0"?>
<!--
Electrical panel.
John Check <j4strngs@usa.net>
-->
<PropertyList>
<name>Dual magneto switch panel</name>
<w-base>150</w-base>
<h-base>72</h-base>
<params>
<magneto0-select>/controls/magnetos[0]</magneto0-select>
<starter0-select>/controls/starter[0]</starter0-select>
<magneto1-select>/controls/magnetos[1]</magneto1-select>
<starter1-select>/controls/starter[1]</starter1-select>
</params>
<layers>
<layer>
<name>backplate</name>
<texture>
<path>Aircraft/Instruments/Textures/flaps.rgb</path>
<x1>0.378125</x1>
<y1>0.65</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
<w>150</w>
<h>72</h>
</layer>
<!-- engine 0 -->
<layer>
<name>magneto 0 label</name>
<texture>
<path>Aircraft/Instruments/Textures/flaps.rgb</path>
<x1>0.0</x1>
<y1>0.65</y1>
<x2>0.375</x2>
<y2>1.0</y2>
</texture>
<w>64</w>
<h>64</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-35</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-5</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>magneto 0 switch</name>
<type>switch</type>
<property alias="../../../params/starter0-select"/>
<layer>
<name>starter engage</name>
<texture>
<path>Aircraft/Instruments/Textures/navcom-radios.rgb</path>
<x1>0.53125</x1>
<x2>0.59765625</x2>
<y1>0.05859375</y1>
<y2>0.1484375</y2>
</texture>
<w>30</w>
<h>40</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-40</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-13</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>90</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-5</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>magneto 0 select</name>
<texture>
<path>Aircraft/Instruments/Textures/navcom-radios.rgb</path>
<x1>0.53125</x1>
<x2>0.59765625</x2>
<y1>0.05859375</y1>
<y2>0.1484375</y2>
</texture>
<w>30</w>
<h>40</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-40</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-13</offset>
</transformation>
<transformation>
<type>rotation</type>
<property alias="../../../../../../params/magneto0-select"/>
<min>-0</min>
<max>135</max>
<scale>45</scale>
<offset>-90</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-5</offset>
</transformation>
</transformations>
</layer>
</layer>
<!-- engine 1 -->
<layer>
<name>magneto 1 label</name>
<texture>
<path>Aircraft/Instruments/Textures/flaps.rgb</path>
<x1>0.0</x1>
<y1>0.65</y1>
<x2>0.375</x2>
<y2>1.0</y2>
</texture>
<w>64</w>
<h>64</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>35</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-5</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>magneto 1 switch</name>
<type>switch</type>
<property alias="../../../params/starter1-select"/>
<layer>
<name>starter engage</name>
<texture>
<path>Aircraft/Instruments/Textures/navcom-radios.rgb</path>
<x1>0.53125</x1>
<x2>0.59765625</x2>
<y1>0.05859375</y1>
<y2>0.1484375</y2>
</texture>
<w>30</w>
<h>40</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>30</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-13</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>90</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-5</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>magneto 1 select</name>
<texture>
<path>Aircraft/Instruments/Textures/navcom-radios.rgb</path>
<x1>0.53125</x1>
<x2>0.59765625</x2>
<y1>0.05859375</y1>
<y2>0.1484375</y2>
</texture>
<w>30</w>
<h>40</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>30</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-13</offset>
</transformation>
<transformation>
<type>rotation</type>
<property alias="../../../../../../params/magneto1-select"/>
<min>-0</min>
<max>135</max>
<scale>45</scale>
<offset>-90</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-5</offset>
</transformation>
</transformations>
</layer>
</layer>
</layers>
<actions>
<!--engine 0 -->
<action>
<name>Rotate knob left</name>
<button>0</button>
<x>-70</x>
<y>-35</y>
<w>30</w>
<h>72</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/magneto0-select"/>
<step>-1</step>
<min>0</min>
<max>3</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<name>Rotate knob right</name>
<button>0</button>
<x>-40</x>
<y>-35</y>
<w>30</w>
<h>72</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/magneto0-select"/>
<step>1</step>
<min>0</min>
<max>3</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<name>Start</name>
<button>1</button>
<x>-70</x>
<y>-35</y>
<w>72</w>
<h>72</h>
<binding>
<command>property-toggle</command>
<property alias="../../../../params/starter0-select"/>
</binding>
</action>
<!--engine 1 -->
<action>
<name>Rotate knob left</name>
<button>0</button>
<x>0</x>
<y>-35</y>
<w>30</w>
<h>72</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/magneto1-select"/>
<step>-1</step>
<min>0</min>
<max>3</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<name>Rotate knob right</name>
<button>0</button>
<x>20</x>
<y>-35</y>
<w>30</w>
<h>72</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/magneto1-select"/>
<step>1</step>
<min>0</min>
<max>3</max>
<wrap>0</wrap>
</binding>
</action>
<action>
<name>Start</name>
<button>1</button>
<x>5</x>
<y>-35</y>
<w>72</w>
<h>72</h>
<binding>
<command>property-toggle</command>
<property alias="../../../../params/starter1-select"/>
</binding>
</action>
</actions>
</PropertyList>

View file

@ -0,0 +1,192 @@
<?xml version="1.0"?>
<!--
Vacuum/Amp gauge for Cessna172.
October 2000 John Check <j4strngs@rockfish.net>
________________________________________________________________________________
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>Vac/Amp Gauge</name>
<w-base>120</w-base>
<h-base>120</h-base>
<params>
<engine-vac-select>/engines[0]/engine[0]/vac-psi</engine-vac-select>
<engine-amp-select>/engines[0]/engine[0]/amp-v</engine-amp-select>
</params>
<layers>
<layer>
<name>gauge face</name>
<texture>
<path>Aircraft/Instruments/Textures/vac-amp-oil.rgb</path>
<x1>0.0</x1>
<y1>0.484375</y1>
<x2>0.4921875</x2>
<y2>0.9609375</y2>
</texture>
<w>110</w>
<h>110</h>
</layer>
<layer>
<name>vac needle</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>36</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-46</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/engine-vac-select"/>
<min>3.0</min>
<max>7.0</max>
<scale>-20.0</scale>
<offset>190</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>19</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>amp needle</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>36</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>46</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/engine-amp-select"/>
<min>-60.0</min>
<max>60.0</max>
<scale>0.6</scale>
<offset>-90</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>19</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>bezel</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>1.0</y2>
</texture>
<transformations>
<transformation>
<type>y-shift</type>
<offset>0</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>-0</offset>
</transformation>
</transformations>
<w>120</w>
<h>120</h>
</layer>
<layer>
<name>gauge face</name>
<texture>
<path>Aircraft/Instruments/Textures/vac-amp-oil.rgb</path>
<x1>0.015625</x1>
<y1>0.0</y1>
<x2>0.484375</x2>
<y2>0.48375</y2>
</texture>
<transformations>
<transformation>
<type>y-shift</type>
<offset>1</offset>
</transformation>
<transformation>
<type>x-shift</type>
<offset>1</offset>
</transformation>
</transformations>
<w>105</w>
<h>105</h>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>114</w>
<h>114</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>

View file

@ -0,0 +1,105 @@
<?xml version="1.0"?>
<!--
Default vertical velocity indicator instrument.
Started summer 2000 by David Megginson, david@megginson.com.
This is an instrument configuration file for the open-source flight
simulator FlightGear (www.flightgear.org). The file is an XML-encoded
FlightGear property list defining the instrument's layers and actions.
Each instrument is composed of layers stacked on top of each other.
A layer may be a texture (with transparent parts to show the layers
underneath), text, or a special layer that switches between two
others (say, to turn an indicator light on or off). Each layer can
move independently in proportion to a property value, and text
can be generated from property values as well: all of the layer's
movements are defined as transformations.
Actions are hotspots on the instrument that will respond to a mouse
click. Actions always modify the values of properties, either by
adjusting them, toggling them, or swaping them with other
properties' values.
-->
<PropertyList>
<name>Vertical Speed Indicator</name>
<w-base>128</w-base>
<h-base>128</h-base>
<layers>
<layer>
<name>background</name>
<texture>
<path>Aircraft/Instruments/Textures/faces-1.rgb</path>
<x1>0.0</x1>
<y1>0.0</y1>
<x2>0.49</x2>
<y2>0.49</y2>
</texture>
<w>114</w>
<h>114</h>
</layer>
<!-- fix misc.rgb -->
<layer>
<name>needle</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.8</x1>
<y1>0.78125</y1>
<x2>0.8375</x2>
<y2>1.0</y2>
</texture>
<w>6</w>
<h>48</h>
<transformations>
<transformation>
<type>rotation</type>
<property>/steam/vertical-speed-fpm</property>
<min>-2000.0</min>
<max>2000.0</max>
<scale>0.084</scale>
<offset>270.0</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>20.0</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>button</name>
<texture>
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
<x1>0.6171875</x1>
<y1>0.2421875</y1>
<x2>0.7890625</x2>
<y2>0.4140625</y2>
</texture>
<w>15</w>
<h>15</h>
</layer>
<layer>
<name>glare shield</name>
<texture>
<path>Aircraft/Instruments/Textures/bezel1.rgb</path>
<x1>0.5</x1>
<y1>0.0</y1>
<x2>1.0</x2>
<y2>0.5</y2>
</texture>
<w>128</w>
<h>128</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>2</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-2</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>