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

<PropertyList include="C130-bombableinclude.xml">

  <!-- MP sound call -->
  <sound>
    <path>Aircraft/C130/Sounds/mp-ac-sound.xml</path>
    <condition>
      <equals>
        <!-- <property>sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>AC130</value>
      </equals>
    </condition>
  </sound>

  <sound>
    <path>Aircraft/C130/Sounds/mp-c-sound.xml</path>
    <condition>
      <equals>
        <!-- <property>sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>C130</value>
      </equals>
    </condition>
  </sound>

  <sound>
    <path>Aircraft/C130/Sounds/mp-c-sound.xml</path>
    <condition>
      <equals>
        <!-- <property>sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>C130K</value>
      </equals>
    </condition>
  </sound>

  <sound>
    <path>../Sounds/mp-c-sound.xml</path>
    <condition>
      <equals>
        <!-- <property>sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>KC130</value>
      </equals>
    </condition>
  </sound>

  <path>c130.ac</path>

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

  <animation>
    <!-- Objets opaques -->
    <object-name>fuselage</object-name>
    <object-name>caches</object-name>
    <object-name>ailes</object-name>
    <object-name>fuselage</object-name>
    <object-name>derive</object-name>
    <object-name>porteA1</object-name>
    <object-name>porteA2</object-name>
    <object-name>porteroueG1</object-name>
    <object-name>porteroueG2</object-name>
    <object-name>porteroueD1</object-name>
    <object-name>porteroueD2</object-name>
    <object-name>aileronG</object-name>
    <object-name>voletG1</object-name>
    <object-name>voletG2</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletD1</object-name>
    <object-name>voletD2</object-name>
    <object-name>aileronG</object-name>
    <object-name>voletG1</object-name>
    <object-name>reservoirs</object-name>
    <object-name>porteA</object-name>
    <object-name>antennes</object-name>
    <object-name>porteBG</object-name>
    <object-name>porteBD</object-name>
    <object-name>baieB</object-name>
    <object-name>baieH</object-name>
    <object-name>profondeur</object-name>
    <object-name>direction</object-name>
    <object-name>moteurs</object-name>

    <object-name>trous</object-name>
    <object-name>tempAB</object-name>
    <object-name>tempAH</object-name>
    <object-name>rotationH</object-name>
    <object-name>articule01</object-name>
    <object-name>articule02</object-name>
    <object-name>roueAG</object-name>
    <object-name>roueAD</object-name>
    <object-name>tempG</object-name>
    <object-name>tempHG</object-name>
    <object-name>roue1G</object-name>
    <object-name>roue2G</object-name>
    <object-name>tempD</object-name>
    <object-name>tempHD</object-name>
    <object-name>roue1D</object-name>
    <object-name>roue2D</object-name>
    <object-name>echappes</object-name>
    <object-name>cables</object-name>

    <!-- Objets transparents -->
    <object-name>vitres</object-name>
    <object-name>hublotBG</object-name>
    <object-name>hublotBD</object-name>
    <!-- HDR mode -->
    <object-name>HDRvitres</object-name>
    <object-name>HDRhublotBG</object-name>
    <object-name>HDRhublotBD</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>fuselage</object-name>
    <object-name>caches</object-name>
    <object-name>ailes</object-name>
    <object-name>fuselage</object-name>
    <object-name>derive</object-name>
    <object-name>porteA1</object-name>
    <object-name>porteA2</object-name>
    <object-name>porteroueG1</object-name>
    <object-name>porteroueG2</object-name>
    <object-name>porteroueD1</object-name>
    <object-name>porteroueD2</object-name>
    <object-name>aileronG</object-name>
    <object-name>voletG1</object-name>
    <object-name>voletG2</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletD1</object-name>
    <object-name>voletD2</object-name>
    <object-name>aileronG</object-name>
    <object-name>voletG1</object-name>
    <object-name>reservoirs</object-name>
    <object-name>porteA</object-name>
    <object-name>antennes</object-name>
    <object-name>porteBG</object-name>
    <object-name>porteBD</object-name>
    <object-name>baieB</object-name>
    <object-name>baieH</object-name>
    <object-name>profondeur</object-name>
    <object-name>direction</object-name>
    <object-name>moteurs</object-name>
    <object-name>trous</object-name>
    <object-name>tempAB</object-name>
    <object-name>tempAH</object-name>
    <object-name>rotationH</object-name>
    <object-name>articule01</object-name>
    <object-name>articule02</object-name>
    <object-name>roueAG</object-name>
    <object-name>roueAD</object-name>
    <object-name>tempG</object-name>
    <object-name>tempHG</object-name>
    <object-name>roue1G</object-name>
    <object-name>roue2G</object-name>
    <object-name>tempD</object-name>
    <object-name>tempHD</object-name>
    <object-name>roue1D</object-name>
    <object-name>roue2D</object-name>
    <object-name>echappes</object-name>
    <object-name>cables</object-name>
    <object-name>vitres</object-name>
    <object-name>hublotBG</object-name>
    <object-name>hublotBD</object-name>
    <object-name>HDRvitres</object-name>
    <object-name>HDRhublotBG</object-name>
    <object-name>HDRhublotBD</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/C130/Models/Effects/Bump/bumpspec</inherits-from>
    <object-name>fuselage</object-name>
    <object-name>caches</object-name>
    <object-name>ailes</object-name>
    <object-name>fuselage</object-name>
    <object-name>derive</object-name>
    <object-name>porteA1</object-name>
    <object-name>porteA2</object-name>
    <object-name>porteroueG1</object-name>
    <object-name>porteroueG2</object-name>
    <object-name>porteroueD1</object-name>
    <object-name>porteroueD2</object-name>
    <object-name>aileronG</object-name>
    <object-name>voletG1</object-name>
    <object-name>voletG2</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletD1</object-name>
    <object-name>voletD2</object-name>
    <object-name>aileronG</object-name>
    <object-name>voletG1</object-name>
    <object-name>reservoirs</object-name>
    <object-name>porteA</object-name>
    <object-name>antennes</object-name>
    <object-name>porteBG</object-name>
    <object-name>porteBD</object-name>
    <object-name>baieB</object-name>
    <object-name>baieH</object-name>
    <object-name>profondeur</object-name>
    <object-name>direction</object-name>
    <object-name>moteurs</object-name>
  </effect>

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

  <effect>
    <inherits-from>Effects/Glass/glass</inherits-from>
    <object-name>HDRvitres</object-name>
    <object-name>HDRhublotBG</object-name>
    <object-name>HDRhublotBD</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>
    <object-name>HDRhublotBG</object-name>
    <object-name>HDRhublotBD</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>
    <object-name>hublotBG</object-name>
    <object-name>hublotBD</object-name>
  </animation>

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

  <model>
    <path>Interior/ac130.xml</path>
    <condition>
      <equals>
        <!-- <property>sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>AC130</value>
      </equals>
    </condition>
  </model>

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

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

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

  <model>
    <path>Propellers/all-propellers.xml</path>
  </model>

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

  <model>
    <path>refueling/all-probes.xml</path>
    <condition>
      <equals>
        <!-- <property>sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>C130K</value>
      </equals>
    </condition>
  </model>

  <model>
    <path>refueling/all-refuelings.xml</path>
    <condition>
      <equals>
        <!-- <property>sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>KC130</value>
      </equals>
    </condition>
  </model>

  <!-- Gouverne 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> 11.81391 </x1-m>
      <y1-m>  0.00000 </y1-m>
      <z1-m> -0.75704 </z1-m>
      <x2-m> 11.80147 </x2-m>
      <y2-m>  0.00000 </y2-m>
      <z2-m>  5.56740 </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> 11.91272 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -0.96632 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Ailerons -->
  <animation>
    <type>rotate</type>
    <object-name>aileronG</object-name>
    <property>surface-positions/left-aileron-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m>  -0.39336 </x1-m>
      <y1-m> -19.85387 </y1-m>
      <z1-m>  -0.85508 </z1-m>
      <x2-m>   0.24370 </x2-m>
      <y2-m> -14.01833 </y2-m>
      <z2-m>  -1.02653 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>aileronD</object-name>
    <property>surface-positions/right-aileron-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m>  0.24370 </x1-m>
      <y1-m> 14.01833 </y1-m>
      <z1-m> -1.02653 </z1-m>
      <x2-m> -0.39336 </x2-m>
      <y2-m> 19.85387 </y2-m>
      <z2-m> -0.85508 </z2-m>
    </axis>
  </animation>

  <!-- Volets -->
  <animation>
    <type>translate</type>
    <object-name>voletG1</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 0.70 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>voletG1</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 0.45 </factor>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletG1</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> -50 </factor>
    <center>
      <x-m>  0.51759 </x-m>
      <y-m> -9.88152 </y-m>
      <z-m> -1.44495 </z-m>
    </center>
    <axis>
      <x> -0.105 </x>
      <y> -0.700 </y>
      <z>  0.060 </z>
    </axis>
  </animation>

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

  <animation>
    <type>translate</type>
    <object-name>voletG2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 0.50 </factor>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletG2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> -50 </factor>
    <center>
      <x-m>  0.97412 </x-m>
      <y-m> -3.92706 </y-m>
      <z-m> -1.64816 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>voletD1</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 0.70 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>voletD1</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 0.45 </factor>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletD1</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 50 </factor>
    <center>
      <x-m>  0.51759 </x-m>
      <y-m>  9.88152 </y-m>
      <z-m> -1.44495 </z-m>
    </center>
    <axis>
      <x> -0.105 </x>
      <y>  0.700 </y>
      <z>  0.060 </z>
    </axis>
  </animation>

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

  <animation>
    <type>translate</type>
    <object-name>voletD2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 0.50 </factor>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletD2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 50 </factor>
    <center>
      <x-m>  0.97412 </x-m>
      <y-m>  3.92706 </y-m>
      <z-m> -1.64816 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Rentré des roues -->
  <animation>
    <name>TrainAvant</name>
    <object-name>roueAG</object-name>
    <object-name>roueAD</object-name>
    <object-name>tempAB</object-name>
    <object-name>tempAH</object-name>
    <object-name>articule01</object-name>
    <object-name>articule02</object-name>
    <object-name>rotationH</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> -11.10287 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -4.06300 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>TrainGauche</name>
    <object-name>roue1G</object-name>
    <object-name>roue2G</object-name>
    <object-name>tempG</object-name>
  </animation>

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

  <animation>
    <name>TrainDroit</name>
    <object-name>roue1D</object-name>
    <object-name>roue2D</object-name>
    <object-name>tempD</object-name>
  </animation>

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

  <!-- Fermeture des portes du train -->
  <animation>
    <type>rotate</type>
    <object-name>porteA1</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.00 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.15 </ind><dep> 53 </dep></entry>
      <entry><ind> 0.95 </ind><dep> 53 </dep></entry>
      <entry><ind> 1.00 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -12.88448 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -4.90986 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

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

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

  <animation>
    <type>rotate</type>
    <object-name>porteroueG1</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> 51.20 </dep></entry>
      <entry><ind> 0.1 </ind><dep>  0.00 </dep></entry>
      <entry><ind> 1.0 </ind><dep>  0.00 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.59363 </x-m>
      <y-m> -2.46063 </y-m>
      <z-m> -4.56754 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteroueG2</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> 90 </dep></entry>
      <entry><ind> 0.1 </ind><dep>  0 </dep></entry>
      <entry><ind> 1.0 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.59364 </x-m>
      <y-m> -1.68591 </y-m>
      <z-m> -5.18556 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteroueD1</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> 51.20 </dep></entry>
      <entry><ind> 0.1 </ind><dep>  0.00 </dep></entry>
      <entry><ind> 1.0 </ind><dep>  0.00 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.59363 </x-m>
      <y-m>  2.46063 </y-m>
      <z-m> -4.56754 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteroueD2</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> 90 </dep></entry>
      <entry><ind> 0.1 </ind><dep>  0 </dep></entry>
      <entry><ind> 1.0 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.59364 </x-m>
      <y-m>  1.68591 </y-m>
      <z-m> -5.18556 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Compression -->
  <animation>
    <name>EnsembleAvant</name>
    <object-name>roueAG</object-name>
    <object-name>roueAD</object-name>
    <object-name>tempAB</object-name>
    <object-name>articule01</object-name>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>EnsembleAvant</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.49 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>articule01</object-name>
    <property>gear/gear[0]/compression-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0.000 </dep></entry>
      <entry><ind> 1 </ind><dep> -41.801 </dep></entry>
    </interpolation>
    <center>
      <x-m> -11.23452 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -5.54408 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>articule02</object-name>
    <property>gear/gear[0]/compression-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0.00 </dep></entry>
      <entry><ind> 1 </ind><dep> 42.40 </dep></entry>
    </interpolation>
    <center>
      <x-m> -11.25242 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -4.42506 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

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

  <animation>
    <type>translate</type>
    <object-name>TrainDroit</object-name>
    <property>gear/gear[2]/compression-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.00 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.49 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!-- Rotation des roues avant en fonction de la gouverne de direction -->
  <animation>
    <name>EnsembleAvant</name>
    <object-name>roueAG</object-name>
    <object-name>roueAD</object-name>
    <object-name>tempAB</object-name>
    <object-name>articule01</object-name>
    <object-name>articule02</object-name>
    <object-name>rotationH</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>EnsembleAvant</object-name>
    <property>gear/gear[0]/caster-angle-deg</property>
    <factor> -0.5 </factor>
    <center>
      <x-m> -11.16317 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -4.72893 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!-- Rotation des roues -->
  <animation>
    <name>RouesAvant</name>
    <object-name>roueAG</object-name>
    <object-name>roueAD</object-name>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>RouesAvant</object-name>
    <property>gear/gear[0]/rollspeed-ms</property>
    <factor> -30 </factor>
    <center>
      <x-m> -11.10488 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -5.61119 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roue1G</object-name>
    <property>gear/gear[1]/rollspeed-ms</property>
    <factor> -30 </factor>
    <center>
      <x-m> -2.42488 </x-m>
      <y-m> -2.12500 </y-m>
      <z-m> -5.49319 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roue2G</object-name>
    <property>gear/gear[3]/rollspeed-ms</property>
    <factor> -30 </factor>
    <center>
      <x-m> -0.89188 </x-m>
      <y-m> -2.12500 </y-m>
      <z-m> -5.49319 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roue1D</object-name>
    <property>gear/gear[2]/rollspeed-ms</property>
    <factor> -30 </factor>
    <center>
      <x-m> -2.42488 </x-m>
      <y-m>  2.12500 </y-m>
      <z-m> -5.49319 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roue2D</object-name>
    <property>gear/gear[4]/rollspeed-ms</property>
    <factor> -30 </factor>
    <center>
      <x-m> -0.89188 </x-m>
      <y-m>  2.12500 </y-m>
      <z-m> -5.49319 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Portes cargo arrière et petite porte arrière/coté -->
  <animation>
    <name>PorteCargo</name>
    <object-name>baieB</object-name>
    <object-name>baieH</object-name>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>PorteCargo</object-name>
    <object-name>porteBG</object-name>
    <object-name>hublotBG</object-name>
    <object-name>porteBD</object-name>
    <object-name>hublotBD</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> 31.12 </factor>
    <center>
      <x-m>  2.46907 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -5.23274 </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> 22.52 </factor>
    <center>
      <x-m>  9.00680 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -2.13374 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Petites portes arrières -->
  <animation>
    <type>translate</type>
    <object-name>porteBG</object-name>
    <object-name>hublotBG</object-name>
    <object-name>HDRhublotBG</object-name>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> 0.00 </dep></entry>
      <entry><ind> 0.2 </ind><dep> 0.05 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 0.05 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteBG</object-name>
    <object-name>hublotBG</object-name>
    <object-name>HDRhublotBG</object-name>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.2 </ind><dep>  0 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 40 </dep></entry>
    </interpolation>
    <center>
      <x-m>  2.02133 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -3.21666 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

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

  <animation>
    <type>rotate</type>
    <object-name>porteBD</object-name>
    <object-name>hublotBD</object-name>
    <object-name>HDRhublotBD</object-name>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.2 </ind><dep>  0 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 40 </dep></entry>
    </interpolation>
    <center>
      <x-m>  2.02133 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -3.21666 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Porte équipage avant -->
  <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> -->
    <property>sim/multiplay/generic/float[0]</property>
    <factor> 88 </factor>
    <center>
      <x-m> -9.21695 </x-m>
      <y-m> -1.16833 </y-m>
      <z-m> -4.90735 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

</PropertyList>
