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

<PropertyList>

  <path>alt.ac</path>

  <animation>
    <object-name>ALT.fond</object-name>
    <object-name>ALT.knob</object-name>
    <object-name>ALT.face</object-name>
    <object-name>ALT.needle</object-name>
    <object-name>inhg1</object-name>
    <object-name>inhg2</object-name>
    <object-name>inhg3</object-name>
    <object-name>inhg4</object-name>
    <object-name>alt.1</object-name>
    <object-name>alt.2</object-name>
    <object-name>alt.3</object-name>
    
    <object-name>ALT.vitre</object-name>
  </animation>

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

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

  <!-- working for Rembrandt -->
  <effect>
    <inherits-from>Effects/model-transparent</inherits-from>
    <condition>
      <property>sim/rendering/rembrandt/enabled</property>
    </condition>
    <object-name>ALT.vitre</object-name>
  </effect>

  <animation>
    <type>material</type>
    <object-name>ALT.face</object-name>
    <object-name>ALT.needle</object-name>
    <object-name>inhg1</object-name>
    <object-name>inhg2</object-name>
    <object-name>inhg3</object-name>
    <object-name>inhg4</object-name>
    <object-name>alt.1</object-name>
    <object-name>alt.2</object-name>
    <object-name>alt.3</object-name>
    <condition>
      <property>/controls/lighting/instrument-lights</property>
    </condition>
    <emission>
      <red>   0.80 </red>
      <green> 0.50 </green>
      <blue>  0.50 </blue>
    </emission>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>ALT.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>

  <animation>
    <type>select</type>
    <object-name>alt.1</object-name>
    <condition>
      <greater-than>
        <property>instrumentation/altimeter/indicated-altitude-ft</property>
        <value> 9999.999 </value>
      </greater-than>
    </condition>
    <factor> 0.36 </factor>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>alt.1</object-name>
    <property>instrumentation/altimeter/indicated-altitude-ft</property>
    <factor> 0.00001 </factor>
    <step> 10000 </step>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

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

  <animation>
    <type>textranslate</type>
    <object-name>alt.3</object-name>
    <property>instrumentation/altimeter/indicated-altitude-ft</property>
    <factor> 0.001 </factor>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>inhg1</object-name>
    <property>instrumentation/altimeter/setting-inhg</property>
    <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>inhg2</object-name>
    <property>instrumentation/altimeter/setting-inhg</property>
    <factor> 0.1 </factor>
    <step> 1 </step>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>inhg3</object-name>
    <property>instrumentation/altimeter/setting-inhg</property>
    <factor> 1 </factor>
    <step> 0.1 </step>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

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

  <animation>
    <type>pick</type>
    <object-name>ALT.knob</object-name>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/altimeter/setting-inhg</property>
        <step> -0.01 </step>
        <min> 27.90 </min>
        <max> 31.40 </max>
        <wrap> 0 </wrap>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>ALT.knob</object-name>
    <action>
      <button>1</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>instrumentation/altimeter/setting-inhg</property>
        <step> -0.1 </step>
        <min> 27.90 </min>
        <max> 31.40 </max>
        <wrap> 0 </wrap>
      </binding>
    </action>
  </animation>

</PropertyList>
