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

<PropertyList>

  <path>da42.ac</path>

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

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

  <animation>
    <!-- Objets opaques -->
    <object-name>fuselage</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>voletD1</object-name>
    <object-name>voletD2</object-name>
    <object-name>ailes2</object-name>
    <object-name>direction</object-name>
    <object-name>profondeur</object-name>
    <object-name>moteurs</object-name>
    <object-name>heliceG</object-name>
    <object-name>heliceD</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>tourverriere</object-name>
    <object-name>porte</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>lampes</object-name>
    <object-name>antiicelightbase</object-name>
    <object-name>bagage.leftdoor</object-name>
    <object-name>bagage.rightdoor</object-name>

    <object-name>axeA</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>trous</object-name>

    <!-- Objets transparents -->
    <object-name>vitres</object-name>
    <object-name>verriere</object-name>
    <object-name>vitreporte</object-name>
    <object-name>lamperouge</object-name>
    <object-name>lampevert</object-name>
    <object-name>antiicelight</object-name>
    <object-name>propblurG</object-name>
    <object-name>propblurD</object-name>
    <object-name>propdiscG</object-name>
    <object-name>propdiscD</object-name>
    <!-- HDR mode -->
    <object-name>HDRvitres</object-name>
    <object-name>HDRverriere</object-name>
    <object-name>HDRvitreporte</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>fuselage</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>voletD1</object-name>
    <object-name>voletD2</object-name>
    <object-name>ailes2</object-name>
    <object-name>direction</object-name>
    <object-name>profondeur</object-name>
    <object-name>moteurs</object-name>
    <object-name>heliceG</object-name>
    <object-name>heliceD</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>tourverriere</object-name>
    <object-name>porte</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>lampes</object-name>
    <object-name>antiicelightbase</object-name>
    <object-name>bagage.leftdoor</object-name>
    <object-name>bagage.rightdoor</object-name>
    <object-name>axeA</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>trous</object-name>
    <object-name>vitres</object-name>
    <object-name>verriere</object-name>
    <object-name>vitreporte</object-name>
    <object-name>lamperouge</object-name>
    <object-name>lampevert</object-name>
    <object-name>antiicelight</object-name>
    <object-name>propblurG</object-name>
    <object-name>propblurD</object-name>
    <object-name>propdiscG</object-name>
    <object-name>propdiscD</object-name>
    <object-name>HDRvitres</object-name>
    <object-name>HDRverriere</object-name>
    <object-name>HDRvitreporte</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/Diamond-Da42/Models/Effects/Bump/bumpspec</inherits-from>
    <object-name>fuselage</object-name>
    <object-name>bagage.leftdoor</object-name>
    <object-name>bagage.rightdoor</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>voletD1</object-name>
    <object-name>voletD2</object-name>
    <object-name>ailes2</object-name>
    <object-name>direction</object-name>
    <object-name>profondeur</object-name>
    <object-name>moteurs</object-name>
    <object-name>heliceG</object-name>
    <object-name>heliceD</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>tourverriere</object-name>
    <object-name>porte</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>lampes</object-name>
    <object-name>antiicelightbase</object-name>
    <object-name>bagage.leftdoor</object-name>
    <object-name>bagage.rightdoor</object-name>
  </effect>

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

  <effect>
    <inherits-from>Effects/Glass/blueglass</inherits-from>
    <object-name>HDRvitres</object-name>
    <object-name>HDRverriere</object-name>
    <object-name>HDRvitreporte</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>HDRverriere</object-name>
    <object-name>HDRvitreporte</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>verriere</object-name>
    <object-name>vitreporte</object-name>
  </animation>

  <effect>
    <inherits-from>Effects/model-transparent</inherits-from>
    <object-name>lamperouge</object-name>
    <object-name>lampevert</object-name>
    <object-name>antiicelight</object-name>
    <object-name>propblurG</object-name>
    <object-name>propblurD</object-name>
    <object-name>propdiscG</object-name>
    <object-name>propdiscD</object-name>
  </effect>

  <model>
    <path>Immat/immat.xml</path>
  </model>

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

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

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

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

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

  <!-- Les hélices -->
  <animation>
    <name>HeliceCompleteG</name>
    <object-name>propdiscG</object-name>
    <object-name>propblurG</object-name>
    <object-name>heliceG</object-name>
    <object-name>bolG</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>1100</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>500.000</value>
        </greater-than>
        <less-than>
          <property>engines/engine[0]/rpm</property>
          <value>1100.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>1100</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>HeliceCompleteG</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[0]/rpm</property>
        <value> 5 </value>
      </greater-than>
    </condition>
    <property>engines/engine[0]/rpm</property>
    <center>
      <x-m> -2.627 </x-m>
      <y-m> -1.740 </y-m>
      <z-m>  0.021 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <name>HeliceCompleteD</name>
    <object-name>propdiscD</object-name>
    <object-name>propblurD</object-name>
    <object-name>heliceD</object-name>
    <object-name>bolD</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>1100</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>500.000</value>
        </greater-than>
        <less-than>
          <property>engines/engine[1]/rpm</property>
          <value>1100.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>1100</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>HeliceCompleteD</object-name>
    <property>engines/engine[1]/rpm</property>
    <condition>
      <greater-than>
        <property>engines/engine[1]/rpm</property>
        <value> 5 </value>
      </greater-than>
    </condition>
    <center>
      <x-m> -2.627 </x-m>
      <y-m>  1.740 </y-m>
      <z-m>  0.021 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

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

  <!-- Gouverne de profondeur -->
  <animation>
    <type>rotate</type>
    <object-name>profondeur</object-name>
    <!-- <property>controls/flight/elevator</property> -->
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 20 </factor>
    <center>
      <x-m> 3.985 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 1.172 </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>
    <interpolation>
      <entry><ind> -0.75 </ind><dep> -15 </dep></entry>
      <entry><ind>  0.00 </ind><dep>   0 </dep></entry>
      <entry><ind>  0.75 </ind><dep>  15 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -0.659 </x1-m>
      <y1-m> -6.477 </y1-m>
      <z1-m>  0.145 </z1-m>
      <x2-m> -0.587 </x2-m>
      <y2-m> -4.868 </y2-m>
      <z2-m>  0.032 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>aileronD</object-name>
    <property>surface-positions/right-aileron-pos-norm</property>
    <interpolation>
      <entry><ind> -0.75 </ind><dep> -15 </dep></entry>
      <entry><ind>  0.00 </ind><dep>   0 </dep></entry>
      <entry><ind>  0.75 </ind><dep>  15 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -0.587 </x1-m>
      <y1-m>  4.868 </y1-m>
      <z1-m>  0.032 </z1-m>
      <x2-m> -0.659 </x2-m>
      <y2-m>  6.477 </y2-m>
      <z2-m>  0.145 </z2-m>
    </axis>
  </animation>

  <!-- Animations des volets -->
  <animation>
    <type>rotate</type>
    <object-name>voletG1</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 60 </factor>
    <axis>
      <x1-m> -0.580 </x1-m>
      <y1-m> -2.212 </y1-m>
      <z1-m> -0.209 </z1-m>
      <x2-m> -0.492 </x2-m>
      <y2-m> -0.709 </y2-m>
      <z2-m> -0.324 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletG2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 60 </factor>
    <axis>
      <x1-m> -0.622 </x1-m>
      <y1-m> -4.870 </y1-m>
      <z1-m> -0.008 </z1-m>
      <x2-m> -0.580 </x2-m>
      <y2-m> -2.212 </y2-m>
      <z2-m> -0.209 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletD1</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 60 </factor>
    <axis>
      <x1-m> -0.492 </x1-m>
      <y1-m>  0.709 </y1-m>
      <z1-m> -0.324 </z1-m>
      <x2-m> -0.580 </x2-m>
      <y2-m>  2.212 </y2-m>
      <z2-m> -0.209 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletD2</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 60 </factor>
    <axis>
      <x1-m> -0.580 </x1-m>
      <y1-m>  2.212 </y1-m>
      <z1-m> -0.209 </z1-m>
      <x2-m> -0.622 </x2-m>
      <y2-m>  4.870 </y2-m>
      <z2-m> -0.008 </z2-m>
    </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.00 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.05 </ind><dep> -90 </dep></entry>
      <entry><ind> 1.00 </ind><dep> -90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -3.086 </x1-m>
      <y1-m> -0.128 </y1-m>
      <z1-m> -0.369 </z1-m>
      <x2-m> -2.607 </x2-m>
      <y2-m> -0.128 </y2-m>
      <z2-m> -0.403 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteAD</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.00 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.05 </ind><dep> -90 </dep></entry>
      <entry><ind> 1.00 </ind><dep> -90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -2.607 </x1-m>
      <y1-m>  0.128 </y1-m>
      <z1-m> -0.403 </z1-m>
      <x2-m> -3.086 </x2-m>
      <y2-m>  0.128 </y2-m>
      <z2-m> -0.369 </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> -85 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -1.221 </x1-m>
      <y1-m> -1.597 </y1-m>
      <z1-m> -0.402 </z1-m>
      <x2-m> -1.073 </x2-m>
      <y2-m> -1.597 </y2-m>
      <z2-m> -0.374 </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> -85 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -1.073 </x1-m>
      <y1-m>  1.597 </y1-m>
      <z1-m> -0.374 </z1-m>
      <x2-m> -1.221 </x2-m>
      <y2-m>  1.597 </y2-m>
      <z2-m> -0.402 </z2-m>
    </axis>
  </animation>

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

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

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

  <animation>
    <type>translate</type>
    <object-name>RoueGauche</object-name>
    <!-- <property>gear/gear[1]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[19]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.00 </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>RoueDroite</name>
    <object-name>roueD</object-name>
    <object-name>axeDB</object-name>
  </animation>

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

  <!-- Rentrée des roues -->
  <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]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 80 </dep></entry>
      <entry><ind> 1 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -2.344 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.276 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

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

  <animation>
    <type>rotate</type>
    <object-name>TrainGauche</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 78 </dep></entry>
      <entry><ind> 1 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.147 </x-m>
      <y-m> -1.539 </y-m>
      <z-m> -0.317 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

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

  <animation>
    <type>rotate</type>
    <object-name>TrainDroit</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 78 </dep></entry>
      <entry><ind> 1 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -1.147 </x-m>
      <y-m>  1.539 </y-m>
      <z-m> -0.317 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Rotation de la roue avant en fonction de la gouverne de direction -->
  <animation>
    <type>rotate</type>
    <object-name>TrainAvant</object-name>
    <!-- <property>gear/gear[0]/caster-angle-deg</property> -->
    <property>sim/multiplay/generic/float[21]</property>
    <factor> -1.5 </factor>
    <axis>
      <x1-m> -2.516 </x1-m>
      <y1-m>  0.000 </y1-m>
      <z1-m> -0.837 </z1-m>
      <x2-m> -2.344 </x2-m>
      <y2-m>  0.000 </y2-m>
      <z2-m> -0.276 </z2-m>
    </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[9]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -2.578 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -1.052 </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[10]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -1.147 </x-m>
      <y-m> -1.358 </y-m>
      <z-m> -1.032 </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[11]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -1.147 </x-m>
      <y-m>  1.358 </y-m>
      <z-m> -1.032 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- ************************************************************************ -->
  <model>
    <name>front_door.handle</name>
    <path>Handles/handledoor.xml</path>
    <offsets>
      <x-m> -1.338 </x-m>
      <y-m> -0.590 </y-m>
      <z-m>  0.181 </z-m>
    </offsets>
  </model>

  <animation>
    <type>rotate</type>
    <object-name>tourverriere</object-name>
    <object-name>front_door.handle</object-name>
    <object-name>verriere</object-name>
    <object-name>HDRverriere</object-name>
    <!-- <property>sim/model/door-positions/crew/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <factor> 45 </factor>
    <center>
      <x-m> -2.337 </x-m>
      <y-m>  0.000 </y-m>
      <z-m>  0.324 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>tourverriere</object-name>
    <object-name>verriere</object-name>
    <object-name>HDRverriere</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <condition>
          <!-- <property>controls/doors/door[0]/locked</property> -->
          <property>sim/multiplay/generic/bool[6]</property>
        </condition>
        <command>nasal</command>
        <script>doors.crew.toggle();</script>
      </binding>
    </action>
  </animation>

  <model>
    <name>rear_door.handle</name>
    <path>Handles/handlerear.xml</path>
    <offsets>
      <x-m> -0.730 </x-m>
      <y-m> -0.590 </y-m>
      <z-m>  0.151 </z-m>
    </offsets>
  </model>

  <animation>
    <type>rotate</type>
    <object-name>porte</object-name>
    <object-name>rear_door.handle</object-name>
    <object-name>vitreporte</object-name>
    <object-name>HDRvitreporte</object-name>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> -95 </factor>
    <axis>
      <x1-m> -0.796 </x1-m>
      <y1-m> -0.112 </y1-m>
      <z1-m>  0.727 </z1-m>
      <x2-m> -0.481 </x2-m>
      <y2-m> -0.112 </y2-m>
      <z2-m>  0.698 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>porte</object-name>
    <object-name>vitreporte</object-name>
    <object-name>HDRvitreporte</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <condition>
          <!-- property>controls/doors/door[1]/locked</property> -->
          <property>sim/multiplay/generic/bool[7]</property>
        </condition>
        <command>nasal</command>
        <script>doors.passenger.toggle();</script>
      </binding>
    </action>
  </animation>

  <model>
    <name>LeftHandleNoze</name>
    <path>Handles/handlenozeL.xml</path>
    <offsets>
      <x-m> -3.631 </x-m>
      <y-m> -0.328 </y-m>
      <z-m> -0.144 </z-m>
      <roll-deg>      6.00 </roll-deg>
      <pitch-deg>    -0.28 </pitch-deg>
      <heading-deg> -12.00 </heading-deg>
    </offsets>
  </model>

  <model>
    <name>LeftHandleNozeRear</name>
    <path>Handles/handlenozerearL.xml</path>
    <offsets>
      <x-m> -2.940 </x-m>
      <y-m> -0.448 </y-m>
      <z-m> -0.144 </z-m>
      <roll-deg>    21.29 </roll-deg>
      <pitch-deg>   -0.10 </pitch-deg>
      <heading-deg> -7.50 </heading-deg>
    </offsets>
  </model>

  <animation>
    <name>LeftBagagesDoor</name>
    <object-name>bagage.leftdoor</object-name>
    <object-name>LeftHandleNoze</object-name>
    <object-name>LeftHandleNozeRear</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>LeftBagagesDoor</object-name>
    <!-- <property>sim/model/door-positions/leftbagage/position-norm</property> -->
    <property>sim/multiplay/generic/float[7]</property>
    <factor> -100 </factor>
    <axis>
      <x1-m> -3.7050 </x1-m>
      <y1-m> -0.0610 </y1-m>
      <z1-m>  0.0601 </z1-m>
      <x2-m> -2.8638 </x2-m>
      <y2-m> -0.0917 </y2-m>
      <z2-m>  0.2437 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>bagage.leftdoor</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <condition>
          <and>
            <!-- <property>controls/doors/door[2]/locks/lock[0]/locked</property> -->
            <property>sim/multiplay/generic/bool[8]</property>
            <!-- <property>controls/doors/door[2]/locks/lock[1]/locked</property> -->
            <property>sim/multiplay/generic/bool[9]</property>
          </and>
        </condition>
        <command>nasal</command>
        <script>doors.leftbagage.toggle();</script>
      </binding>
    </action>
  </animation>

  <model>
    <name>RightHandleNoze</name>
    <path>Handles/handlenozeR.xml</path>
    <offsets>
      <x-m> -3.631 </x-m>
      <y-m>  0.328 </y-m>
      <z-m> -0.144 </z-m>
      <roll-deg>    -6.00 </roll-deg>
      <pitch-deg>   -0.28 </pitch-deg>
      <heading-deg> 12.00 </heading-deg>
    </offsets>
  </model>

  <model>
    <name>RightHandleNozeRear</name>
    <path>Handles/handlenozerearR.xml</path>
    <offsets>
      <x-m> -2.940 </x-m>
      <y-m>  0.448 </y-m>
      <z-m> -0.144 </z-m>
      <roll-deg>   -21.29 </roll-deg>
      <pitch-deg>   -0.10 </pitch-deg>
      <heading-deg>  7.50 </heading-deg>
    </offsets>
  </model>

  <animation>
    <name>RightBagagesDoor</name>
    <object-name>bagage.rightdoor</object-name>
    <object-name>RightHandleNoze</object-name>
    <object-name>RightHandleNozeRear</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>RightBagagesDoor</object-name>
    <!-- <property>sim/model/door-positions/rightbagage/position-norm</property> -->
    <property>sim/multiplay/generic/float[8]</property>
    <factor> 100 </factor>
    <axis>
      <x1-m> -3.7050 </x1-m>
      <y1-m>  0.0610 </y1-m>
      <z1-m>  0.0601 </z1-m>
      <x2-m> -2.8638 </x2-m>
      <y2-m>  0.0917 </y2-m>
      <z2-m>  0.2437 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>bagage.rightdoor</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <condition>
          <and>
            <!-- <property>controls/doors/door[3]/locks/lock[0]/locked</property> -->
            <property>sim/multiplay/generic/bool[10]</property>
            <!-- <property>controls/doors/door[3]/locks/lock[1]/locked</property> -->
            <property>sim/multiplay/generic/bool[19]</property>
          </and>
        </condition>
        <command>nasal</command>
        <script>doors.rightbagage.toggle();</script>
      </binding>
    </action>
  </animation>

</PropertyList>
