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

<PropertyList>

  <path>gannet.ac</path>

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

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

  <animation>
    <!-- Objets opaques -->
    <object-name>fuselage</object-name>
    <object-name>porteAG1</object-name>
    <object-name>porteAG2</object-name>
    <object-name>porteAD1</object-name>
    <object-name>porteAD2</object-name>
    <object-name>baieG</object-name>
    <object-name>baieD</object-name>
    <object-name>ailesbase</object-name>
    <object-name>ailescentreG</object-name>
    <object-name>ailescentreD</object-name>
    <object-name>ailesboutG</object-name>
    <object-name>ailesboutD</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG1</object-name>
    <object-name>voletG2</object-name>
    <object-name>voletD1</object-name>
    <object-name>voletD2</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeur</object-name>
    <object-name>derives</object-name>
    <object-name>direction</object-name>
    <object-name>trousair</object-name>
    <object-name>bol1</object-name>
    <object-name>bol2</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>antenne</object-name>
    <object-name>ajout</object-name>
    <object-name>hook</object-name>
    <object-name>canopy</object-name>

    <object-name>trous</object-name>
    <object-name>cables</object-name>
    <object-name>trousboutG</object-name>
    <object-name>trouscentreG</object-name>
    <object-name>trousboutD</object-name>
    <object-name>trouscentreD</object-name>
    <object-name>air</object-name>
    <object-name>helice1</object-name>
    <object-name>helice2</object-name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>roueA</object-name>
    <object-name>axeGH</object-name>
    <object-name>axeGB</object-name>
    <object-name>roueG</object-name>
    <object-name>axeDH</object-name>
    <object-name>axeDB</object-name>
    <object-name>roueD</object-name>

    <!-- Objets transparents -->
    <object-name>vitres</object-name>
    <object-name>vitrecanopy</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>HDRvitrecanopy</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>fuselage</object-name>
    <object-name>porteAG1</object-name>
    <object-name>porteAG2</object-name>
    <object-name>porteAD1</object-name>
    <object-name>porteAD2</object-name>
    <object-name>baieG</object-name>
    <object-name>baieD</object-name>
    <object-name>ailesbase</object-name>
    <object-name>ailescentreG</object-name>
    <object-name>ailescentreD</object-name>
    <object-name>ailesboutG</object-name>
    <object-name>ailesboutD</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG1</object-name>
    <object-name>voletG2</object-name>
    <object-name>voletD1</object-name>
    <object-name>voletD2</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeur</object-name>
    <object-name>derives</object-name>
    <object-name>direction</object-name>
    <object-name>trousair</object-name>
    <object-name>bol1</object-name>
    <object-name>bol2</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>antenne</object-name>
    <object-name>ajout</object-name>
    <object-name>hook</object-name>
    <object-name>canopy</object-name>
    <object-name>trous</object-name>
    <object-name>cables</object-name>
    <object-name>trousboutG</object-name>
    <object-name>trouscentreG</object-name>
    <object-name>trousboutD</object-name>
    <object-name>trouscentreD</object-name>
    <object-name>air</object-name>
    <object-name>helice1</object-name>
    <object-name>helice2</object-name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>roueA</object-name>
    <object-name>axeGH</object-name>
    <object-name>axeGB</object-name>
    <object-name>roueG</object-name>
    <object-name>axeDH</object-name>
    <object-name>axeDB</object-name>
    <object-name>roueD</object-name>
    <object-name>vitres</object-name>
    <object-name>vitrecanopy</object-name>
    <object-name>propblur1</object-name>
    <object-name>propdisc1</object-name>
    <object-name>propblur2</object-name>
    <object-name>propdisc2</object-name>
    <object-name>HDRvitres</object-name>
    <object-name>HDRvitrecanopy</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/Fairey-Gannet/Models/Effects/Bump/bumpspec</inherits-from>
    <object-name>fuselage</object-name>
    <object-name>porteAG1</object-name>
    <object-name>porteAG2</object-name>
    <object-name>porteAD1</object-name>
    <object-name>porteAD2</object-name>
    <object-name>baieG</object-name>
    <object-name>baieD</object-name>
    <object-name>ailesbase</object-name>
    <object-name>ailescentreG</object-name>
    <object-name>ailescentreD</object-name>
    <object-name>ailesboutG</object-name>
    <object-name>ailesboutD</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG1</object-name>
    <object-name>voletG2</object-name>
    <object-name>voletD1</object-name>
    <object-name>voletD2</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeur</object-name>
    <object-name>derives</object-name>
    <object-name>direction</object-name>
    <object-name>trousair</object-name>
    <object-name>bol1</object-name>
    <object-name>bol2</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>antenne</object-name>
    <object-name>ajout</object-name>
    <object-name>hook</object-name>
    <object-name>canopy</object-name>
  </effect>

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

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

  <effect>
    <inherits-from>Effects/model-transparent</inherits-from>
    <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/Weapons/3D/all-bombs.xml</path>
  </model>

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

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

  <model>
    <path>Effects/tiptrail/all-tiptrails.xml</path>
  </model>

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

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

  <!-- L'hélice -->
  <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>

  <!-- Séléction de l'objet visible en fonction des rpm -->
  <animation>
    <type>select</type>
    <object-name>propdisc1</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[0]/rpm</property>
        <value>900</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>300.000</value>
      </greater-than>
      <less-than>
        <property>engines/engine[0]/rpm</property>
        <value>900.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>900</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>HeliceComplete1</object-name>
    <condition>
      <!-- <not><property>controls/engines/engine[0]/cutoff</property></not> -->
      <not><property>sim/multiplay/generic/bool[8]</property></not>
    </condition>
    <!-- <property>engines/engine[0]/n1</property> -->
    <property>sim/multiplay/generic/float[4]</property>
    <factor> 50 </factor>
    <center>
      <x-m> -6.38626 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -0.16025 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- L'hélice 2-->
  <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>

  <!-- Séléction de l'objet visible en fonction des rpm -->
  <animation>
    <type>select</type>
    <object-name>propdisc2</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[1]/rpm</property>
        <value>900</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>300.000</value>
      </greater-than>
      <less-than>
        <property>engines/engine[1]/rpm</property>
        <value>900.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>900</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>HeliceComplete2</object-name>
    <condition>
      <!-- <not><property>controls/engines/engine[1]/cutoff</property></not> -->
      <not><property>sim/multiplay/generic/bool[9]</property></not>
    </condition>
    <!-- <property>engines/engine[1]/n1</property> -->
    <property>sim/multiplay/generic/float[5]</property>
    <factor> 50 </factor>
    <center>
      <x-m> -6.01425 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -0.16025 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Pliage des ailes -->
  <animation>
    <name>AileGauche</name>
    <object-name>ailescentreG</object-name>
    <object-name>ailesboutG</object-name>
    <object-name>aileronG</object-name>
    <object-name>voletG2</object-name>
    <object-name>trouscentreG</object-name>
    <object-name>trousboutG</object-name>
  </animation>

  <animation>
    <name>BoutAileGauche</name>
    <object-name>ailesboutG</object-name>
    <object-name>aileronG</object-name>
    <object-name>trousboutG</object-name>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>BoutAileGauche</object-name>
    <object-name>AileGauche</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>doors.wings.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>BoutAileGauche</object-name>
    <!-- <property>sim/model/door-positions/wings/position-norm</property> -->
    <property>sim/multiplay/generic/float[11]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> 133 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.92179 </x-m>
      <y-m> -5.29079 </y-m>
      <z-m> -0.46969 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>AileGauche</object-name>
    <!-- <property>sim/model/door-positions/wings/position-norm</property> -->
    <property>sim/multiplay/generic/float[11]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>    0 </dep></entry>
      <entry><ind> 1 </ind><dep> -144 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.68299 </x-m>
      <y-m> -2.85398 </y-m>
      <z-m> -0.27645 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>AileDroite</name>
    <object-name>ailescentreD</object-name>
    <object-name>ailesboutD</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletD2</object-name>
    <object-name>trouscentreD</object-name>
    <object-name>trousboutD</object-name>
  </animation>

  <animation>
    <name>BoutAileDroite</name>
    <object-name>ailesboutD</object-name>
    <object-name>aileronD</object-name>
    <object-name>trousboutD</object-name>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>BoutAileDroite</object-name>
    <object-name>AileDroite</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>doors.wings.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>BoutAileDroite</object-name>
    <!-- <property>sim/model/door-positions/wings/position-norm</property> -->
    <property>sim/multiplay/generic/float[11]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>    0 </dep></entry>
      <entry><ind> 1 </ind><dep> -133 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.92179 </x-m>
      <y-m>  5.29079 </y-m>
      <z-m> -0.46969 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>AileDroite</object-name>
    <!-- <property>sim/model/door-positions/wings/position-norm</property> -->
    <property>sim/multiplay/generic/float[11]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> 144 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.68299 </x-m>
      <y-m>  2.85398 </y-m>
      <z-m> -0.27645 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Profondeur -->
  <animation>
    <type>rotate</type>
    <object-name>profondeur</object-name>
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 15 </factor>
    <center>
      <x-m> 4.96490 </x-m>
      <y-m> 0.00000 </y-m>
      <z-m> 0.74517 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>direction</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor> 15 </factor>
    <center>
      <x-m> 5.33333 </x-m>
      <y-m> 0.00000 </y-m>
      <z-m> 1.00086 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!-- Animations des ailerons -->
  <animation>
    <type>rotate</type>
    <object-name>aileronG</object-name>
    <property>surface-positions/left-aileron-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m> -1.56323 </x1-m>
      <y1-m> -8.14133 </y1-m>
      <z1-m> -0.06382 </z1-m>
      <x2-m> -1.23545 </x2-m>
      <y2-m> -5.29079 </y2-m>
      <z2-m> -0.31100 </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> -1.23545 </x1-m>
      <y1-m>  5.29079 </y1-m>
      <z1-m> -0.31100 </z1-m>
      <x2-m> -1.56323 </x2-m>
      <y2-m>  8.14133 </y2-m>
      <z2-m> -0.06382 </z2-m>
    </axis>
  </animation>

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

  <animation>
    <type>rotate</type>
    <object-name>voletG1</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> -55 </factor>
    <axis>
      <x1-m> -0.67517 </x1-m>
      <y1-m> -2.85398 </y1-m>
      <z1-m> -0.65571 </z1-m>
      <x2-m> -0.38065 </x2-m>
      <y2-m> -0.75743 </y2-m>
      <z2-m> -0.50140 </z2-m>
    </axis>
  </animation>

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

  <animation>
    <type>rotate</type>
    <object-name>voletG2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> -55 </factor>
    <axis>
      <x1-m> -0.91082 </x1-m>
      <y1-m> -4.53145 </y1-m>
      <z1-m> -0.49222 </z1-m>
      <x2-m> -0.67517 </x2-m>
      <y2-m> -2.85398 </y2-m>
      <z2-m> -0.65571 </z2-m>
    </axis>
  </animation>

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

  <animation>
    <type>rotate</type>
    <object-name>voletD1</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> -55 </factor>
    <axis>
      <x1-m> -0.38065 </x1-m>
      <y1-m>  0.75743 </y1-m>
      <z1-m> -0.50140 </z1-m>
      <x2-m> -0.67517 </x2-m>
      <y2-m>  2.85398 </y2-m>
      <z2-m> -0.65571 </z2-m>
    </axis>
  </animation>

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

  <animation>
    <type>rotate</type>
    <object-name>voletD2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> -55 </factor>
    <axis>
      <x1-m> -0.67517 </x1-m>
      <y1-m>  2.85398 </y1-m>
      <z1-m> -0.65571 </z1-m>
      <x2-m> -0.91082 </x2-m>
      <y2-m>  4.53145 </y2-m>
      <z2-m> -0.49222 </z2-m>
    </axis>
  </animation>

  <!-- Compression -->
  <animation>
    <name>BasRoueAvant</name>
    <object-name>roueA</object-name>
    <object-name>axeAB</object-name>
  </animation>

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

  <animation>
    <name>BasRoueGauche</name>
    <object-name>roueG</object-name>
    <object-name>axeGB</object-name>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>BasRoueGauche</object-name>
    <!-- <property>gear/gear[1]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[14]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -0.01 </dep></entry>
      <entry><ind> 1 </ind><dep>  0.10 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

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

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

  <!-- rentree des roues -->
  <animation>
    <name>RoueAvant</name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>roueA</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>RoueAvant</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -81 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -5.57390 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -1.03302 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>RoueGauche</name>
    <object-name>axeGH</object-name>
    <object-name>axeGB</object-name>
    <object-name>roueG</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>RoueGauche</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.43521 </x-m>
      <y-m> -2.55890 </y-m>
      <z-m> -0.60943 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>SousRoueGauche</name>
    <object-name>axeGB</object-name>
    <object-name>roueG</object-name>
  </animation>

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

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

  <animation>
    <type>rotate</type>
    <object-name>RoueDroite</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.43521 </x-m>
      <y-m>  2.55890 </y-m>
      <z-m> -0.60943 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

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

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

  <!-- Animation des portes des trains -->
  <animation>
    <type>rotate</type>
    <object-name>porteAG1</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.3 </ind><dep> -75 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -75 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -5.61264 </x1-m>
      <y1-m> -0.42800 </y1-m>
      <z1-m> -0.93950 </z1-m>
      <x2-m> -5.42784 </x2-m>
      <y2-m> -0.42800 </y2-m>
      <z2-m> -1.05392 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteAG2</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.3 </ind><dep> -75 </dep></entry>
      <entry><ind> 0.8 </ind><dep> -75 </dep></entry>
      <entry><ind> 1.0 </ind><dep>   0 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -5.05731 </x1-m>
      <y1-m> -0.42800 </y1-m>
      <z1-m> -1.20452 </z1-m>
      <x2-m> -4.38216 </x2-m>
      <y2-m> -0.42800 </y2-m>
      <z2-m> -1.34052 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteAD1</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.3 </ind><dep> -75 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -75 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -5.42784 </x1-m>
      <y1-m>  0.42800 </y1-m>
      <z1-m> -1.05392 </z1-m>
      <x2-m> -5.61264 </x2-m>
      <y2-m>  0.42800 </y2-m>
      <z2-m> -0.93950 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteAD2</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.3 </ind><dep> -75 </dep></entry>
      <entry><ind> 0.8 </ind><dep> -75 </dep></entry>
      <entry><ind> 1.0 </ind><dep>   0 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -4.38216 </x1-m>
      <y1-m>  0.42800 </y1-m>
      <z1-m> -1.34052 </z1-m>
      <x2-m> -5.05731 </x2-m>
      <y2-m>  0.42800 </y2-m>
      <z2-m> -1.20452 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteG</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> -95 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -2.02398 </x1-m>
      <y1-m> -2.57649 </y1-m>
      <z1-m> -0.71802 </z1-m>
      <x2-m> -1.29823 </x2-m>
      <y2-m> -2.57649 </y2-m>
      <z2-m> -0.70356 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> -95 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -1.29823 </x1-m>
      <y1-m>  2.57649 </y1-m>
      <z1-m> -0.70356 </z1-m>
      <x2-m> -2.02398 </x2-m>
      <y2-m>  2.57649 </y2-m>
      <z2-m> -0.71802 </z2-m>
    </axis>
  </animation>

  <!-- Rotation de la roue avant en fonction de la gouverne de direction -->
  <animation>
    <name>TrainAvant</name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>roueA</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainAvant</object-name>
    <!-- <property>gear/gear[0]/caster-angle-deg</property> -->
    <property>sim/multiplay/generic/float[18]</property>
    <factor> -0.6 </factor>
    <center>
      <x-m> -5.57390 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -2.39566 </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[8]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -5.57390 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -2.39566 </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[9]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -1.49946 </x-m>
      <y-m> -2.16916 </y-m>
      <z-m> -2.06800 </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[10]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -1.49946 </x-m>
      <y-m>  2.16916 </y-m>
      <z-m> -2.06800 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Animation de la verrière -->
  <animation>
    <type>pick</type>
    <object-name>canopy</object-name>
    <object-name>vitrecanopy</object-name>
    <object-name>HDRvitrecanopy</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>canopy</object-name>
    <object-name>vitrecanopy</object-name>
    <object-name>HDRvitrecanopy</object-name>
    <!-- <property>sim/model/door-positions/crew/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> 0.00 </dep></entry>
      <entry><ind> 0.2 </ind><dep> 0.04 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 0.04 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>canopy</object-name>
    <object-name>vitrecanopy</object-name>
    <object-name>HDRvitrecanopy</object-name>
    <!-- <property>sim/model/door-positions/crew/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> 0.00 </dep></entry>
      <entry><ind> 0.2 </ind><dep> 0.00 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 0.56 </dep></entry>
    </interpolation>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Animation des portes de la soute -->
  <animation>
    <type>pick</type>
    <object-name>baieG</object-name>
    <object-name>baieD</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>doors.bomb.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>baieG</object-name>
    <!-- <property>sim/model/door-positions/bomb/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.5 </ind><dep> -50 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -50 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -1.31823 </x1-m>
      <y1-m> -0.63346 </y1-m>
      <z1-m> -1.09892 </z1-m>
      <x2-m> -0.82179 </x2-m>
      <y2-m> -0.61897 </y2-m>
      <z2-m> -1.09892 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>baieD</object-name>
    <!-- <property>sim/model/door-positions/bomb/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.5 </ind><dep> -50 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -50 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -0.82179 </x1-m>
      <y1-m>  0.61897 </y1-m>
      <z1-m> -1.09892 </z1-m>
      <x2-m> -1.31823 </x2-m>
      <y2-m>  0.63346 </y2-m>
      <z2-m> -1.09892 </z2-m>
    </axis>
  </animation>

  <!-- Crosse d'appontage -->
  <animation>
    <type>rotate</type>
    <object-name>hook</object-name>
    <property>gear/tailhook/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> 75 </dep></entry>
    </interpolation>
    <center>
      <x-m>  4.78539 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -0.65539 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

</PropertyList>
