1
0
Fork 0
fgdata/Aircraft/Instruments/vor1-c172s.xml

431 lines
9 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<!--
vor1.xml
VOR1 from C172-S
Martin Dressler dr@musicabona.cz
Jan 26 2003
-->
<PropertyList>
<name>C172-S VOR1</name>
<w-base>512</w-base>
<h-base>512</h-base>
<params>
2008-08-18 09:19:25 +00:00
<nav-to-flag>/instrumentation/nav[0]/to-flag</nav-to-flag>
<nav-from-flag>/instrumentation/nav[0]/from-flag</nav-from-flag>
<nav-radial-selected>/instrumentation/nav[0]/radials/selected-deg</nav-radial-selected>
<nav-gs-needle-deflection>/instrumentation/nav[0]/gs-needle-deflection</nav-gs-needle-deflection>
<nav-heading-needle-deflection>/instrumentation/nav[0]/heading-needle-deflection</nav-heading-needle-deflection>
<!-- when posible change to nav-gs-in-range -->
<nav-gs-in-range>/instrumentation/nav[0]/in-range</nav-gs-in-range>
<nav-in-range>/instrumentation/nav[0]/in-range</nav-in-range>
</params>
<layers>
<layer>
<name>NAV backplate</name>
<w>320</w>
<h>320</h>
<texture>
<path>Aircraft/Instruments/Textures/nav3.rgb</path>
<x1>0.0</x1>
<x2>0.625</x2>
<y1>0.0</y1>
<y2>0.625</y2>
</texture>
</layer>
<layer>
<name>VOR1 backplate</name>
<w>244</w>
<h>240</h>
<texture>
<path>Aircraft/Instruments/Textures/nav4.rgb</path>
<x1>0.0</x1>
<x2>0.476562</x2>
<y1>0.0</y1>
<y2>0.46875</y2>
</texture>
</layer>
<layer>
<name>VOR TO</name>
<condition>
<equals>
<property alias="../../../../../params/nav-to-flag"/>
<value>true</value>
</equals>
</condition>
<w>52</w>
<h>48</h>
<texture>
<path>Aircraft/Instruments/Textures/nav4.rgb</path>
<x1>0.0</x1>
<x2>0.101562</x2>
<y1>0.765625</y1>
<y2>0.859375</y2>
</texture>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-92</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>VOR FROM</name>
<condition>
<equals>
<property alias="../../../../../params/nav-from-flag"/>
<value>true</value>
</equals>
</condition>
<w>52</w>
<h>48</h>
<texture>
<path>Aircraft/Instruments/Textures/nav4.rgb</path>
<x1>0.101562</x1>
<x2>0.203125</x2>
<y1>0.765625</y1>
<y2>0.859375</y2>
</texture>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-92</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>GS ON</name>
<condition>
<equals>
<property alias="../../../../../params/nav-in-range"/>
<value>true</value>
</equals>
</condition>
<w>52</w>
<h>32</h>
<texture>
<path>Aircraft/Instruments/Textures/nav4.rgb</path>
<x1>0.0</x1>
<x2>0.101562</x2>
<y1>0.859375</y1>
<y2>0.921875</y2>
</texture>
<transformations>
<transformation>
<type>x-shift</type>
<offset>77</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>25</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>VOR needle motor</name>
<w>76</w>
<h>76</h>
<texture>
<path>Aircraft/Instruments/Textures/nav4.rgb</path>
<x1>0.5625</x1>
<x2>0.710938</x2>
<y1>0.195312</y1>
<y2>0.34375</y2>
</texture>
<transformations>
<transformation>
<type>y-shift</type>
<offset>161</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>90</offset>
<property alias="../../../../../params/nav-heading-needle-deflection"/>
<min>-10.0</min>
<max>10.0</max>
<scale>-3.2</scale>
</transformation>
</transformations>
</layer>
<layer>
<name>VOR needle</name>
<w>16</w>
<h>216</h>
<texture>
<path>Aircraft/Instruments/Textures/nav4.rgb</path>
<x1>0.96875</x1>
<x2>1.0</x2>
<y1>0.492188</y1>
<y2>0.914062</y2>
</texture>
<transformations>
<transformation>
<type>y-shift</type>
<offset>162</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>0</offset>
<property alias="../../../../../params/nav-heading-needle-deflection"/>
<min>-10.0</min>
<max>10.0</max>
<scale>-3.2</scale>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-133</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>GS needle motor</name>
<w>76</w>
<h>76</h>
<texture>
<path>Aircraft/Instruments/Textures/nav4.rgb</path>
<x1>0.5625</x1>
<x2>0.710938</x2>
<y1>0.195312</y1>
<y2>0.34375</y2>
</texture>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-156</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>0</offset>
<property alias="../../../../../params/nav-gs-needle-deflection"/>
<min>-10.0</min>
<max>10.0</max>
<scale>-3.2</scale>
</transformation>
</transformations>
</layer>
<layer>
<name>GS needle</name>
<w>248</w>
<h>16</h>
<texture>
<path>Aircraft/Instruments/Textures/nav4.rgb</path>
<x1>0.0</x1>
<x2>0.484375</x2>
<y1>0.96875</y1>
<y2>1.0</y2>
</texture>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-156</offset>
</transformation>
<transformation>
<type>rotation</type>
<offset>0</offset>
<property alias="../../../../../params/nav-gs-needle-deflection"/>
<min>-10.0</min>
<max>10.0</max>
<scale>-3.2</scale>
</transformation>
<transformation>
<type>x-shift</type>
<offset>146</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Radial</name>
<w>512</w>
<h>512</h>
<texture>
<path>Aircraft/Instruments/Textures/nav2.rgb</path>
<x1>0.0</x1>
<x2>1.0</x2>
<y1>0.0</y1>
<y2>1.0</y2>
</texture>
<transformations>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/nav-radial-selected"/>
<min>0.0</min>
<max>360.0</max>
<scale>-1.0</scale>
</transformation>
</transformations>
</layer>
<layer>
<name>VOR arrow down</name>
<w>28</w>
<h>24</h>
<texture>
<path>Aircraft/Instruments/Textures/nav4.rgb</path>
<x1>0.476562</x1>
<x2>0.53125</x2>
<y1>0.6875</y1>
<y2>0.734375</y2>
</texture>
<transformations>
<transformation>
<type>y-shift</type>
<offset>-153</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>VOR arrow up</name>
<w>40</w>
<h>44</h>
<texture>
<path>Aircraft/Instruments/Textures/nav4.rgb</path>
<x1>0.476562</x1>
<x2>0.554688</x2>
<y1>0.601562</y1>
<y2>0.6875</y2>
</texture>
<transformations>
<transformation>
<type>y-shift</type>
<offset>135</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Foreground</name>
<w>512</w>
<h>512</h>
<texture>
<path>Aircraft/Instruments/Textures/nav1.rgb</path>
<x1>0.0</x1>
<x2>1.0</x2>
<y1>0.0</y1>
<y2>1.0</y2>
</texture>
</layer>
<layer>
<name>OBS Knob</name>
<w>100</w>
<h>100</h>
<texture>
<path>Aircraft/Instruments/Textures/nav4.rgb</path>
<x1>0.757812</x1>
<x2>0.953125</x2>
<y1>0.0</y1>
<y2>0.195312</y2>
</texture>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-181</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-192</offset>
</transformation>
<transformation>
<type>rotation</type>
<property alias="../../../../../params/nav-radial-selected"/>
<scale>5</scale>
</transformation>
</transformations>
</layer>
</layers>
<actions>
<action>
<name>small counter-clockwise rotation</name>
<button>0</button>
<x>-231</x>
<y>-242</y>
<w>50</w>
<h>100</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-radial-selected"/>
<step>-1.0</step>
<min>0</min>
<max>360</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>large counter-clockwise rotation</name>
<button>1</button>
<x>-231</x>
<y>-242</y>
<w>50</w>
<h>100</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-radial-selected"/>
<step>-5.0</step>
<min>0</min>
<max>360</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>small clockwise rotation</name>
<button>0</button>
<x>-181</x>
<y>-242</y>
<w>50</w>
<h>100</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-radial-selected"/>
<step>1.0</step>
<min>0</min>
<max>360</max>
<wrap>true</wrap>
</binding>
</action>
<action>
<name>large clockwise rotation</name>
<button>1</button>
<x>-181</x>
<y>-242</y>
<w>50</w>
<h>100</h>
<binding>
<command>property-adjust</command>
<property alias="../../../../params/nav-radial-selected"/>
<step>5.0</step>
<min>0</min>
<max>360</max>
<wrap>true</wrap>
</binding>
</action>
</actions>
</PropertyList>