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