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

<PropertyList>

  <path>noratlas.ac</path>

  <nasal>
    <load>
      var livery_update = aircraft.livery_update.new("Aircraft/Nord-2502/Models/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("instrumentation/doors/crew/position-norm", 1);
      var passenger_door = self.getNode("instrumentation/doors/passenger/position-norm", 1);
    
      crew_door.alias(float_0);
      passenger_door.alias(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>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>aile</object-name>
    <object-name>aile2</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletGi</object-name>
    <object-name>voletGe</object-name>
    <object-name>voletDi</object-name>
    <object-name>voletDe</object-name>
    <object-name>profondeur</object-name>
    <object-name>derive</object-name>
    <object-name>directionG</object-name>
    <object-name>directionD</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteG1</object-name>
    <object-name>porteG2</object-name>
    <object-name>porteG3</object-name>
    <object-name>porteD1</object-name>
    <object-name>porteD2</object-name>
    <object-name>porteD3</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>cacheG</object-name>
    <object-name>cacheD</object-name>
    <object-name>tourvitre</object-name>
    <object-name>queues</object-name>
    <object-name>antenne</object-name>
    <object-name>air</object-name>
    <object-name>air2</object-name>
    
    <object-name>trous</object-name>
    <object-name>axeA1</object-name>
    <object-name>axeA2</object-name>
    <object-name>axeA3</object-name>
    <object-name>roueA</object-name>
    <object-name>axeG1</object-name>
    <object-name>axeG2</object-name>
    <object-name>roueG</object-name>
    <object-name>axeD1</object-name>
    <object-name>axeD2</object-name>
    <object-name>roueD</object-name>
    <object-name>queues</object-name>
    <object-name>cables</object-name>
    
    <!-- Objets transparents -->
    <object-name>vitres</object-name>
    <object-name>vitreporteG</object-name>
    <object-name>vitreporteD</object-name>
    <object-name>propdiscG</object-name>
    <object-name>propblurG</object-name>
    <object-name>propdiscD</object-name>
    <object-name>propblurD</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>fuselage</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>aile</object-name>
    <object-name>aile2</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletGi</object-name>
    <object-name>voletGe</object-name>
    <object-name>voletDi</object-name>
    <object-name>voletDe</object-name>
    <object-name>profondeur</object-name>
    <object-name>derive</object-name>
    <object-name>directionG</object-name>
    <object-name>directionD</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteG1</object-name>
    <object-name>porteG2</object-name>
    <object-name>porteG3</object-name>
    <object-name>porteD1</object-name>
    <object-name>porteD2</object-name>
    <object-name>porteD3</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>cacheG</object-name>
    <object-name>cacheD</object-name>
    <object-name>tourvitre</object-name>
    <object-name>queues</object-name>
    <object-name>antenne</object-name>
    <object-name>air</object-name>
    <object-name>air2</object-name>
    
    <object-name>trous</object-name>
    <object-name>axeA1</object-name>
    <object-name>axeA2</object-name>
    <object-name>axeA3</object-name>
    <object-name>roueA</object-name>
    <object-name>axeG1</object-name>
    <object-name>axeG2</object-name>
    <object-name>roueG</object-name>
    <object-name>axeD1</object-name>
    <object-name>axeD2</object-name>
    <object-name>roueD</object-name>
    <object-name>queues</object-name>
    <object-name>cables</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>
    <emission>
      <red-prop>emission/red</red-prop>
      <green-prop>emission/green</green-prop>
      <blue-prop>emission/blue</blue-prop>
    </emission>
  </animation>

  <effect>
    <inherits-from>Aircraft/Generic/Effects/Fuselagereflect</inherits-from>
    <condition>
      <not><property>sim/rendering/rembrandt/enabled</property></not>
    </condition>
    <object-name>fuselage</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>aile</object-name>
    <object-name>aile2</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletGi</object-name>
    <object-name>voletGe</object-name>
    <object-name>voletDi</object-name>
    <object-name>voletDe</object-name>
    <object-name>profondeur</object-name>
    <object-name>derive</object-name>
    <object-name>directionG</object-name>
    <object-name>directionD</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteG1</object-name>
    <object-name>porteG2</object-name>
    <object-name>porteG3</object-name>
    <object-name>porteD1</object-name>
    <object-name>porteD2</object-name>
    <object-name>porteD3</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>cacheG</object-name>
    <object-name>cacheD</object-name>
    <object-name>tourvitre</object-name>
    <object-name>queues</object-name>
    <object-name>antenne</object-name>
    <object-name>air</object-name>
    <object-name>air2</object-name>
  </effect>

  <effect>
    <inherits-from>Effects/model-combined-deferred</inherits-from>
    <condition>
      <property>sim/rendering/rembrandt/enabled</property>
    </condition>
    <object-name>fuselage</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>aile</object-name>
    <object-name>aile2</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletGi</object-name>
    <object-name>voletGe</object-name>
    <object-name>voletDi</object-name>
    <object-name>voletDe</object-name>
    <object-name>profondeur</object-name>
    <object-name>derive</object-name>
    <object-name>directionG</object-name>
    <object-name>directionD</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteG1</object-name>
    <object-name>porteG2</object-name>
    <object-name>porteG3</object-name>
    <object-name>porteD1</object-name>
    <object-name>porteD2</object-name>
    <object-name>porteD3</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>cacheG</object-name>
    <object-name>cacheD</object-name>
    <object-name>tourvitre</object-name>
    <object-name>queues</object-name>
    <object-name>antenne</object-name>
    <object-name>air</object-name>
    <object-name>air2</object-name>
  </effect>

  <animation>
    <type>noshadow</type>
    <object-name>vitres</object-name>
    <object-name>vitreporteG</object-name>
    <object-name>vitreporteD</object-name>
    <object-name>propdiscG</object-name>
    <object-name>propblurG</object-name>
    <object-name>propdiscD</object-name>
    <object-name>propblurD</object-name>
  </animation>

  <animation>
    <type>shader</type>
    <shader>chrome</shader>
    <texture>Aircraft/Generic/Effects/glass_shader.png</texture>
    <object-name>vitres</object-name>
    <object-name>vitreporteG</object-name>
    <object-name>vitreporteD</object-name>
  </animation>

  <!-- working for Rembrandt -->
  <effect>
    <inherits-from>Effects/model-transparent</inherits-from>
    <condition>
      <property>sim/rendering/rembrandt/enabled</property>
    </condition>
    <object-name>vitres</object-name>
    <object-name>vitreporteG</object-name>
    <object-name>vitreporteD</object-name>
    <object-name>propdiscG</object-name>
    <object-name>propblurG</object-name>
    <object-name>propdiscD</object-name>
    <object-name>propblurD</object-name>
  </effect>

  <!-- Intérieur -->
  <model>
    <path>Aircraft/Nord-2502/Models/Interior/interior.xml</path>
  </model>

  <!-- Moteur gauche -->
  <model>
    <path>Aircraft/Nord-2502/Models/Engines/engine.xml</path>
    <offsets>
      <x-m> -5.685 </x-m>
      <y-m> -3.572 </y-m>
      <z-m>  0.333 </z-m>
    </offsets>
  </model>
 
  <!-- Moteur droit -->
  <model>
    <path>Aircraft/Nord-2502/Models/Engines/engine.xml</path>
    <offsets>
      <x-m> -5.685 </x-m>
      <y-m>  3.572 </y-m>
      <z-m>  0.333 </z-m>
    </offsets>
  </model>

  <!-- Cranking effects -->
  <!-- Left -->
  <model>
    <path>Aircraft/Nord-2502/Models/Effects/cranking/all-crankingL.xml</path>
    <offsets>
      <x-m> -5.027 </x-m>
      <y-m> -3.572 </y-m>
      <z-m>  0.333 </z-m>
    </offsets>
  </model>

  <!-- Right -->
  <model>
    <path>Aircraft/Nord-2502/Models/Effects/cranking/all-crankingR.xml</path>
    <offsets>
      <x-m> -5.027 </x-m>
      <y-m>  3.572 </y-m>
      <z-m>  0.333 </z-m>
    </offsets>
  </model>

  <!-- TIP TRAILS -->
  <model>
    <path>Aircraft/Nord-2502/Models/Effects/tiptrail/tiptrail.xml</path>
    <offsets>
      <x-m>  -1.97988 </x-m>
      <y-m> -15.83621 </y-m>
      <z-m>   0.93054 </z-m>
    </offsets>
  </model>

  <model>
    <path>Aircraft/Nord-2502/Models/Effects/tiptrail/tiptrail.xml</path>
    <offsets>
      <x-m> -1.97988 </x-m>
      <y-m> 15.83621 </y-m>
      <z-m>  0.93054 </z-m>
    </offsets>
  </model>

  <!-- Effets sur le sol -->
  <!-- Roue avant -->
  <model>
    <path>Aircraft/Nord-2502/Models/Effects/ground/ground0.xml</path>
    <offsets>
      <x-m> -9.234 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -2.990 </z-m>
    </offsets>
  </model>

  <!-- Roues gauches -->
  <model>
    <path>Aircraft/Nord-2502/Models/Effects/ground/ground1.xml</path>
    <offsets>
      <x-m> -2.949 </x-m>
      <y-m> -3.705 </y-m>
      <z-m> -2.990 </z-m>
    </offsets>
  </model>

  <!-- Roues droites -->
  <model>
    <path>Aircraft/Nord-2502/Models/Effects/ground/ground2.xml</path>
    <offsets>
      <x-m> -2.949 </x-m>
      <y-m>  3.705 </y-m>
      <z-m> -2.990 </z-m>
    </offsets>
  </model>

  <!-- Les hélices --> 
  <animation>
    <name>HeliceGauche</name>
    <object-name>heliceG</object-name>
    <object-name>bolG</object-name>
    <object-name>propdiscG</object-name>
    <object-name>propblurG</object-name>
  </animation>

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

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

  <animation>
    <type>spin</type>
    <object-name>HeliceGauche</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[0]/rpm</property>
        <value> 5 </value>
      </greater-than>
    </condition>
    <property>engines/engine[0]/rpm</property>
    <factor> 0.5 </factor>
    <center>
      <x-m> -6.136 </x-m>
      <y-m> -3.572 </y-m>
      <z-m>  0.333 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>HeliceDroite</name>
    <object-name>heliceD</object-name>
    <object-name>bolD</object-name>
    <object-name>propdiscD</object-name>
    <object-name>propblurD</object-name>
  </animation>

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

  <animation>
    <type>select</type>
    <object-name>propblurD</object-name>
    <condition>
    <and>
      <greater-than>
        <property>engines/engine[1]/rpm</property>
        <value>600.000</value>
      </greater-than>
      <less-than>
        <property>engines/engine[1]/rpm</property>
        <value>1500.001</value>
      </less-than>
    </and>
    </condition>
  </animation>

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

  <animation>
    <type>spin</type>
    <object-name>HeliceDroite</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[1]/rpm</property>
        <value> 5 </value>
      </greater-than>
    </condition>
    <property>engines/engine[1]/rpm</property>
    <factor> 0.5 </factor>
    <center>
      <x-m> -6.136 </x-m>
      <y-m>  3.572 </y-m>
      <z-m>  0.333 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Gouverne de profondeur -->
  <animation>
    <type>rotate</type>
    <object-name>profondeur</object-name>
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 11 </factor>
    <center>
      <x-m> 9.76801 </x-m>
      <y-m> 0.00000 </y-m>
      <z-m> 0.48700 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Gouverne de direction -->
  <animation>
    <type>rotate</type>
    <object-name>directionG</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor> -11 </factor>
    <center>
      <x-m>  9.91566 </x-m>
      <y-m> -3.57200 </y-m>
      <z-m>  0.47661 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>directionD</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor> -11 </factor>
    <center>
      <x-m> 9.91566 </x-m>
      <y-m> 3.57200 </y-m>
      <z-m> 0.47661 </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>  -2.37303 </x1-m>
      <y1-m> -15.18710 </y1-m>
      <z1-m>   0.91872 </z1-m>
      <x2-m>  -1.78025 </x2-m>
      <y2-m>  -8.92698 </y2-m>
      <z2-m>   0.71733 </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.78025 </x1-m>
      <y1-m>  8.92698 </y1-m>
      <z1-m>  0.71733 </z1-m>
      <x2-m> -2.37303 </x2-m>
      <y2-m> 15.18710 </y2-m>
      <z2-m>  0.91872 </z2-m>
    </axis>
  </animation>

  <!-- Volets -->
  <animation>
    <type>rotate</type>
    <object-name>voletGe</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 45 </factor>
    <axis>
      <x1-m> -2.036 </x1-m>
      <y1-m> -8.926 </y1-m>
      <z1-m>  0.534 </z1-m>
      <x2-m> -1.744 </x2-m>
      <y2-m> -4.448 </y2-m>
      <z2-m>  0.315 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletGi</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 45 </factor>
    <center>
      <x-m> -1.665 </x-m>
      <y-m> -2.139 </y-m>
      <z-m>  0.318 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletDe</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 45 </factor>
    <axis>
      <x1-m> -1.744 </x1-m>
      <y1-m>  4.448 </y1-m>
      <z1-m>  0.315 </z1-m>
      <x2-m> -2.036 </x2-m>
      <y2-m>  8.926 </y2-m>
      <z2-m>  0.534 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletDi</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 45 </factor>
    <center>
      <x-m> -1.665 </x-m>
      <y-m>  2.139 </y-m>
      <z-m>  0.318 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Animation des portes des trains -->
  <animation>
    <type>rotate</type>
    <object-name>porteAG</object-name>
    <property>/gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>    0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -105 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -105 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -9.633 </x1-m>
      <y1-m> -0.293 </y1-m>
      <z1-m> -1.753 </z1-m>
      <x2-m> -8.832 </x2-m>
      <y2-m> -0.293 </y2-m>
      <z2-m> -1.956 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteAD</object-name>
    <property>/gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> 105 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 105 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -9.633 </x1-m>
      <y1-m>  0.293 </y1-m>
      <z1-m> -1.753 </z1-m>
      <x2-m> -8.832 </x2-m>
      <y2-m>  0.293 </y2-m>
      <z2-m> -1.956 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteG1</object-name>
    <property>/gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>    0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -105 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -105 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -3.398 </x1-m>
      <y1-m> -4.011 </y1-m>
      <z1-m> -0.171 </z1-m>
      <x2-m> -1.894 </x2-m>
      <y2-m> -4.011 </y2-m>
      <z2-m> -0.171 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteG2</object-name>
    <property>/gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> 105 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 105 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -3.398 </x1-m>
      <y1-m> -3.137 </y1-m>
      <z1-m> -0.175 </z1-m>
      <x2-m> -2.021 </x2-m>
      <y2-m> -3.137 </y2-m>
      <z2-m> -0.175 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteG3</object-name>
    <property>/gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> 100 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 100 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -2.021 </x1-m>
      <y1-m> -3.137 </y1-m>
      <z1-m> -0.175 </z1-m>
      <x2-m> -0.988 </x2-m>
      <y2-m> -3.137 </y2-m>
      <z2-m> -0.175 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD1</object-name>
    <property>/gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> 105 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 105 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -3.398 </x1-m>
      <y1-m>  4.011 </y1-m>
      <z1-m> -0.171 </z1-m>
      <x2-m> -1.894 </x2-m>
      <y2-m>  4.011 </y2-m>
      <z2-m> -0.171 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD2</object-name>
    <property>/gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>    0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -105 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -105 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -3.398 </x1-m>
      <y1-m>  3.137 </y1-m>
      <z1-m> -0.175 </z1-m>
      <x2-m> -2.021 </x2-m>
      <y2-m>  3.137 </y2-m>
      <z2-m> -0.175 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD3</object-name>
    <property>/gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>    0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -100 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -100 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -2.021 </x1-m>
      <y1-m>  3.137 </y1-m>
      <z1-m> -0.175 </z1-m>
      <x2-m> -0.988 </x2-m>
      <y2-m>  3.137 </y2-m>
      <z2-m> -0.175 </z2-m>
    </axis>
  </animation>

  <!-- Rentrée des roues -->
  <animation>
    <name>TrainAvantTotal</name>
    <object-name>axeA1</object-name>
    <object-name>axeA2</object-name>
    <object-name>axeA3</object-name>
    <object-name>roueA</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainAvantTotal</object-name>
    <property>/gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -79 </dep></entry>
      <entry><ind> 1 </ind><dep>    0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -9.629 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -1.569 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>
  
  <animation>
    <type>select</type>
    <object-name>TrainAvantTotal</object-name>
    <condition>
      <greater-than>
        <property>/gear/gear[0]/position-norm</property>
        <value> 0.2 </value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <name>TrainGaucheTotal</name>
    <object-name>axeG1</object-name>
    <object-name>axeG2</object-name>
    <object-name>roueG</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainGaucheTotal</object-name>
    <property>/gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -102 </dep></entry>
      <entry><ind> 1 </ind><dep>    0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.253 </x-m>
      <y-m> -3.582 </y-m>
      <z-m> -0.670 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>TrainDroitTotal</name>
    <object-name>axeD1</object-name>
    <object-name>axeD2</object-name>
    <object-name>roueD</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainDroitTotal</object-name>
    <property>/gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -102 </dep></entry>
      <entry><ind> 1 </ind><dep>    0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.253 </x-m>
      <y-m>  3.582 </y-m>
      <z-m> -0.670 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Rotation de la roue avant en fonction de la gouverne de direction -->
  <animation>
    <type>rotate</type>
    <object-name>TrainAvantTotal</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor> -10 </factor>
    <center>
      <x-m> -9.629 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -1.569 </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>
    <factor> 30 </factor>
    <center>
      <x-m> -9.234 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -2.610 </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>
    <factor> 30 </factor>
    <center>
      <x-m> -2.949 </x-m>
      <y-m> -3.705 </y-m>
      <z-m> -2.492 </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> -2.949 </x-m>
      <y-m>  3.705 </y-m>
      <z-m> -2.492 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Portes arrières -->
  <animation>
    <name>PorteGauche</name>
    <object-name>porteG</object-name>
    <object-name>vitreporteG</object-name>
  </animation>
  
  <animation>
    <type>pick</type>
    <object-name>PorteGauche</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>rotate</type>
    <object-name>PorteGauche</object-name>
    <property>sim/model/door-positions/crew/position-norm</property>
    <factor> 80 </factor>
    <center>
      <x-m>  2.182 </x-m>
      <y-m> -1.501 </y-m>
      <z-m> -0.658 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y>  0 </y>
      <z> -1 </z>
    </axis>
  </animation>

  <animation>
    <name>PorteDroite</name>
    <object-name>porteD</object-name>
    <object-name>vitreporteD</object-name>
  </animation>
  
  <animation>
    <type>pick</type>
    <object-name>PorteDroite</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>rotate</type>
    <object-name>PorteDroite</object-name>
    <property>sim/model/door-positions/crew/position-norm</property>
    <factor> 80 </factor>
    <center>
      <x-m>  2.182 </x-m>
      <y-m>  1.501 </y-m>
      <z-m> -0.658 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!-- Ajout des effets lumineux -->
  <model>
    <path>Aircraft/Nord-2502/Models/lights/beacon.xml</path>
    <offsets>
      <x-m> 8.99887 </x-m>
      <y-m> 3.57201 </y-m>
      <z-m> 2.82629 </z-m>
    </offsets>
  </model>

  <model>
    <path>Aircraft/Nord-2502/Models/lights/light-cone.xml</path>
    <offsets>
      <x-m> -10.89330 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -1.01380 </z-m>
      <pitch-deg> -7 </pitch-deg>
    </offsets>
  </model>

  <model>
    <path>Aircraft/Nord-2502/Models/lights/light-cone.xml</path>
    <offsets>
      <x-m> -4.04022 </x-m>
      <y-m> -8.09810 </y-m>
      <z-m>  0.66115 </z-m>
      <pitch-deg> -7 </pitch-deg>
    </offsets>
  </model>

</PropertyList>
