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

<PropertyList>

  <path>tbm930.ac</path>

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

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

  <animation>
    <!-- Objets opaques -->
    <object-name>fuselage</object-name>
    <object-name>portecrew</object-name>
    <object-name>porteH</object-name>
    <object-name>porteB</object-name>
    <object-name>ailes</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>bol</object-name>
    <object-name>ailes2</object-name>
    <object-name>ailette</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>direction</object-name>
    <object-name>ajouts</object-name>
    <object-name>bosse</object-name>
    <object-name>antennes</object-name>

    <object-name>trous</object-name>
    <object-name>helice</object-name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>roueA</object-name>
    <object-name>axeGB</object-name>
    <object-name>axeGH</object-name>
    <object-name>roueG</object-name>
    <object-name>axeDB</object-name>
    <object-name>axeDH</object-name>
    <object-name>roueD</object-name>
    <object-name>echappe</object-name>

    <!-- Objets transparents -->
    <object-name>vitres</object-name>
    <object-name>vitrecrew</object-name>
    <object-name>vitreporte</object-name>
    <object-name>propblur</object-name>
    <object-name>propdisc</object-name>
    <!-- HDR mode -->
    <object-name>HDRvitres</object-name>
    <object-name>HDRvitrecrew</object-name>
    <object-name>HDRvitreporte</object-name>
  </animation>

  <animation>
    <type>material</type>
    <!-- Objets opaques -->
    <object-name>fuselage</object-name>
    <object-name>portecrew</object-name>
    <object-name>porteH</object-name>
    <object-name>porteB</object-name>
    <object-name>ailes</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>bol</object-name>
    <object-name>ailes2</object-name>
    <object-name>ailette</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>direction</object-name>
    <object-name>ajouts</object-name>
    <object-name>bosse</object-name>
    <object-name>antennes</object-name>
    <object-name>trous</object-name>
    <object-name>helice</object-name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>roueA</object-name>
    <object-name>axeGB</object-name>
    <object-name>axeGH</object-name>
    <object-name>roueG</object-name>
    <object-name>axeDB</object-name>
    <object-name>axeDH</object-name>
    <object-name>roueD</object-name>
    <object-name>echappe</object-name>
    <object-name>vitres</object-name>
    <object-name>vitrecrew</object-name>
    <object-name>vitreporte</object-name>
    <object-name>propblur</object-name>
    <object-name>propdisc</object-name>
    <object-name>HDRvitres</object-name>
    <object-name>HDRvitrecrew</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/TBM-930/Models/Effects/Bump/bumpspec</inherits-from>
    <object-name>fuselage</object-name>
    <object-name>portecrew</object-name>
    <object-name>porteH</object-name>
    <object-name>porteB</object-name>
    <object-name>ailes</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>bol</object-name>
    <object-name>ailes2</object-name>
    <object-name>ailette</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>direction</object-name>
    <object-name>ajouts</object-name>
    <object-name>bosse</object-name>
    <object-name>antennes</object-name>
  </effect>

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

  <effect>
    <inherits-from>Effects/Glass/glass</inherits-from>
    <object-name>HDRvitres</object-name>
    <object-name>HDRvitreporte</object-name>
    <object-name>HDRvitrecrew</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>HDRvitreporte</object-name>
    <object-name>HDRvitrecrew</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>vitreporte</object-name>
    <object-name>vitrecrew</object-name>
  </animation>

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

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

  <model>
    <path>light/all-lights.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>

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

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

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

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

  <animation>
    <type>spin</type>
    <object-name>HeliceComplete</object-name>
    <condition>
      <!-- <not><property>controls/engines/engine[0]/cutoff</property></not> -->
      <not><property>sim/multiplay/generic/bool[6]</property></not>
    </condition>
    <!-- <property>engines/engine[0]/n1</property> -->
    <property>sim/multiplay/generic/float[4]</property>
    <factor> 10 </factor>
    <center>
      <x-m> -4.87971 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -0.63992 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Gouverne de profondeur -->
  <animation>
    <type>rotate</type>
    <object-name>profondeurG</object-name>
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m>  4.83066 </x1-m>
      <y1-m> -2.37467 </y1-m>
      <z1-m>  0.36383 </z1-m>
      <x2-m>  4.90564 </x2-m>
      <y2-m> -0.10820 </y2-m>
      <z2-m>  0.07209 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>profondeurD</object-name>
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m> 4.90564 </x1-m>
      <y1-m> 0.10820 </y1-m>
      <z1-m> 0.07209 </z1-m>
      <x2-m> 4.83066 </x2-m>
      <y2-m> 2.37467 </y2-m>
      <z2-m> 0.36383 </z2-m>
    </axis>
  </animation>

  <!-- Gouverne de direction -->
  <animation>
    <type>rotate</type>
    <object-name>direction</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor> -15 </factor>
    <axis>
      <x1-m>  4.03047 </x1-m>
      <y1-m>  0.00000 </y1-m>
      <z1-m>  0.37045 </z1-m>
      <x2-m>  4.87537 </x2-m>
      <y2-m>  0.00000 </y2-m>
      <z2-m>  1.94237 </z2-m>
    </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.50907 </x1-m>
      <y1-m> -6.22204 </y1-m>
      <z1-m> -0.46724 </z1-m>
      <x2-m> -0.45900 </x2-m>
      <y2-m> -5.18979 </y2-m>
      <z2-m> -0.59713 </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.45900 </x1-m>
      <y1-m>  5.18979 </y1-m>
      <z1-m> -0.59713 </z1-m>
      <x2-m> -0.50907 </x2-m>
      <y2-m>  6.22204 </y2-m>
      <z2-m> -0.46724 </z2-m>
    </axis>
  </animation>

  <!-- Volets -->
  <animation>
    <type>translate</type>
    <object-name>voletG</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> 0.00 </dep></entry>
      <entry><ind> 0.1 </ind><dep> 0.05 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 0.05 </dep></entry>
    </interpolation>
    <factor> 0.1 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>voletG</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0.00 </dep></entry>
      <entry><ind> 0.1 </ind><dep> -0.05 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -0.05 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletG</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.1 </ind><dep>  0 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 50 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -0.28503 </x1-m>
      <y1-m> -5.06002 </y1-m>
      <z1-m> -0.74848 </z1-m>
      <x2-m> -0.03489 </x2-m>
      <y2-m> -0.88960 </y2-m>
      <z2-m> -1.28647 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>voletD</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> 0.00 </dep></entry>
      <entry><ind> 0.1 </ind><dep> 0.05 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 0.05 </dep></entry>
    </interpolation>
    <factor> 0.1 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>voletD</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0.00 </dep></entry>
      <entry><ind> 0.1 </ind><dep> -0.05 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -0.05 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletD</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.1 </ind><dep>  0 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 50 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -0.03489 </x1-m>
      <y1-m>  0.88960 </y1-m>
      <z1-m> -1.28647 </z1-m>
      <x2-m> -0.28503 </x2-m>
      <y2-m>  5.06002 </y2-m>
      <z2-m> -0.74848 </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.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.1 </ind><dep> -90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -3.74004 </x1-m>
      <y1-m> -0.16461 </y1-m>
      <z1-m> -1.33606 </z1-m>
      <x2-m> -2.53279 </x2-m>
      <y2-m> -0.16461 </y2-m>
      <z2-m> -1.32974 </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.1 </ind><dep> -100 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -100 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -2.53279 </x1-m>
      <y1-m>  0.16461 </y1-m>
      <z1-m> -1.32974 </z1-m>
      <x2-m> -3.74004 </x2-m>
      <y2-m>  0.16461 </y2-m>
      <z2-m> -1.33606 </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> -83 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -0.94520 </x1-m>
      <y1-m> -2.12090 </y1-m>
      <z1-m> -1.06137 </z1-m>
      <x2-m> -0.49521 </x2-m>
      <y2-m> -2.12056 </y2-m>
      <z2-m> -1.04970 </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> -83 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -0.49521 </x1-m>
      <y1-m>  2.12056 </y1-m>
      <z1-m> -1.04970 </z1-m>
      <x2-m> -0.94520 </x2-m>
      <y2-m>  2.12090 </y2-m>
      <z2-m> -1.06137 </z2-m>
    </axis>
  </animation>

  <!-- Rentre 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> -108 </dep></entry>
      <entry><ind> 1 </ind><dep>    0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.57934 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -1.29010 </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> 83 </dep></entry>
      <entry><ind> 1 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.76115 </x-m>
      <y-m> -1.96419 </y-m>
      <z-m> -1.03043 </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> -83 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.76115 </x-m>
      <y-m>  1.96419 </y-m>
      <z-m> -1.03043 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </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[15]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0000</dep></entry>
      <entry><ind> 1 </ind><dep> 0.1437 </dep></entry>
    </interpolation>
    <axis>
      <x> 0.040 </x>
      <y> 0.000 </y>
      <z> 0.138 </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[16]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.00 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.14 </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[17]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.00 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.14 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </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[10]</property>
    <factor> 0.8 </factor>
    <axis>
      <x1-m> -3.44967 </x1-m>
      <y1-m>  0.00000 </y1-m>
      <z1-m> -1.20498 </z1-m>
      <x2-m> -3.66312 </x2-m>
      <y2-m>  0.00000 </y2-m>
      <z2-m> -1.98704 </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[12]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -3.66312 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -1.98704 </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[13]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -0.76115 </x-m>
      <y-m> -1.91462 </y-m>
      <z-m> -1.91536 </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[14]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -0.76115 </x-m>
      <y-m>  1.91462 </y-m>
      <z-m> -1.91536 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Porte avant -->
  <animation>
    <type>pick</type>
    <object-name>portecrew</object-name>
    <object-name>vitrecrew</object-name>
    <object-name>HDRvitrecrew</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <condition>
          <and>
            <property>gear/gear[0]/wow</property>
            <property>gear/gear[1]/wow</property>
            <property>gear/gear[2]/wow</property>
            <less-than>
              <property>gear/gear[0]/rollspeed-ms</property>
              <value>10</value>
            </less-than>
          </and>
        </condition>
        <command>nasal</command>
        <script>doors.crew.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>portecrew</object-name>
    <object-name>vitrecrew</object-name>
    <object-name>HDRvitrecrew</object-name>
    <!-- <property>sim/model/door-positions/crew/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> 155 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -1.917 </x1-m>
      <y1-m> -0.656 </y1-m>
      <z1-m> -0.295 </z1-m>
      <x2-m> -1.917 </x2-m>
      <y2-m> -0.697 </y2-m>
      <z2-m> -0.598 </z2-m>
    </axis>
  </animation>

  <!-- Porte cargo -->
  <animation>
    <type>pick</type>
    <object-name>porteH</object-name>
    <object-name>porteB</object-name>
    <object-name>vitreporte</object-name>
    <object-name>HDRvitreporte</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <condition>
          <and>
            <property>gear/gear[0]/wow</property>
            <property>gear/gear[1]/wow</property>
            <property>gear/gear[2]/wow</property>
            <less-than>
              <property>gear/gear[0]/rollspeed-ms</property>
              <value>10</value>
            </less-than>
          </and>
        </condition>
        <command>nasal</command>
        <script>doors.passenger.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteH</object-name>
    <object-name>porteB</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>
    <interpolation>
      <entry><ind> 0 </ind><dep>    0 </dep></entry>
      <entry><ind> 1 </ind><dep> -100 </dep></entry>
    </interpolation>
    <axis>
      <x1-m>  0.26667 </x1-m>
      <y1-m> -0.42643 </y1-m>
      <z1-m>  0.22876 </z1-m>
      <x2-m>  0.72047 </x2-m>
      <y2-m> -0.40622 </y2-m>
      <z2-m>  0.22876 </z2-m>
    </axis>
  </animation>

</PropertyList>
