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

<PropertyList>

  <path>ctrl-gears.ac</path>

  <animation>
    <object-name>fond</object-name>
    <object-name>lw-unsafe</object-name>
    <object-name>rw-unsafe</object-name>
    <object-name>nw-unsafe</object-name>

    <object-name>lw-down</object-name>
    <object-name>rw-down</object-name>
    <object-name>nw-down</object-name>

    <object-name>lw-up</object-name>
    <object-name>rw-up</object-name>
    <object-name>nw-up</object-name>

    <object-name>sp-power-off</object-name>
    <object-name>sp-full</object-name>
    <object-name>sp-partial</object-name>
    <object-name>sp-in</object-name>

    <object-name>texte</object-name>

    <object-name>needledroops</object-name>
    <object-name>needleflaps</object-name>
    <object-name>needleyaw</object-name>
    <object-name>needleroll</object-name>
    <object-name>needlepitch</object-name>
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>fond</object-name>
    <object-name>lw-unsafe</object-name>
    <object-name>rw-unsafe</object-name>
    <object-name>nw-unsafe</object-name>
    <object-name>lw-down</object-name>
    <object-name>rw-down</object-name>
    <object-name>nw-down</object-name>
    <object-name>lw-up</object-name>
    <object-name>rw-up</object-name>
    <object-name>nw-up</object-name>
    <object-name>sp-power-off</object-name>
    <object-name>sp-full</object-name>
    <object-name>sp-partial</object-name>
    <object-name>sp-in</object-name>
    <object-name>texte</object-name>
    <object-name>needledroops</object-name>
    <object-name>needleflaps</object-name>
    <object-name>needleyaw</object-name>
    <object-name>needleroll</object-name>
    <object-name>needlepitch</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>lw-unsafe</object-name>
    <object-name>rw-unsafe</object-name>
    <object-name>nw-unsafe</object-name>
    <object-name>lw-down</object-name>
    <object-name>rw-down</object-name>
    <object-name>nw-down</object-name>
    <object-name>lw-up</object-name>
    <object-name>rw-up</object-name>
    <object-name>nw-up</object-name>
    <object-name>sp-power-off</object-name>
    <object-name>sp-full</object-name>
    <object-name>sp-partial</object-name>
    <object-name>sp-in</object-name>
    <object-name>texte</object-name>
    <object-name>needledroops</object-name>
    <object-name>needleflaps</object-name>
    <object-name>needleyaw</object-name>
    <object-name>needleroll</object-name>
    <object-name>needlepitch</object-name>
    <condition>
      <property>controls/electric/battery-switch</property>
    </condition>
    <emission>
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>   0.50 </red>
      <green> 0.40 </green>
      <blue>  0.30 </blue>
    </emission>
  </animation>

  <animation>
    <type>select</type>
    <object-name>sp-power-off</object-name>
    <condition>
      <not><property>controls/electric/battery-switch</property></not>
    </condition>
  </animation>

  <!-- Speed Brake -->
  <animation>
    <type>select</type>
    <object-name>sp-in</object-name>
    <condition>
      <equals>
        <property>surface-positions/speedbrake-pos-norm</property>
        <value>0</value>
      </equals>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>sp-full</object-name>
    <condition>
      <equals>
        <property>surface-positions/speedbrake-pos-norm</property>
        <value>1</value>
      </equals>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>sp-partial</object-name>
    <condition>
      <greater-than>
        <property>surface-positions/speedbrake-pos-norm</property>
        <value>0</value>
      </greater-than>
      <less-than>
        <property>surface-positions/speedbrake-pos-norm</property>
        <value>1</value>
      </less-than>
    </condition>
  </animation>

  <!-- Landing Gear -->
  <animation>
    <type>select</type>
    <object-name>nw-up</object-name>
    <condition>
      <equals>
        <property>gear/gear[0]/position-norm</property>
        <value>0</value>
      </equals>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>nw-down</object-name>
    <condition>
      <equals>
        <property>gear/gear[0]/position-norm</property>
        <value>1</value>
      </equals>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>nw-unsafe</object-name>
    <condition>
      <greater-than>
        <property>gear/gear[0]/position-norm</property>
        <value>0</value>
      </greater-than>
      <less-than>
        <property>gear/gear[0]/position-norm</property>
        <value>1</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>lw-up</object-name>
    <condition>
      <equals>
        <property>gear/gear[1]/position-norm</property>
        <value>0</value>
      </equals>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>lw-down</object-name>
    <condition>
      <equals>
        <property>gear/gear[1]/position-norm</property>
        <value>1</value>
      </equals>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>lw-unsafe</object-name>
    <condition>
      <greater-than>
        <property>gear/gear[1]/position-norm</property>
        <value>0</value>
      </greater-than>
      <less-than>
        <property>gear/gear[1]/position-norm</property>
        <value>1</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>rw-up</object-name>
    <condition>
      <equals>
        <property>gear/gear[2]/position-norm</property>
        <value>0</value>
      </equals>
    </condition>
  </animation>sp-full

  <animation>
    <type>select</type>
    <object-name>rw-down</object-name>
    <condition>
      <equals>
        <property>gear/gear[2]/position-norm</property>
        <value>1</value>
      </equals>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>rw-unsafe</object-name>
    <condition>
      <greater-than>
        <property>gear/gear[2]/position-norm</property>
        <value>0</value>
      </greater-than>
      <less-than>
        <property>gear/gear[2]/position-norm</property>
        <value>1</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>needleflaps</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> -50 </factor>
    <center>
      <x-m> 0.00000 </x-m>
      <y-m> 0.04872 </y-m>
      <z-m> 0.03099 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>needlepitch</object-name>
    <property>controls/flight/elevator-trim</property>
    <factor> -35 </factor>
    <center>
      <x-m>  0.00000 </x-m>
      <y-m>  0.05454 </y-m>
      <z-m> -0.03882 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>needleyaw</object-name>
    <property>controls/flight/rudder-trim</property>
    <factor> -20 </factor>
    <center>
      <x-m>  0.00000 </x-m>
      <y-m>  0.03816 </y-m>
      <z-m> -0.00717 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>needleroll</object-name>
    <property>controls/flight/aileron-trim</property>
    <factor> -20 </factor>
    <center>
      <x-m> 0.00000 </x-m>
      <y-m> 0.03816 </y-m>
      <z-m> 0.00066 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

</PropertyList>
