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

<PropertyList>

  <path>dc5.ac</path>

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

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

  <animation>
    <!-- Objets opaques -->
    <object-name>fuselage</object-name>
    <object-name>porteA</object-name>
    <object-name>porteB</object-name>
    <object-name>ailes</object-name>
    <object-name>voletG1</object-name>
    <object-name>voletG2</object-name>
    <object-name>voletD1</object-name>
    <object-name>voletD2</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>ailes2</object-name>
    <object-name>direction</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>derive</object-name>
    <object-name>moteurs</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>caches</object-name>
    <object-name>cowlflaps</object-name>
    <object-name>antennes</object-name>

    <object-name>trous</object-name>
    <object-name>heliceG</object-name>
    <object-name>heliceD</object-name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>articuleAH</object-name>
    <object-name>articuleAB</object-name>
    <object-name>roueA</object-name>
    <object-name>axeGH</object-name>
    <object-name>axeGB</object-name>
    <object-name>articuleGH</object-name>
    <object-name>articuleGB</object-name>
    <object-name>roueG</object-name>
    <object-name>axeDH</object-name>
    <object-name>axeDB</object-name>
    <object-name>articuleDH</object-name>
    <object-name>articuleDB</object-name>
    <object-name>roueD</object-name>
    <object-name>echappes</object-name>
    <object-name>cable</object-name>
    <object-name>lampes</object-name>

    <!-- Objets transparents -->
    <object-name>vitres</object-name>
    <object-name>propblurG</object-name>
    <object-name>propblurD</object-name>
    <object-name>propdiscG</object-name>
    <object-name>propdiscD</object-name>
    <!-- HDR mode -->
    <object-name>HDRvitres</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>fuselage</object-name>
    <object-name>porteA</object-name>
    <object-name>porteB</object-name>
    <object-name>ailes</object-name>
    <object-name>voletG1</object-name>
    <object-name>voletG2</object-name>
    <object-name>voletD1</object-name>
    <object-name>voletD2</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>ailes2</object-name>
    <object-name>direction</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>derive</object-name>
    <object-name>moteurs</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>caches</object-name>
    <object-name>cowlflaps</object-name>
    <object-name>antennes</object-name>
    <object-name>trous</object-name>
    <object-name>heliceG</object-name>
    <object-name>heliceD</object-name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>articuleAH</object-name>
    <object-name>articuleAB</object-name>
    <object-name>roueA</object-name>
    <object-name>axeGH</object-name>
    <object-name>axeGB</object-name>
    <object-name>articuleGH</object-name>
    <object-name>articuleGB</object-name>
    <object-name>roueG</object-name>
    <object-name>axeDH</object-name>
    <object-name>axeDB</object-name>
    <object-name>articuleDH</object-name>
    <object-name>articuleDB</object-name>
    <object-name>roueD</object-name>
    <object-name>echappes</object-name>
    <object-name>cable</object-name>
    <object-name>lampes</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>Effects/Bump/bumpspec</inherits-from>
    <object-name>fuselage</object-name>
    <object-name>porteA</object-name>
    <object-name>porteB</object-name>
    <object-name>ailes</object-name>
    <object-name>voletG1</object-name>
    <object-name>voletG2</object-name>
    <object-name>voletD1</object-name>
    <object-name>voletD2</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>ailes2</object-name>
    <object-name>direction</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>derive</object-name>
    <object-name>moteurs</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>caches</object-name>
    <object-name>cowlflaps</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>
    </condition>
    <object-name>HDRvitres</object-name>
  </animation>

  <animation>
    <type>select</type>
    <condition>
      <not><property>/sim/rendering/hdr/hdr-enabled</property></not>
    </condition>
    <object-name>vitres</object-name>
  </animation>

  <!-- ********************************* -->
  <effect>
    <inherits-from>Effects/model-transparent</inherits-from>
    <object-name>propblurG</object-name>
    <object-name>propblurD</object-name>
    <object-name>propdiscG</object-name>
    <object-name>propdiscD</object-name>
  </effect>

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

  <model>
    <path>Engines/all-engines.xml</path>
  </model>

  <model>
    <path>Effects/cranking/all-crankings.xml</path>
  </model>

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

  <model>
    <path>Effects/tiptrail/all-tiptrails.xml</path>
  </model>

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

  <!-- Les hélices -->
  <animation>
    <name>HeliceCompleteG</name>
    <object-name>propdiscG</object-name>
    <object-name>propblurG</object-name>
    <object-name>heliceG</object-name>
    <object-name>bolG</object-name>
  </animation>

  <!-- Séléction de l'objet visible en fonction des rpm -->
  <animation>
    <type>select</type>
    <object-name>propdiscG</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[0]/rpm</property>
        <value>1100</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>propblurG</object-name>
    <condition>
      <and>
        <greater-than>
          <property>engines/engine[0]/rpm</property>
          <value>500.000</value>
        </greater-than>
        <less-than>
          <property>engines/engine[0]/rpm</property>
          <value>1100.001</value>
        </less-than>
      </and>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>heliceG</object-name>
    <condition>
      <less-than>
        <property>engines/engine[0]/rpm</property>
        <value>1100</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>HeliceCompleteG</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[0]/rpm</property>
        <value> 5 </value>
      </greater-than>
    </condition>
    <property>engines/engine[0]/rpm</property>
    <factor> 1 </factor>
    <center>
      <x-m> -6.55246 </x-m>
      <y-m> -3.52331 </y-m>
      <z-m> -0.36904 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <name>HeliceCompleteD</name>
    <object-name>propdiscD</object-name>
    <object-name>propblurD</object-name>
    <object-name>heliceD</object-name>
    <object-name>bolD</object-name>
  </animation>

  <!-- Séléction de l'objet visible en fonction des rpm -->
  <animation>
    <type>select</type>
    <object-name>propdiscD</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[1]/rpm</property>
        <value> 1100 </value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>propblurD</object-name>
    <condition>
      <and>
        <greater-than>
          <property>engines/engine[1]/rpm</property>
          <value> 500.000 </value>
        </greater-than>
        <less-than>
          <property>engines/engine[1]/rpm</property>
          <value> 1100.001 </value>
        </less-than>
      </and>
    </condition>
  </animation>

  <animation>appliquer un patch diff
    <type>select</type>
    <object-name>heliceD</object-name>
    <condition>
      <less-than>
        <property>engines/engine[1]/rpm</property>
        <value> 1100 </value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>HeliceCompleteD</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[1]/rpm</property>
        <value> 5 </value>
      </greater-than>
    </condition>
    <property>engines/engine[1]/rpm</property>
    <factor> 1 </factor>
    <center>
      <x-m> -6.55246 </x-m>
      <y-m>  3.52331 </y-m>
      <z-m> -0.36904 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Gouverne de direction -->
  <animation>
    <type>rotate</type>
    <object-name>direction</object-name>
    <property>controls/flight/rudder</property>
    <factor> 15 </factor>
    <axis>
      <x1-m>  7.79817 </x1-m>
      <y1-m>  0.00000 </y1-m>
      <z1-m> -0.00990 </z1-m>
      <x2-m>  7.91273 </x2-m>
      <y2-m>  0.00000 </y2-m>
      <z2-m>  2.79647 </z2-m>
    </axis>
  </animation>

  <!-- Gouverne de profondeur -->
  <animation>
    <type>rotate</type>
    <object-name>profondeurG</object-name>
    <property>controls/flight/elevator</property>
    <factor> 15 </factor>
    <axis>
      <x1-m>  8.29525 </x1-m>
      <y1-m> -3.84300 </y1-m>
      <z1-m>  0.48623 </z1-m>
      <x2-m>  8.19572 </x2-m>
      <y2-m> -0.43227 </y2-m>
      <z2-m> -0.28128 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>profondeurD</object-name>
    <property>controls/flight/elevator</property>
    <factor> 15 </factor>
    <axis>
      <x1-m>  8.19572 </x1-m>
      <y1-m>  0.43227 </y1-m>
      <z1-m> -0.28128 </z1-m>
      <x2-m>  8.29525 </x2-m>
      <y2-m>  3.84300 </y2-m>
      <z2-m>  0.48623 </z2-m>
    </axis>
  </animation>

  <!-- Animations des ailerons -->
  <animation>
    <type>rotate</type>
    <object-name>aileronG</object-name>
    <property>surface-positions/left-aileron-pos-norm</property>
    <interpolation>
      <entry><ind> -0.75 </ind><dep> -20.0 </dep></entry>
      <entry><ind>  0.00 </ind><dep>   0.0 </dep></entry>
      <entry><ind>  0.75 </ind><dep>  20.0 </dep></entry>
    </interpolation>
    <axis>
      <x1-m>  -2.55286 </x1-m>
      <y1-m> -11.27247 </y1-m>
      <z1-m>   0.15346 </z1-m>
      <x2-m>  -1.58471 </x2-m>
      <y2-m>  -6.10113 </y2-m>
      <z2-m>  -0.28943 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>aileronD</object-name>
    <property>surface-positions/right-aileron-pos-norm</property>
    <interpolation>
      <entry><ind> -0.75 </ind><dep> -20.0 </dep></entry>
      <entry><ind>  0.00 </ind><dep>   0.0 </dep></entry>
      <entry><ind>  0.75 </ind><dep>  20.0 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -1.58471 </x1-m>
      <y1-m>  6.10113 </y1-m>
      <z1-m> -0.28943 </z1-m>
      <x2-m> -2.55286 </x2-m>
      <y2-m> 11.27247 </y2-m>
      <z2-m>  0.15346 </z2-m>
    </axis>
  </animation>

  <!-- Animations des volets -->
  <animation>
    <type>rotate</type>
    <object-name>voletG1</object-name>
    <property>surface-positions/flaps-pos-norm</property>
    <factor> 65 </factor>
    <axis>
      <x1-m> -1.41585 </x1-m>
      <y1-m> -4.37736 </y1-m>
      <z1-m> -0.63173 </z1-m>
      <x2-m> -1.41585 </x2-m>
      <y2-m> -1.37760 </y2-m>
      <z2-m> -0.62286 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletG2</object-name>
    <property>surface-positions/flaps-pos-norm</property>
    <factor> 65 </factor>
    <axis>
      <x1-m> -1.69861 </x1-m>
      <y1-m> -6.10143 </y1-m>
      <z1-m> -0.46611 </z1-m>
      <x2-m> -1.41585 </x2-m>
      <y2-m> -4.37736 </y2-m>
      <z2-m> -0.63173 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletD1</object-name>
    <property>surface-positions/flaps-pos-norm</property>
    <factor> 65 </factor>
    <axis>
      <x1-m> -1.41585 </x1-m>
      <y1-m>  1.37760 </y1-m>
      <z1-m> -0.62286 </z1-m>
      <x2-m> -1.41585 </x2-m>
      <y2-m>  4.37736 </y2-m>
      <z2-m> -0.63173 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletD2</object-name>
    <property>surface-positions/flaps-pos-norm</property>
    <factor> 65 </factor>
    <axis>
      <x1-m> -1.41585 </x1-m>
      <y1-m>  4.37736 </y1-m>
      <z1-m> -0.63173 </z1-m>
      <x2-m> -1.69861 </x2-m>
      <y2-m>  6.10143 </y2-m>
      <z2-m> -0.46611 </z2-m>
    </axis>
  </animation>

  <!-- Animation des portes des trains -->
  <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.05 </ind><dep> -90 </dep></entry>
      <entry><ind> 1.00 </ind><dep> -90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -7.67399 </x1-m>
      <y1-m> -0.22826 </y1-m>
      <z1-m> -2.31763 </z1-m>
      <x2-m> -7.06957 </x2-m>
      <y2-m> -0.22826 </y2-m>
      <z2-m> -2.39411 </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.05 </ind><dep> -90 </dep></entry>
      <entry><ind> 1.00 </ind><dep> -90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -7.06957 </x1-m>
      <y1-m>  0.22826 </y1-m>
      <z1-m> -2.39411 </z1-m>
      <x2-m> -7.67399 </x2-m>
      <y2-m>  0.22826 </y2-m>
      <z2-m> -2.31763 </z2-m>
    </axis>
  </animation>

  <!-- Compression -->
  <animation>
    <name>RoueAvant</name>
    <object-name>axeAB</object-name>
    <object-name>articuleAH</object-name>
    <object-name>articuleAB</object-name>
    <object-name>roueA</object-name>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>RoueAvant</object-name>
    <property>gear/gear[0]/compression-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0000 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.1170 </dep></entry>
    </interpolation>
    <axis>
      <x> 0.04 </x>
      <y> 0.00 </y>
      <z> 0.11 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>articuleAH</object-name>
    <object-name>articuleAB</object-name>
    <property>gear/gear[0]/compression-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> 20 </dep></entry>
    </interpolation>
    <center>
      <x-m> -8.07532 </x-m>
      <y-m>  0.00042 </y-m>
      <z-m> -2.63278 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>articuleAH</object-name>
    <property>gear/gear[0]/compression-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> -40 </dep></entry>
    </interpolation>
    <center>
      <x-m> -7.89519 </x-m>
      <y-m> -0.01403 </y-m>
      <z-m> -2.59400 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>RoueGauche</name>
    <object-name>axeGB</object-name>
    <object-name>articuleGH</object-name>
    <object-name>articuleGB</object-name>
    <object-name>roueG</object-name>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>RoueGauche</object-name>
    <property>gear/gear[1]/compression-norm</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>articuleGH</object-name>
    <object-name>articuleGB</object-name>
    <property>gear/gear[1]/compression-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> 20 </dep></entry>
    </interpolation>
    <center>
      <x-m> -2.60976 </x-m>
      <y-m> -3.53472 </y-m>
      <z-m> -2.00175 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>articuleGH</object-name>
    <property>gear/gear[1]/compression-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> -40 </dep></entry>
    </interpolation>
    <center>
      <x-m> -2.36733 </x-m>
      <y-m> -3.55717 </y-m>
      <z-m> -1.84939 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>RoueDroite</name>
    <object-name>axeDB</object-name>
    <object-name>articuleDH</object-name>
    <object-name>articuleDB</object-name>
    <object-name>roueD</object-name>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>RoueDroite</object-name>
    <property>gear/gear[2]/compression-norm</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>articuleDH</object-name>
    <object-name>articuleDB</object-name>
    <property>gear/gear[2]/compression-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> 20 </dep></entry>
    </interpolation>
    <center>
      <x-m> -2.60976 </x-m>
      <y-m>  3.53472 </y-m>
      <z-m> -2.00175 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>articuleDH</object-name>
    <property>gear/gear[2]/compression-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> -40 </dep></entry>
    </interpolation>
    <center>
      <x-m> -2.36733 </x-m>
      <y-m>  3.55717 </y-m>
      <z-m> -1.84939 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Rentrée des roues -->
  <animation>
    <name>TrainAvant</name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>articuleAH</object-name>
    <object-name>articuleAB</object-name>
    <object-name>roueA</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainAvant</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -110 </dep></entry>
      <entry><ind> 1 </ind><dep>    0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -7.96105 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -2.11894 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>TrainGauche</name>
    <object-name>axeGH</object-name>
    <object-name>axeGB</object-name>
    <object-name>articuleGH</object-name>
    <object-name>articuleGB</object-name>
    <object-name>roueG</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainGauche</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -95 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -2.70109 </x-m>
      <y-m> -3.53510 </y-m>
      <z-m> -0.66904 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>TrainDroit</name>
    <object-name>roueD</object-name>
    <object-name>axeDH</object-name>
    <object-name>axeDB</object-name>
    <object-name>articuleDH</object-name>
    <object-name>articuleDB</object-name>
    <object-name>roueD</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainDroit</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 95 </dep></entry>
      <entry><ind> 1 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -2.70109 </x-m>
      <y-m>  3.53510 </y-m>
      <z-m> -0.66904 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Rotation de la roue avant en fonction de la gouverne de direction -->
  <animation>
    <type>rotate</type>
    <object-name>TrainAvant</object-name>
    <property>gear/gear[0]/caster-angle-deg</property>
    <factor> -0.8 </factor>
    <axis>
      <x1-m> -8.11221 </x1-m>
      <y1-m>  0.00000 </y1-m>
      <z1-m> -2.56236 </z1-m>
      <x2-m> -7.98176 </x2-m>
      <y2-m>  0.00000 </y2-m>
      <z2-m> -2.19581 </z2-m>
    </axis>
  </animation>

  <!-- Rotation des roues lors du roulage -->
  <animation>
    <type>spin</type>
    <object-name>roueA</object-name>
    <property>gear/gear[0]/rollspeed-ms</property>
    <factor> 30 </factor>
    <center>
      <x-m> -8.26000 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -2.98389 </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>
    <factor> 30 </factor>
    <center>
      <x-m> -2.69283 </x-m>
      <y-m> -3.53537 </y-m>
      <z-m> -2.61262 </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>
    <factor> 30 </factor>
    <center>
      <x-m> -2.69283 </x-m>
      <y-m>  3.53537 </y-m>
      <z-m> -2.61262 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Doors -->
  <animation>
    <type>pick</type>
    <object-name>porteA</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.crew.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteA</object-name>
    <property>sim/model/door-positions/crew/position-norm</property>
    <factor> 180 </factor>
    <axis>
      <x1-m> -7.08890 </x1-m>
      <y1-m> -1.20437 </y1-m>
      <z1-m> -1.43264 </z1-m>
      <x2-m> -7.08890 </x2-m>
      <y2-m> -1.13449 </y2-m>
      <z2-m> -1.66139 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>porteB</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.passenger.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteB</object-name>
    <property>sim/model/door-positions/passenger/position-norm</property>
    <factor> -125 </factor>
    <center>
      <x-m> -0.06705 </x-m>
      <y-m> -1.28944 </y-m>
      <z-m> -1.17423 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

</PropertyList>
