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

<PropertyList>

  <path>bv170.ac</path>

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

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

  <animation>
    <!-- Objets opaques -->
    <object-name>fuselage</object-name>
    <object-name>capots</object-name>
    <object-name>ailes</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>volets</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeur</object-name>
    <object-name>moteurs</object-name>
    <object-name>derives</object-name>
    <object-name>directionG</object-name>
    <object-name>directionD</object-name>
    <object-name>porteGG</object-name>
    <object-name>porteGD</object-name>
    <object-name>porteCG</object-name>
    <object-name>porteCD</object-name>
    <object-name>porteDG</object-name>
    <object-name>porteDD</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>bolG</object-name>
    <object-name>bolC</object-name>
    <object-name>bolD</object-name>

    <object-name>echappes</object-name>
    <object-name>heliceG</object-name>
    <object-name>heliceC</object-name>
    <object-name>heliceD</object-name>
    <object-name>axeG</object-name>
    <object-name>axeGB</object-name>
    <object-name>articuleGH</object-name>
    <object-name>articuleGB</object-name>
    <object-name>roueG</object-name>
    <object-name>axeC</object-name>
    <object-name>axeCB</object-name>
    <object-name>articuleCH</object-name>
    <object-name>articuleCB</object-name>
    <object-name>roueC</object-name>
    <object-name>axeD</object-name>
    <object-name>axeDB</object-name>
    <object-name>articuleDH</object-name>
    <object-name>articuleDB</object-name>
    <object-name>roueD</object-name>
    <object-name>axeA</object-name>
    <object-name>roueA</object-name>
    <object-name>trous</object-name>

    <!-- Objets transparents -->
    <object-name>vitres</object-name>
    <object-name>propdiscG</object-name>
    <object-name>propblurG</object-name>
    <object-name>propdiscC</object-name>
    <object-name>propblurC</object-name>
    <object-name>propdiscD</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>capots</object-name>
    <object-name>ailes</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>volets</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeur</object-name>
    <object-name>moteurs</object-name>
    <object-name>derives</object-name>
    <object-name>directionG</object-name>
    <object-name>directionD</object-name>
    <object-name>porteGG</object-name>
    <object-name>porteGD</object-name>
    <object-name>porteCG</object-name>
    <object-name>porteCD</object-name>
    <object-name>porteDG</object-name>
    <object-name>porteDD</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>bolG</object-name>
    <object-name>bolC</object-name>
    <object-name>bolD</object-name>
    <object-name>echappes</object-name>
    <object-name>heliceG</object-name>
    <object-name>heliceC</object-name>
    <object-name>heliceD</object-name>
    <object-name>axeG</object-name>
    <object-name>axeGB</object-name>
    <object-name>articuleGH</object-name>
    <object-name>articuleGB</object-name>
    <object-name>roueG</object-name>
    <object-name>axeC</object-name>
    <object-name>axeCB</object-name>
    <object-name>articuleCH</object-name>
    <object-name>articuleCB</object-name>
    <object-name>roueC</object-name>
    <object-name>axeD</object-name>
    <object-name>axeDB</object-name>
    <object-name>articuleDH</object-name>
    <object-name>articuleDB</object-name>
    <object-name>roueD</object-name>
    <object-name>axeA</object-name>
    <object-name>roueA</object-name>
    <object-name>trous</object-name>
    <object-name>vitres</object-name>
    <object-name>propdiscG</object-name>
    <object-name>propblurG</object-name>
    <object-name>propdiscC</object-name>
    <object-name>propblurC</object-name>
    <object-name>propdiscD</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/BV-170/Models/Effects/Bump/bumpspec</inherits-from>
    <object-name>fuselage</object-name>
    <object-name>capots</object-name>
    <object-name>ailes</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>volets</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeur</object-name>
    <object-name>moteurs</object-name>
    <object-name>derives</object-name>
    <object-name>directionG</object-name>
    <object-name>directionD</object-name>
    <object-name>porteGG</object-name>
    <object-name>porteGD</object-name>
    <object-name>porteCG</object-name>
    <object-name>porteCD</object-name>
    <object-name>porteDG</object-name>
    <object-name>porteDD</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>bolG</object-name>
    <object-name>bolC</object-name>
    <object-name>bolD</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>propdiscG</object-name>
    <object-name>propblurG</object-name>
    <object-name>propdiscC</object-name>
    <object-name>propblurC</object-name>
    <object-name>propdiscD</object-name>
    <object-name>propblurD</object-name>
  </effect>

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

  <model>
    <path>light/all-lights.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>

  <!-- Les helices -->
  <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>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>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.691 </x-m>
      <y-m> -7.343 </y-m>
      <z-m>  0.681 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <name>HeliceCompleteC</name>
    <object-name>propdiscC</object-name>
    <object-name>propblurC</object-name>
    <object-name>heliceC</object-name>
    <object-name>bolC</object-name>
  </animation>

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

  <animation>
    <type>select</type>
    <object-name>propblurC</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>heliceC</object-name>
    <condition>
      <less-than>
        <property>engines/engine[1]/rpm</property>
        <value>1500</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>HeliceCompleteC</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.691 </x-m>
      <y-m>  0.000 </y-m>
      <z-m>  0.681 </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[2]/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[2]/rpm</property>
        <value>600.000</value>
      </greater-than>
      <less-than>
        <property>engines/engine[2]/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[2]/rpm</property>
        <value>1500</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>HeliceCompleteD</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[2]/rpm</property>
        <value> 5 </value>
      </greater-than>
    </condition>
    <property>engines/engine[2]/rpm</property>
    <factor> 1 </factor>
    <center>
      <x-m> -6.691 </x-m>
      <y-m>  7.343 </y-m>
      <z-m>  0.681 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </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> 5.726 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 1.265 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Gouverne de direction -->
  <animation>
    <type>rotate</type>
    <object-name>directionG</object-name>
    <!-- <property>controls/flight/rudder</property> -->
    <property>surface-positions/rudder-pos-norm</property>
    <factor> 15 </factor>
    <center>
      <x-m>  1.029 </x-m>
      <y-m> -7.343 </y-m>
      <z-m>  0.595 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>directionD</object-name>
    <!-- <property>controls/flight/rudder</property> -->
    <property>surface-positions/rudder-pos-norm</property>
    <factor> 15 </factor>
    <center>
      <x-m> 1.029 </x-m>
      <y-m> 7.343 </y-m>
      <z-m> 0.595 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </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> -1 </ind><dep> -35 </dep></entry>
      <entry><ind>  0 </ind><dep>   0 </dep></entry>
      <entry><ind>  1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.823 </x-m>
      <y-m> -3.636 </y-m>
      <z-m>  0.976 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>aileronD</object-name>
    <property>surface-positions/right-aileron-pos-norm</property>
    <interpolation>
      <entry><ind> -1 </ind><dep> -35 </dep></entry>
      <entry><ind>  0 </ind><dep>   0 </dep></entry>
      <entry><ind>  1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.823 </x-m>
      <y-m>  3.636 </y-m>
      <z-m>  0.976 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Volets -->
  <animation>
    <type>rotate</type>
    <object-name>volets</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 45 </factor>
    <center>
      <x-m> -2.176 </x-m>
      <y-m>  0.000 </y-m>
      <z-m>  0.771 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Rentrée des roues -->
  <animation>
    <name>TrainGauche</name>
    <object-name>axeG</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[0]/position-norm</property>
    <interpolation>
      <entry><ind> 1 </ind><dep>    0 </dep></entry>
      <entry><ind> 0 </ind><dep> -113 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.878 </x-m>
      <y-m> -7.283 </y-m>
      <z-m>  0.438 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>TrainCentre</name>
    <object-name>axeC</object-name>
    <object-name>axeCB</object-name>
    <object-name>articuleCH</object-name>
    <object-name>articuleCB</object-name>
    <object-name>roueC</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainCentre</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 1 </ind><dep>    0 </dep></entry>
      <entry><ind> 0 </ind><dep> -113 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.878 </x-m>
      <y-m>  0.100 </y-m>
      <z-m>  0.438 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>TrainDroit</name>
    <object-name>axeD</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> 1 </ind><dep>    0 </dep></entry>
      <entry><ind> 0 </ind><dep> -113 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.878 </x-m>
      <y-m>  7.443 </y-m>
      <z-m>  0.438 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>TrainArriere</name>
    <object-name>axeA</object-name>
    <object-name>roueA</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainArriere</object-name>
    <property>gear/gear[3]/position-norm</property>
    <interpolation>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
      <entry><ind> 0 </ind><dep> -55 </dep></entry>
    </interpolation>
    <center>
      <x-m> 5.035 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 0.804 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Compression -->
  <animation>
    <name>SousTrainGauche</name>
    <object-name>axeGB</object-name>
    <object-name>articuleGB</object-name>
    <object-name>roueG</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>articuleGH</object-name>
    <!-- <property>gear/gear[0]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[11]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> 35 </dep></entry>
    </interpolation>
    <center>
      <x-m> -4.39874 </x-m>
      <y-m> -7.53611 </y-m>
      <z-m> -0.77979 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>SousTrainGauche</object-name>
    <!-- <property>gear/gear[0]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[11]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.4 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>articuleGB</object-name>
    <!-- <property>gear/gear[0]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[11]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> -35 </dep></entry>
    </interpolation>
    <center>
      <x-m> -4.39874 </x-m>
      <y-m> -7.53611 </y-m>
      <z-m> -1.24913 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>SousTrainCentre</name>
    <object-name>axeCB</object-name>
    <object-name>articuleCB</object-name>
    <object-name>roueC</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>articuleCH</object-name>
    <!-- <property>gear/gear[1]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[12]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> 35 </dep></entry>
    </interpolation>
    <center>
      <x-m> -4.39874 </x-m>
      <y-m> -0.17686 </y-m>
      <z-m> -0.77979 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>SousTrainCentre</object-name>
    <!-- <property>gear/gear[1]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[12]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.4 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>articuleCB</object-name>
    <!-- <property>gear/gear[1]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[12]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> -35 </dep></entry>
    </interpolation>
    <center>
      <x-m> -4.39874 </x-m>
      <y-m> -0.17686 </y-m>
      <z-m> -1.24913 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>SousTrainDroit</name>
    <object-name>axeDB</object-name>
    <object-name>articuleDB</object-name>
    <object-name>roueD</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>articuleDH</object-name>
    <!-- <property>gear/gear[2]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[13]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> 35 </dep></entry>
    </interpolation>
    <center>
      <x-m> -4.39874 </x-m>
      <y-m>  7.13314 </y-m>
      <z-m> -0.77979 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>SousTrainDroit</object-name>
    <!-- <property>gear/gear[2]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[13]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.4 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>articuleDB</object-name>
    <!-- <property>gear/gear[2]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[13]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> -35 </dep></entry>
    </interpolation>
    <center>
      <x-m> -4.39874 </x-m>
      <y-m>  7.13314 </y-m>
      <z-m> -1.24913 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>TrainArriere</object-name>
    <!-- <property>gear/gear[3]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[14]</property>
    <factor> 0.2 </factor>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!-- Rotation de la roulette de queue en fonction de la gouverne de direction -->
  <animation>
    <name>Roulette</name>
    <object-name>axeA</object-name>
    <object-name>roueA</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>axeA</object-name>
    <object-name>roueA</object-name>
    <!-- <property>gear/gear[3]/caster-angle-deg</property> -->
    <property>sim/multiplay/generic/float[15]</property>
    <factor> -0.8 </factor>
    <center>
      <x-m> 5.50238 </x-m>
      <y-m> 0.00000 </y-m>
      <z-m> 0.22049 </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>roueG</object-name>
    <!-- <property>gear/gear[0]/rollspeed-ms</property> -->
    <property>sim/multiplay/generic/float[7]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -4.305 </x-m>
      <y-m> -7.283 </y-m>
      <z-m> -1.281 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueC</object-name>
    <!-- <property>gear/gear[1]/rollspeed-ms</property> -->
    <property>sim/multiplay/generic/float[8]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -4.305 </x-m>
      <y-m>  0.100 </y-m>
      <z-m> -1.281 </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[9]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -4.305 </x-m>
      <y-m>  7.443 </y-m>
      <z-m> -1.281 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueA</object-name>
    <!-- <property>gear/gear[3]/rollspeed-ms</property> -->
    <property>sim/multiplay/generic/float[10]</property>
    <factor> 30 </factor>
    <center>
      <x-m> 5.502 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 0.220 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Fermeture des portes des trains -->
  <animation>
    <type>rotate</type>
    <object-name>porteGG</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -99 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -99 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -4.218 </x1-m>
      <y1-m> -7.719 </y1-m>
      <z1-m>  0.218 </z1-m>
      <x2-m> -2.545 </x2-m>
      <y2-m> -7.719 </y2-m>
      <z2-m>  0.218 </z2-m>
     </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteGD</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -99 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -99 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -2.545 </x1-m>
      <y1-m> -6.966 </y1-m>
      <z1-m>  0.218 </z1-m>
      <x2-m> -4.218 </x2-m>
      <y2-m> -6.966 </y2-m>
      <z2-m>  0.218 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteCG</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -99 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -99 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -4.218 </x1-m>
      <y1-m> -0.366 </y1-m>
      <z1-m>  0.218 </z1-m>
      <x2-m> -1.560 </x2-m>
      <y2-m> -0.320 </y2-m>
      <z2-m>  0.218 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteCD</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -99 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -99 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -1.560 </x1-m>
      <y1-m>  0.320 </y1-m>
      <z1-m>  0.218 </z1-m>
      <x2-m> -4.218 </x2-m>
      <y2-m>  0.366 </y2-m>
      <z2-m>  0.218 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteDG</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -99 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -99 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -4.218 </x1-m>
      <y1-m>  6.966 </y1-m>
      <z1-m>  0.218 </z1-m>
      <x2-m> -2.545 </x2-m>
      <y2-m>  6.966 </y2-m>
      <z2-m>  0.218 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteDD</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -99 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -99 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -2.545 </x1-m>
      <y1-m>  7.719 </y1-m>
      <z1-m>  0.218 </z1-m>
      <x2-m> -4.218 </x2-m>
      <y2-m>  7.719 </y2-m>
      <z2-m>  0.218 </z2-m>
     </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteAG</object-name>
    <property>gear/gear[3]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -99 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -99 </dep></entry>
    </interpolation>
    <axis>
      <x1-m>  5.313 </x1-m>
      <y1-m> -0.109 </y1-m>
      <z1-m>  0.503 </z1-m>
      <x2-m>  5.925 </x2-m>
      <y2-m> -0.105 </y2-m>
      <z2-m>  0.606 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteAD</object-name>
    <property>gear/gear[3]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -99 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -99 </dep></entry>
    </interpolation>
    <axis>
      <x1-m>  5.925 </x1-m>
      <y1-m>  0.105 </y1-m>
      <z1-m>  0.606 </z1-m>
      <x2-m>  5.313 </x2-m>
      <y2-m>  0.109 </y2-m>
      <z2-m>  0.503 </z2-m>
    </axis>
  </animation>

</PropertyList>
