1
0
Fork 0
fgdata/Aircraft/Instruments-3d/vor/vor.xml

210 lines
4.8 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<PropertyList>
<params>
<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-norm</nav-gs-needle-deflection>
<nav-heading-needle-deflection>/instrumentation/nav[0]/heading-needle-deflection</nav-heading-needle-deflection>
<nav-in-range>/instrumentation/nav[0]/in-range</nav-in-range>
</params>
<path>vor.ac</path>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>GlidescopeNeedle</object-name>
<object-name>Ring</object-name>
<object-name>LocalizerNeedle</object-name>
<object-name>Front</object-name>
<object-name>TO</object-name>
<object-name>FR</object-name>
<object-name>NAV</object-name>
<emission>
<red>1.0</red>
<green>0.2</green>
<blue>0.0</blue>
<factor-prop>/sim/model/material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>disk</object-name>
<emission>
<red>0.45</red>
<green>0.09</green>
<blue>0.00001</blue>
<factor-prop>/sim/model//material/instruments/factor</factor-prop>
</emission>
</animation>
<animation>
<name>LocalizerNeedleTransform</name>
<type>rotate</type>
<object-name>LocalizerNeedle</object-name>
<property alias="../../params/nav-heading-needle-deflection"/>
<factor>-3.2</factor>
<center>
<x-m>0</x-m>
<y-m>0</y-m>
<z-m>0.03</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>GlidescopeNeedle</object-name>
<condition>
<property alias="../../../params/nav-in-range"/>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>NAV</object-name>
<condition>
<not>
<property alias="../../../../params/nav-in-range"/>
</not>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>TO</object-name>
<condition>
<property alias="../../../params/nav-to-flag"/>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>FR</object-name>
<condition>
<property alias="../../../params/nav-from-flag"/>
</condition>
</animation>
<animation>
<name>GlidescopeNeedleTransform</name>
<type>rotate</type>
<object-name>GlidescopeNeedle</object-name>
<property alias="../../params/nav-gs-needle-deflection"/>
<factor>-32</factor>
<min-deg>-32</min-deg>
<max-deg>32</max-deg>
<center>
<x-m>0</x-m>
<y-m>-0.03</y-m>
<z-m>0</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<name>RingTransform</name>
<type>rotate</type>
<object-name>Ring</object-name>
<property alias="../../params/nav-radial-selected"/>
<factor>-1</factor>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<!-- VOR 1 Radial adjust -->
<animation>
<type>pick</type>
<object-name>click-L</object-name>
<visible>false</visible>
<action>
<name>small decrease</name>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav/radials/selected-deg</property>
<step>-1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large decrease</name>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav/radials/selected-deg</property>
<step>-5</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>click-R</object-name>
<visible>false</visible>
<action>
<name>small increase</name>
<button>0</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav/radials/selected-deg</property>
<step>1</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>large increase</name>
<button>1</button>
<repeatable>true</repeatable>
<binding>
<command>property-adjust</command>
<property>/instrumentation/nav/radials/selected-deg</property>
<step>5</step>
<min>0</min>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
</animation>
<animation>
<name>Alpha Order Group</name>
<object-name>Face</object-name>
<object-name>LocalizerNeedleTransform</object-name>
<object-name>GlidescopeNeedleTransform</object-name>
<object-name>RingTransform</object-name>
<object-name>Front</object-name>
</animation>
</PropertyList>