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

<PropertyList>

  <path>m6a1.ac</path>

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

  <nasal>
    <load>
      var livery_update = aircraft.livery_update.new("Aircraft/Aichi-M6A/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>verriereA</object-name>
    <object-name>verriereB</object-name>
    <object-name>centreailes</object-name>
    <object-name>aileG</object-name>
    <object-name>aileD</object-name>
    <object-name>pito</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>ailes2</object-name>
    <object-name>ailes2G</object-name>
    <object-name>ailes2D</object-name>
    <object-name>direction</object-name>
    <object-name>profondeur</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>bol</object-name>
    <object-name>antenne</object-name>
    <!-- m6a1 version -->
    <object-name>supports</object-name>
    <object-name>gouvernailG</object-name>
    <object-name>gouvernailD</object-name>
    <object-name>flotteursH</object-name>
    <object-name>tailH</object-name>
    <object-name>cachecentreailes</object-name>
    <object-name>cacheaileG</object-name>
    <object-name>cacheaileD</object-name>
    <!-- m6a1-k version -->
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>axeAbosse</object-name>

    <object-name>trous</object-name>
    <object-name>trouaileG</object-name>
    <object-name>trouaileD</object-name>
    <object-name>trouprofG</object-name>
    <object-name>trouprofD</object-name>
    <object-name>helice</object-name>
    <object-name>echappes</object-name>
    <object-name>cables</object-name>
    <!-- m6a1 version -->
    <object-name>flotteursB</object-name>
    <object-name>barres</object-name>
    <object-name>troutailH</object-name>
    <!-- m6a1-k version -->
    <object-name>axeGA</object-name>
    <object-name>axeGB</object-name>
    <object-name>roueG</object-name>
    <object-name>axeDA</object-name>
    <object-name>axeDB</object-name>
    <object-name>roueD</object-name>
    <object-name>axeA</object-name>
    <object-name>roueA</object-name>

    <!-- draw this at last (order critical!) -->
    <object-name>vitres</object-name>
    <object-name>vitresverriereA</object-name>
    <object-name>vitresverriereB</object-name>
    <object-name>lampeG</object-name>
    <object-name>lampeD</object-name>
    <object-name>propblur</object-name>
    <object-name>propdisc</object-name>
    <!-- HDR mode -->
    <object-name>HDRvitres</object-name>
    <object-name>HDRvitresverriereA</object-name>
    <object-name>HDRvitresverriereB</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>fuselage</object-name>
    <object-name>verriereA</object-name>
    <object-name>verriereB</object-name>
    <object-name>centreailes</object-name>
    <object-name>aileG</object-name>
    <object-name>aileD</object-name>
    <object-name>pito</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>ailes2</object-name>
    <object-name>ailes2G</object-name>
    <object-name>ailes2D</object-name>
    <object-name>direction</object-name>
    <object-name>profondeur</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>bol</object-name>
    <object-name>antenne</object-name>
    <object-name>supports</object-name>
    <object-name>gouvernailG</object-name>
    <object-name>gouvernailD</object-name>
    <object-name>flotteursH</object-name>
    <object-name>tailH</object-name>
    <object-name>cachecentreailes</object-name>
    <object-name>cacheaileG</object-name>
    <object-name>cacheaileD</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>axeAbosse</object-name>
    <object-name>trous</object-name>
    <object-name>trouaileG</object-name>
    <object-name>trouaileD</object-name>
    <object-name>trouprofG</object-name>
    <object-name>trouprofD</object-name>
    <object-name>helice</object-name>
    <object-name>echappes</object-name>
    <object-name>cables</object-name>
    <object-name>flotteursB</object-name>
    <object-name>barres</object-name>
    <object-name>troutailH</object-name>
    <object-name>axeGA</object-name>
    <object-name>axeGB</object-name>
    <object-name>roueG</object-name>
    <object-name>axeDA</object-name>
    <object-name>axeDB</object-name>
    <object-name>roueD</object-name>
    <object-name>axeA</object-name>
    <object-name>roueA</object-name>
    <object-name>vitres</object-name>
    <object-name>vitresverriereA</object-name>
    <object-name>vitresverriereB</object-name>
    <object-name>lampeG</object-name>
    <object-name>lampeD</object-name>
    <object-name>propblur</object-name>
    <object-name>propdisc</object-name>
    <object-name>HDRvitres</object-name>
    <object-name>HDRvitresverriereA</object-name>
    <object-name>HDRvitresverriereB</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/Aichi-M6A/Models/Effects/Bump/bumpspec</inherits-from>
    <object-name>fuselage</object-name>
    <object-name>verriereA</object-name>
    <object-name>verriereB</object-name>
    <object-name>centreailes</object-name>
    <object-name>aileG</object-name>
    <object-name>aileD</object-name>
    <object-name>pito</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>ailes2</object-name>
    <object-name>ailes2G</object-name>
    <object-name>ailes2D</object-name>
    <object-name>direction</object-name>
    <object-name>profondeur</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>bol</object-name>
    <object-name>antenne</object-name>
    <!-- m6a1 version -->
    <object-name>supports</object-name>
    <object-name>gouvernailG</object-name>
    <object-name>gouvernailD</object-name>
    <object-name>flotteursH</object-name>
    <object-name>tailH</object-name>
    <object-name>cachecentreailes</object-name>
    <object-name>cacheaileG</object-name>
    <object-name>cacheaileD</object-name>
    <!-- m6a1-k version -->
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>axeAbosse</object-name>
  </effect>

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

  <effect>
    <inherits-from>Effects/Glass/glass</inherits-from>
    <object-name>HDRvitres</object-name>
    <object-name>HDRvitresverriereA</object-name>
    <object-name>HDRvitresverriereB</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>HDRvitresverriereA</object-name>
    <object-name>HDRvitresverriereB</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>vitresverriereA</object-name>
    <object-name>vitresverriereB</object-name>
  </animation>

  <effect>
    <inherits-from>Effects/model-transparent</inherits-from>
    <object-name>lampeG</object-name>
    <object-name>lampeD</object-name>
    <object-name>propblur</object-name>
    <object-name>propdisc</object-name>
  </effect>

  <animation>
    <type>select</type>
    <object-name>supports</object-name>
    <object-name>gouvernailG</object-name>
    <object-name>gouvernailD</object-name>
    <object-name>flotteursH</object-name>
    <object-name>flotteursB</object-name>
    <object-name>barres</object-name>
    <object-name>tailH</object-name>
    <object-name>cachecentreailes</object-name>
    <object-name>cacheaileG</object-name>
    <object-name>cacheaileD</object-name>
    <object-name>troutailH</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>SEAPLANE</value>
      </equals>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>axeAbosse</object-name>
    <object-name>axeGA</object-name>
    <object-name>axeGB</object-name>
    <object-name>roueG</object-name>
    <object-name>axeDA</object-name>
    <object-name>axeDB</object-name>
    <object-name>roueD</object-name>
    <object-name>axeA</object-name>
    <object-name>roueA</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>WHEELS</value>
      </equals>
    </condition>
  </animation>

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

  <model>
    <path>Effects/Weapons/3D/all-bombs.xml</path>
  </model>

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

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

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

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

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

  <!-- L'hélice -->
  <animation>
    <name>HeliceComplete</name>
    <object-name>propdisc</object-name>
    <object-name>propblur</object-name>
    <object-name>helice</object-name>
    <object-name>bol</object-name>
  </animation>

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

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

  <animation>
    <type>spin</type>
    <object-name>HeliceComplete</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.44266 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m>  0.22662 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- folding wings -->
  <animation>
    <name>LesFlotteurs</name>
    <object-name>flotteursH</object-name>
    <object-name>flotteursB</object-name>
    <object-name>gouvernailG</object-name>
    <object-name>gouvernailD</object-name>
    <object-name>supports</object-name>
  </animation>

  <animation>
    <type>select</type>
    <object-name>LesFlotteurs</object-name>
    <condition>
      <and>
        <equals>
          <!-- <property>/sim/model/mode</property> -->
          <property>sim/multiplay/generic/string[0]</property>
          <value>SEAPLANE</value>
        </equals>
        <equals>
          <!-- <property>sim/model/door-positions/wings/position-norm</property> -->
          <property>sim/multiplay/generic/float[13]</property>
          <value>0</value>
        </equals>
      </and>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>barres</object-name>
    <condition>
      <and>
        <equals>
          <!-- <property>/sim/model/mode</property> -->
          <property>sim/multiplay/generic/string[0]</property>
          <value>SEAPLANE</value>
        </equals>
        <greater-than>
          <!-- <property>sim/model/door-positions/wings/position-norm</property> -->
          <property>sim/multiplay/generic/float[13]</property>
          <value>0</value>
        </greater-than>
      </and>
    </condition>
  </animation>

  <animation>
    <name>LaQueue</name>
    <object-name>tailH</object-name>
    <object-name>troutailH</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>LaQueue</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>SEAPLANE</value>
      </equals>
    </condition>
    <!-- <property>sim/model/door-positions/wings/position-norm</property> -->
    <property>sim/multiplay/generic/float[13]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>    0 </dep></entry>
      <entry><ind> 1 </ind><dep> -165 </dep></entry>
    </interpolation>
    <center>
      <x-m> 4.85522 </x-m>
      <y-m> 0.06214 </y-m>
      <z-m> 2.02993 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>AileGauche</name>
    <object-name>aileG</object-name>
    <object-name>aileronG</object-name>
    <object-name>voletG1</object-name>
    <object-name>voletG2</object-name>
    <object-name>trouaileG</object-name>
    <object-name>pito</object-name>
    <object-name>lampeG</object-name>
    <object-name>porteG</object-name>
    <object-name>cacheaileG</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>AileGauche</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>SEAPLANE</value>
      </equals>
    </condition>
    <!-- <property>sim/model/door-positions/wings/position-norm</property> -->
    <property>sim/multiplay/generic/float[13]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.5 </ind><dep>  0 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 95 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.75016 </x-m>
      <y-m> -0.59754 </y-m>
      <z-m> -0.30991 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>AileGauche</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>SEAPLANE</value>
      </equals>
    </condition>
    <!-- <property>sim/model/door-positions/wings/position-norm</property> -->
    <property>sim/multiplay/generic/float[13]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.5 </ind><dep> 90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 90 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.75016 </x-m>
      <y-m> -0.59754 </y-m>
      <z-m> -0.30991 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <name>AileDroite</name>
    <object-name>aileD</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletD1</object-name>
    <object-name>voletD2</object-name>
    <object-name>trouaileD</object-name>
    <object-name>lampeD</object-name>
    <object-name>porteD</object-name>
    <object-name>cacheaileD</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>AileDroite</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>SEAPLANE</value>
      </equals>
    </condition>
    <!-- <property>sim/model/door-positions/wings/position-norm</property> -->
    <property>sim/multiplay/generic/float[13]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.5 </ind><dep>  0 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 95 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.75016 </x-m>
      <y-m>  0.59754 </y-m>
      <z-m> -0.30991 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y>  0 </y>
      <z> -1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>AileDroite</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>SEAPLANE</value>
      </equals>
    </condition>
    <!-- <property>sim/model/door-positions/wings/position-norm</property> -->
    <property>sim/multiplay/generic/float[13]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.5 </ind><dep> 90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 90 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.75016 </x-m>
      <y-m>  0.59754 </y-m>
      <z-m> -0.30991 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <name>ProfondeurGauche</name>
    <object-name>ailes2G</object-name>
    <object-name>profondeurG</object-name>
    <object-name>trouprofG</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>ProfondeurGauche</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>SEAPLANE</value>
      </equals>
    </condition>
    <!-- <property>sim/model/door-positions/wings/position-norm</property> -->
    <property>sim/multiplay/generic/float[13]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.5 </ind><dep> 90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 90 </dep></entry>
    </interpolation>
    <center>
      <x-m>  4.38263 </x-m>
      <y-m> -0.44263 </y-m>
      <z-m>  0.63630 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>ProfondeurDroite</name>
    <object-name>ailes2D</object-name>
    <object-name>profondeurD</object-name>
    <object-name>trouprofD</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>ProfondeurDroite</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>SEAPLANE</value>
      </equals>
    </condition>
    <!-- <property>sim/model/door-positions/wings/position-norm</property> -->
    <property>sim/multiplay/generic/float[13]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.5 </ind><dep> 90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 90 </dep></entry>
    </interpolation>
    <center>
      <x-m> 4.38263 </x-m>
      <y-m> 0.44263 </y-m>
      <z-m> 0.63630 </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>surface-positions/rudder-pos-norm</property>
    <factor> 15 </factor>
    <center>
      <x-m> 5.08065 </x-m>
      <y-m> 0.00000 </y-m>
      <z-m> 0.86772 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>gouvernailG</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m>  2.11474 </x1-m>
      <y1-m> -1.68630 </y1-m>
      <z1-m> -1.75100 </z1-m>
      <x2-m>  2.05575 </x2-m>
      <y2-m> -1.68630 </y2-m>
      <z2-m> -1.50156 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>gouvernailD</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m>  2.11474 </x1-m>
      <y1-m>  1.68630 </y1-m>
      <z1-m> -1.75100 </z1-m>
      <x2-m>  2.05575 </x2-m>
      <y2-m>  1.68630 </y2-m>
      <z2-m> -1.50156 </z2-m>
    </axis>
  </animation>

  <!-- Gouverne de profondeur -->
  <animation>
    <type>rotate</type>
    <object-name>profondeur</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 15 </factor>
    <center>
      <x-m> 4.61587 </x-m>
      <y-m> 0.00000 </y-m>
      <z-m> 0.70098 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </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> -0.67432 </x1-m>
      <y1-m> -5.58741 </y1-m>
      <z1-m>  0.26997 </z1-m>
      <x2-m> -0.39791 </x2-m>
      <y2-m> -3.13584 </y2-m>
      <z2-m>  0.03782 </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.39791 </x1-m>
      <y1-m>  3.13584 </y1-m>
      <z1-m>  0.03782 </z1-m>
      <x2-m> -0.67432 </x2-m>
      <y2-m>  5.58741 </y2-m>
      <z2-m>  0.26997 </z2-m>
    </axis>
  </animation>

  <!-- Volets -->
  <animation>
    <name>VoletGauche</name>
    <object-name>voletG1</object-name>
    <object-name>voletG2</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>VoletGauche</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 30 </factor>
    <axis>
      <x1-m> -0.46088 </x1-m>
      <y1-m> -3.13848 </y1-m>
      <z1-m> -0.02953 </z1-m>
      <x2-m> -0.15393 </x2-m>
      <y2-m> -0.69146 </y2-m>
      <z2-m> -0.27122 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletG2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -0.12581 </x1-m>
      <y1-m> -3.13745 </y1-m>
      <z1-m> -0.00152 </z1-m>
      <x2-m>  0.21288 </x2-m>
      <y2-m> -0.69142 </y2-m>
      <z2-m> -0.23918 </z2-m>
    </axis>
  </animation>

  <animation>
    <name>VoletDroit</name>
    <object-name>voletD1</object-name>
    <object-name>voletD2</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>VoletDroit</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 30 </factor>
    <axis>
      <x1-m> -0.15393 </x1-m>
      <y1-m>  0.69146 </y1-m>
      <z1-m> -0.27122 </z1-m>
      <x2-m> -0.46088 </x2-m>
      <y2-m>  3.13848 </y2-m>
      <z2-m> -0.02953 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletD2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m>  0.21288 </x1-m>
      <y1-m>  0.69142 </y1-m>
      <z1-m> -0.23918 </z1-m>
      <x2-m> -0.12581 </x2-m>
      <y2-m>  3.13745 </y2-m>
      <z2-m> -0.00152 </z2-m>
    </axis>
  </animation>

  <!-- Canopy -->
  <animation>
    <type>pick</type>
    <object-name>verriereA</object-name>
    <object-name>vitresverriereA</object-name>
    <object-name>HDRvitresverriereA</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>doors.crew.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>verriereA</object-name>
    <object-name>vitresverriereA</object-name>
    <object-name>HDRvitresverriereA</object-name>
    <!-- <property>sim/model/door-positions/crew/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <factor> 0.6 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>verriereA</object-name>
    <object-name>vitresverriereA</object-name>
    <object-name>HDRvitresverriereA</object-name>
    <!-- <property>sim/model/door-positions/crew/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <factor> 0.04 </factor>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>verriereB</object-name>
    <object-name>vitresverriereB</object-name>
    <object-name>HDRvitresverriereB</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>translate</type>
    <object-name>verriereB</object-name>
    <object-name>vitresverriereB</object-name>
    <object-name>HDRvitresverriereB</object-name>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> 0.5 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>verriereB</object-name>
    <object-name>vitresverriereB</object-name>
    <object-name>HDRvitresverriereB</object-name>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> -0.04 </factor>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!-- Wheels doors -->
  <animation>
    <type>rotate</type>
    <object-name>porteG</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>WHEELS</value>
      </equals>
    </condition>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> -86 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.80332 </x-m>
      <y-m> -2.41266 </y-m>
      <z-m>  0.01080 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteG</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>WHEELS</value>
      </equals>
    </condition>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> 16 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.80332 </x-m>
      <y-m> -2.41266 </y-m>
      <z-m>  0.01080 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>WHEELS</value>
      </equals>
    </condition>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> 86 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.80332 </x-m>
      <y-m>  2.41266 </y-m>
      <z-m>  0.01080 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>WHEELS</value>
      </equals>
    </condition>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> -16 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.80332 </x-m>
      <y-m>  2.41266 </y-m>
      <z-m>  0.01080 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!-- Rentrée des roues -->
  <animation>
    <name>TrainGauche</name>
    <object-name>axeGA</object-name>
    <object-name>axeGB</object-name>
    <object-name>roueG</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainGauche</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>WHEELS</value>
      </equals>
    </condition>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 86 </dep></entry>
      <entry><ind> 1 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.80332 </x-m>
      <y-m> -2.41266 </y-m>
      <z-m>  0.01080 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainGauche</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>WHEELS</value>
      </equals>
    </condition>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -16 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.80332 </x-m>
      <y-m> -2.41266 </y-m>
      <z-m>  0.01080 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>TrainDroit</name>
    <object-name>axeDA</object-name>
    <object-name>axeDB</object-name>
    <object-name>roueD</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainDroit</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>WHEELS</value>
      </equals>
    </condition>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -86 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.80332 </x-m>
      <y-m>  2.41266 </y-m>
      <z-m>  0.01080 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainDroit</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>WHEELS</value>
      </equals>
    </condition>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -16 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.80332 </x-m>
      <y-m>  2.41266 </y-m>
      <z-m>  0.01080 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Compression -->
  <animation>
    <name>RoueGauche</name>
    <object-name>axeGB</object-name>
    <object-name>roueG</object-name>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>RoueGauche</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>WHEELS</value>
      </equals>
    </condition>
    <!-- <property>gear/gear[0]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[10]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0000 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.2022 </dep></entry>
    </interpolation>
    <axis>
      <x> 0.03 </x>
      <y> 0.00 </y>
      <z> 0.20 </z>
    </axis>
  </animation>

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

  <animation>
    <type>translate</type>
    <object-name>RoueDroite</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>WHEELS</value>
      </equals>
    </condition>
    <!-- <property>gear/gear[1]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[11]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0000 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.2022 </dep></entry>
    </interpolation>
    <axis>
      <x> 0.03 </x>
      <y> 0.00 </y>
      <z> 0.20 </z>
    </axis>
  </animation>

  <!-- Rotation des roues lors du roulage -->
  <animation>
    <type>spin</type>
    <object-name>roueG</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>WHEELS</value>
      </equals>
    </condition>
    <!-- <property>gear/gear[0]/rollspeed-ms</property> -->
    <property>sim/multiplay/generic/float[5]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -1.98805 </x-m>
      <y-m> -2.43033 </y-m>
      <z-m> -1.47421 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueD</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>WHEELS</value>
      </equals>
    </condition>
    <!-- <property>gear/gear[1]/rollspeed-ms</property> -->
    <property>sim/multiplay/generic/float[6]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -1.98805 </x-m>
      <y-m>  2.43033 </y-m>
      <z-m> -1.47421 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueA</object-name>
    <condition>
      <equals>
        <!-- <property>/sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>WHEELS</value>
      </equals>
    </condition>
    <!-- <property>gear/gear[2]/rollspeed-ms</property> -->
    <property>sim/multiplay/generic/float[7]</property>
    <factor> 30 </factor>
    <center>
      <x-m>  4.98748 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -0.37789 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

</PropertyList>
