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

<PropertyList>

  <path>ca12.ac</path>

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

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

      var self = cmdarg();

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

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

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

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

  <animation>
    <!-- Objets opaques -->
    <object-name>fuselage</object-name>
    <object-name>ailetteG1</object-name>
    <object-name>ailetteG2</object-name>
    <object-name>ailetteG3</object-name>
    <object-name>ailetteG4</object-name>
    <object-name>ailetteD1</object-name>
    <object-name>ailetteD2</object-name>
    <object-name>ailetteD3</object-name>
    <object-name>ailetteD4</object-name>
    <object-name>canope</object-name>
    <object-name>ailes</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG1</object-name>
    <object-name>voletG2</object-name>
    <object-name>voletD2</object-name>
    <object-name>voletD1</object-name>
    <object-name>ailes2</object-name>
    <object-name>direction</object-name>
    <object-name>profondeur</object-name>
    <object-name>bol</object-name>
    <object-name>porteG1</object-name>
    <object-name>porteG2</object-name>
    <object-name>porteD1</object-name>
    <object-name>porteD2</object-name>
    <object-name>pito</object-name>

    <object-name>trous</object-name>
    <object-name>cachesguns</object-name>
    <object-name>helice</object-name>
    <object-name>guns</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>axeA</object-name>
    <object-name>roueA</object-name>

    <!-- Objets transparents -->
    <object-name>vitres</object-name>
    <object-name>verriere</object-name>
    <object-name>propdisc</object-name>
    <object-name>propblur</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>fuselage</object-name>
    <object-name>ailetteG1</object-name>
    <object-name>ailetteG2</object-name>
    <object-name>ailetteG3</object-name>
    <object-name>ailetteG4</object-name>
    <object-name>ailetteD1</object-name>
    <object-name>ailetteD2</object-name>
    <object-name>ailetteD3</object-name>
    <object-name>ailetteD4</object-name>
    <object-name>canope</object-name>
    <object-name>ailes</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG1</object-name>
    <object-name>voletG2</object-name>
    <object-name>voletD2</object-name>
    <object-name>voletD1</object-name>
    <object-name>ailes2</object-name>
    <object-name>direction</object-name>
    <object-name>profondeur</object-name>
    <object-name>bol</object-name>
    <object-name>porteG1</object-name>
    <object-name>porteG2</object-name>
    <object-name>porteD1</object-name>
    <object-name>porteD2</object-name>
    <object-name>pito</object-name>

    <object-name>trous</object-name>
    <object-name>cachesguns</object-name>
    <object-name>helice</object-name>
    <object-name>guns</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>axeA</object-name>
    <object-name>roueA</object-name>

    <property-base>sim/model/livery</property-base>
    <texture-prop>texture</texture-prop>
    <texture>texture.png</texture>
    <specular>
      <red-prop>specular/red</red-prop>
      <green-prop>specular/green</green-prop>
      <blue-prop>specular/blue</blue-prop>
    </specular>
  </animation>

  <effect>
    <inherits-from>Effects/Bump/bumpspec</inherits-from>
    <object-name>fuselage</object-name>
    <object-name>ailetteG1</object-name>
    <object-name>ailetteG2</object-name>
    <object-name>ailetteG3</object-name>
    <object-name>ailetteG4</object-name>
    <object-name>ailetteD1</object-name>
    <object-name>ailetteD2</object-name>
    <object-name>ailetteD3</object-name>
    <object-name>ailetteD4</object-name>
    <object-name>canope</object-name>
    <object-name>ailes</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG1</object-name>
    <object-name>voletG2</object-name>
    <object-name>voletD2</object-name>
    <object-name>voletD1</object-name>
    <object-name>ailes2</object-name>
    <object-name>direction</object-name>
    <object-name>profondeur</object-name>
    <object-name>bol</object-name>
    <object-name>porteG1</object-name>
    <object-name>porteG2</object-name>
    <object-name>porteD1</object-name>
    <object-name>porteD2</object-name>
    <object-name>pito</object-name>
  </effect>

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

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

  <!-- Interieur -->
  <model>
    <path>Interior/interior.xml</path>
  </model>

  <!-- Moteur -->
  <model>
    <path>Engines/engine.xml</path>
    <offsets>
      <x-m> -2.900 </x-m>
      <y-m>  0.000 </y-m>
      <z-m>  0.166 </z-m>
    </offsets>
  </model>

  <!-- Cranking effects -->
  <model>
    <path>Effects/cranking/cranking.xml</path>
    <offsets>
      <x-m> -0.536 </x-m>
      <y-m>  0.564 </y-m>
      <z-m> -0.243 </z-m>
    </offsets>
  </model>

  <!-- Effets sur le sol -->
  <!-- Roue gauche -->
  <model>
    <path>Effects/ground/ground0.xml</path>
    <offsets>
      <x-m> -1.936 </x-m>
      <y-m> -1.311 </y-m>
      <z-m> -1.755 </z-m>
    </offsets>
  </model>

  <!-- Roue droite -->
  <model>
    <path>Effects/ground/ground1.xml</path>
    <offsets>
      <x-m> -1.936 </x-m>
      <y-m>  1.311 </y-m>
      <z-m> -1.755 </z-m>
    </offsets>
  </model>

  <!-- Patte de queue -->
  <model>
    <path>Effects/ground/ground2.xml</path>
    <offsets>
      <x-m>  3.362 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.470 </z-m>
    </offsets>
  </model>

  <!-- Effets de tir -->
  <!-- Canon gauche -->
  <model>
    <path>Effects/guns/fire.xml</path>
    <offsets>
      <x-m> -2.876 </x-m>
      <y-m> -1.983 </y-m>
      <z-m> -0.476 </z-m>
      <pitch-deg> 180 </pitch-deg>
    </offsets>
  </model>

  <!-- Gauche intérieur -->
  <model>
    <path>Effects/guns/fire.xml</path>
    <offsets>
      <x-m> -2.049 </x-m>
      <y-m> -2.566 </y-m>
      <z-m> -0.473 </z-m>
      <pitch-deg> 180 </pitch-deg>
    </offsets>
  </model>

  <!-- Gauche extérieur -->
  <model>
    <path>Effects/guns/fire.xml</path>
    <offsets>
      <x-m> -2.022 </x-m>
      <y-m> -2.686 </y-m>
      <z-m> -0.460 </z-m>
      <pitch-deg> 180 </pitch-deg>
    </offsets>
  </model>

  <!-- Canon droit -->
  <model>
    <path>Effects/guns/fire.xml</path>
    <offsets>
      <x-m> -2.876 </x-m>
      <y-m>  1.983 </y-m>
      <z-m> -0.476 </z-m>
      <pitch-deg> 180 </pitch-deg>
    </offsets>
  </model>

  <!-- Droit intérieur-->
  <model>
    <path>Effects/guns/fire.xml</path>
    <offsets>
      <x-m> -2.049 </x-m>
      <y-m>  2.566 </y-m>
      <z-m> -0.473 </z-m>
      <pitch-deg> 180 </pitch-deg>
    </offsets>
  </model>

  <!-- Droit extérieur -->
  <model>
    <path>Effects/guns/fire.xml</path>
    <offsets>
      <x-m> -2.022 </x-m>
      <y-m>  2.686 </y-m>
      <z-m> -0.460 </z-m>
      <pitch-deg> 180 </pitch-deg>
    </offsets>
  </model>

  <!-- L'hélice -->
  <animation>
    <name>HeliceComplete</name>
    <object-name>helice</object-name>
    <object-name>bol</object-name>
    <object-name>propdisc</object-name>
    <object-name>propblur</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>900</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>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>helice</object-name>
    <condition>
      <less-than>
        <property>engines/engine[0]/rpm</property>
        <value>900</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> -3.466 </x-m>
      <y-m>  0.000 </y-m>
      <z-m>  0.166 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </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.350 </x1-m>
      <y1-m> -4.626 </y1-m>
      <z1-m> -0.262 </z1-m>
      <x2-m> -0.339 </x2-m>
      <y2-m> -3.066 </y2-m>
      <z2-m> -0.425 </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.339 </x1-m>
      <y1-m>  3.066 </y1-m>
      <z1-m> -0.425 </z1-m>
      <x2-m> -0.350 </x2-m>
      <y2-m>  4.626 </y2-m>
      <z2-m> -0.262 </z2-m>
    </axis>
  </animation>

  <!-- Volets -->
  <animation>
    <type>rotate</type>
    <object-name>voletG1</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -0.427 </x1-m>
      <y1-m> -3.066 </y1-m>
      <z1-m> -0.476 </z1-m>
      <x2-m> -0.427 </x2-m>
      <y2-m> -1.497 </y2-m>
      <z2-m> -0.648 </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.427 </x1-m>
      <y1-m> -1.408 </y1-m>
      <z1-m> -0.647 </z1-m>
      <x2-m> -0.427 </x2-m>
      <y2-m> -0.169 </y2-m>
      <z2-m> -0.645 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletD1</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -0.427 </x1-m>
      <y1-m>  1.497 </y1-m>
      <z1-m> -0.648 </z1-m>
      <x2-m> -0.427 </x2-m>
      <y2-m>  3.066 </y2-m>
      <z2-m> -0.476 </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.427 </x1-m>
      <y1-m>  0.169 </y1-m>
      <z1-m> -0.645 </z1-m>
      <x2-m> -0.427 </x2-m>
      <y2-m>  1.408 </y2-m>
      <z2-m> -0.647 </z2-m>
    </axis>
  </animation>

  <!-- Gouverne de profondeur -->
  <animation>
    <type>rotate</type>
    <object-name>profondeur</object-name>
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 15 </factor>
    <center>
      <x-m> 2.755 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 0.433 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </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> 20 </factor>
    <center>
      <x-m>  3.087 </x-m>
      <y-m>  0.000 </y-m>
      <z-m>  0.516 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!-- rentree des roues -->
  <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[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 87 </dep></entry>
      <entry><ind> 1 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.843 </x-m>
      <y-m> -1.304 </y-m>
      <z-m> -0.506 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>RoueGauche</object-name>
    <property>gear/gear[0]/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.843 </x-m>
      <y-m> -1.304 </y-m>
      <z-m> -0.506 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>RoueGauche</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 7 </dep></entry>
      <entry><ind> 1 </ind><dep> 0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.843 </x-m>
      <y-m> -1.304 </y-m>
      <z-m> -0.506 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </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[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -87 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.843 </x-m>
      <y-m>  1.304 </y-m>
      <z-m> -0.506 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

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

  <animation>
    <type>rotate</type>
    <object-name>RoueDroite</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 7 </dep></entry>
      <entry><ind> 1 </ind><dep> 0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.843 </x-m>
      <y-m>  1.304 </y-m>
      <z-m> -0.506 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Les portes des trains -->
  <animation>
    <type>rotate</type>
    <object-name>porteG1</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>    0 </dep></entry>
      <entry><ind> 1 </ind><dep> -120 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.803 </x-m>
      <y-m> -1.340 </y-m>
      <z-m> -0.725 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteG2</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> -7 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.843 </x-m>
      <y-m> -1.304 </y-m>
      <z-m> -0.506 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteG2</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> 10 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.843 </x-m>
      <y-m> -1.304 </y-m>
      <z-m> -0.506 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteG2</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> -87 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.843 </x-m>
      <y-m> -1.304 </y-m>
      <z-m> -0.506 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD1</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> 120 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.803 </x-m>
      <y-m>  1.340 </y-m>
      <z-m> -0.725 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD2</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> -7 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.843 </x-m>
      <y-m>  1.304 </y-m>
      <z-m> -0.506 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD2</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> -10 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.843 </x-m>
      <y-m>  1.304 </y-m>
      <z-m> -0.506 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD2</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> 87 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.843 </x-m>
      <y-m>  1.304 </y-m>
      <z-m> -0.506 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

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

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

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

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

  <!-- Rotation des roues lors du roulage -->
  <animation>
    <type>spin</type>
    <object-name>roueG</object-name>
    <property>gear/gear[0]/rollspeed-ms</property>
    <factor> 30 </factor>
    <center>
      <x-m> -1.984 </x-m>
      <y-m> -1.304 </y-m>
      <z-m> -1.425 </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[1]/rollspeed-ms</property>
    <factor> 30 </factor>
    <center>
      <x-m> -1.984 </x-m>
      <y-m> -1.304 </y-m>
      <z-m> -1.425 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueA</object-name>
    <property>gear/gear[2]/rollspeed-ms</property>
    <factor> 30 </factor>
    <center>
      <x-m>  2.887 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.398 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Ajout des effets lumineux -->
  <model>
    <path>light/beacon.xml</path>
    <offsets>
      <x-m> 2.894 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 1.605 </z-m>
    </offsets>
  </model>

  <model>
    <path>light/beacon.xml</path>
    <offsets>
      <x-m> -1.173 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.729 </z-m>
    </offsets>
  </model>

  <model>
    <path>light/RedLight.xml</path>
    <offsets>
      <x-m> -0.859 </x-m>
      <y-m> -5.449 </y-m>
      <z-m> -0.177 </z-m>
    </offsets>
  </model>

  <model>
    <path>light/StrobeLight.xml</path>
    <offsets>
      <x-m> -0.839 </x-m>
      <y-m> -5.449 </y-m>
      <z-m> -0.177 </z-m>
    </offsets>
  </model>

  <model>
    <path>light/GreenLight.xml</path>
    <offsets>
      <x-m> -0.859 </x-m>
      <y-m>  5.449 </y-m>
      <z-m> -0.177 </z-m>
    </offsets>
  </model>

  <model>
    <path>light/StrobeLight.xml</path>
    <offsets>
      <x-m> -0.839 </x-m>
      <y-m>  5.449 </y-m>
      <z-m> -0.177 </z-m>
    </offsets>
  </model>

  <!-- Canopy -->
  <animation>
    <name>AllCanope</name>
    <object-name>canope</object-name>
    <object-name>verriere</object-name>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>AllCanope</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>AllCanope</object-name>
    <property>sim/model/door-positions/crew/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.00 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.68 </dep></entry>
    </interpolation>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Clapets du capot coté gauche -->
  <animation>
    <type>rotate</type>
    <object-name>ailetteG1</object-name>
    <property>velocities/airspeed-kt</property>
    <interpolation>
      <entry><ind>   0 </ind><dep> -10 </dep></entry>
      <entry><ind>  80 </ind><dep> -50 </dep></entry>
      <entry><ind> 200 </ind><dep>  -2 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -2.492 </x1-m>
      <y1-m> -0.452 </y1-m>
      <z1-m>  0.639 </z1-m>
      <x2-m> -2.492 </x2-m>
      <y2-m> -0.193 </y2-m>
      <z2-m>  0.773 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>ailetteG2</object-name>
    <property>velocities/airspeed-kt</property>
    <interpolation>
      <entry><ind>   0 </ind><dep> -10 </dep></entry>
      <entry><ind>  80 </ind><dep> -50 </dep></entry>
      <entry><ind> 200 </ind><dep>  -2 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -2.492 </x1-m>
      <y1-m> -0.588 </y1-m>
      <z1-m>  0.439 </z1-m>
      <x2-m> -2.492 </x2-m>
      <y2-m> -0.452 </y2-m>
      <z2-m>  0.639 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>ailetteG3</object-name>
    <property>velocities/airspeed-kt</property>
    <interpolation>
      <entry><ind>   0 </ind><dep> -10 </dep></entry>
      <entry><ind>  80 </ind><dep> -50 </dep></entry>
      <entry><ind> 200 </ind><dep>  -2 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -2.492 </x1-m>
      <y1-m> -0.642 </y1-m>
      <z1-m>  0.189 </z1-m>
      <x2-m> -2.492 </x2-m>
      <y2-m> -0.588 </y2-m>
      <z2-m>  0.439 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>ailetteG4</object-name>
    <property>velocities/airspeed-kt</property>
    <interpolation>
      <entry><ind>   0 </ind><dep> -10 </dep></entry>
      <entry><ind>  80 </ind><dep> -50 </dep></entry>
      <entry><ind> 200 </ind><dep>  -2 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -2.492 </x1-m>
      <y1-m> -0.585 </y1-m>
      <z1-m> -0.073 </z1-m>
      <x2-m> -2.492 </x2-m>
      <y2-m> -0.642 </y2-m>
      <z2-m>  0.189 </z2-m>
    </axis>
  </animation>

  <!-- Clapets du capot coté droit -->
  <animation>
    <type>rotate</type>
    <object-name>ailetteD1</object-name>
    <property>velocities/airspeed-kt</property>
    <interpolation>
      <entry><ind>   0 </ind><dep> 10 </dep></entry>
      <entry><ind>  80 </ind><dep> 50 </dep></entry>
      <entry><ind> 200 </ind><dep>  2 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -2.492 </x1-m>
      <y1-m>  0.452 </y1-m>
      <z1-m>  0.639 </z1-m>
      <x2-m> -2.492 </x2-m>
      <y2-m>  0.193 </y2-m>
      <z2-m>  0.773 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>ailetteD2</object-name>
    <property>velocities/airspeed-kt</property>
    <interpolation>
      <entry><ind>   0 </ind><dep> 10 </dep></entry>
      <entry><ind>  80 </ind><dep> 50 </dep></entry>
      <entry><ind> 200 </ind><dep>  2 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -2.492 </x1-m>
      <y1-m>  0.588 </y1-m>
      <z1-m>  0.439 </z1-m>
      <x2-m> -2.492 </x2-m>
      <y2-m>  0.452 </y2-m>
      <z2-m>  0.639 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>ailetteD3</object-name>
    <property>velocities/airspeed-kt</property>
    <interpolation>
      <entry><ind>   0 </ind><dep> 10 </dep></entry>
      <entry><ind>  80 </ind><dep> 50 </dep></entry>
      <entry><ind> 200 </ind><dep>  2 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -2.492 </x1-m>
      <y1-m>  0.642 </y1-m>
      <z1-m>  0.189 </z1-m>
      <x2-m> -2.492 </x2-m>
      <y2-m>  0.588 </y2-m>
      <z2-m>  0.439 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>ailetteD4</object-name>
    <property>velocities/airspeed-kt</property>
    <interpolation>
      <entry><ind>   0 </ind><dep> 10 </dep></entry>
      <entry><ind>  80 </ind><dep> 50 </dep></entry>
      <entry><ind> 200 </ind><dep>  2 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -2.492 </x1-m>
      <y1-m>  0.585 </y1-m>
      <z1-m> -0.073 </z1-m>
      <x2-m> -2.492 </x2-m>
      <y2-m>  0.642 </y2-m>
      <z2-m>  0.189 </z2-m>
    </axis>
  </animation>

</PropertyList>
