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

<PropertyList>

  <path>dhc4.ac</path>

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

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

  <animation>
    <!-- Objets opaques -->
    <object-name>fuselage</object-name>
    <object-name>ailes</object-name>
    <object-name>ajoutailes</object-name>
    <object-name>sousaileronG</object-name>
    <object-name>sousvoletG</object-name>
    <object-name>aileronG</object-name>
    <object-name>voletG1</object-name>
    <object-name>voletG2</object-name>
    <object-name>sousaileronD</object-name>
    <object-name>sousvoletD</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletD1</object-name>
    <object-name>voletD2</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeur</object-name>
    <object-name>direction</object-name>
    <object-name>axeG</object-name>
    <object-name>roueG</object-name>
    <object-name>axeD</object-name>
    <object-name>roueD</object-name>
    <object-name>axeA</object-name>
    <object-name>roueA</object-name>
    <object-name>bolG</object-name>
    <object-name>heliceG</object-name>
    <object-name>bolD</object-name>
    <object-name>heliceD</object-name>
    <object-name>moteurs</object-name>
    <object-name>porteA</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteGE</object-name>
    <object-name>porteGI</object-name>
    <object-name>porteDE</object-name>
    <object-name>porteDI</object-name>
    <object-name>echappes</object-name>
    <object-name>air</object-name>
    <object-name>baieH</object-name>
    <object-name>baieB</object-name>
    <object-name>supportlampe</object-name>

    <object-name>trous</object-name>
    <object-name>cables</object-name>

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

  <animation>
    <type>material</type>
    <object-name>fuselage</object-name>
    <object-name>ailes</object-name>
    <object-name>ajoutailes</object-name>
    <object-name>sousaileronG</object-name>
    <object-name>sousvoletG</object-name>
    <object-name>aileronG</object-name>
    <object-name>voletG1</object-name>
    <object-name>voletG2</object-name>
    <object-name>sousaileronD</object-name>
    <object-name>sousvoletD</object-name>
    <object-name>voletD1</object-name>
    <object-name>voletD2</object-name>
    <object-name>aileronD</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeur</object-name>
    <object-name>direction</object-name>
    <object-name>axeG</object-name>
    <object-name>roueG</object-name>
    <object-name>axeD</object-name>
    <object-name>roueD</object-name>
    <object-name>axeA</object-name>
    <object-name>roueA</object-name>
    <object-name>bolG</object-name>
    <object-name>heliceG</object-name>
    <object-name>bolD</object-name>
    <object-name>heliceD</object-name>
    <object-name>porteA</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteGE</object-name>
    <object-name>porteGI</object-name>
    <object-name>porteDE</object-name>
    <object-name>porteDI</object-name>
    <object-name>moteurs</object-name>
    <object-name>echappes</object-name>
    <object-name>air</object-name>
    <object-name>baieH</object-name>
    <object-name>baieB</object-name>
    <object-name>supportlampe</object-name>
    <object-name>trous</object-name>
    <object-name>cables</object-name>
    <object-name>vitres</object-name>
    <object-name>beaconC</object-name>
    <object-name>propdiscG</object-name>
    <object-name>propdiscD</object-name>
    <object-name>propblurG</object-name>
    <object-name>propblurD</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/dhc4/Models/Effects/Bump/bumpspec</inherits-from>
    <object-name>fuselage</object-name>
    <object-name>ailes</object-name>
    <object-name>ajoutailes</object-name>
    <object-name>sousaileronG</object-name>
    <object-name>sousvoletG</object-name>
    <object-name>voletG1</object-name>
    <object-name>voletG2</object-name>
    <object-name>aileronG</object-name>
    <object-name>sousaileronD</object-name>
    <object-name>sousvoletD</object-name>
    <object-name>voletD1</object-name>
    <object-name>voletD2</object-name>
    <object-name>aileronD</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeur</object-name>
    <object-name>direction</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>air</object-name>
    <object-name>porteA</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteGE</object-name>
    <object-name>porteGI</object-name>
    <object-name>porteDE</object-name>
    <object-name>porteDI</object-name>
    <object-name>moteurs</object-name>
    <object-name>baieH</object-name>
    <object-name>baieB</object-name>
    <object-name>supportlampe</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>

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

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

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

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

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

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

  <!-- Les hélices -->
  <animation>
    <name>HeliceCompleteGauche</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>1500</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>600.000</value>
      </greater-than>
      <less-than>
        <property>engines/engine[0]/rpm</property>
        <value>1500.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>1500</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>HeliceCompleteGauche</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.711 </x-m>
      <y-m> -3.449 </y-m>
      <z-m> -2.199 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <name>HeliceCompleteDroite</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>1500</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>600.000</value>
      </greater-than>
      <less-than>
        <property>engines/engine[1]/rpm</property>
        <value>1500.001</value>
      </less-than>
    </and>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>heliceD</object-name>
    <condition>
      <less-than>
        <property>engines/engine[1]/rpm</property>
        <value>1500</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>HeliceCompleteDroite</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.711 </x-m>
      <y-m>  3.449 </y-m>
      <z-m> -2.199 </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>surface-positions/rudder-pos-norm</property>
    <factor> -15 </factor>
    <axis>
      <x1-m>  9.463 </x1-m>
      <y1-m>  0.000 </y1-m>
      <z1-m> -0.780 </z1-m>
      <x2-m>  9.400 </x2-m>
      <y2-m>  0.000 </y2-m>
      <z2-m>  3.757 </z2-m>
    </axis>
  </animation>

  <!-- Gouverne de profondeur -->
  <animation>
    <type>rotate</type>
    <object-name>profondeur</object-name>
    <!-- <property>controls/flight/elevator</property> -->
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 15 </factor>
    <center>
      <x-m> 8.980 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 0.718 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Ailerons et volets -->
  <animation>
    <name>VoletsGauche</name>
    <object-name>sousvoletG</object-name>
    <object-name>voletG1</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>VoletsGauche</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 20 </factor>
    <axis>
      <x1-m> -2.017 </x1-m>
      <y1-m> -2.623 </y1-m>
      <z1-m> -2.786 </z1-m>
      <x2-m> -2.000 </x2-m>
      <y2-m> -1.528 </y2-m>
      <z2-m> -2.614 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletG1</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -1.849 </x1-m>
      <y1-m> -3.829 </y1-m>
      <z1-m> -1.962 </z1-m>
      <x2-m> -1.814 </x2-m>
      <y2-m> -1.239 </y2-m>
      <z2-m> -1.744 </z2-m>
    </axis>
  </animation>

  <animation>
    <name>VoletsDroit</name>
    <object-name>sousvoletD</object-name>
    <object-name>voletD1</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>VoletsDroit</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 20 </factor>
    <axis>
      <x1-m> -2.000 </x1-m>
      <y1-m>  1.528 </y1-m>
      <z1-m> -2.614 </z1-m>
      <x2-m> -2.017 </x2-m>
      <y2-m>  2.623 </y2-m>
      <z2-m> -2.786 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletD1</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -1.814 </x1-m>
      <y1-m>  1.239 </y1-m>
      <z1-m> -1.744 </z1-m>
      <x2-m> -1.849 </x2-m>
      <y2-m>  3.829 </y2-m>
      <z2-m> -1.962 </z2-m>
    </axis>
  </animation>

  <animation>
    <name>AileronsVoletsGauche</name>
    <object-name>sousaileronG</object-name>
    <object-name>aileronG</object-name>
    <object-name>voletG2</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>AileronsVoletsGauche</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 20 </factor>
    <axis>
      <x1-m>  -3.465 </x1-m>
      <y1-m> -13.952 </y1-m>
      <z1-m>  -1.394 </z1-m>
      <x2-m>  -1.917 </x2-m>
      <y2-m>  -4.651 </y2-m>
      <z2-m>  -2.728 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletG2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -2.218 </x1-m>
      <y1-m> -6.674 </y1-m>
      <z1-m> -1.726 </z1-m>
      <x2-m> -1.849 </x2-m>
      <y2-m> -3.829 </y2-m>
      <z2-m> -1.962 </z2-m>
    </axis>
  </animation>

  <animation>
    <name>AileronsVoletsDroit</name>
    <object-name>sousaileronD</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletD2</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>AileronsVoletsDroit</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 20 </factor>
    <axis>
      <x1-m>  -1.917 </x1-m>
      <y1-m>   4.651 </y1-m>
      <z1-m>  -2.728 </z1-m>
      <x2-m>  -3.465 </x2-m>
      <y2-m>  13.952 </y2-m>
      <z2-m>  -1.394 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletD2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -1.849 </x1-m>
      <y1-m>  3.829 </y1-m>
      <z1-m> -1.962 </z1-m>
      <x2-m> -2.218 </x2-m>
      <y2-m>  6.674 </y2-m>
      <z2-m> -1.726 </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> 20 </factor>
    <axis>
      <x1-m>  -3.371 </x1-m>
      <y1-m> -14.027 </y1-m>
      <z1-m>  -0.990 </z1-m>
      <x2-m>  -2.218 </x2-m>
      <y2-m>  -6.674 </y2-m>
      <z2-m>  -1.726 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>aileronD</object-name>
    <property>surface-positions/right-aileron-pos-norm</property>
    <factor> 20 </factor>
    <axis>
      <x1-m> -2.218 </x1-m>
      <y1-m>  6.674 </y1-m>
      <z1-m> -1.726 </z1-m>
      <x2-m> -3.371 </x2-m>
      <y2-m> 14.027 </y2-m>
      <z2-m> -0.990 </z2-m>
    </axis>
  </animation>

  <!-- Animation des portes -->
  <animation>
    <type>rotate</type>
    <object-name>porteA</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 130 </dep></entry>
    </interpolation>
    <center>
      <x-m> -10.635 </x-m>
      <y-m>   0.000 </y-m>
      <z-m>  -3.546 </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[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.1 </ind><dep> -95 </dep></entry>
      <entry><ind> 0.9 </ind><dep> -95 </dep></entry>
      <entry><ind> 1.0 </ind><dep>   0 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -9.692 </x1-m>
      <y1-m> -0.371 </y1-m>
      <z1-m> -3.786 </z1-m>
      <x2-m> -9.009 </x2-m>
      <y2-m> -0.405 </y2-m>
      <z2-m> -3.823 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteAD</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.1 </ind><dep> -95 </dep></entry>
      <entry><ind> 0.9 </ind><dep> -95 </dep></entry>
      <entry><ind> 1.0 </ind><dep>   0 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -9.009 </x1-m>
      <y1-m>  0.405 </y1-m>
      <z1-m> -3.823 </z1-m>
      <x2-m> -9.692 </x2-m>
      <y2-m>  0.371 </y2-m>
      <z2-m> -3.786 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteGE</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.1 </ind><dep> -90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -4.193 </x1-m>
      <y1-m> -3.892 </y1-m>
      <z1-m> -2.723 </z1-m>
      <x2-m> -3.073 </x2-m>
      <y2-m> -3.892 </y2-m>
      <z2-m> -2.531 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteGI</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.1 </ind><dep> 90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -4.193 </x1-m>
      <y1-m> -3.006 </y1-m>
      <z1-m> -2.722 </z1-m>
      <x2-m> -3.073 </x2-m>
      <y2-m> -3.006 </y2-m>
      <z2-m> -2.530 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteDI</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.1 </ind><dep> 90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -3.073 </x1-m>
      <y1-m>  3.006 </y1-m>
      <z1-m> -2.530 </z1-m>
      <x2-m> -4.193 </x2-m>
      <y2-m>  3.006 </y2-m>
      <z2-m> -2.722 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteDE</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.1 </ind><dep> -90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -3.073 </x1-m>
      <y1-m>  3.892 </y1-m>
      <z1-m> -2.531 </z1-m>
      <x2-m> -4.193 </x2-m>
      <y2-m>  3.892 </y2-m>
      <z2-m> -2.723 </z2-m>
    </axis>
  </animation>

  <!-- Rentré des roues -->
  <animation>
    <name>TrainAvant</name>
    <object-name>roueA</object-name>
    <object-name>axeA</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> -80 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -10.537 </x-m>
      <y-m>   0.000 </y-m>
      <z-m>  -3.091 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>TrainGauche</name>
    <object-name>roueG</object-name>
    <object-name>axeG</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.785 </x-m>
      <y-m> -3.449 </y-m>
      <z-m> -2.483 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>roueG</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.20 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.00 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <name>TrainDroit</name>
    <object-name>roueD</object-name>
    <object-name>axeD</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.785 </x-m>
      <y-m>  3.449 </y-m>
      <z-m> -2.483 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>roueD</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.20 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.00 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </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> -->
    <property>sim/multiplay/generic/float[17]</property>
    <factor> -0.8 </factor>
    <center>
      <x-m> -10.582 </x-m>
      <y-m>   0.000 </y-m>
      <z-m>  -4.447 </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[10]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -10.582 </x-m>
      <y-m>   0.000 </y-m>
      <z-m>  -4.447 </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[11]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -2.859 </x-m>
      <y-m> -3.449 </y-m>
      <z-m> -4.191 </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[12]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -2.859 </x-m>
      <y-m>  3.449 </y-m>
      <z-m> -4.191 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Portes cargo arriere -->
  <animation>
    <name>LaBaieCargo</name>
    <object-name>baieB</object-name>
    <object-name>baieH</object-name>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>LaBaieCargo</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>doors.passenger.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>baieB</object-name>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> 45 </factor>
    <center>
      <x-m>  0.782 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -3.806 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>baieH</object-name>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> 20 </factor>
    <center>
      <x-m>  5.614 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -1.924 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

</PropertyList>
