1
0
Fork 0
fgdata/Aircraft/Instruments-3d/vor/vor.xml
jmt b1dc60ae24 From Dave Perry:
Changes deflection input variables to match nasal lowpass filter
output for cdi and gs needle deflections.  I did a search of the
data/Aircraft to make sure this will not break other ac.
2009-11-14 11:00:34 +00:00

219 lines
5.1 KiB
XML

<?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]/filtered-gsNAV0-deflection</nav-gs-needle-deflection>
<nav-heading-needle-deflection>/instrumentation/nav[0]/filtered-cdiNAV0-deflection</nav-heading-needle-deflection>
<nav-in-range>/instrumentation/nav[0]/in-range</nav-in-range>
<gs-in-range>/instrumentation/nav[0]/gs-in-range</gs-in-range>
</params>
<path>vor.ac</path>
<animation>
<type>material</type>
<object-name>Face</object-name>
<object-name>GlideslopeNeedle</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>
<object-name>GS_out_of_range</object-name>
<object-name>GS_in_range</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>-2.8</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>GS_in_range</object-name>
<condition>
<property alias="../../../params/gs-in-range"/>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>GS_out_of_range</object-name>
<condition>
<not>
<property alias="../../../../params/gs-in-range"/>
</not>
</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>GlideslopeNeedleTransform</name>
<type>rotate</type>
<object-name>GlideslopeNeedle</object-name>
<property alias="../../params/nav-gs-needle-deflection"/>
<factor>-25</factor>
<min-deg>-25</min-deg>
<max-deg>25</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>GlideslopeNeedleTransform</object-name>
<object-name>RingTransform</object-name>
<object-name>Front</object-name>
</animation>
</PropertyList>