<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
    #############################################################################
    #    (C) 2006 by Yurik V. Nikiforoff - port for FGFS,  FDM,                 #
    #             2d & 3d instruments, animations, systems and over.            #
    #             yurik@megasignal.com                                          #
    #                                                                           #
    # Updated by Helijah August 2013                                            #
    #############################################################################	  
-->

<PropertyList>
  
  <path>alt.ac</path>
  
  <animation>
    <object-name>fond</object-name>

    <object-name>face</object-name>
    <object-name>Needle100</object-name>
    <object-name>Needle1000</object-name>
    <object-name>Needle10000</object-name>
        
    <object-name>vitre</object-name>
  </animation>

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

  <animation>
    <type>shader</type>
    <shader>chrome</shader>
    <texture>Aircraft/Generic/Effects/glass_shader.png</texture>
    <object-name>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>vitre</object-name>
  </effect>

  <animation>
    <type>material</type>
    <object-name>face</object-name>
    <object-name>needle100</object-name>
    <object-name>needle1000</object-name>
    <object-name>needle10000</object-name>
    <emission>
      <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
      <red>   0.50 </red>
      <green> 0.25 </green>
      <blue>  0.25 </blue>
    </emission>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>needle100</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>needle1000</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>needle10000</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>

</PropertyList>
