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

<PropertyList>

  <path>p2v.ac</path>

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

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

      var self = cmdarg();

      var float_0 = self.getNode("sim/multiplay/generic/float[0]", 1);
      var float_1 = self.getNode("sim/multiplay/generic/float[1]", 1);

      var crew_door      = self.getNode("sim/model/door-positions/crew/position-norm", 1);
      var passenger_door = self.getNode("sim/model/door-positions/passenger/position-norm", 1);

      crew_door       .alias(self.getNode ("sim/multiplay/generic/float[0]"));
      passenger_door  .alias(self.getNode ("sim/multiplay/generic/float[1]"));
    </load>

    <unload>
      livery_update.stop();
      crew_door.unalias();
      passenger_door.unalias();
    </unload>
  </nasal>

  <animation>
    <!-- Opaque -->
    <object-name>fuselage</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteGI</object-name>
    <object-name>porteGE</object-name>
    <object-name>porteDI</object-name>
    <object-name>porteDE</object-name>
    <object-name>tourvitres</object-name>
    <object-name>ailes</object-name>
    <object-name>voletGI</object-name>
    <object-name>voletGE</object-name>
    <object-name>aileronG</object-name>
    <object-name>voletDI</object-name>
    <object-name>voletDE</object-name>
    <object-name>aileronD</object-name>
    <object-name>spoilerGE</object-name>
    <object-name>spoilerGI</object-name>
    <object-name>spoilerDE</object-name>
    <object-name>spoilerDI</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>derive</object-name>
    <object-name>direction</object-name>
    <object-name>boutailes</object-name>
    <object-name>baquets</object-name>
    <object-name>exhaustGEH</object-name>
    <object-name>exhaustGEB</object-name>
    <object-name>exhaustGIH</object-name>
    <object-name>exhaustGIB</object-name>
    <object-name>exhaustDEH</object-name>
    <object-name>exhaustDEB</object-name>
    <object-name>exhaustDIH</object-name>
    <object-name>exhaustDIB</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>radar</object-name>
    <object-name>bosses</object-name>
    <object-name>attaches</object-name>
    <object-name>antennes</object-name>
    <object-name>reactors</object-name>

    <object-name>trous</object-name>
    <object-name>echappes</object-name>
    <object-name>axeA</object-name>
    <object-name>axeA2</object-name>
    <object-name>axeA3</object-name>
    <object-name>roueA</object-name>
    <object-name>axeG</object-name>
    <object-name>axeG2</object-name>
    <object-name>roueG</object-name>
    <object-name>axeD</object-name>
    <object-name>axeD2</object-name>
    <object-name>roueD</object-name>
    <object-name>heliceG</object-name>
    <object-name>heliceD</object-name>
    <object-name>cables</object-name>
    <object-name>cables2</object-name>

    <!-- Transparence -->
    <object-name>vitres</object-name>
    <object-name>propdiscG</object-name>
    <object-name>propdiscD</object-name>
    <object-name>propblurG</object-name>
    <object-name>propblurD</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>fuselage</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteGI</object-name>
    <object-name>porteGE</object-name>
    <object-name>porteDI</object-name>
    <object-name>porteDE</object-name>
    <object-name>tourvitres</object-name>
    <object-name>ailes</object-name>
    <object-name>voletGI</object-name>
    <object-name>voletGE</object-name>
    <object-name>aileronG</object-name>
    <object-name>voletDI</object-name>
    <object-name>voletDE</object-name>
    <object-name>aileronD</object-name>
    <object-name>spoilerGE</object-name>
    <object-name>spoilerGI</object-name>
    <object-name>spoilerDE</object-name>
    <object-name>spoilerDI</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>derive</object-name>
    <object-name>direction</object-name>
    <object-name>boutailes</object-name>
    <object-name>baquets</object-name>
    <object-name>exhaustGEH</object-name>
    <object-name>exhaustGEB</object-name>
    <object-name>exhaustGIH</object-name>
    <object-name>exhaustGIB</object-name>
    <object-name>exhaustDEH</object-name>
    <object-name>exhaustDEB</object-name>
    <object-name>exhaustDIH</object-name>
    <object-name>exhaustDIB</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>radar</object-name>
    <object-name>bosses</object-name>
    <object-name>attaches</object-name>
    <object-name>antennes</object-name>
    <object-name>reactors</object-name>

    <object-name>trous</object-name>
    <object-name>echappes</object-name>
    <object-name>axeA</object-name>
    <object-name>axeA2</object-name>
    <object-name>axeA3</object-name>
    <object-name>roueA</object-name>
    <object-name>axeG</object-name>
    <object-name>axeG2</object-name>
    <object-name>roueG</object-name>
    <object-name>axeD</object-name>
    <object-name>axeD2</object-name>
    <object-name>roueD</object-name>
    <object-name>heliceG</object-name>
    <object-name>heliceD</object-name>
    <object-name>cables</object-name>
    <object-name>cables2</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>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteGI</object-name>
    <object-name>porteGE</object-name>
    <object-name>porteDI</object-name>
    <object-name>porteDE</object-name>
    <object-name>tourvitres</object-name>
    <object-name>ailes</object-name>
    <object-name>voletGI</object-name>
    <object-name>voletGE</object-name>
    <object-name>aileronG</object-name>
    <object-name>voletDI</object-name>
    <object-name>voletDE</object-name>
    <object-name>spoilerGE</object-name>
    <object-name>spoilerGI</object-name>
    <object-name>spoilerDE</object-name>
    <object-name>spoilerDI</object-name>
    <object-name>aileronD</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>derive</object-name>
    <object-name>direction</object-name>
    <object-name>boutailes</object-name>
    <object-name>baquets</object-name>
    <object-name>exhaustGEH</object-name>
    <object-name>exhaustGEB</object-name>
    <object-name>exhaustGIH</object-name>
    <object-name>exhaustGIB</object-name>
    <object-name>exhaustDEH</object-name>
    <object-name>exhaustDEB</object-name>
    <object-name>exhaustDIH</object-name>
    <object-name>exhaustDIB</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>radar</object-name>
    <object-name>bosses</object-name>
    <object-name>attaches</object-name>
    <object-name>antennes</object-name>
    <object-name>reactors</object-name>
  </effect>

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

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

  <!-- Intérieur -->
  <model>
    <path>Interior/interior.xml</path>
  </model>

  <!-- Engines -->
  <!-- Right -->
  <model>
    <path>Engines/engine.xml</path>
    <offsets>
      <x-m> -7.61800 </x-m>
      <y-m> -3.68668 </y-m>
      <z-m> -1.71862 </z-m>
    </offsets>
  </model>

  <!-- Effects -->
  <model>
    <path>Effects/smoke/smokeG.xml</path>
    <offsets>
      <x-m> -3.01227 </x-m>
      <y-m> -7.14749 </y-m>
      <z-m> -2.34096 </z-m>
    </offsets>
  </model>

  <model>
    <path>Effects/trail/trailG.xml</path>
    <offsets>
      <x-m> -3.01227 </x-m>
      <y-m> -7.14749 </y-m>
      <z-m> -2.34096 </z-m>
    </offsets>
  </model>

  <!-- Left -->
  <model>
    <path>Engines/engine.xml</path>
    <offsets>
      <x-m> -7.61800 </x-m>
      <y-m>  3.68668 </y-m>
      <z-m> -1.71862 </z-m>
    </offsets>
  </model>

  <!-- Effects -->
  <model>
    <path>Effects/smoke/smokeD.xml</path>
    <offsets>
      <x-m> -3.01227 </x-m>
      <y-m>  7.14749 </y-m>
      <z-m> -2.34096 </z-m>
    </offsets>
  </model>

  <model>
    <path>Effects/trail/trailD.xml</path>
    <offsets>
      <x-m> -3.01227 </x-m>
      <y-m>  7.14749 </y-m>
      <z-m> -2.34096 </z-m>
    </offsets>
  </model>

  <!-- Noze wheel -->
  <model>
    <path>Effects/ground/ground0.xml</path>
    <offsets>
      <x-m> -10.97439 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -4.52639 </z-m>
    </offsets>
  </model>

  <!-- Left wheel -->
  <model>
    <path>Effects/ground/ground1.xml</path>
    <offsets>
      <x-m> -3.39094 </x-m>
      <y-m> -3.90935 </y-m>
      <z-m> -4.57020 </z-m>
    </offsets>
  </model>

  <!-- Right wheel -->
  <model>
    <path>Effects/ground/ground2.xml</path>
    <offsets>
      <x-m> -3.39094 </x-m>
      <y-m>  3.90935 </y-m>
      <z-m> -4.57020 </z-m>
    </offsets>
  </model>

  <!--* Cranking -->
  <model>
    <path>Effects/cranking/crankingG.xml</path>
    <offsets>
      <x-m> -6.74078 </x-m>
      <y-m> -4.59940 </y-m>
      <z-m> -1.50924 </z-m>
    </offsets>
  </model>

  <model>
    <path>Effects/cranking/crankingG.xml</path>
    <offsets>
      <x-m> -6.74078 </x-m>
      <y-m> -2.77396 </y-m>
      <z-m> -1.50924 </z-m>
    </offsets>
  </model>

  <model>
    <path>Effects/cranking/crankingD.xml</path>
    <offsets>
      <x-m> -6.74078 </x-m>
      <y-m>  4.59940 </y-m>
      <z-m> -1.50924 </z-m>
    </offsets>
  </model>

  <model>
    <path>Effects/cranking/crankingD.xml</path>
    <offsets>
      <x-m> -6.74078 </x-m>
      <y-m>  2.77396 </y-m>
      <z-m> -1.50924 </z-m>
    </offsets>
  </model>

  <!-- Les hélices -->
  <animation>
    <name>HeliceCompleteG</name>
    <object-name>propdiscG</object-name>
    <object-name>propblurG</object-name>
    <object-name>heliceG</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>500.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>
    <property>engines/engine[0]/rpm</property>
    <factor> 1 </factor>
    <center>
      <x-m> -8.46472 </x-m>
      <y-m> -3.68668 </y-m>
      <z-m> -1.71862 </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>
  </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>500.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>HeliceCompleteD</object-name>
    <property>engines/engine[1]/rpm</property>
    <factor> 1 </factor>
    <center>
      <x-m> -8.46472 </x-m>
      <y-m>  3.68668 </y-m>
      <z-m> -1.71862 </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>surface-positions/rudder-pos-norm</property>
    <factor> -15 </factor>
    <axis>
      <x1-m>  8.53948 </x1-m>
      <y1-m>  0.00000 </y1-m>
      <z1-m> -0.08948 </z1-m>
      <x2-m>  8.29625 </x2-m>
      <y2-m>  0.00000 </y2-m>
      <z2-m>  3.99494 </z2-m>
    </axis>
  </animation>

  <!-- Gouverne de profondeur -->
  <animation>
    <type>rotate</type>
    <object-name>profondeurG</object-name>
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m>  8.04403 </x1-m>
      <y1-m> -4.83541 </y1-m>
      <z1-m> -0.20787 </z1-m>
      <x2-m>  8.41274 </x2-m>
      <y2-m> -0.74241 </y2-m>
      <z2-m> -0.41819 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>profondeurD</object-name>
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m>  8.41274 </x1-m>
      <y1-m>  0.74241 </y1-m>
      <z1-m> -0.41819 </z1-m>
      <x2-m>  8.04403 </x2-m>
      <y2-m>  4.83541 </y2-m>
      <z2-m> -0.20787 </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>  -3.46913 </x1-m>
      <y1-m> -14.63643 </y1-m>
      <z1-m>  -0.53934 </z1-m>
      <x2-m>  -2.87445 </x2-m>
      <y2-m>  -9.06840 </y2-m>
      <z2-m>  -0.93620 </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> -2.87445 </x1-m>
      <y1-m>  9.06840 </y1-m>
      <z1-m> -0.93620 </z1-m>
      <x2-m> -3.46913 </x2-m>
      <y2-m> 14.63643 </y2-m>
      <z2-m> -0.53934 </z2-m>
    </axis>
  </animation>

  <!-- Volets -->
  <animation>
    <type>translate</type>
    <object-name>voletGE</object-name>
    <property>surface-positions/flaps-pos-norm</property>
    <factor> 0.9 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletGE</object-name>
    <property>surface-positions/flaps-pos-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -3.10714 </x1-m>
      <y1-m> -9.04980 </y1-m>
      <z1-m> -1.04548 </z1-m>
      <x2-m> -2.58438 </x2-m>
      <y2-m> -4.86250 </y2-m>
      <z2-m> -1.35817 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>voletGI</object-name>
    <property>surface-positions/flaps-pos-norm</property>
    <factor> 1.0 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletGI</object-name>
    <property>surface-positions/flaps-pos-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -2.71989 </x1-m>
      <y1-m> -4.86323 </y1-m>
      <z1-m> -1.37643 </z1-m>
      <x2-m> -2.72013 </x2-m>
      <y2-m> -1.17414 </y2-m>
      <z2-m> -1.37695 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>voletDI</object-name>
    <property>surface-positions/flaps-pos-norm</property>
    <factor> 1.0 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletDI</object-name>
    <property>surface-positions/flaps-pos-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -2.72013 </x1-m>
      <y1-m>  1.17414 </y1-m>
      <z1-m> -1.37695 </z1-m>
      <x2-m> -2.71989 </x2-m>
      <y2-m>  4.86323 </y2-m>
      <z2-m> -1.37643 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>voletDE</object-name>
    <property>surface-positions/flaps-pos-norm</property>
    <factor> 0.9 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletDE</object-name>
    <property>surface-positions/flaps-pos-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -2.58438 </x1-m>
      <y1-m>  4.86250 </y1-m>
      <z1-m> -1.35817 </z1-m>
      <x2-m> -3.10714 </x2-m>
      <y2-m>  9.04980 </y2-m>
      <z2-m> -1.04548 </z2-m>
    </axis>
  </animation>

  <!-- Spoilers -->
  <animation>
    <type>rotate</type>
    <object-name>spoilerGE</object-name>
    <property>surface-positions/speedbrake-pos-norm</property>
    <interpolation>
      <entry><ind>  0 </ind><dep>   0 </dep></entry>
      <entry><ind>  1 </ind><dep> -70 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -3.21166 </x1-m>
      <y1-m> -8.74403 </y1-m>
      <z1-m> -0.83038 </z1-m>
      <x2-m> -3.09361 </x2-m>
      <y2-m> -6.96670 </y2-m>
      <z2-m> -0.93800 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>spoilerGI</object-name>
    <property>surface-positions/speedbrake-pos-norm</property>
    <interpolation>
      <entry><ind>  0 </ind><dep>   0 </dep></entry>
      <entry><ind>  1 </ind><dep> -70 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -3.09361 </x1-m>
      <y1-m> -6.96670 </y1-m>
      <z1-m> -0.93800 </z1-m>
      <x2-m> -2.97556 </x2-m>
      <y2-m> -5.18941 </y2-m>
      <z2-m> -1.04672 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>spoilerDE</object-name>
    <property>surface-positions/speedbrake-pos-norm</property>
    <interpolation>
      <entry><ind>  0 </ind><dep>   0 </dep></entry>
      <entry><ind>  1 </ind><dep> -70 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -3.09361 </x1-m>
      <y1-m>  6.96670 </y1-m>
      <z1-m> -0.93800 </z1-m>
      <x2-m> -3.21166 </x2-m>
      <y2-m>  8.74403 </y2-m>
      <z2-m> -0.83038 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>spoilerDI</object-name>
    <property>surface-positions/speedbrake-pos-norm</property>
    <interpolation>
      <entry><ind>  0 </ind><dep>   0 </dep></entry>
      <entry><ind>  1 </ind><dep> -70 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -2.97556 </x1-m>
      <y1-m>  5.18941 </y1-m>
      <z1-m> -1.04672 </z1-m>
      <x2-m> -3.09361 </x2-m>
      <y2-m>  6.96670 </y2-m>
      <z2-m> -0.93800 </z2-m>
    </axis>
  </animation>

  <!-- Animation des portes -->
  <animation>
    <type>rotate</type>
    <object-name>porteAG</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.1 </ind><dep> -95 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -95 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -11.20804 </x1-m>
      <y1-m>  -0.36287 </y1-m>
      <z1-m>  -2.76354 </z1-m>
      <x2-m>  -8.74457 </x2-m>
      <y2-m>  -0.37622 </y2-m>
      <z2-m>  -2.79099 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteAD</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.1 </ind><dep> -95 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -95 </dep></entry>
    </interpolation>
    <axis>
      <x1-m>  -8.74457 </x1-m>
      <y1-m>   0.37622 </y1-m>
      <z1-m>  -2.79099 </z1-m>
      <x2-m> -11.20804 </x2-m>
      <y2-m>   0.36287 </y2-m>
      <z2-m>  -2.76354 </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> -95 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -95 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -4.91603 </x1-m>
      <y1-m> -4.22692 </y1-m>
      <z1-m> -2.43940 </z1-m>
      <x2-m> -4.24643 </x2-m>
      <y2-m> -4.22692 </y2-m>
      <z2-m> -2.32474 </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> 95 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 95 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -4.91603 </x1-m>
      <y1-m> -3.14644 </y1-m>
      <z1-m> -2.43940 </z1-m>
      <x2-m> -4.24643 </x2-m>
      <y2-m> -3.14644 </y2-m>
      <z2-m> -2.32474 </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> -95 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -95 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -4.24643 </x1-m>
      <y1-m>  4.22692 </y1-m>
      <z1-m> -2.32474 </z1-m>
      <x2-m> -4.91603 </x2-m>
      <y2-m>  4.22692 </y2-m>
      <z2-m> -2.43940 </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> 95 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 95 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -4.24643 </x1-m>
      <y1-m>  3.14644 </y1-m>
      <z1-m> -2.32474 </z1-m>
      <x2-m> -4.91603 </x2-m>
      <y2-m>  3.14644 </y2-m>
      <z2-m> -2.43940 </z2-m>
    </axis>
  </animation>

  <!-- Rentré des roues -->
  <!-- Train avant -->
  <animation>
    <name>TrainAvant</name>
    <object-name>axeA</object-name>
    <object-name>axeA2</object-name>
    <object-name>axeA3</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> -96 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -10.97440 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -2.53474 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>axeA2</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 115 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -10.96093 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -3.19566 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>TrainGauche</name>
    <object-name>axeG</object-name>
    <object-name>axeG2</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> 90 </dep></entry>
      <entry><ind> 1 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.39094 </x-m>
      <y-m> -3.42807 </y-m>
      <z-m> -1.83930 </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>axeD2</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> 90 </dep></entry>
      <entry><ind> 1 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.39094 </x-m>
      <y-m>  3.42807 </y-m>
      <z-m> -1.83930 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Compression -->
  <animation>
    <name>RoueAvant</name>
    <object-name>roueA</object-name>
    <object-name>axeA3</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.00 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.35 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <name>RoueGauche</name>
    <object-name>roueG</object-name>
    <object-name>axeG2</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.6 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <name>RoueDroite</name>
    <object-name>roueD</object-name>
    <object-name>axeD2</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.6 </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>RoueAvant</object-name>
    <property>gear/gear[0]/caster-angle-deg</property>
    <factor> -0.8 </factor>
    <center>
      <x-m> -10.97149 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -3.46090 </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>
    <factor> 30 </factor>
    <center>
      <x-m> -10.97439 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -4.13826 </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> -3.39094 </x-m>
      <y-m> -3.90935 </y-m>
      <z-m> -3.88579 </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> -3.39094 </x-m>
      <y-m>  3.90935 </y-m>
      <z-m> -3.88579 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Left Cowlflaps -->
  <animation>
    <type>rotate</type>
    <object-name>exhaustGEH</object-name>
    <property>controls/engines/engine[0]/cowl-flaps-norm</property>
    <factor> -40 </factor>
    <axis>
      <x1-m> -6.78089 </x1-m>
      <y1-m> -4.45071 </y1-m>
      <z1-m> -1.20811 </z1-m>
      <x2-m> -6.78089 </x2-m>
      <y2-m> -4.33643 </y2-m>
      <z2-m> -1.06886 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>exhaustGEB</object-name>
    <property>controls/engines/engine[0]/cowl-flaps-norm</property>
    <factor> -40 </factor>
    <axis>
      <x1-m> -6.78089 </x1-m>
      <y1-m> -4.53562 </y1-m>
      <z1-m> -2.07026 </z1-m>
      <x2-m> -6.78089 </x2-m>
      <y2-m> -4.58791 </y2-m>
      <z2-m> -1.89788 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>exhaustGIH</object-name>
    <property>controls/engines/engine[0]/cowl-flaps-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -6.78089 </x1-m>
      <y1-m> -2.92265 </y1-m>
      <z1-m> -1.20811 </z1-m>
      <x2-m> -6.78089 </x2-m>
      <y2-m> -3.03693 </y2-m>
      <z2-m> -1.06886 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>exhaustGIB</object-name>
    <property>controls/engines/engine[0]/cowl-flaps-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -6.78089 </x1-m>
      <y1-m> -2.83773 </y1-m>
      <z1-m> -2.07026 </z1-m>
      <x2-m> -6.78089 </x2-m>
      <y2-m> -2.76544 </y2-m>
      <z2-m> -1.89788 </z2-m>
    </axis>
  </animation>

  <!-- Right Cowlflaps -->
  <animation>
    <type>rotate</type>
    <object-name>exhaustDEH</object-name>
    <property>controls/engines/engine[1]/cowl-flaps-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -6.78089 </x1-m>
      <y1-m>  4.45071 </y1-m>
      <z1-m> -1.20811 </z1-m>
      <x2-m> -6.78089 </x2-m>
      <y2-m>  4.33643 </y2-m>
      <z2-m> -1.06886 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>exhaustDEB</object-name>
    <property>controls/engines/engine[1]/cowl-flaps-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -6.78089 </x1-m>
      <y1-m>  4.53562 </y1-m>
      <z1-m> -2.07026 </z1-m>
      <x2-m> -6.78089 </x2-m>
      <y2-m>  4.58791 </y2-m>
      <z2-m> -1.89788 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>exhaustDIH</object-name>
    <property>controls/engines/engine[1]/cowl-flaps-norm</property>
    <factor> -40 </factor>
    <axis>
      <x1-m> -6.78089 </x1-m>
      <y1-m>  2.92265 </y1-m>
      <z1-m> -1.20811 </z1-m>
      <x2-m> -6.78089 </x2-m>
      <y2-m>  3.03693 </y2-m>
      <z2-m> -1.06886 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>exhaustDIB</object-name>
    <property>controls/engines/engine[1]/cowl-flaps-norm</property>
    <factor> -40 </factor>
    <axis>
      <x1-m> -6.78089 </x1-m>
      <y1-m>  2.83773 </y1-m>
      <z1-m> -2.07026 </z1-m>
      <x2-m> -6.78089 </x2-m>
      <y2-m>  2.76544 </y2-m>
      <z2-m> -1.89788 </z2-m>
    </axis>
  </animation>

  <!-- Ajout des effets lumineux -->
  <model>
    <path>lights/beacon.xml</path>
    <offsets>
      <x-m> 7.68828 </x-m>
      <y-m> 0.00000 </y-m>
      <z-m> 4.42455 </z-m>
    </offsets>
  </model>

  <model>
    <path>lights/RedLight.xml</path>
    <offsets>
      <x-m>  -4.68519 </x-m>
      <y-m> -15.78144 </y-m>
      <z-m>  -0.51316 </z-m>
    </offsets>
  </model>

  <model>
    <path>lights/StrobeLight.xml</path>
    <offsets>
      <x-m>  -4.66519 </x-m>
      <y-m> -15.78144 </y-m>
      <z-m>  -0.51316 </z-m>
    </offsets>
  </model>

  <model>
    <path>lights/GreenLight.xml</path>
    <offsets>
      <x-m> -4.68519 </x-m>
      <y-m> 15.78144 </y-m>
      <z-m> -0.51316 </z-m>
    </offsets>
  </model>

  <model>
    <path>lights/StrobeLight.xml</path>
    <offsets>
      <x-m> -4.66519 </x-m>
      <y-m> 15.78144 </y-m>
      <z-m> -0.51316 </z-m>
    </offsets>
  </model>

</PropertyList>
