Lee Elliott:
[ In support of the TSR2, SeaHawk and A-10 ] I've set up some panels, based on the c310 vfr and mini panels. The vfr panels have a lot of additional instruments on them but impose quite a high frame-rate hit on my system. The mini panels also have some additional instruments but seem to work without noticable penalty here. I've set these panels as the defaults for these aircraft but I'm not sure it's a good idea to have the vfr panels by default due to the performance hit. Using them as default will should give some feedback though;) To go with the new panels are a number of rough and ready instruments I hacked, mostly out of one of the rpm gauges, but I've adapted the throttle quadrent (jet-throttle-quadrant) to funstion for throttle, flaps and reheat. All the gauge faces were based on an existing ffgfs instrument texture, so there's no problem with copyright there. All the other bits that I've done may be distributed under the same conditions as fgfs.
This commit is contained in:
parent
c3cddade91
commit
3c779c032d
35 changed files with 5188 additions and 7 deletions
BIN
Aircraft/Instruments/Textures/faces-LE1.rgb
Executable file
BIN
Aircraft/Instruments/Textures/faces-LE1.rgb
Executable file
Binary file not shown.
BIN
Aircraft/Instruments/Textures/faces-LE2.rgb
Executable file
BIN
Aircraft/Instruments/Textures/faces-LE2.rgb
Executable file
Binary file not shown.
BIN
Aircraft/Instruments/Textures/faces-LE3.rgb
Executable file
BIN
Aircraft/Instruments/Textures/faces-LE3.rgb
Executable file
Binary file not shown.
BIN
Aircraft/Instruments/Textures/faces-LE4.rgb
Executable file
BIN
Aircraft/Instruments/Textures/faces-LE4.rgb
Executable file
Binary file not shown.
BIN
Aircraft/Instruments/Textures/plusminus.rgb
Executable file
BIN
Aircraft/Instruments/Textures/plusminus.rgb
Executable file
Binary file not shown.
133
Aircraft/Instruments/asi-1k-knot.xml
Executable file
133
Aircraft/Instruments/asi-1k-knot.xml
Executable file
|
@ -0,0 +1,133 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an airspeed 1k indicator gauge
|
||||||
|
instrument
|
||||||
|
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Airspeed Indicator Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt0-select>/steam/airspeed-kt</pt0-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE2.rgb</path>
|
||||||
|
<x1>0.5</x1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<y2>0.5</y2>
|
||||||
|
</texture>
|
||||||
|
<w>114</w>
|
||||||
|
<h>114</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100000</max>
|
||||||
|
<scale>0.36</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100000</max>
|
||||||
|
<scale>3.6</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</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>
|
185
Aircraft/Instruments/autopilot-elev-adj-factor.xml
Executable file
185
Aircraft/Instruments/autopilot-elev-adj-factor.xml
Executable file
|
@ -0,0 +1,185 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an autopilot elevator-adj-factor gauge
|
||||||
|
and control instrument
|
||||||
|
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Autopilot Elevator Adj Factor Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt0-select>/autopilot/config/elevator-adj-factor</pt0-select>
|
||||||
|
<elev-adj-select>/autopilot/config/elevator-adj-factor</elev-adj-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE3-hi.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<x2>0.5</x2>
|
||||||
|
<y1>0.5</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>114</w>
|
||||||
|
<h>114</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100000</max>
|
||||||
|
<scale>0.036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100000</max>
|
||||||
|
<scale>0.36</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</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>buttons</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/plusminus.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
</layers>
|
||||||
|
|
||||||
|
<actions>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<name>Minus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>43</x>
|
||||||
|
<y>-55</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/elev-adj-select"/>
|
||||||
|
<step>-100</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100000</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<name>Plus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>-50</x>
|
||||||
|
<y>-52</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/elev-adj-select"/>
|
||||||
|
<step>100</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100000</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
</actions>
|
||||||
|
|
||||||
|
</PropertyList>
|
185
Aircraft/Instruments/autopilot-max-aileron.xml
Executable file
185
Aircraft/Instruments/autopilot-max-aileron.xml
Executable file
|
@ -0,0 +1,185 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an autopilot max aileron gauge
|
||||||
|
and control instrument
|
||||||
|
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Autopilot Max Aileron Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt0-select>/autopilot/config/max-aileron</pt0-select>
|
||||||
|
<max-aileron-select>/autopilot/config/max-aileron</max-aileron-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE4-hi.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<x2>0.5</x2>
|
||||||
|
<y1>0.5</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>114</w>
|
||||||
|
<h>114</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100</max>
|
||||||
|
<scale>36.0</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100</max>
|
||||||
|
<scale>360.0</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</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>buttons</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/plusminus.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
</layers>
|
||||||
|
|
||||||
|
<actions>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<name>Minus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>43</x>
|
||||||
|
<y>-55</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/max-aileron-select"/>
|
||||||
|
<step>-0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<name>Plus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>-50</x>
|
||||||
|
<y>-52</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/max-aileron-select"/>
|
||||||
|
<step>0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
</actions>
|
||||||
|
|
||||||
|
</PropertyList>
|
185
Aircraft/Instruments/autopilot-max-roll-deg.xml
Executable file
185
Aircraft/Instruments/autopilot-max-roll-deg.xml
Executable file
|
@ -0,0 +1,185 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an autopilot max roll deg gauge
|
||||||
|
and control instrument
|
||||||
|
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Autopilot Max Roll Deg Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt0-select>/autopilot/config/max-roll-deg</pt0-select>
|
||||||
|
<max-roll-deg-select>/autopilot/config/max-roll-deg</max-roll-deg-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE4-hi.rgb</path>
|
||||||
|
<x1>0.5</x1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y1>0.5</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>114</w>
|
||||||
|
<h>114</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100</max>
|
||||||
|
<scale>3.6</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100</max>
|
||||||
|
<scale>36.0</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</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>buttons</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/plusminus.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
</layers>
|
||||||
|
|
||||||
|
<actions>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<name>Minus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>43</x>
|
||||||
|
<y>-55</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/max-roll-deg-select"/>
|
||||||
|
<step>-1.0</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<name>Plus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>-50</x>
|
||||||
|
<y>-52</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/max-roll-deg-select"/>
|
||||||
|
<step>1.0</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
</actions>
|
||||||
|
|
||||||
|
</PropertyList>
|
185
Aircraft/Instruments/autopilot-roll-out-deg.xml
Executable file
185
Aircraft/Instruments/autopilot-roll-out-deg.xml
Executable file
|
@ -0,0 +1,185 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an autopilot roll out deg gauge
|
||||||
|
and control instrument
|
||||||
|
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Autopilot Roll Out Deg Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt0-select>/autopilot/config/roll-out-deg</pt0-select>
|
||||||
|
<roll-out-deg-select>/autopilot/config/roll-out-deg</roll-out-deg-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE4-hi.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<x2>0.5</x2>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<y2>0.5</y2>
|
||||||
|
</texture>
|
||||||
|
<w>114</w>
|
||||||
|
<h>114</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100</max>
|
||||||
|
<scale>3.6</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100</max>
|
||||||
|
<scale>36.0</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</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>buttons</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/plusminus.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
</layers>
|
||||||
|
|
||||||
|
<actions>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<name>Minus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>43</x>
|
||||||
|
<y>-55</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/roll-out-deg-select"/>
|
||||||
|
<step>-1.0</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<name>Plus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>-50</x>
|
||||||
|
<y>-52</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/roll-out-deg-select"/>
|
||||||
|
<step>1.0</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
</actions>
|
||||||
|
|
||||||
|
</PropertyList>
|
185
Aircraft/Instruments/autopilot-roll-out-smooth-deg.xml
Executable file
185
Aircraft/Instruments/autopilot-roll-out-smooth-deg.xml
Executable file
|
@ -0,0 +1,185 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an autopilot roll out smooth deg gauge
|
||||||
|
and control instrument
|
||||||
|
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Autopilot Roll Out Smooth Deg Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt0-select>/autopilot/config/roll-out-smooth-deg</pt0-select>
|
||||||
|
<roll-out-smooth-deg-select>/autopilot/config/roll-out-smooth-deg</roll-out-smooth-deg-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE4-hi.rgb</path>
|
||||||
|
<x1>0.5</x1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<y2>0.5</y2>
|
||||||
|
</texture>
|
||||||
|
<w>114</w>
|
||||||
|
<h>114</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100</max>
|
||||||
|
<scale>3.6</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100</max>
|
||||||
|
<scale>36.0</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</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>buttons</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/plusminus.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
</layers>
|
||||||
|
|
||||||
|
<actions>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<name>Minus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>43</x>
|
||||||
|
<y>-55</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/roll-out-smooth-deg-select"/>
|
||||||
|
<step>-1.0</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<name>Plus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>-50</x>
|
||||||
|
<y>-52</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/roll-out-smooth-deg-select"/>
|
||||||
|
<step>1.0</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
</actions>
|
||||||
|
|
||||||
|
</PropertyList>
|
185
Aircraft/Instruments/autopilot-target-climb-rate.xml
Executable file
185
Aircraft/Instruments/autopilot-target-climb-rate.xml
Executable file
|
@ -0,0 +1,185 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an autopilot target climb rate gauge
|
||||||
|
and control instrument
|
||||||
|
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Autopilot Target Climb Rate Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt0-select>/autopilot/config/target-climb-rate-fpm</pt0-select>
|
||||||
|
<tgt-climb-select>/autopilot/config/target-climb-rate-fpm</tgt-climb-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE3-hi.rgb</path>
|
||||||
|
<x1>0.5</x1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y1>0.5</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>114</w>
|
||||||
|
<h>114</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100000</max>
|
||||||
|
<scale>0.0036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100000</max>
|
||||||
|
<scale>0.036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</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>buttons</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/plusminus.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
</layers>
|
||||||
|
|
||||||
|
<actions>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<name>Minus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>43</x>
|
||||||
|
<y>-55</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/tgt-climb-select"/>
|
||||||
|
<step>-1000</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100000</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<name>Plus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>-50</x>
|
||||||
|
<y>-52</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/tgt-climb-select"/>
|
||||||
|
<step>1000</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100000</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
</actions>
|
||||||
|
|
||||||
|
</PropertyList>
|
185
Aircraft/Instruments/autopilot-target-descent-rate.xml
Executable file
185
Aircraft/Instruments/autopilot-target-descent-rate.xml
Executable file
|
@ -0,0 +1,185 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an autopilot target descent rate gauge
|
||||||
|
and control instrument
|
||||||
|
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Autopilot Target Descent Rate Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt0-select>/autopilot/config/target-descent-rate-fpm</pt0-select>
|
||||||
|
<tgt-descent-select>/autopilot/config/target-descent-rate-fpm</tgt-descent-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE3-hi.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<x2>0.5</x2>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<y2>0.5</y2>
|
||||||
|
</texture>
|
||||||
|
<w>114</w>
|
||||||
|
<h>114</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100000</max>
|
||||||
|
<scale>0.0036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100000</max>
|
||||||
|
<scale>0.036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</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>buttons</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/plusminus.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
</layers>
|
||||||
|
|
||||||
|
<actions>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<name>Minus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>43</x>
|
||||||
|
<y>-55</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/tgt-descent-select"/>
|
||||||
|
<step>-1000</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100000</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<name>Plus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>-50</x>
|
||||||
|
<y>-52</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/tgt-descent-select"/>
|
||||||
|
<step>1000</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>100000</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
</actions>
|
||||||
|
|
||||||
|
</PropertyList>
|
142
Aircraft/Instruments/engine0-egt-degf.xml
Executable file
142
Aircraft/Instruments/engine0-egt-degf.xml
Executable file
|
@ -0,0 +1,142 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an engine[0] egt-degf gauge instrument
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>egt-degf Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt0-select>/engines/engine[0]/egt-degf</pt0-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE1.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<x2>0.5</x2>
|
||||||
|
<y1>0.5</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>114</w>
|
||||||
|
<h>114</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.36</scale>
|
||||||
|
<offset>0</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>
|
||||||
|
</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>
|
142
Aircraft/Instruments/engine0-epr.xml
Executable file
142
Aircraft/Instruments/engine0-epr.xml
Executable file
|
@ -0,0 +1,142 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an engine[0] epr gauge instrument
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>epr Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt0-select>/engines/engine[0]/epr</pt0-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE1.rgb</path>
|
||||||
|
<x1>0.5</x1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<y2>0.5</y2>
|
||||||
|
</texture>
|
||||||
|
<w>114</w>
|
||||||
|
<h>114</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>36.0</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>360.0</scale>
|
||||||
|
<offset>0</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>
|
||||||
|
</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>
|
142
Aircraft/Instruments/engine0-fuel-flow-gph.xml
Executable file
142
Aircraft/Instruments/engine0-fuel-flow-gph.xml
Executable file
|
@ -0,0 +1,142 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an engine[0] fuel-flow-gph gauge instrument
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>fuel-flow-gph Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt0-select>/engines/engine[0]/fuel-flow-gph</pt0-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE1.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<x2>0.5</x2>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<y2>0.5</y2>
|
||||||
|
</texture>
|
||||||
|
<w>114</w>
|
||||||
|
<h>114</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.36</scale>
|
||||||
|
<offset>0</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>
|
||||||
|
</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>
|
147
Aircraft/Instruments/engine0-prop-thrust.xml
Executable file
147
Aircraft/Instruments/engine0-prop-thrust.xml
Executable file
|
@ -0,0 +1,147 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an engine[0] prop-thrust gauge instrument
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Prop Thrust Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt0-select>/engines/engine[0]/prop-thrust</pt0-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE1.rgb</path>
|
||||||
|
<x1>0.5</x1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y1>0.5</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>114</w>
|
||||||
|
<h>114</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.0036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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>
|
||||||
|
<color>
|
||||||
|
<red>1.0</red>
|
||||||
|
<green>1.0</green>
|
||||||
|
<blue>1.0</blue>
|
||||||
|
</color>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.036</scale>
|
||||||
|
<offset>0</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>
|
||||||
|
</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>
|
171
Aircraft/Instruments/engine0-reheat.xml
Executable file
171
Aircraft/Instruments/engine0-reheat.xml
Executable file
|
@ -0,0 +1,171 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an engine[0] reheat gauge and control
|
||||||
|
instrument
|
||||||
|
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Reheat Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt0-select>/controls/afterburner[0]</pt0-select>
|
||||||
|
<reheat0-select>/controls/afterburner[0]</reheat0-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE2.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<x2>0.5</x2>
|
||||||
|
<y1>0.5</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>-0.05</min>
|
||||||
|
<max>1.05</max>
|
||||||
|
<scale>265</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>buttons</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/plusminus.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</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>
|
||||||
|
</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>
|
||||||
|
|
||||||
|
<actions>
|
||||||
|
<!-- engine 0 reheat -->
|
||||||
|
<action>
|
||||||
|
<name>Minus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>43</x>
|
||||||
|
<y>-55</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/reheat0-select"/>
|
||||||
|
<step>-0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<name>Plus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>-50</x>
|
||||||
|
<y>-52</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/reheat0-select"/>
|
||||||
|
<step>0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>3</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
</actions>
|
||||||
|
|
||||||
|
</PropertyList>
|
142
Aircraft/Instruments/engine1-egt-degf.xml
Executable file
142
Aircraft/Instruments/engine1-egt-degf.xml
Executable file
|
@ -0,0 +1,142 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an engine[1] egt-degf gauge instrument
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>egt-degf Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt1-select>/engines/engine[1]/egt-degf</pt1-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE1.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<x2>0.5</x2>
|
||||||
|
<y1>0.5</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>114</w>
|
||||||
|
<h>114</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt1-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt1-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.36</scale>
|
||||||
|
<offset>0</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>
|
||||||
|
</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>
|
142
Aircraft/Instruments/engine1-epr.xml
Executable file
142
Aircraft/Instruments/engine1-epr.xml
Executable file
|
@ -0,0 +1,142 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an engine[1] epr gauge instrument
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>epr Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt1-select>/engines/engine[1]/epr</pt1-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE1.rgb</path>
|
||||||
|
<x1>0.5</x1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<y2>0.5</y2>
|
||||||
|
</texture>
|
||||||
|
<w>114</w>
|
||||||
|
<h>114</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt1-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>36.0</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt1-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>360.0</scale>
|
||||||
|
<offset>0</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>
|
||||||
|
</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>
|
142
Aircraft/Instruments/engine1-fuel-flow-gph.xml
Executable file
142
Aircraft/Instruments/engine1-fuel-flow-gph.xml
Executable file
|
@ -0,0 +1,142 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an engine[1] fuel-flow-gph gauge instrument
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>fuel-flow-gph Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt1-select>/engines/engine[1]/fuel-flow-gph</pt1-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE1.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<x2>0.5</x2>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<y2>0.5</y2>
|
||||||
|
</texture>
|
||||||
|
<w>114</w>
|
||||||
|
<h>114</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt1-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt1-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.36</scale>
|
||||||
|
<offset>0</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>
|
||||||
|
</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>
|
143
Aircraft/Instruments/engine1-prop-thrust.xml
Executable file
143
Aircraft/Instruments/engine1-prop-thrust.xml
Executable file
|
@ -0,0 +1,143 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an engine[1] prop-thrust gauge instrument
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Prop Thrust Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt1-select>/engines/engine[1]/prop-thrust</pt1-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE1.rgb</path>
|
||||||
|
<x1>0.5</x1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y1>0.5</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>114</w>
|
||||||
|
<h>114</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt1-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.0036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt1-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.036</scale>
|
||||||
|
<offset>0</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>
|
||||||
|
</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>
|
171
Aircraft/Instruments/engine1-reheat.xml
Executable file
171
Aircraft/Instruments/engine1-reheat.xml
Executable file
|
@ -0,0 +1,171 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create an engine[1] reheat gauge and control
|
||||||
|
instrument
|
||||||
|
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Reheat Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt1-select>/controls/afterburner[1]</pt1-select>
|
||||||
|
<reheat1-select>/controls/afterburner[1]</reheat1-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE2.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<x2>0.5</x2>
|
||||||
|
<y1>0.5</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt1-select"/>
|
||||||
|
<min>-0.05</min>
|
||||||
|
<max>1.05</max>
|
||||||
|
<scale>265</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>buttons</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/plusminus.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</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>
|
||||||
|
</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>
|
||||||
|
|
||||||
|
<actions>
|
||||||
|
<!-- engine 0 reheat -->
|
||||||
|
<action>
|
||||||
|
<name>Minus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>43</x>
|
||||||
|
<y>-55</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/reheat1-select"/>
|
||||||
|
<step>-0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<name>Plus</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>-50</x>
|
||||||
|
<y>-52</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>10</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/reheat1-select"/>
|
||||||
|
<step>0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>3</max>
|
||||||
|
<wrap>0</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
</actions>
|
||||||
|
|
||||||
|
</PropertyList>
|
142
Aircraft/Instruments/fuel-tot-gal.xml
Executable file
142
Aircraft/Instruments/fuel-tot-gal.xml
Executable file
|
@ -0,0 +1,142 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create a fuel (Total) gals gauge instrument
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Fuel Total Gals Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt-select>/consumables/fuel/total-fuel-gals</pt-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE2-hi.rgb</path>
|
||||||
|
<x1>0.5</x1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y1>0.5</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.36</scale>
|
||||||
|
<offset>0</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>
|
||||||
|
</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>
|
142
Aircraft/Instruments/fueltank0-gal_us.xml
Executable file
142
Aircraft/Instruments/fueltank0-gal_us.xml
Executable file
|
@ -0,0 +1,142 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create a fuel tank[0] gals gauge instrument
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Fuel Tank 0 Gals Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt0-select>/consumables/fuel/tank[0]/level-gal_us</pt0-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE2.rgb</path>
|
||||||
|
<x1>0.5</x1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y1>0.5</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.36</scale>
|
||||||
|
<offset>0</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>
|
||||||
|
</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>
|
142
Aircraft/Instruments/fueltank1-gal_us.xml
Executable file
142
Aircraft/Instruments/fueltank1-gal_us.xml
Executable file
|
@ -0,0 +1,142 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create a fuel tank[1] gals gauge instrument
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Fuel Tank 1 Gals Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt1-select>/consumables/fuel/tank[1]/level-gal_us</pt1-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE2.rgb</path>
|
||||||
|
<x1>0.5</x1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y1>0.5</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt1-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt1-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.36</scale>
|
||||||
|
<offset>0</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>
|
||||||
|
</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>
|
142
Aircraft/Instruments/fueltank2-gal_us.xml
Executable file
142
Aircraft/Instruments/fueltank2-gal_us.xml
Executable file
|
@ -0,0 +1,142 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create a fuel tank[2] gals gauge instrument
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Fuel Tank 2 Gals Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt2-select>/consumables/fuel/tank[2]/level-gal_us</pt2-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE2.rgb</path>
|
||||||
|
<x1>0.5</x1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y1>0.5</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt2-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt2-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.36</scale>
|
||||||
|
<offset>0</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>
|
||||||
|
</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>
|
142
Aircraft/Instruments/fueltank3-gal_us.xml
Executable file
142
Aircraft/Instruments/fueltank3-gal_us.xml
Executable file
|
@ -0,0 +1,142 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create a fuel tank[3] gals gauge instrument
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Fuel Tank 3 Gals Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt0-select>/consumables/fuel/tank[3]/level-gal_us</pt0-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE2.rgb</path>
|
||||||
|
<x1>0.5</x1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y1>0.5</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.36</scale>
|
||||||
|
<offset>0</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>
|
||||||
|
</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>
|
142
Aircraft/Instruments/fueltank4-gal_us.xml
Executable file
142
Aircraft/Instruments/fueltank4-gal_us.xml
Executable file
|
@ -0,0 +1,142 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create a fuel tank[4] gals gauge instrument
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Fuel Tank 4 Gals Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt0-select>/consumables/fuel/tank[4]/level-gal_us</pt0-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE2.rgb</path>
|
||||||
|
<x1>0.5</x1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y1>0.5</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.36</scale>
|
||||||
|
<offset>0</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>
|
||||||
|
</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>
|
142
Aircraft/Instruments/fueltank5-gal_us.xml
Executable file
142
Aircraft/Instruments/fueltank5-gal_us.xml
Executable file
|
@ -0,0 +1,142 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create a fuel tank[5] gals gauge instrument
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>Fuel Tank 5 Gals Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt0-select>/consumables/fuel/tank[5]/level-gal_us</pt0-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE2.rgb</path>
|
||||||
|
<x1>0.5</x1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y1>0.5</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 1</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/misc-1.rgb</path>
|
||||||
|
<x1>0.6796875</x1>
|
||||||
|
<x2>0.7265625</x2>
|
||||||
|
<y1>0.68359375</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>6</w>
|
||||||
|
<h>48</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>rotation</type>
|
||||||
|
<property alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.036</scale>
|
||||||
|
<offset>0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<offset>20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt0-select"/>
|
||||||
|
<min>0</min>
|
||||||
|
<max>40000</max>
|
||||||
|
<scale>0.36</scale>
|
||||||
|
<offset>0</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>
|
||||||
|
</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>
|
843
Aircraft/Instruments/jet-throttle-quadrant.xml
Executable file
843
Aircraft/Instruments/jet-throttle-quadrant.xml
Executable file
|
@ -0,0 +1,843 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Throttle qquadrant.
|
||||||
|
|
||||||
|
December 2001 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.
|
||||||
|
|
||||||
|
Hacked to better suit jet aircraft with reheat, as below
|
||||||
|
|
||||||
|
throttle = same
|
||||||
|
Prop Pitch = flaps
|
||||||
|
Mixture = reheat
|
||||||
|
|
||||||
|
Lee Elliott
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
|
||||||
|
<name>jet throttle quadrant</name>
|
||||||
|
<w-base>150</w-base>
|
||||||
|
<h-base>70</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<engine0-throttle-select>/controls/throttle[0]</engine0-throttle-select>
|
||||||
|
<engine1-throttle-select>/controls/throttle[1]</engine1-throttle-select>
|
||||||
|
<flaps-select>/controls/flaps</flaps-select>
|
||||||
|
<engine0-reheat-select>/controls/afterburner[0]</engine0-reheat-select>
|
||||||
|
<engine1-reheat-select>/controls/afterburner[1]</engine1-reheat-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>70</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<!--throttles -->
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>throttle 0 handle </name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/handles.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<x2>0.37890625</x2>
|
||||||
|
<y1>0.875</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>20</w>
|
||||||
|
<h>30</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>x-shift</type>
|
||||||
|
<offset>-65</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<property alias="../../../../../params/engine0-throttle-select"/>
|
||||||
|
<min>0.0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<scale>40</scale>
|
||||||
|
<offset>-20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>throttle 1 handle</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/handles.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<x2>0.37890625</x2>
|
||||||
|
<y1>0.875</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>20</w>
|
||||||
|
<h>30</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>x-shift</type>
|
||||||
|
<offset>-45</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<property alias="../../../../../params/engine0-throttle-select"/>
|
||||||
|
<min>0.0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<scale>40</scale>
|
||||||
|
<offset>-20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<!-- Flap extend/retract -->
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>prop advance0 handle</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/handles.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<x2>0.37890625</x2>
|
||||||
|
<y1>0.6015625</y1>
|
||||||
|
<y2>0.72265625</y2>
|
||||||
|
</texture>
|
||||||
|
<w>40</w>
|
||||||
|
<h>30</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>x-shift</type>
|
||||||
|
<offset>-0</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<property alias="../../../../../params/flaps-select"/>
|
||||||
|
<min>0.0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<scale>40</scale>
|
||||||
|
<offset>-20</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<!-- Reheat -->
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>mEngine 0 Reheat handle</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/handles.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<x2>0.37890625</x2>
|
||||||
|
<y1>0.73828125</y1>
|
||||||
|
<y2>0.86328125</y2>
|
||||||
|
</texture>
|
||||||
|
<w>20</w>
|
||||||
|
<h>30</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>x-shift</type>
|
||||||
|
<offset>45</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<property alias="../../../../../params/engine0-reheat-select"/>
|
||||||
|
<min>0.0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<scale>40</scale>
|
||||||
|
<offset>-22</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>Engine 1 Reheat handle</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/handles.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<x2>0.37890625</x2>
|
||||||
|
<y1>0.73828125</y1>
|
||||||
|
<y2>0.86328125</y2>
|
||||||
|
</texture>
|
||||||
|
<w>20</w>
|
||||||
|
<h>30</h>
|
||||||
|
<transformations>
|
||||||
|
<transformation>
|
||||||
|
<type>x-shift</type>
|
||||||
|
<offset>65</offset>
|
||||||
|
</transformation>
|
||||||
|
<transformation>
|
||||||
|
<type>y-shift</type>
|
||||||
|
<property alias="../../../../../params/engine1-reheat-select"/>
|
||||||
|
<min>0.0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<scale>40</scale>
|
||||||
|
<offset>-22</offset>
|
||||||
|
</transformation>
|
||||||
|
</transformations>
|
||||||
|
</layer>
|
||||||
|
</layers>
|
||||||
|
|
||||||
|
<actions>
|
||||||
|
|
||||||
|
<!-- throttle 0 -->
|
||||||
|
<action>
|
||||||
|
<name>small decrease</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>-75</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-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>-65</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-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>-75</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-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>-65</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-throttle-select"/>
|
||||||
|
<step>0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
<!-- throttle 1 -->
|
||||||
|
<action>
|
||||||
|
<name>small decrease</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>-45</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-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>-55</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-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>-45</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-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>-55</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-throttle-select"/>
|
||||||
|
<step>0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
<!-- throttle 0 and 1 -->
|
||||||
|
<action>
|
||||||
|
<name>small decrease</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>-75</x>
|
||||||
|
<y>0</y>
|
||||||
|
<w>20</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-throttle-select"/>
|
||||||
|
<step>-0.01</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-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>-55</x>
|
||||||
|
<y>0</y>
|
||||||
|
<w>20</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-throttle-select"/>
|
||||||
|
<step>0.01</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-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>-75</x>
|
||||||
|
<y>0</y>
|
||||||
|
<w>20</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-throttle-select"/>
|
||||||
|
<step>-0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-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>-55</x>
|
||||||
|
<y>-0</y>
|
||||||
|
<w>20</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-throttle-select"/>
|
||||||
|
<step>0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-throttle-select"/>
|
||||||
|
<step>0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
<!-- flap extend/retract -->
|
||||||
|
<action>
|
||||||
|
<name>Flap Retract</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>-20</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>40</w>
|
||||||
|
<h>20</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/flaps-select"/>
|
||||||
|
<step>-0.33</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
<action>
|
||||||
|
<name>Flap Extend</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>-20</x>
|
||||||
|
<y>10</y>
|
||||||
|
<w>40</w>
|
||||||
|
<h>20</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/flaps-select"/>
|
||||||
|
<step>0.33</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
<!-- Reheat 0 -->
|
||||||
|
<!--
|
||||||
|
<action>
|
||||||
|
<name>big decrease</name>
|
||||||
|
<button>1</button>
|
||||||
|
<x>35</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-reheat-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>45</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-reheat-select"/>
|
||||||
|
<step>0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
-->
|
||||||
|
<!-- reheat 1 -->
|
||||||
|
<!--
|
||||||
|
<action>
|
||||||
|
<name>big decrease</name>
|
||||||
|
<button>1</button>
|
||||||
|
<x>65</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-reheat-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>55</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-reheat-select"/>
|
||||||
|
<step>0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
-->
|
||||||
|
<!-- engine 0 and 1 reheat -->
|
||||||
|
<!--
|
||||||
|
<action>
|
||||||
|
<name>big decrease</name>
|
||||||
|
<button>1</button>
|
||||||
|
<x>35</x>
|
||||||
|
<y>0</y>
|
||||||
|
<w>20</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-reheat-select"/>
|
||||||
|
<step>-0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-reheat-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>-5</x>
|
||||||
|
<y>-5</y>
|
||||||
|
<w>40</w>
|
||||||
|
<h>40</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-reheat-select"/>
|
||||||
|
<step>0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-reheat-select"/>
|
||||||
|
<step>0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
-->
|
||||||
|
<!-- Engine 0 Reheat -->
|
||||||
|
<action>
|
||||||
|
<name>small decrease</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>35</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-reheat-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>45</x>
|
||||||
|
<y>-36</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-reheat-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>35</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-reheat-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>45</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-reheat-select"/>
|
||||||
|
<step>0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
<!-- Engine 1 Reheat -->
|
||||||
|
<action>
|
||||||
|
<name>small decrease</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>65</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-reheat-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>55</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-reheat-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>65</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-reheat-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>55</x>
|
||||||
|
<y>-35</y>
|
||||||
|
<w>10</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-reheat-select"/>
|
||||||
|
<step>0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
<!-- Engine 0 and 1 Reheat -->
|
||||||
|
<action>
|
||||||
|
<name>small decrease</name>
|
||||||
|
<button>0</button>
|
||||||
|
<x>35</x>
|
||||||
|
<y>0</y>
|
||||||
|
<w>20</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-reheat-select"/>
|
||||||
|
<step>-0.01</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-reheat-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>55</x>
|
||||||
|
<y>0</y>
|
||||||
|
<w>20</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-reheat-select"/>
|
||||||
|
<step>0.01</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-reheat-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>35</x>
|
||||||
|
<y>0</y>
|
||||||
|
<w>20</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-reheat-select"/>
|
||||||
|
<step>-0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-reheat-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>55</x>
|
||||||
|
<y>0</y>
|
||||||
|
<w>20</w>
|
||||||
|
<h>35</h>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine0-reheat-select"/>
|
||||||
|
<step>0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property alias="../../../../params/engine1-reheat-select"/>
|
||||||
|
<step>0.1</step>
|
||||||
|
<min>0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<wrap>false</wrap>
|
||||||
|
</binding>
|
||||||
|
</action>
|
||||||
|
|
||||||
|
</actions>
|
||||||
|
|
||||||
|
</PropertyList>
|
115
Aircraft/Instruments/pilot-g.xml
Executable file
115
Aircraft/Instruments/pilot-g.xml
Executable file
|
@ -0,0 +1,115 @@
|
||||||
|
<?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.
|
||||||
|
|
||||||
|
Hacked by Lee Elliott to create a pilot-g gauge instrument
|
||||||
|
<leee-fgfs@spatial.freeserve.co.uk>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>pilot-g Gauge</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
|
||||||
|
<params>
|
||||||
|
<pt1-select>/accelerations/pilot-g</pt1-select>
|
||||||
|
</params>
|
||||||
|
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>gauge face</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/accelL.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<x2>1.0</x2>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<y2>1.0</y2>
|
||||||
|
</texture>
|
||||||
|
<w>104</w>
|
||||||
|
<h>104</h>
|
||||||
|
</layer>
|
||||||
|
|
||||||
|
<layer>
|
||||||
|
<name>needle 0</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 alias="../../../../../params/pt1-select"/>
|
||||||
|
<min>-5.0</min>
|
||||||
|
<max>11</max>
|
||||||
|
<scale>22.5</scale>
|
||||||
|
<offset>-112.5</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>
|
||||||
|
</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>
|
212
Aircraft/Instruments/tsr2-attitude-indicator.xml
Executable file
212
Aircraft/Instruments/tsr2-attitude-indicator.xml
Executable file
|
@ -0,0 +1,212 @@
|
||||||
|
<?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>
|
|
@ -77,23 +77,23 @@ properties' values.
|
||||||
<transformation>
|
<transformation>
|
||||||
<type>rotation</type>
|
<type>rotation</type>
|
||||||
<property>/steam/slip-skid</property>
|
<property>/steam/slip-skid</property>
|
||||||
<min>-0.1</min>
|
<min>-1.1</min>
|
||||||
<max>0.1</max>
|
<max>1.1</max>
|
||||||
<scale>400.0</scale>
|
<scale>50.0</scale>
|
||||||
</transformation>
|
</transformation>
|
||||||
<transformation>
|
<transformation>
|
||||||
<type>y-shift</type>
|
<type>y-shift</type>
|
||||||
<property>/steam/slip-skid</property>
|
<property>/steam/slip-skid</property>
|
||||||
<min>-0.1</min>
|
<min>-1.1</min>
|
||||||
<max>0.0</max>
|
<max>0.0</max>
|
||||||
<scale>40.0</scale>
|
<scale>5.0</scale>
|
||||||
</transformation>
|
</transformation>
|
||||||
<transformation>
|
<transformation>
|
||||||
<type>y-shift</type>
|
<type>y-shift</type>
|
||||||
<property>/steam/slip-skid</property>
|
<property>/steam/slip-skid</property>
|
||||||
<min>0.0</min>
|
<min>0.0</min>
|
||||||
<max>0.1</max>
|
<max>1.1</max>
|
||||||
<scale>-40.0</scale>
|
<scale>-5.0</scale>
|
||||||
</transformation>
|
</transformation>
|
||||||
<transformation>
|
<transformation>
|
||||||
<type>y-shift</type>
|
<type>y-shift</type>
|
||||||
|
|
105
Aircraft/Instruments/vertical1k.xml
Executable file
105
Aircraft/Instruments/vertical1k.xml
Executable 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 (1K)</name>
|
||||||
|
<w-base>128</w-base>
|
||||||
|
<h-base>128</h-base>
|
||||||
|
<layers>
|
||||||
|
<layer>
|
||||||
|
<name>background</name>
|
||||||
|
<texture>
|
||||||
|
<path>Aircraft/Instruments/Textures/faces-LE2.rgb</path>
|
||||||
|
<x1>0.0</x1>
|
||||||
|
<x2>0.5</x2>
|
||||||
|
<y1>0.0</y1>
|
||||||
|
<y2>0.5</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>/instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
|
||||||
|
<min>-20000.0</min>
|
||||||
|
<max>20000.0</max>
|
||||||
|
<scale>0.0084</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>
|
Loading…
Reference in a new issue