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

<PropertyList>

  <params>
    <selected-radial>instrumentation/nav[0]/radials/selected-deg</selected-radial>
    <signal-quality>instrumentation/nav[0]/signal-quality-norm</signal-quality>
    <to-flag>instrumentation/nav[0]/to-flag</to-flag>
    <from-flag>instrumentation/nav[0]/from-flag</from-flag>
    <tofrom-serviceable>instrumentation/nav[0]/to-from/serviceable</tofrom-serviceable>
    <gs-needle-deflection>instrumentation/nav[0]/gs-needle-deflection</gs-needle-deflection>
    <heading-needle-deflection>instrumentation/nav[0]/heading-needle-deflection</heading-needle-deflection>
    <has-gs>instrumentation/nav[0]/has-gs</has-gs>
    <gs-serviceable>instrumentation/nav[0]/gs/serviceable</gs-serviceable>
  </params>

  <path>VOR_LOC.ac</path>

  <animation>
    <object-name>face</object-name>
    <object-name>FROM</object-name>
    <object-name>GS</object-name>
    <object-name>NAV</object-name>
    <object-name>TO</object-name>
    <object-name>GSNeedle</object-name>
    <object-name>LOCNeedle</object-name>
    <object-name>Course1</object-name>
    <object-name>Course10</object-name>
    <object-name>Course100</object-name>
    <object-name>OBS</object-name>
    <object-name>OBSSelector</object-name>
    <object-name>Light</object-name>

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

  <animation>
    <type>noshadow</type>
    <object-name>face</object-name>
    <object-name>FROM</object-name>
    <object-name>GS</object-name>
    <object-name>NAV</object-name>
    <object-name>TO</object-name>
    <object-name>GSNeedle</object-name>
    <object-name>LOCNeedle</object-name>
    <object-name>Course1</object-name>
    <object-name>Course10</object-name>
    <object-name>Course100</object-name>
    <object-name>OBS</object-name>
    <object-name>OBSSelector</object-name>
    <object-name>Light</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>face</object-name>
    <object-name>FROM</object-name>
    <object-name>GS</object-name>
    <object-name>NAV</object-name>
    <object-name>TO</object-name>
    <object-name>GSNeedle</object-name>
    <object-name>LOCNeedle</object-name>
    <object-name>Course1</object-name>
    <object-name>Course10</object-name>
    <object-name>Course100</object-name>
    <object-name>OBS</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>rotate</type>
    <object-name>GSNeedle</object-name>
    <property alias="../../params/gs-needle-deflection"/>
    <factor>1</factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
    <center>
      <x-m>  0.0000000 </x-m>
      <y-m> -0.0238677 </y-m>
      <z-m>  0.0000000 </z-m>
    </center>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>LOCNeedle</object-name>
    <property alias="../../params/heading-needle-deflection"/>
    <factor>1</factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
    <center>
      <x-m> 0.0000000 </x-m>
      <y-m> 0.0000000 </y-m>
      <z-m> 0.0255278 </z-m>
    </center>
  </animation>

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

  <animation>
    <type>select</type>
    <object-name>FROM</object-name>
    <condition>
      <property alias="../../../params/from-flag"/>
      <property alias="../../../params/tofrom-serviceable"/>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>NAV</object-name>
    <condition>
      <less-than>
        <property alias="../../../../params/signal-quality"/>
        <value type="double">0.3</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>GS</object-name>
    <condition>
      <not>
        <property alias="../../../../params/has-gs"/>
        <property alias="../../../../params/gs-serviceable"/>
      </not>
    </condition>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>Course1</object-name>
    <property alias="../../params/selected-radial"/>
    <factor>-0.1</factor>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>Course10</object-name>
    <property alias="../../params/selected-radial"/>
    <factor>-0.01</factor>
    <step>10</step>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>Course100</object-name>
    <property alias="../../params/selected-radial"/>
    <factor>-0.001</factor>
    <step>100</step>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>OBSSelector</object-name>
    <visible>true</visible>
    <action>
      <button>3</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property alias="../../../../params/selected-radial"/>
        <step>-1</step>
        <min>0</min>
        <max>360</max>
        <wrap>1</wrap>
      </binding>
    </action>
    <action>
      <button>4</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property alias="../../../../params/selected-radial"/>
        <step>1</step>
        <min>0</min>
        <max>360</max>
        <wrap>1</wrap>
      </binding>
    </action>
  </animation>

</PropertyList>
