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

<PropertyList>

  <path>alt.ac</path>

  <animation>
    <object-name>ring</object-name>
    <object-name>screws</object-name>
    <object-name>knob</object-name>
    <object-name>alt-face</object-name>
    <object-name>alt-face-press</object-name>
    <object-name>needle-m</object-name>
    <object-name>needle-km</object-name>

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

  <!-- working for Rembrandt -->
  <effect>
    <inherits-from>Aircraft/Sky-sportster/Models/Effects/Glass/glass</inherits-from>
    <object-name>vitre</object-name>
  </effect>
  
  <animation>
    <type>material</type>
    <object-name>alt-face</object-name>
    <object-name>alt-face-press</object-name>
    <object-name>needle-m</object-name>
    <object-name>needle-km</object-name>
    <condition>
      <property>controls/lighting/instrument-lights</property>
      <property>/controls/electric/battery-switch</property>
    </condition>
    <emission>
      <factor-prop>controls/lighting/luminosite-lights</factor-prop>
      <red>   0.50 </red>
      <green> 0.25 </green>
      <blue>  0.25 </blue>
    </emission>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>needle-km</object-name>
    <property>/instrumentation/altimeter/indicated-altitude-ft</property>
    <factor> 0.010973 </factor>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>needle-m</object-name>
    <property>/instrumentation/altimeter/indicated-altitude-ft</property>
    <factor> 0.10973 </factor>
    <axis>
     <x> -1 </x>
     <y>  0 </y>
     <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>alt-face-press</object-name>
    <property>/instrumentation/altimeter/setting-inhg</property>
    <interpolation>
      <entry><ind> 28.05 </ind><dep>   0 </dep></entry>
      <entry><ind> 31.01 </ind><dep> 282 </dep></entry>
    </interpolation>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Altimeter -->  
  <animation>
    <type>pick</type>
    <object-name>knob</object-name>
    <action>
      <name>increase calibrate fine</name>
      <button>0</button>
      <button>3</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>/instrumentation/altimeter/setting-inhg</property>
        <step>0.01</step>
        <min>28.05</min>
        <max>31.01</max>
        <wrap>false</wrap>
      </binding>
    </action>
  </animation>
  
  <animation>
    <type>pick</type>
    <object-name>knob</object-name>
    <action>
      <name>decrease calibrate fine</name>
      <button>1</button>
      <button>4</button>
      <repeatable>true</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>/instrumentation/altimeter/setting-inhg</property>
        <step>-0.01</step>
        <min>28.05</min>
        <max>31.01</max>
        <wrap>false</wrap>
      </binding>
    </action>
  </animation>

</PropertyList>
