<?xml version="1.0" encoding="UTF-8"?>

<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</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>
    <object-name>VOR.fond</object-name>
    <object-name>VOR.visses</object-name>
    <object-name>VOR.knob</object-name>
    <object-name>VOR.ring</object-name>
    <object-name>VOR.face</object-name>
    <object-name>VOR.LocalizerNeedle</object-name>
    <object-name>VOR.GlidescopeNeedle</object-name>
    <object-name>VOR.FR</object-name>
    <object-name>VOR.TO</object-name>
    <object-name>VOR.NAV</object-name>

    <object-name>VOR.vitre</object-name>
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>VOR.vitre</object-name>
  </animation>

  <animation>
    <type>shader</type>
    <shader>chrome</shader>
    <texture>Aircraft/Generic/Effects/glass_shader.png</texture>
    <object-name>VOR.vitre</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>VOR.knob</object-name>
    <object-name>VOR.ring</object-name>
    <object-name>VOR.face</object-name>
    <object-name>VOR.LocalizerNeedle</object-name>
    <object-name>VOR.GlidescopeNeedle</object-name>
    <object-name>VOR.FR</object-name>
    <object-name>VOR.TO</object-name>
    <object-name>VOR.NAV</object-name>
    <emission>
      <red>   0.50 </red>
      <green> 0.25 </green>
      <blue>  0.25 </blue>
      <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
    </emission>
  </animation>

  <animation>
    <name>LocalizerNeedleTransform</name>
    <type>rotate</type>
    <object-name>VOR.LocalizerNeedle</object-name>
    <property alias="../../params/nav-heading-needle-deflection"/>
    <factor> -3.2 </factor>
    <center>
      <x-m> 0.00 </x-m>
      <y-m> 0.00 </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>VOR.GlidescopeNeedle</object-name>
    <condition>
      <property alias="../../../params/nav-in-range"/>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>VOR.NAV</object-name>
    <condition>
      <not>
        <property alias="../../../../params/nav-in-range"/>
      </not>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>VOR.TO</object-name>
    <condition>
      <property alias="../../../params/nav-to-flag"/>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>VOR.FR</object-name>
    <condition>
      <property alias="../../../params/nav-from-flag"/>
    </condition>
  </animation>

  <animation>
    <name>GlidescopeNeedleTransform</name>
    <type>rotate</type>
    <object-name>VOR.GlidescopeNeedle</object-name>
    <property alias="../../params/nav-gs-needle-deflection"/>
    <factor> -3.2 </factor>
    <min-deg> -32 </min-deg>
    <max-deg> 32 </max-deg>
    <center>
      <x-m>  0.00 </x-m>
      <y-m> -0.03 </y-m>
      <z-m>  0.00 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <name>RingTransform</name>
    <type>rotate</type>
    <object-name>VOR.ring</object-name>
    <property alias="../../params/nav-radial-selected"/>
    <factor> -1 </factor>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>VOR.knob</object-name>
    <property alias="../../params/nav-radial-selected"/>
    <center>
      <x-m>  0.017 </x-m>
      <y-m> -0.031 </y-m>
      <z-m> -0.035 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>VOR.crsup</object-name>
    <visible>0</visible>
    <action>
      <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>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>VOR.crsdn</object-name>
    <visible>0</visible>
    <action>
      <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>
  </animation>

</PropertyList>

