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

<PropertyList include="HS-P-75-bombableinclude.xml">

  <path>hsp75.ac</path>

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

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

  <animation>
    <!-- draw these first (in no particular order) -->
    <object-name>fuselage</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>ailes</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>bol1</object-name>
    <object-name>bol2</object-name>
    <object-name>antenne</object-name>
    <object-name>pito</object-name>
    <object-name>air</object-name>
    <object-name>porteA</object-name>
    <object-name>porteB</object-name>
    <object-name>porteC</object-name>
    <object-name>porteG1</object-name>
    <object-name>porteG2</object-name>
    <object-name>porteG3</object-name>
    <object-name>porteG4</object-name>
    <object-name>porteD1</object-name>
    <object-name>porteD2</object-name>
    <object-name>porteD3</object-name>
    <object-name>porteD4</object-name>
    <object-name>tourvitres</object-name>
    <object-name>canopy</object-name>
    <object-name>supportslampes</object-name>

    <object-name>trous</object-name>
    <object-name>echappes</object-name>
    <object-name>guns</object-name>
    <object-name>helice1</object-name>
    <object-name>helice2</object-name>
    <object-name>trainA1</object-name>
    <object-name>trainA2</object-name>
    <object-name>roueA</object-name>
    <object-name>trainG1</object-name>
    <object-name>trainG2</object-name>
    <object-name>roueG</object-name>
    <object-name>trainD1</object-name>
    <object-name>trainD2</object-name>
    <object-name>roueD</object-name>

    <!-- draw this at last (order critical!) -->
    <object-name>vitres</object-name>
    <object-name>canopytrs</object-name>
    <object-name>lampes</object-name>
    <object-name>propblur1</object-name>
    <object-name>propdisc1</object-name>
    <object-name>propblur2</object-name>
    <object-name>propdisc2</object-name>
    <!-- HDR mode -->
    <object-name>HDRvitres</object-name>
    <object-name>HDRcanopytrs</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>fuselage</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>ailes</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>bol1</object-name>
    <object-name>bol2</object-name>
    <object-name>antenne</object-name>
    <object-name>pito</object-name>
    <object-name>air</object-name>
    <object-name>porteA</object-name>
    <object-name>porteB</object-name>
    <object-name>porteC</object-name>
    <object-name>porteG1</object-name>
    <object-name>porteG2</object-name>
    <object-name>porteG3</object-name>
    <object-name>porteG4</object-name>
    <object-name>porteD1</object-name>
    <object-name>porteD2</object-name>
    <object-name>porteD3</object-name>
    <object-name>porteD4</object-name>
    <object-name>tourvitres</object-name>
    <object-name>canopy</object-name>
    <object-name>supportslampes</object-name>

    <object-name>trous</object-name>
    <object-name>echappes</object-name>
    <object-name>guns</object-name>
    <object-name>helice1</object-name>
    <object-name>helice2</object-name>
    <object-name>trainA1</object-name>
    <object-name>trainA2</object-name>
    <object-name>roueA</object-name>
    <object-name>trainG1</object-name>
    <object-name>trainG2</object-name>
    <object-name>roueG</object-name>
    <object-name>trainD1</object-name>
    <object-name>trainD2</object-name>
    <object-name>roueD</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/HS-P-75/Models/Effects/Bump/bumpspec</inherits-from>
    <object-name>fuselage</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>ailes</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>bol1</object-name>
    <object-name>bol2</object-name>
    <object-name>antenne</object-name>
    <object-name>pito</object-name>
    <object-name>air</object-name>
    <object-name>porteA</object-name>
    <object-name>porteB</object-name>
    <object-name>porteC</object-name>
    <object-name>porteG1</object-name>
    <object-name>porteG2</object-name>
    <object-name>porteG3</object-name>
    <object-name>porteG4</object-name>
    <object-name>porteD1</object-name>
    <object-name>porteD2</object-name>
    <object-name>porteD3</object-name>
    <object-name>porteD4</object-name>
    <object-name>tourvitres</object-name>
    <object-name>canopy</object-name>
    <object-name>supportslampes</object-name>
  </effect>

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

  <effect>
    <inherits-from>Effects/Glass/glass</inherits-from>
    <object-name>HDRvitres</object-name>
    <object-name>HDRcanopytrs</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>HDRcanopytrs</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>canopytrs</object-name>
  </animation>

  <effect>
    <inherits-from>Effects/model-transparent</inherits-from>
    <object-name>lampes</object-name>
    <object-name>propblur1</object-name>
    <object-name>propdisc1</object-name>
    <object-name>propblur2</object-name>
    <object-name>propdisc2</object-name>
  </effect>

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

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

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

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

  <model>
    <path>Effects/Weapons/guns/all-fires.xml</path>
  </model>

  <!-- Selection de l'objet visible en fonction des rpm -->
  <animation>
    <name>HeliceComplete1</name>
    <object-name>helice1</object-name>
    <object-name>bol1</object-name>
    <object-name>propdisc1</object-name>
    <object-name>propblur1</object-name>
  </animation>

  <animation>
    <type>select</type>
    <object-name>propdisc1</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[0]/rpm</property>
        <value>1500</value>
      </greater-than>
    </condition>
  </animation>

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

  <animation>
    <type>spin</type>
    <object-name>HeliceComplete1</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> 4.710 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 0.616 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Selection de l'objet visible en fonction des rpm -->
  <animation>
    <name>HeliceComplete2</name>
    <object-name>helice2</object-name>
    <object-name>bol2</object-name>
    <object-name>propdisc2</object-name>
    <object-name>propblur2</object-name>
  </animation>

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

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

  <animation>
    <type>spin</type>
    <object-name>HeliceComplete2</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> 5.471 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 0.616 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Gouverne de direction -->
  <animation>
    <type>rotate</type>
    <object-name>direction</object-name>
    <!-- <property>controls/flight/rudder</property> -->
    <property>surface-positions/rudder-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m>  3.711 </x1-m>
      <y1-m>  0.000 </y1-m>
      <z1-m> -0.141 </z1-m>
      <x2-m>  3.357 </x2-m>
      <y2-m>  0.000 </y2-m>
      <z2-m> -1.078 </z2-m>
    </axis>
  </animation>

  <!-- Gouverne de profondeur -->
  <animation>
    <type>rotate</type>
    <object-name>profondeurG</object-name>
    <!-- <property>controls/flight/elevator</property> -->
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m> -4.621 </x1-m>
      <y1-m> -1.613 </y1-m>
      <z1-m>  0.469 </z1-m>
      <x2-m> -4.676 </x2-m>
      <y2-m> -0.554 </y2-m>
      <z2-m>  0.469 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>profondeurD</object-name>
    <!-- <property>controls/flight/elevator</property> -->
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m> -4.676 </x1-m>
      <y1-m>  0.554 </y1-m>
      <z1-m>  0.469 </z1-m>
      <x2-m> -4.621 </x2-m>
      <y2-m>  1.613 </y2-m>
      <z2-m>  0.469 </z2-m>
    </axis>
  </animation>

  <!-- Animation 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.388 </x1-m>
      <y1-m> -4.896 </y1-m>
      <z1-m>  0.754 </z1-m>
      <x2-m>  3.263 </x2-m>
      <y2-m> -3.111 </y2-m>
      <z2-m>  0.647 </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> 3.263 </x1-m>
      <y1-m> 3.111 </y1-m>
      <z1-m> 0.647 </z1-m>
      <x2-m> 3.388 </x2-m>
      <y2-m> 4.896 </y2-m>
      <z2-m> 0.754 </z2-m>
    </axis>
  </animation>

  <!-- Animation des volets -->
  <animation>
    <type>rotate</type>
    <object-name>voletG</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> -40 </factor>
    <axis>
      <x1-m>  3.119 </x1-m>
      <y1-m> -3.034 </y1-m>
      <z1-m>  0.503 </z1-m>
      <x2-m>  2.982 </x2-m>
      <y2-m> -1.698 </y2-m>
      <z2-m>  0.235 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletD</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> -40 </factor>
    <axis>
      <x1-m> 2.982 </x1-m>
      <y1-m> 1.698 </y1-m>
      <z1-m> 0.235 </z1-m>
      <x2-m> 3.119 </x2-m>
      <y2-m> 3.034 </y2-m>
      <z2-m> 0.503 </z2-m>
    </axis>
  </animation>

  <!-- Fermeture des portes des trains -->
  <animation>
    <type>rotate</type>
    <object-name>porteA</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.1 </ind><dep> 90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -4.886 </x1-m>
      <y1-m>  0.084 </y1-m>
      <z1-m>  0.132 </z1-m>
      <x2-m> -3.586 </x2-m>
      <y2-m>  0.111 </y2-m>
      <z2-m> -0.059 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteB</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> -90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -3.586 </x1-m>
      <y1-m> -0.246 </y1-m>
      <z1-m> -0.036 </z1-m>
      <x2-m> -2.686 </x2-m>
      <y2-m> -0.280 </y2-m>
      <z2-m> -0.137 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteC</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> 90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -3.586 </x1-m>
      <y1-m>  0.246 </y1-m>
      <z1-m> -0.036 </z1-m>
      <x2-m> -2.686 </x2-m>
      <y2-m>  0.280 </y2-m>
      <z2-m> -0.137 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteG1</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.1 </ind><dep> -90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m>  1.927 </x1-m>
      <y1-m> -1.142 </y1-m>
      <z1-m>  0.292 </z1-m>
      <x2-m>  2.238 </x2-m>
      <y2-m> -1.142 </y2-m>
      <z2-m>  0.288 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteG2</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> 120 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 120 </dep></entry>
    </interpolation>
    <axis>
      <x1-m>  2.014 </x1-m>
      <y1-m> -0.630 </y1-m>
      <z1-m>  0.109 </z1-m>
      <x2-m>  2.714 </x2-m>
      <y2-m> -0.630 </y2-m>
      <z2-m>  0.186 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteG3</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.1 </ind><dep> -90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m>  3.556 </x1-m>
      <y1-m> -1.044 </y1-m>
      <z1-m>  0.390 </z1-m>
      <x2-m>  3.714 </x2-m>
      <y2-m> -1.044 </y2-m>
      <z2-m>  0.434 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteG4</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> 120 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 120 </dep></entry>
    </interpolation>
    <axis>
      <x1-m>  3.113 </x1-m>
      <y1-m> -0.156 </y1-m>
      <z1-m>  0.031 </z1-m>
      <x2-m>  3.837 </x2-m>
      <y2-m> -0.155 </y2-m>
      <z2-m>  0.133 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD1</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.1 </ind><dep> 90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> 1.927 </x1-m>
      <y1-m> 1.142 </y1-m>
      <z1-m> 0.292 </z1-m>
      <x2-m> 2.238 </x2-m>
      <y2-m> 1.142 </y2-m>
      <z2-m> 0.288 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD2</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> -120 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -120 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> 2.014 </x1-m>
      <y1-m> 0.630 </y1-m>
      <z1-m> 0.109 </z1-m>
      <x2-m> 2.714 </x2-m>
      <y2-m> 0.630 </y2-m>
      <z2-m> 0.186 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD3</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.1 </ind><dep> 90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> 3.556 </x1-m>
      <y1-m> 1.044 </y1-m>
      <z1-m> 0.390 </z1-m>
      <x2-m> 3.714 </x2-m>
      <y2-m> 1.044 </y2-m>
      <z2-m> 0.434 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD4</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> -120 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -120 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> 3.113 </x1-m>
      <y1-m> 0.156 </y1-m>
      <z1-m> 0.031 </z1-m>
      <x2-m> 3.837 </x2-m>
      <y2-m> 0.155 </y2-m>
      <z2-m> 0.133 </z2-m>
    </axis>
  </animation>

  <!-- Compression -->
  <animation>
    <name>RoueAvant</name>
    <object-name>trainA2</object-name>
    <object-name>roueA</object-name>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>RoueAvant</object-name>
    <!-- <property>gear/gear[0]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[15]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.00 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.30 </dep></entry>
    </interpolation>
    <axis>
      <x>  0 </x>
      <y>  0 </y>
      <z>  1 </z>
    </axis>
  </animation>

  <animation>
    <name>RoueGauche</name>
    <object-name>trainG2</object-name>
    <object-name>roueG</object-name>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>RoueGauche</object-name>
    <!-- <property>gear/gear[1]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[16]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0000 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.3324 </dep></entry>
    </interpolation>
    <axis>
      <x> 0.000 </x>
      <y> 0.120 </y>
      <z> 0.310 </z>
    </axis>
  </animation>

  <animation>
    <name>RoueDroite</name>
    <object-name>trainD2</object-name>
    <object-name>roueD</object-name>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>RoueDroite</object-name>
    <!-- <property>gear/gear[2]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[17]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0000 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.3324 </dep></entry>
    </interpolation>
    <axis>
      <x>  0.000 </x>
      <y> -0.120 </y>
      <z>  0.310 </z>
    </axis>
  </animation>

  <!-- Rentree des roues -->
  <animation>
    <name>TrainAvant</name>
    <object-name>trainA1</object-name>
    <object-name>trainA2</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> -92 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -4.871 </x-m>
      <y-m>  0.000 </y-m>
      <z-m>  0.170 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>TrainGauche</name>
    <object-name>trainG1</object-name>
    <object-name>trainG2</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> -72 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m>  1.505 </x-m>
      <y-m> -0.823 </y-m>
      <z-m>  0.409 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainGauche</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 10 </dep></entry>
      <entry><ind> 1 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m>  1.505 </x-m>
      <y-m> -0.823 </y-m>
      <z-m>  0.409 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </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>  1.505 </x-m>
      <y-m> -0.823 </y-m>
      <z-m>  0.409 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <name>TrainDroit</name>
    <object-name>trainD1</object-name>
    <object-name>trainD2</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> -72 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> 1.505 </x-m>
      <y-m> 0.823 </y-m>
      <z-m> 0.409 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainDroit</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -10 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> 1.505 </x-m>
      <y-m> 0.823 </y-m>
      <z-m> 0.409 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </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> 1.505 </x-m>
      <y-m> 0.823 </y-m>
      <z-m> 0.409 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!-- Rotation de la roue avant en fonction de la gouverne de direction -->
  <animation>
    <type>rotate</type>
    <object-name>TrainAvant</object-name>
    <!-- <property>gear/gear[3]/caster-angle-deg</property> -->
    <property>sim/multiplay/generic/float[14]</property>
    <factor> -0.8 </factor>
    <center>
      <x-m> -4.863 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -1.677 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!-- Rotation des roues lors du roulage -->
  <animation>
    <type>spin</type>
    <object-name>roueA</object-name>
    <!-- <property>gear/gear[0]/rollspeed-ms</property> -->
    <property>sim/multiplay/generic/float[11]</property>
    <factor> -30 </factor>
    <center>
      <x-m> -4.863 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -1.677 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueG</object-name>
    <!-- <property>gear/gear[1]/rollspeed-ms</property> -->
    <property>sim/multiplay/generic/float[12]</property>
    <factor> -30 </factor>
    <center>
      <x-m>  1.498 </x-m>
      <y-m> -1.663 </y-m>
      <z-m> -1.475 </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[13]</property>
    <factor> -30 </factor>
    <center>
      <x-m>  1.498 </x-m>
      <y-m>  1.663 </y-m>
      <z-m> -1.475 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Canopy -->
  <animation>
    <type>pick</type>
    <object-name>canopy</object-name>
    <object-name>canopytrs</object-name>
    <object-name>HDRcanopytrs</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>canopy</object-name>
    <object-name>canopytrs</object-name>
    <object-name>HDRcanopytrs</object-name>
    <!-- <property>sim/model/door-positions/crew/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>    0 </dep></entry>
      <entry><ind> 1 </ind><dep> -100 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -1.616 </x1-m>
      <y1-m>  0.410 </y1-m>
      <z1-m>  0.660 </z1-m>
      <x2-m> -1.284 </x2-m>
      <y2-m>  0.410 </y2-m>
      <z2-m>  0.662 </z2-m>
    </axis>
  </animation>

</PropertyList>
