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

<PropertyList>

  <path>alt.ac</path>

  <animation>
    <object-name>mount</object-name>
    <object-name>knob</object-name>
    <object-name>bkg</object-name>
    <object-name>switch</object-name>
    <object-name>face</object-name>
    <object-name>needle</object-name>
    <object-name>drum-1</object-name>
    <object-name>drum-2</object-name>
    <object-name>drum-3</object-name>
    <object-name>negativ-flag</object-name>
    <object-name>drum-inhg-1</object-name>
    <object-name>drum-inhg-2</object-name>
    <object-name>drum-inhg-3</object-name>
    <object-name>drum-inhg-4</object-name>
    <object-name>below-10000-flag</object-name>
    <object-name>below-1000-flag</object-name>

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

  <animation>
    <type>noshadow</type>
    <object-name>mount</object-name>
    <object-name>knob</object-name>
    <object-name>bkg</object-name>
    <object-name>switch</object-name>
    <object-name>face</object-name>
    <object-name>needle</object-name>
    <object-name>drum-1</object-name>
    <object-name>drum-2</object-name>
    <object-name>drum-3</object-name>
    <object-name>negativ-flag</object-name>
    <object-name>drum-inhg-1</object-name>
    <object-name>drum-inhg-2</object-name>
    <object-name>drum-inhg-3</object-name>
    <object-name>drum-inhg-4</object-name>
    <object-name>below-10000-flag</object-name>
    <object-name>below-1000-flag</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>needle</object-name>
    <object-name>drum-1</object-name>
    <object-name>drum-2</object-name>
    <object-name>drum-3</object-name>
    <object-name>negativ-flag</object-name>
    <object-name>drum-inhg-1</object-name>
    <object-name>drum-inhg-2</object-name>
    <object-name>drum-inhg-3</object-name>
    <object-name>drum-inhg-4</object-name>
    <object-name>below-10000-flag</object-name>
    <object-name>below-1000-flag</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>needle</object-name>
    <property>/instrumentation/altimeter/indicated-altitude-ft</property>
    <factor> 0.36 </factor>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- altimeter drum counter -->
  <animation>
    <type>textranslate</type>
    <object-name>drum-1</object-name>
    <property>/instrumentation/altimeter/indicated-altitude-ft</property>
    <factor>0.001</factor>
    <offset>-100</offset>
    <step>100</step>
    <scroll>10</scroll>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>drum-2</object-name>
    <property>/instrumentation/altimeter/indicated-altitude-ft</property>
    <factor>0.0001</factor>
    <offset>-1000</offset>
    <step>1000</step>
    <scroll>25</scroll>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>drum-3</object-name>
    <property>instrumentation/altimeter/indicated-altitude-ft</property>
    <factor>0.00001</factor>
    <offset>-10000</offset>
    <step>10000</step>
    <scroll>25</scroll>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>select</type>
    <object-name>negativ-flag</object-name>
    <condition>
      <less-than>
        <property>/instrumentation/altimeter/indicated-altitude-ft</property>
        <value>0</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>below-1000-flag</object-name>
    <condition>
      <less-than>
        <property>/instrumentation/altimeter/indicated-altitude-ft</property>
        <value>1000</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>below-10000-flag</object-name>
    <condition>
      <less-than>
        <property>/instrumentation/altimeter/indicated-altitude-ft</property>
        <value>10000</value>
      </less-than>
    </condition>
  </animation>

  <!-- barometer drum counter -->
  <animation>
    <type>textranslate</type>
    <object-name>drum-inhg-1</object-name>
    <property>/instrumentation/altimeter/setting-inhg</property>
    <factor>10</factor>
    <offset>-0.01</offset>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>drum-inhg-2</object-name>
    <property>/instrumentation/altimeter/setting-inhg</property>
    <factor>1</factor>
    <offset>-0.1</offset>
    <step>0.1</step>
    <scroll>0.01</scroll>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>drum-inhg-3</object-name>
    <property>/instrumentation/altimeter/setting-inhg</property>
    <factor>0.1</factor>
    <offset>-1</offset>
    <step>1</step>
    <scroll>0.01</scroll>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
      </axis><action>
      <button>3</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/altimeter/setting-inhg</property>
        <step>-0.01</step>
        <min>20</min>
        <max>36</max>
        <wrap>0</wrap>
      </binding>
    </action>
    <action>
      <button>4</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/altimeter/setting-inhg</property>
        <step>0.01</step>
        <min>20</min>
        <max>36</max>
        <wrap>0</wrap>
      </binding>
    </action>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>drum-inhg-4</object-name>
    <property>/instrumentation/altimeter/setting-inhg</property>
    <factor>0.01</factor>
    <offset>-10</offset>
    <step>10</step>
    <scroll>0.01</scroll>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Altimeter Ingh Setting Knob -->
  <animation>
    <type>pick</type>
    <object-name>knob</object-name>
    <visible>true</visible>
    <action>
      <name>decrease calibrate</name>
      <button>3</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>/instrumentation/altimeter/setting-inhg</property>
        <step>-0.01</step>
        <min>20</min>
        <max>33</max>
        <wrap>false</wrap>
      </binding>
    </action>
    <action>
      <name>increase calibrate</name>
      <button>4</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>/instrumentation/altimeter/setting-inhg</property>
        <step>0.01</step>
        <min>20</min>
        <max>33</max>
        <wrap>false</wrap>
      </binding>
    </action>
  </animation>

</PropertyList>
