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