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

<PropertyList>

  <path>bae146.ac</path>

  <!-- MP sound call -->
  <sound>
    <path>Aircraft/BAe-146/Sounds/mp-sound.xml</path>
  </sound>

  <nasal>
    <load>
      var livery_update = aircraft.livery_update.new("Aircraft/BAe-146/Models/Liveries", 10);
    </load>
    <unload>
      livery_update  .stop();
    </unload>
  </nasal>

  <animation>
    <!-- Objets opaques -->
    <object-name>fuselage</object-name>
    <object-name>porteL1</object-name>
    <object-name>porteL2</object-name>
    <object-name>porteR1</object-name>
    <object-name>porteR2</object-name>
    <object-name>porteA</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>spoilerG</object-name>
    <object-name>spoilerD</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>ailes</object-name>
    <object-name>slatG</object-name>
    <object-name>slatD</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>flapsG1</object-name>
    <object-name>flapsG2</object-name>
    <object-name>flapsG3</object-name>
    <object-name>flapsD1</object-name>
    <object-name>flapsD2</object-name>
    <object-name>flapsD3</object-name>
    <object-name>spoilerG1</object-name>
    <object-name>spoilerG2</object-name>
    <object-name>spoilerG3</object-name>
    <object-name>spoilerollG</object-name>
    <object-name>spoilerD1</object-name>
    <object-name>spoilerD2</object-name>
    <object-name>spoilerD3</object-name>
    <object-name>spoilerollD</object-name>
    <object-name>ailes2</object-name>
    <object-name>direction</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>pylones</object-name>
    <object-name>moteurs</object-name>
    <object-name>bolGE</object-name>
    <object-name>bolGI</object-name>
    <object-name>bolDI</object-name>
    <object-name>bolDE</object-name>
    <object-name>antennes</object-name>

    <object-name>trous</object-name>
    <object-name>moteurs2</object-name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>articuleH</object-name>
    <object-name>articuleB</object-name>
    <object-name>roueA</object-name>
    <object-name>axeG1</object-name>
    <object-name>axeG2</object-name>
    <object-name>roueG</object-name>
    <object-name>roueD</object-name>
    <object-name>heliceGE</object-name>
    <object-name>heliceGI</object-name>
    <object-name>heliceDI</object-name>
    <object-name>heliceDE</object-name>
    <object-name>stairsH</object-name>
    <object-name>stairsB</object-name>
    <object-name>stairsbarres1</object-name>
    <object-name>stairsbarres2</object-name>
    <object-name>stairsbarres3</object-name>
    <object-name>stairsbarres4</object-name>
    <object-name>stairsbarres5</object-name>

    <!-- Objets transparents -->
    <object-name>vitres</object-name>
    <!-- HDR mode -->
    <object-name>HDRvitres</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>fuselage</object-name>
    <object-name>porteL1</object-name>
    <object-name>porteL2</object-name>
    <object-name>porteR1</object-name>
    <object-name>porteR2</object-name>
    <object-name>porteA</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>spoilerG</object-name>
    <object-name>spoilerD</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>ailes</object-name>
    <object-name>slatG</object-name>
    <object-name>slatD</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>flapsG1</object-name>
    <object-name>flapsG2</object-name>
    <object-name>flapsG3</object-name>
    <object-name>flapsD1</object-name>
    <object-name>flapsD2</object-name>
    <object-name>flapsD3</object-name>
    <object-name>spoilerG1</object-name>
    <object-name>spoilerG2</object-name>
    <object-name>spoilerG3</object-name>
    <object-name>spoilerollG</object-name>
    <object-name>spoilerD1</object-name>
    <object-name>spoilerD2</object-name>
    <object-name>spoilerD3</object-name>
    <object-name>spoilerollD</object-name>
    <object-name>ailes2</object-name>
    <object-name>direction</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>pylones</object-name>
    <object-name>moteurs</object-name>
    <object-name>bolGE</object-name>
    <object-name>bolGI</object-name>
    <object-name>bolDI</object-name>
    <object-name>bolDE</object-name>
    <object-name>antennes</object-name>
    <object-name>trous</object-name>
    <object-name>moteurs2</object-name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>articuleH</object-name>
    <object-name>articuleB</object-name>
    <object-name>roueA</object-name>
    <object-name>axeG1</object-name>
    <object-name>axeG2</object-name>
    <object-name>roueG</object-name>
    <object-name>roueD</object-name>
    <object-name>heliceGE</object-name>
    <object-name>heliceGI</object-name>
    <object-name>heliceDI</object-name>
    <object-name>heliceDE</object-name>
    <object-name>stairsH</object-name>
    <object-name>stairsB</object-name>
    <object-name>stairsbarres1</object-name>
    <object-name>stairsbarres2</object-name>
    <object-name>stairsbarres3</object-name>
    <object-name>stairsbarres4</object-name>
    <object-name>stairsbarres5</object-name>
    <object-name>vitres</object-name>
    <object-name>HDRvitres</object-name>

    <property-base>sim/model/livery</property-base>
    <texture-prop>texture</texture-prop>
    <texture>texture.png</texture>
    <specular>
      <red-prop>specular/red</red-prop>
      <green-prop>specular/green</green-prop>
      <blue-prop>specular/blue</blue-prop>
    </specular>
  </animation>

  <effect>
    <inherits-from>Aircraft/BAe-146/Models/Effects/Bump/bumpspec</inherits-from>
    <object-name>fuselage</object-name>
    <object-name>porteL1</object-name>
    <object-name>porteL2</object-name>
    <object-name>porteR1</object-name>
    <object-name>porteR2</object-name>
    <object-name>porteA</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>spoilerG</object-name>
    <object-name>spoilerD</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>ailes</object-name>
    <object-name>slatG</object-name>
    <object-name>slatD</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>flapsG1</object-name>
    <object-name>flapsG2</object-name>
    <object-name>flapsG3</object-name>
    <object-name>flapsD1</object-name>
    <object-name>flapsD2</object-name>
    <object-name>flapsD3</object-name>
    <object-name>spoilerG1</object-name>
    <object-name>spoilerG2</object-name>
    <object-name>spoilerG3</object-name>
    <object-name>spoilerollG</object-name>
    <object-name>spoilerD1</object-name>
    <object-name>spoilerD2</object-name>
    <object-name>spoilerD3</object-name>
    <object-name>spoilerollD</object-name>
    <object-name>ailes2</object-name>
    <object-name>direction</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>pylones</object-name>
    <object-name>moteurs</object-name>
    <object-name>bolGE</object-name>
    <object-name>bolGI</object-name>
    <object-name>bolDI</object-name>
    <object-name>bolDE</object-name>
    <object-name>antennes</object-name>
  </effect>

  <!-- working for compositor -->
  <effect>
    <inherits-from>Effects/Glass/glassrain</inherits-from>
    <object-name>vitres</object-name>
  </effect>

  <effect>
    <inherits-from>Effects/Glass/glass</inherits-from>
    <object-name>HDRvitres</object-name>
  </effect>

  <!-- Sélection des vitres en fonction de HDR ou pas -->
  <animation>
    <type>select</type>
    <condition>
      <!-- <property>sim/rendering/hdr/hdr-enabled</property> -->
      <property>sim/multiplay/generic/bool[2]</property>
    </condition>
    <object-name>HDRvitres</object-name>
  </animation>

  <animation>
    <type>select</type>
    <condition>
      <!-- <not><property>sim/rendering/hdr/hdr-enabled</property></not> -->
      <not><property>sim/multiplay/generic/bool[2]</property></not>
    </condition>
    <object-name>vitres</object-name>
  </animation>

  <model>
    <path>Interior/interior.xml</path>
  </model>

  <model>
    <path>Effects/smoke/all-smokes.xml</path>
  </model>

  <model>
    <path>Effects/trail/all-trails.xml</path>
  </model>

  <model>
    <path>Effects/ground/all-ground.xml</path>
  </model>

  <model>
    <path>lights/all-lights.xml</path>
  </model>

  <!-- Propellers rotations -->
  <animation>
    <type>spin</type>
    <object-name>heliceGE</object-name>
    <object-name>bolGE</object-name>
    <condition>
      <!-- <not><property>controls/engines/engine[0]/cutoff</property></not> -->
      <not><property>sim/multiplay/generic/bool[17]</property></not>
    </condition>
    <!-- <property>engines/engine[0]/n1</property> -->
    <property>sim/multiplay/generic/float[4]</property>
    <factor> 10 </factor>
    <center>
      <x-m> -3.98738 </x-m>
      <y-m> -6.68875 </y-m>
      <z-m> -2.17924 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>heliceGI</object-name>
    <object-name>bolGI</object-name>
    <condition>
      <!-- <not><property>controls/engines/engine[1]/cutoff</property></not> -->
      <not><property>sim/multiplay/generic/bool[18]</property></not>
    </condition>
    <!-- <property>engines/engine[1]/n1</property> -->
    <property>sim/multiplay/generic/float[5]</property>
    <factor> 10 </factor>
    <center>
      <x-m> -4.71460 </x-m>
      <y-m> -4.09154 </y-m>
      <z-m> -2.00326 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>heliceDI</object-name>
    <object-name>bolDI</object-name>
    <condition>
      <!-- <not><property>controls/engines/engine[2]/cutoff</property></not> -->
      <not><property>sim/multiplay/generic/bool[19]</property></not>
    </condition>
    <!-- <property>engines/engine[2]/n1</property> -->
    <property>sim/multiplay/generic/float[6]</property>
    <factor> 10 </factor>
    <center>
      <x-m> -4.71460 </x-m>
      <y-m>  4.09154 </y-m>
      <z-m> -2.00326 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>heliceDE</object-name>
    <object-name>bolDE</object-name>
    <condition>
      <!-- <not><property>controls/engines/engine[3]/cutoff</property></not> -->
      <not><property>sim/multiplay/generic/bool[20]</property></not>
    </condition>
    <!-- <property>engines/engine[3]/n1</property> -->
    <property>sim/multiplay/generic/float[7]</property>
    <factor> 10 </factor>
    <center>
      <x-m> -3.98738 </x-m>
      <y-m>  6.68875 </y-m>
      <z-m> -2.17924 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Gouvernes de direction -->
  <animation>
    <type>rotate</type>
    <object-name>direction</object-name>
    <!-- <property>controls/flight/rudder</property> -->
    <property>sim/multiplay/generic/float[16]</property>
    <interpolation>
      <entry><ind> -0.75 </ind><dep> -15 </dep></entry>
      <entry><ind>  0.00 </ind><dep>   0 </dep></entry>
      <entry><ind>  0.75 </ind><dep>  15 </dep></entry>
    </interpolation>
    <axis>
      <x1-m>  9.79505 </x1-m>
      <y1-m>  0.00000 </y1-m>
      <z1-m> -0.64776 </z1-m>
      <x2-m> 11.57599 </x2-m>
      <y2-m>  0.00000 </y2-m>
      <z2-m>  3.23362 </z2-m>
    </axis>
  </animation>

  <!-- Gouverne de profondeur -->
  <animation>
    <type>rotate</type>
    <object-name>profondeurG</object-name>
    <!-- <property>controls/flight/elevator</property> -->
    <property>sim/multiplay/generic/float[15]</property>
    <factor> 15 </factor>
    <axis>
      <x1-m> 12.02813 </x1-m>
      <y1-m> -5.49392 </y1-m>
      <z1-m>  3.69230 </z1-m>
      <x2-m> 11.03433 </x2-m>
      <y2-m> -0.50790 </y2-m>
      <z2-m>  3.65493 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>profondeurD</object-name>
    <!-- <property>controls/flight/elevator</property> -->
    <property>sim/multiplay/generic/float[15]</property>
    <factor> 15 </factor>
    <axis>
      <x1-m> 11.03433 </x1-m>
      <y1-m>  0.50790 </y1-m>
      <z1-m>  3.65493 </z1-m>
      <x2-m> 12.02813 </x2-m>
      <y2-m>  5.49392 </y2-m>
      <z2-m>  3.69230 </z2-m>
    </axis>
  </animation>

  <!-- Animations des ailerons -->
  <animation>
    <type>rotate</type>
    <object-name>aileronG</object-name>
    <property>surface-positions/left-aileron-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m>   0.46246 </x1-m>
      <y1-m> -12.95023 </y1-m>
      <z1-m>  -1.10067 </z1-m>
      <x2-m>   0.11022 </x2-m>
      <y2-m> -10.25128 </y2-m>
      <z2-m>  -0.94113 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>spoilerollG</object-name>
    <property>surface-positions/left-aileron-pos-norm</property>
    <interpolation>
      <entry><ind>  0 </ind><dep>   0 </dep></entry>
      <entry><ind> -1 </ind><dep> -25 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -0.05277 </x1-m>
      <y1-m> -9.22641 </y1-m>
      <z1-m> -0.78611 </z1-m>
      <x2-m> -0.21495 </x2-m>
      <y2-m> -7.67295 </y2-m>
      <z2-m> -0.68543 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>aileronD</object-name>
    <property>surface-positions/right-aileron-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m>  0.11022 </x1-m>
      <y1-m> 10.25128 </y1-m>
      <z1-m> -0.94113 </z1-m>
      <x2-m>  0.46246 </x2-m>
      <y2-m> 12.95023 </y2-m>
      <z2-m> -1.10067 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>spoilerollD</object-name>
    <property>surface-positions/right-aileron-pos-norm</property>
    <interpolation>
      <entry><ind>  0 </ind><dep>   0 </dep></entry>
      <entry><ind> -1 </ind><dep> -25 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -0.21495 </x1-m>
      <y1-m>  7.67295 </y1-m>
      <z1-m> -0.68543 </z1-m>
      <x2-m> -0.05277 </x2-m>
      <y2-m>  9.22641 </y2-m>
      <z2-m> -0.78611 </z2-m>
    </axis>
  </animation>

  <!-- Volets -->
  <animation>
    <type>rotate</type>
    <object-name>flapsG3</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> -3 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.04814 </x-m>
      <y-m> -9.95754 </y-m>
      <z-m> -0.96571 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>flapsG3</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0 </dep></entry>
      <entry><ind> 1 </ind><dep> 1.5 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.22265 </x-m>
      <y-m> -1.78951 </y-m>
      <z-m> -0.56127 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>flapsG1</object-name>
    <object-name>flapsG2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> -5 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.04814 </x-m>
      <y-m> -9.95754 </y-m>
      <z-m> -0.96571 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>flapsG1</object-name>
    <object-name>flapsG2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0 </dep></entry>
      <entry><ind> 1 </ind><dep> 2.5 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.22265 </x-m>
      <y-m> -1.78951 </y-m>
      <z-m> -0.56127 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>flapsG1</object-name>
    <object-name>flapsG2</object-name>
    <object-name>flapsG3</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 33 </factor>
    <axis>
      <x1-m> -0.31411 </x1-m>
      <y1-m> -9.24456 </y1-m>
      <z1-m> -1.24000 </z1-m>
      <x2-m> -1.12932 </x2-m>
      <y2-m> -4.09154 </y2-m>
      <z2-m> -1.01746 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>flapsG1</object-name>
    <object-name>flapsG2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 33 </factor>
    <axis>
      <x1-m> -0.15519 </x1-m>
      <y1-m> -9.95754 </y1-m>
      <z1-m> -1.04270 </z1-m>
      <x2-m> -1.43798 </x2-m>
      <y2-m> -1.69121 </y2-m>
      <z2-m> -0.69806 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>flapsG1</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 33 </factor>
    <axis>
      <x1-m>  0.19450 </x1-m>
      <y1-m> -9.24456 </y1-m>
      <z1-m> -1.11508 </z1-m>
      <x2-m> -0.37226 </x2-m>
      <y2-m> -4.09154 </y2-m>
      <z2-m> -0.83881 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>flapsD3</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0 </dep></entry>
      <entry><ind> 1 </ind><dep> 3 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.04814 </x-m>
      <y-m>  9.95754 </y-m>
      <z-m> -0.96571 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>flapsD3</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0.0 </dep></entry>
      <entry><ind> 1 </ind><dep> -1.5 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.22265 </x-m>
      <y-m>  1.78951 </y-m>
      <z-m> -0.56127 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>flapsD1</object-name>
    <object-name>flapsD2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0 </dep></entry>
      <entry><ind> 1 </ind><dep> 5 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.04814 </x-m>
      <y-m>  9.95754 </y-m>
      <z-m> -0.96571 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>flapsD1</object-name>
    <object-name>flapsD2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0.0 </dep></entry>
      <entry><ind> 1 </ind><dep> -2.5 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.23688 </x-m>
      <y-m>  1.69121 </y-m>
      <z-m> -0.55637 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>flapsD1</object-name>
    <object-name>flapsD2</object-name>
    <object-name>flapsD3</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 33 </factor>
    <axis>
      <x1-m> -1.12932 </x1-m>
      <y1-m>  4.09154 </y1-m>
      <z1-m> -1.01746 </z1-m>
      <x2-m> -0.31411 </x2-m>
      <y2-m>  9.24456 </y2-m>
      <z2-m> -1.24000 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>flapsD1</object-name>
    <object-name>flapsD2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 33 </factor>
    <axis>
      <x1-m> -1.43798 </x1-m>
      <y1-m>  1.69121 </y1-m>
      <z1-m> -0.69806 </z1-m>
      <x2-m> -0.15519 </x2-m>
      <y2-m>  9.95754 </y2-m>
      <z2-m> -1.04270 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>flapsD1</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 33 </factor>
    <axis>
      <x1-m> -0.37226 </x1-m>
      <y1-m>  4.09154 </y1-m>
      <z1-m> -0.83881 </z1-m>
      <x2-m>  0.19450 </x2-m>
      <y2-m>  9.24456 </y2-m>
      <z2-m> -1.11508 </z2-m>
    </axis>
  </animation>

  <!-- Slats -->
  <animation>
    <type>rotate</type>
    <object-name>slatG</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0 </dep></entry>
      <entry><ind> 1 </ind><dep> 1 </dep></entry>
    </interpolation>
    <center>
      <x-m>  -0.41389 </x-m>
      <y-m> -12.73184 </y-m>
      <z-m>  -1.00002 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>slatG</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0.0 </dep></entry>
      <entry><ind> 1 </ind><dep> -0.5 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.20688 </x-m>
      <y-m> -1.60949 </y-m>
      <z-m> -0.11426 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>slatG</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> -20 </dep></entry>
    </interpolation>
    <axis>
      <x1-m>  -0.41389 </x1-m>
      <y1-m> -12.73184 </y1-m>
      <z1-m>  -1.00002 </z1-m>
      <x2-m>  -3.20688 </x2-m>
      <y2-m>  -1.60949 </y2-m>
      <z2-m>  -0.11426 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>slatD</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> -1 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.41389 </x-m>
      <y-m> 12.73184 </y-m>
      <z-m> -1.00002 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>slatD</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.5 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.20688 </x-m>
      <y-m>  1.60949 </y-m>
      <z-m> -0.11426 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>slatD</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> -20 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -3.20688 </x1-m>
      <y1-m>  1.60949 </y1-m>
      <z1-m> -0.11426 </z1-m>
      <x2-m> -0.41389 </x2-m>
      <y2-m> 12.73184 </y2-m>
      <z2-m> -1.00002 </z2-m>
    </axis>
  </animation>

  <!-- Spoliers -->
  <animation>
    <type>rotate</type>
    <object-name>spoilerG1</object-name>
    <property>surface-positions/speedbrake-pos-norm</property>
    <factor> -60 </factor>
    <axis>
      <x1-m> -0.34755 </x1-m>
      <y1-m> -7.57165 </y1-m>
      <z1-m> -0.65313 </z1-m>
      <x2-m> -0.55148 </x2-m>
      <y2-m> -5.63007 </y2-m>
      <z2-m> -0.52662 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>spoilerG2</object-name>
    <property>surface-positions/speedbrake-pos-norm</property>
    <factor> -60 </factor>
    <axis>
      <x1-m> -0.55148 </x1-m>
      <y1-m> -5.63007 </y1-m>
      <z1-m> -0.52662 </z1-m>
      <x2-m> -0.75542 </x2-m>
      <y2-m> -3.68849 </y2-m>
      <z2-m> -0.40012 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>spoilerG3</object-name>
    <property>surface-positions/speedbrake-pos-norm</property>
    <factor> -60 </factor>
    <axis>
      <x1-m> -0.55148 </x1-m>
      <y1-m> -5.63007 </y1-m>
      <z1-m> -0.52662 </z1-m>
      <x2-m> -0.95935 </x2-m>
      <y2-m> -1.74692 </y2-m>
      <z2-m> -0.27361 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>spoilerD1</object-name>
    <property>surface-positions/speedbrake-pos-norm</property>
    <factor> -60 </factor>
    <axis>
      <x1-m> -0.55148 </x1-m>
      <y1-m>  5.63007 </y1-m>
      <z1-m> -0.52662 </z1-m>
      <x2-m> -0.34755 </x2-m>
      <y2-m>  7.57165 </y2-m>
      <z2-m> -0.65313 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>spoilerD2</object-name>
    <property>surface-positions/speedbrake-pos-norm</property>
    <factor> -60 </factor>
    <axis>
      <x1-m> -0.75542 </x1-m>
      <y1-m>  3.68849 </y1-m>
      <z1-m> -0.40012 </z1-m>
      <x2-m> -0.55148 </x2-m>
      <y2-m>  5.63007 </y2-m>
      <z2-m> -0.52662 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>spoilerD3</object-name>
    <property>surface-positions/speedbrake-pos-norm</property>
    <factor> -60 </factor>
    <axis>
      <x1-m> -0.95935 </x1-m>
      <y1-m>  1.74692 </y1-m>
      <z1-m> -0.27361 </z1-m>
      <x2-m> -0.55148 </x2-m>
      <y2-m>  5.63007 </y2-m>
      <z2-m> -0.52662 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>spoilerG</object-name>
    <property>surface-positions/speedbrake-pos-norm</property>
    <factor> -80 </factor>
    <center>
      <x-m>  9.34154 </x-m>
      <y-m> -0.77775 </y-m>
      <z-m> -1.39519 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>spoilerD</object-name>
    <property>surface-positions/speedbrake-pos-norm</property>
    <factor> 80 </factor>
    <center>
      <x-m>  9.34154 </x-m>
      <y-m>  0.77775 </y-m>
      <z-m> -1.39519 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!-- Portes des roues -->
  <animation>
    <type>rotate</type>
    <object-name>porteA</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>    0 </dep></entry>
      <entry><ind> 1 </ind><dep> -105 </dep></entry>
    </interpolation>
    <center>
      <x-m> -11.23484 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -3.23503 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteAG</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.00 </ind><dep>    0 </dep></entry>
      <entry><ind> 0.10 </ind><dep> -100 </dep></entry>
      <entry><ind> 0.80 </ind><dep> -100 </dep></entry>
      <entry><ind> 1.00 </ind><dep>    0 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -11.88215 </x1-m>
      <y1-m>  -0.27859 </y1-m>
      <z1-m>  -3.21326 </z1-m>
      <x2-m> -11.48175 </x2-m>
      <y2-m>  -0.27859 </y2-m>
      <z2-m>  -3.30685 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteAD</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.00 </ind><dep>    0 </dep></entry>
      <entry><ind> 0.10 </ind><dep> -100 </dep></entry>
      <entry><ind> 0.80 </ind><dep> -100 </dep></entry>
      <entry><ind> 1.00 </ind><dep>    0 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -11.48175 </x1-m>
      <y1-m>   0.27859 </y1-m>
      <z1-m>  -3.30685 </z1-m>
      <x2-m> -11.88215 </x2-m>
      <y2-m>   0.27859 </y2-m>
      <z2-m>  -3.21326 </z2-m>
    </axis>
  </animation>


  <animation>
    <type>rotate</type>
    <object-name>porteG</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>    0 </dep></entry>
      <entry><ind> 1 </ind><dep> -110 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.84147 </x-m>
      <y-m> -1.58855 </y-m>
      <z-m> -2.70240 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> 110 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.84147 </x-m>
      <y-m>  1.58855 </y-m>
      <z-m> -2.70240 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Rentrée des roues -->
  <animation>
    <type>rotate</type>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>articuleH</object-name>
    <object-name>articuleB</object-name>
    <object-name>roueA</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 105 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -11.24484 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -3.08502 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>axeG1</object-name>
    <object-name>axeG2</object-name>
    <object-name>roueG</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 115 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.20342 </x-m>
      <y-m> -1.50429 </y-m>
      <z-m> -2.74854 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>axeG1</object-name>
    <object-name>roueG</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -50 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.34535 </x-m>
      <y-m> -2.26572 </y-m>
      <z-m> -3.85033 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>axeD1</object-name>
    <object-name>axeD2</object-name>
    <object-name>roueD</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -115 </dep></entry>
      <entry><ind> 1 </ind><dep>    0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.20342 </x-m>
      <y-m>  1.50429 </y-m>
      <z-m> -2.74854 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>axeD1</object-name>
    <object-name>roueD</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -50 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.34535 </x-m>
      <y-m>  2.26572 </y-m>
      <z-m> -3.85033 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Compression -->
  <animation>
    <type>translate</type>
    <object-name>axeAB</object-name>
    <object-name>roueA</object-name>
    <!-- <property>gear/gear[0]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[27]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.2 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>articuleH</object-name>
    <object-name>articuleB</object-name>
    <!-- <property>gear/gear[0]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[27]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> -30 </dep></entry>
    </interpolation>
    <center>
      <x-m> -11.18196 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -3.54029 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>articuleB</object-name>
    <!-- <property>gear/gear[0]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[27]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> 50 </dep></entry>
    </interpolation>
    <center>
      <x-m> -10.96470 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -3.78883 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>axeG1</object-name>
    <object-name>roueG</object-name>
    <!-- <property>gear/gear[1]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[28]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> -25 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.34535 </x-m>
      <y-m> -2.26572 </y-m>
      <z-m> -3.85033 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>axeD1</object-name>
    <object-name>roueD</object-name>
    <!-- <property>gear/gear[2]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[29]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> -25 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.34535 </x-m>
      <y-m>  2.26572 </y-m>
      <z-m> -3.85033 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Rotation de la roue avant en fonction de la gouverne de direction -->
  <animation>
    <type>rotate</type>
    <object-name>axeAB</object-name>
    <object-name>articuleH</object-name>
    <object-name>articuleB</object-name>
    <object-name>roueA</object-name>
    <!-- <property>gear/gear[0]/caster-angle-deg</property> -->
    <property>sim/multiplay/generic/float[30]</property>
    <factor> -0.5 </factor>
    <center>
      <x-m> -11.24484 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -4.03264 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!-- Rotation des roues lors du roulage -->
  <animation>
    <type>spin</type>
    <object-name>roueA</object-name>
    <!-- <property>gear/gear[0]/rollspeed-ms</property> -->
    <property>sim/multiplay/generic/float[12]</property>
    <factor> -30 </factor>
    <center>
      <x-m> -11.24484 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -4.03264 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueG</object-name>
    <!-- <property>gear/gear[1]/rollspeed-ms</property> -->
    <property>sim/multiplay/generic/float[13]</property>
    <factor> -30 </factor>
    <center>
      <x-m> -0.87393 </x-m>
      <y-m> -2.26572 </y-m>
      <z-m> -3.85033 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueD</object-name>
    <!-- <property>gear/gear[2]/rollspeed-ms</property> -->
    <property>sim/multiplay/generic/float[14]</property>
    <factor> -30 </factor>
    <center>
      <x-m> -0.87393 </x-m>
      <y-m>  2.26572 </y-m>
      <z-m> -3.85033 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Doors -->
  <animation>
    <type>pick</type>
    <object-name>porteL1</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <condition>
          <and>
            <property>gear/gear[0]/wow</property>
            <property>gear/gear[1]/wow</property>
            <property>gear/gear[2]/wow</property>
            <less-than>
              <property>gear/gear[0]/rollspeed-ms</property>
              <value>10</value>
            </less-than>
          </and>
        </condition>
        <command>nasal</command>
        <script>doors.doorL1.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>porteL1</object-name>
    <!-- <property>sim/model/door-positions/doorL1/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0.00 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -0.08 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -0.08 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteL1</object-name>
    <!-- <property>sim/model/door-positions/doorL1/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>    0 </dep></entry>
      <entry><ind> 0.2 </ind><dep>    0 </dep></entry>
      <entry><ind> 0.5 </ind><dep> -180 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -180 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -9.15497 </x1-m>
      <y1-m> -1.71198 </y1-m>
      <z1-m> -1.60043 </z1-m>
      <x2-m> -9.15497 </x2-m>
      <y2-m> -1.61265 </y2-m>
      <z2-m> -1.27527 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>porteR1</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <condition>
          <and>
            <property>gear/gear[0]/wow</property>
            <property>gear/gear[1]/wow</property>
            <property>gear/gear[2]/wow</property>
            <less-than>
              <property>gear/gear[0]/rollspeed-ms</property>
              <value>10</value>
            </less-than>
          </and>
        </condition>
        <command>nasal</command>
        <script>doors.doorR1.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>porteR1</object-name>
    <!-- <property>sim/model/door-positions/doorR1/position-norm</property> -->
    <property>sim/multiplay/generic/float[21]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> 0.00 </dep></entry>
      <entry><ind> 0.2 </ind><dep> 0.08 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 0.08 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteR1</object-name>
    <!-- <property>sim/model/door-positions/doorR1/position-norm</property> -->
    <property>sim/multiplay/generic/float[21]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep>   0 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 180 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -9.15497 </x1-m>
      <y1-m>  1.71198 </y1-m>
      <z1-m> -1.60043 </z1-m>
      <x2-m> -9.15497 </x2-m>
      <y2-m>  1.61265 </y2-m>
      <z2-m> -1.27527 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>porteL2</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <condition>
          <and>
            <property>gear/gear[0]/wow</property>
            <property>gear/gear[1]/wow</property>
            <property>gear/gear[2]/wow</property>
            <less-than>
              <property>gear/gear[0]/rollspeed-ms</property>
              <value>10</value>
            </less-than>
          </and>
        </condition>
        <command>nasal</command>
        <script>doors.doorL2.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>porteL2</object-name>
    <!-- <property>sim/model/door-positions/doorL2/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0.00 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -0.08 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -0.08 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteL2</object-name>
    <!-- <property>sim/model/door-positions/doorL2/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep>   0 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 180 </dep></entry>
    </interpolation>
    <axis>
      <x1-m>  6.38297 </x1-m>
      <y1-m> -1.47543 </y1-m>
      <z1-m> -1.72598 </z1-m>
      <x2-m>  6.38297 </x2-m>
      <y2-m> -1.44634 </y2-m>
      <z2-m> -1.46535 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>porteR2</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <condition>
          <and>
            <property>gear/gear[0]/wow</property>
            <property>gear/gear[1]/wow</property>
            <property>gear/gear[2]/wow</property>
            <less-than>
              <property>gear/gear[0]/rollspeed-ms</property>
              <value>10</value>
            </less-than>
          </and>
        </condition>
        <command>nasal</command>
        <script>doors.doorR2.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>porteR2</object-name>
    <!-- <property>sim/model/door-positions/doorR2/position-norm</property> -->
    <property>sim/multiplay/generic/float[26]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> 0.00 </dep></entry>
      <entry><ind> 0.2 </ind><dep> 0.08 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 0.08 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteR2</object-name>
    <!-- <property>sim/model/door-positions/doorR2/position-norm</property> -->
    <property>sim/multiplay/generic/float[26]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>    0 </dep></entry>
      <entry><ind> 0.2 </ind><dep>    0 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -180 </dep></entry>
    </interpolation>
    <axis>
      <x1-m>  6.38297 </x1-m>
      <y1-m>  1.47543 </y1-m>
      <z1-m> -1.72598 </z1-m>
      <x2-m>  6.38297 </x2-m>
      <y2-m>  1.44634 </y2-m>
      <z2-m> -1.46535 </z2-m>
    </axis>
  </animation>

  <!-- Stairs -->
  <animation>
    <type>rotate</type>
    <object-name>stairsH</object-name>
    <object-name>stairsB</object-name>
    <object-name>stairsbarres1</object-name>
    <object-name>stairsbarres2</object-name>
    <object-name>stairsbarres3</object-name>
    <object-name>stairsbarres4</object-name>
    <object-name>stairsbarres5</object-name>
    <!-- <property>sim/model/door-positions/doorL1/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> -150 </dep></entry>
      <entry><ind> 0.5 </ind><dep> -150 </dep></entry>
      <entry><ind> 1.0 </ind><dep>    0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -8.77756 </x-m>
      <y-m> -1.55730 </y-m>
      <z-m> -2.56849 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>stairsB</object-name>
    <object-name>stairsbarres1</object-name>
    <object-name>stairsbarres5</object-name>
    <!-- <property>sim/model/door-positions/doorL1/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> 180 </dep></entry>
      <entry><ind> 0.5 </ind><dep> 180 </dep></entry>
      <entry><ind> 1.0 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -8.77756 </x-m>
      <y-m> -2.25809 </y-m>
      <z-m> -3.42906 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>stairsbarres3</object-name>
    <object-name>stairsbarres4</object-name>
    <object-name>stairsbarres5</object-name>
    <!-- <property>sim/model/door-positions/doorL1/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> 85 </dep></entry>
      <entry><ind> 0.5 </ind><dep> 85 </dep></entry>
      <entry><ind> 1.0 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -8.77756 </x-m>
      <y-m> -1.64995 </y-m>
      <z-m> -2.64995 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>stairsbarres4</object-name>
    <object-name>stairsbarres5</object-name>
    <!-- <property>sim/model/door-positions/doorL1/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> -85 </dep></entry>
      <entry><ind> 0.5 </ind><dep> -85 </dep></entry>
      <entry><ind> 1.0 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -8.77756 </x-m>
      <y-m> -1.99535 </y-m>
      <z-m> -2.36013 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>stairsbarres2</object-name>
    <!-- <property>sim/model/door-positions/doorL1/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> 85 </dep></entry>
      <entry><ind> 0.5 </ind><dep> 85 </dep></entry>
      <entry><ind> 1.0 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -8.77756 </x-m>
      <y-m> -2.09559 </y-m>
      <z-m> -3.16763 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>stairsbarres1</object-name>
    <!-- <property>sim/model/door-positions/doorL1/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> 85 </dep></entry>
      <entry><ind> 0.5 </ind><dep> 85 </dep></entry>
      <entry><ind> 1.0 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -8.77756 </x-m>
      <y-m> -2.54876 </y-m>
      <z-m> -3.68743 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

</PropertyList>
