1
0
Fork 0

Working on creating some hi-res version of the basic instruments.

This commit is contained in:
curt 2002-08-22 16:28:11 +00:00
parent 18d355ca98
commit 1a7d04f303
11 changed files with 2322 additions and 0 deletions

Binary file not shown.

Binary file not shown.

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-hi.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/kr-87/inputs/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>/radios/kr-87/outputs/needle-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/kr-87/inputs/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/kr-87/inputs/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/kr-87/inputs/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/kr-87/inputs/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/kr-87/inputs/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-hi.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

@ -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,567 @@
<?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-hi.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>-360.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>-3.5</min>
<max>3.5</max>
<scale>7.0</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>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>
<condition>
<not-equals>
<property>/sim/aero</property>
<value>c310u3a</value>
</not-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>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,453 @@
<?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-hi.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>-3.5</min>
<max>3.5</max>
<scale>-7</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>
<condition>
<not-equals>
<property>/sim/aero</property>
<value>c310u3a</value>
</not-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>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,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,173 @@
<?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-hi.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>tube-back</name>
<texture>
<path>Aircraft/Instruments/Textures/maintc.rgb</path>
<x1>0.01171875</x1>
<x2>0.9921875</x2>
<y1>0.7421875</y1>
<y2>1.0</y2>
</texture>
<w>60</w>
<h>20</h>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-20</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>ball</name>
<texture>
<path>Aircraft/Instruments/Textures/maintc.rgb</path>
<x1>0.00390625</x1>
<x2>0.16796875</x2>
<y1>0.2890625</y1>
<y2>0.453125</y2>
</texture>
<w>10</w>
<h>11</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>
<property>/steam/slip-skid</property>
<min>-0.1</min>
<max>0.0</max>
<scale>40.0</scale>
</transformation>
<transformation>
<type>y-shift</type>
<property>/steam/slip-skid</property>
<min>0.0</min>
<max>0.1</max>
<scale>-40.0</scale>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-23</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>tube</name>
<texture>
<path>Aircraft/Instruments/Textures/maintc.rgb</path>
<x1>0.01171875</x1>
<x2>0.9921875</x2>
<y1>0.015625</y1>
<y2>0.2890625</y2>
</texture>
<w>60</w>
<h>20</h>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-20</offset>
</transformation>
</transformations>
</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>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,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-hi.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-fps</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>