<?xml version="1.0" encoding="ISO-8859-1"?>

<PropertyList>

  <path>KI204.ac</path>

  <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>

  <animation>
    <object-name>fond</object-name>
    <object-name>face</object-name>
    <object-name>bearing</object-name>
    <object-name>scale</object-name>
    <object-name>OBS</object-name>
    <object-name>navneedle</object-name>
    <object-name>pointerfrom</object-name>
    <object-name>pointerto</object-name>

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

  <animation>
    <type>noshadow</type>
    <object-name>fond</object-name>
    <object-name>face</object-name>
    <object-name>bearing</object-name>
    <object-name>scale</object-name>
    <object-name>OBS</object-name>
    <object-name>navneedle</object-name>
    <object-name>pointerfrom</object-name>
    <object-name>pointerto</object-name>
    <object-name>vitre</object-name>
  </animation>

  <!-- working for Compositor -->
  <effect>
    <inherits-from>../../../../Effects/Glass/glass</inherits-from>
    <object-name>vitre</object-name>
  </effect>

  <animation>
    <type>material</type>
    <object-name>bearing</object-name>
    <object-name>face</object-name>
    <object-name>navneedle</object-name>
    <object-name>pointerfrom</object-name>
    <object-name>pointerto</object-name>
    <object-name>scale</object-name>
    <condition>
      <property>controls/electric/battery-switch</property>
    </condition>
    <emission>
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>   0.50 </red>
      <green> 0.40 </green>
      <blue>  0.30 </blue>
    </emission>
  </animation>

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

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

  <animation>
    <name>LocalizerNeedleTransform</name>
    <type>rotate</type>
    <object-name>navneedle</object-name>
    <property alias="../../params/nav-heading-needle-deflection"/>
    <factor>3.2</factor>
    <center>
      <x-m> -0.036 </x-m>
      <y-m>  0.000 </y-m>
      <z-m>  0.000 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <name>BearingTransform</name>
    <type>rotate</type>
    <object-name>bearing</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>OBS</object-name>
    <visible>false</visible>
    <action>
      <name>increase</name>
      <button>3</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>/instrumentation/nav[0]/radials/selected-deg</property>
        <step>1</step>
        <min>0</min>
        <max>360</max>
        <wrap>1</wrap>
      </binding>
    </action>
    <action>
      <name>decrease</name>
      <button>4</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>/instrumentation/nav[0]/radials/selected-deg</property>
        <step>-1</step>
        <min>0</min>
        <max>360</max>
        <wrap>1</wrap>
      </binding>
    </action>
  </animation>

</PropertyList>
