<?xml version="1.0" encoding="utf-8"?>

<PropertyList>

  <path>gears.ac</path>
  <animation>
    <!-- object name in ac file -->
    <object-name>gears.A</object-name>
    <object-name>gears.F</object-name>
    <object-name>gears.bip</object-name>
    <object-name>gears.cross</object-name>
    <object-name>gears.dirav</object-name>
    <object-name>gears.frein</object-name>
    <object-name>gears.knob</object-name>
    <object-name>gears.leftgear</object-name>
    <object-name>gears.nozegear</object-name>
    <object-name>gears.rightgear</object-name>
    <object-name>gears.spad</object-name>
    <object-name>gears.texte</object-name>
  </animation>

  <animation>
    <!-- lights : illuminations -->
    <type>material</type>
    <object-name>gears.texte</object-name>
    <emission>
      <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
      <red>   0.1 </red>
      <green> 0.5 </green>
      <blue>  0.2 </blue>
    </emission>
  </animation>
  <animation>
    <!-- lights : flood -->
    <type>material</type>
    <object-name>gears.bip</object-name>
    <emission>
      <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
      <red>   0.012 </red>
      <green> 0.06 </green>
      <blue>  0.02 </blue>
    </emission>
  </animation>



  <animation>
    <type>material</type>
    <object-name>gears.texte</object-name>
    <emission>
      <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
      <red>   0.3 </red>
      <green> 0.3 </green>
      <blue>  0.3 </blue>
    </emission>
  </animation>

  <animation>
    <type>material</type>
    <object-name>gears.A</object-name>
    <object-name>gears.F</object-name>
    <condition>
      <property>/instrumentation/gearBox/AirBrakes</property>
    </condition>
    <emission>
      <red>   1.000 </red>
      <green> 0 </green>
      <blue>  0</blue>
    </emission>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>gears.A</object-name>
    <object-name>gears.F</object-name>
    <property>/instrumentation/gearBox/AirBrakes</property>
    <factor>0.09</factor>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
    </axis>
  </animation>

  <animation>
    <type>material</type>
    <object-name>gears.bip</object-name>
    <condition>
      <property>/instrumentation/gearBox/gearRed</property>
    </condition>
    <emission>
      <red>   1 </red>
      <green> 0 </green>
      <blue>  0 </blue>
    </emission>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>gears.bip</object-name>
    <property>/instrumentation/gearBox/gearRed</property>
    <factor>0.09</factor>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
    </axis>
  </animation>

  <animation>
    <type>material</type>
    <object-name>gears.nozegear</object-name>
    <condition>
      <property>/instrumentation/gearBox/nozegear</property>
    </condition>
    <emission>
      <red>   0 </red>
      <green> 1 </green>
      <blue>  0 </blue>
    </emission>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>gears.nozegear</object-name>
    <property>/instrumentation/gearBox/nozegear</property>
    <factor>0.09</factor>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
    </axis>
  </animation>

  <animation>
    <type>material</type>
    <object-name>gears.leftgear</object-name>
    <condition>
      <property>/instrumentation/gearBox/leftgear</property>
    </condition>
    <emission>
      <red>   0 </red>
      <green> 1 </green>
      <blue>  0 </blue>
    </emission>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>gears.leftgear</object-name>
    <property>/instrumentation/gearBox/leftgear</property>
    <factor>0.09</factor>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
    </axis>
  </animation>

  <animation>
    <type>material</type>
    <object-name>gears.rightgear</object-name>
    <condition>
      <property>/instrumentation/gearBox/rightgear</property>
    </condition>
    <emission>
      <red>   0 </red>
      <green> 1 </green>
      <blue>  0 </blue>
    </emission>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>gears.rightgear</object-name>
    <property>/instrumentation/gearBox/rightgear</property>
    <factor>0.09</factor>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
    </axis>
  </animation>

  <animation>
    <type>material</type>
    <object-name>gears.frein</object-name>
    <condition>
      <property>/instrumentation/gearBox/brakes</property>
    </condition>
    <emission>
      <red>   1 </red>
      <green> 0 </green>
      <blue>  0 </blue>
    </emission>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>gears.frein</object-name>
    <property>/instrumentation/gearBox/brakes</property>
    <factor>0.09</factor>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
    </axis>
  </animation>


  <!--
================================================================================
                                                                        TEXT OSG
================================================================================
  -->
  <text>
    <name>gears.textosg</name>
    <type type="string">literal</type>
    <text type="string">Gears</text>
    <draw-text type="bool">true</draw-text>
    <font>Helvetica.txf</font>
    <character-size type="double">0.016</character-size>
    <character-aspect-ratio type="double">1.0</character-aspect-ratio>
    <axis-alignment>yz-plane</axis-alignment>
    <max-height>0.06</max-height>
    <max-width>0.08</max-width>
    <font-resolution>
      <width type="int">64</width>
      <height type="int">64</height>
    </font-resolution>
    <alignment>center-center</alignment>
    <offsets>
      <x-m>-3.46</x-m>
      <y-m>-0.28</y-m>
      <z-m>-.5</z-m>
    </offsets>
  </text>

  <animation>
    <type>material</type>
    <object-name>gears.textosg</object-name>
    <emission>
      <red>1</red>
      <green>0.2</green>
      <blue>0.2</blue>
    </emission>
  </animation>
  <animation>
    <type>select</type>
    <object-name>gears.textosg</object-name>
    <condition>
      <property>sim/panel-hotspots</property>
    </condition>
  </animation>


</PropertyList>
