<?xml version="1.0"?>

<!--
     Credits :
     =======
     - adapted from G. Neely's Lockheed 1049-H.
-->


<PropertyList>

<path>alt.ac</path>

<animation>
  <type>material</type>
  <object-name>ALT.Face</object-name>
  <object-name>ALT.FacePressure</object-name>
  <object-name>ALT.Needle1</object-name>
  <object-name>ALT.Needle2</object-name>
  <object-name>ALT.Needle3</object-name>
  <emission>
    <red>0.81</red>
    <green>0.40</green>
    <blue>0.20</blue>
    <factor-prop>systems/lighting/internal/copilot/instrument-light</factor-prop>
  </emission>
  <ambient>
    <red>1.0</red>
    <green>1.0</green>
    <blue>1.0</blue>
    <factor-prop>systems/lighting/internal/ambient-light</factor-prop>
  </ambient>
</animation>

<animation>
  <type>rotate</type>
  <object-name>ALT.Needle1</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>rotate</type>
  <object-name>ALT.Needle2</object-name>
  <property>instrumentation/altimeter/indicated-altitude-ft</property>
  <factor>0.036</factor>
  <axis>
    <x>-1</x>
    <y>0</y>
    <z>0</z>
  </axis>
</animation>

<animation>
  <type>rotate</type>
  <object-name>ALT.Needle3</object-name>
  <property>instrumentation/altimeter/indicated-altitude-ft</property>
  <factor>0.0036</factor>
  <axis>
    <x>-1</x>
    <y>0</y>
    <z>0</z>
  </axis>
</animation>

<animation>
  <type>rotate</type>
  <object-name>ALT.FacePressure</object-name>
  <property>instrumentation/altimeter/setting-inhg</property>
  <interpolation>
    <entry><ind>  28</ind><dep>-200</dep></entry>
    <entry><ind>  30</ind><dep>   0</dep></entry>
    <entry><ind>31.3</ind><dep> 130</dep></entry>
  </interpolation>
  <axis>
    <x>1</x>
    <y>0</y>
    <z>0</z>
  </axis>
</animation>

<animation>
  <type>rotate</type>
  <object-name>ALT.Knob</object-name>
  <property>instrumentation/altimeter/setting-inhg</property>
  <factor>500</factor>
  <center>
    <x-m>0</x-m>
    <y-m>-0.03</y-m>
    <z-m>-0.03</z-m>
  </center>
  <axis>
    <x>-1</x>
    <y>0</y>
    <z>0</z>
  </axis>
</animation>

<animation>
 <type>pick</type>
 <object-name>ALT.Knob</object-name>
 <action>
  <button>0</button>
  <binding>
   <command>property-adjust</command>
   <property>instrumentation/altimeter/setting-inhg</property>
   <step>0.01</step>
   <min>27.9</min>
   <max>31.4</max>
   <wrap>false</wrap>
  </binding>
 </action>
 <action>
  <button>1</button>
  <binding>
   <command>property-adjust</command>
   <property>/instrumentation/altimeter/setting-inhg</property>
   <step>-0.01</step>
   <min>27.9</min>
   <max>31.4</max>
   <wrap>false</wrap>
  </binding>
 </action>
</animation>

</PropertyList>

