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

<PropertyList>

  <path>do228.ac</path>

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

  <nasal>
    <load>
      var livery_update = aircraft.livery_update.new("Aircraft/DO-228/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>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeur</object-name>
    <object-name>direction</object-name>
    <object-name>antenne</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>portecargoA</object-name>
    <object-name>portecargoB</object-name>
    <object-name>portesoute</object-name>
    <object-name>ajouts</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>portecrew</object-name>
    <object-name>portepassager</object-name>
    <object-name>portebagages</object-name>
    <object-name>moteurs</object-name>
    <object-name>gons</object-name>
    <object-name>supports</object-name>

    <object-name>trous</object-name>
    <object-name>echappes</object-name>
    <object-name>heliceG</object-name>
    <object-name>heliceD</object-name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>roueA</object-name>
    <object-name>axeGH</object-name>
    <object-name>axeGB</object-name>
    <object-name>roueG</object-name>
    <object-name>axeDH</object-name>
    <object-name>axeDB</object-name>
    <object-name>roueD</object-name>

    <!-- Objets transparents -->
    <object-name>vitres</object-name>
    <object-name>vitrecrew</object-name>
    <object-name>vitrepassager</object-name>
    <object-name>vitrecargoA</object-name>
    <object-name>vitrecargoB</object-name>
    <object-name>propblurG</object-name>
    <object-name>propdiscG</object-name>
    <object-name>propblurD</object-name>
    <object-name>propdiscD</object-name>
    <!-- HDR mode -->
    <object-name>HDRvitres</object-name>
    <object-name>HDRvitrecrew</object-name>
    <object-name>HDRvitrepassager</object-name>
    <object-name>HDRvitrecargoA</object-name>
    <object-name>HDRvitrecargoB</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>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeur</object-name>
    <object-name>direction</object-name>
    <object-name>antenne</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>portecargoA</object-name>
    <object-name>portecargoB</object-name>
    <object-name>portesoute</object-name>
    <object-name>ajouts</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>portecrew</object-name>
    <object-name>portepassager</object-name>
    <object-name>portebagages</object-name>
    <object-name>moteurs</object-name>
    <object-name>gons</object-name>
    <object-name>supports</object-name>
    <object-name>trous</object-name>
    <object-name>echappes</object-name>
    <object-name>heliceG</object-name>
    <object-name>heliceD</object-name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>roueA</object-name>
    <object-name>axeGH</object-name>
    <object-name>axeGB</object-name>
    <object-name>roueG</object-name>
    <object-name>axeDH</object-name>
    <object-name>axeDB</object-name>
    <object-name>roueD</object-name>
    <object-name>vitres</object-name>
    <object-name>vitrecrew</object-name>
    <object-name>vitrepassager</object-name>
    <object-name>vitrecargoA</object-name>
    <object-name>vitrecargoB</object-name>
    <object-name>propblurG</object-name>
    <object-name>propdiscG</object-name>
    <object-name>propblurD</object-name>
    <object-name>propdiscD</object-name>
    <object-name>HDRvitres</object-name>
    <object-name>HDRvitrecrew</object-name>
    <object-name>HDRvitrepassager</object-name>
    <object-name>HDRvitrecargoA</object-name>
    <object-name>HDRvitrecargoB</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/DO-228/Models/Effects/Bump/bumpspec</inherits-from>
    <object-name>fuselage</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>ailes2</object-name>
    <object-name>profondeur</object-name>
    <object-name>direction</object-name>
    <object-name>antenne</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>portecargoA</object-name>
    <object-name>portecargoB</object-name>
    <object-name>portesoute</object-name>
    <object-name>ajouts</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>portecrew</object-name>
    <object-name>portepassager</object-name>
    <object-name>portebagages</object-name>
    <object-name>moteurs</object-name>
    <object-name>gons</object-name>
    <object-name>supports</object-name>
  </effect>

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

  <effect>
    <inherits-from>Effects/Glass/glass</inherits-from>
    <object-name>HDRvitres</object-name>
    <object-name>HDRvitrecrew</object-name>
    <object-name>HDRvitrepassager</object-name>
    <object-name>HDRvitrecargoA</object-name>
    <object-name>HDRvitrecargoB</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>HDRvitrecrew</object-name>
    <object-name>HDRvitrepassager</object-name>
    <object-name>HDRvitrecargoA</object-name>
    <object-name>HDRvitrecargoB</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>vitrecrew</object-name>
    <object-name>vitrepassager</object-name>
    <object-name>vitrecargoA</object-name>
    <object-name>vitrecargoB</object-name>
  </animation>

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

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

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

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

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

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

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

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

  <!-- L'hélice gauche -->
  <animation>
    <name>HeliceCompleteGauche</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>900</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>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>heliceG</object-name>
    <condition>
      <less-than>
        <property>engines/engine[0]/rpm</property>
        <value>900</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>HeliceCompleteGauche</object-name>
    <condition>
      <!-- <not><property>controls/engines/engine[0]/cutoff</property></not> -->
      <not><property>sim/multiplay/generic/bool[8]</property></not>
    </condition>
    <!-- <property>engines/engine[0]/n1</property> -->
    <property>sim/multiplay/generic/float[4]</property>
    <factor> 2 </factor>
    <center>
      <x-m> -3.06092 </x-m>
      <y-m> -2.52204 </y-m>
      <z-m> -0.01975 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- L'hélice droite -->
  <animation>
    <name>HeliceCompleteDroite</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>900</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>300.000</value>
      </greater-than>
      <less-than>
        <property>engines/engine[1]/rpm</property>
        <value>900.001</value>
      </less-than>
    </and>
    </condition>
  </animation>

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

  <animation>
    <type>spin</type>
    <object-name>HeliceCompleteDroite</object-name>
    <condition>
      <!-- <not><property>controls/engines/engine[1]/cutoff</property></not> -->
      <not><property>sim/multiplay/generic/bool[9]</property></not>
    </condition>
    <!-- <property>engines/engine[1]/n1</property> -->
    <property>sim/multiplay/generic/float[5]</property>
    <factor> 2 </factor>
    <center>
      <x-m> -3.06092 </x-m>
      <y-m>  2.52204 </y-m>
      <z-m> -0.01975 </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>surface-positions/rudder-pos-norm</property>
    <factor> -15 </factor>
    <axis>
      <x1-m>  7.19136 </x1-m>
      <y1-m>  0.00000 </y1-m>
      <z1-m> -0.20213 </z1-m>
      <x2-m>  7.28855 </x2-m>
      <y2-m>  0.00000 </y2-m>
      <z2-m>  1.79220 </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>  7.74353 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -0.30571 </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>
    <factor> 15 </factor>
    <axis>
      <x1-m> -0.35847 </x1-m>
      <y1-m> -7.60870 </y1-m>
      <z1-m>  0.21615 </z1-m>
      <x2-m> -0.40840 </x2-m>
      <y2-m> -5.10708 </y2-m>
      <z2-m>  0.20562 </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.40840 </x1-m>
      <y1-m>  5.10708 </y1-m>
      <z1-m>  0.20562 </z1-m>
      <x2-m> -0.35847 </x2-m>
      <y2-m>  7.60870 </y2-m>
      <z2-m>  0.21615 </z2-m>
    </axis>
  </animation>

  <!-- Volets -->
  <animation>
    <type>rotate</type>
    <object-name>voletG</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -0.42248 </x1-m>
      <y1-m> -4.61025 </y1-m>
      <z1-m> -0.18420 </z1-m>
      <x2-m> -0.42248 </x2-m>
      <y2-m> -3.41976 </y2-m>
      <z2-m> -0.18420 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletD</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> 40 </factor>
    <axis>
      <x1-m> -0.42248 </x1-m>
      <y1-m>  3.41976 </y1-m>
      <z1-m> -0.18420 </z1-m>
      <x2-m> -0.42248 </x2-m>
      <y2-m>  4.61025 </y2-m>
      <z2-m> -0.18420 </z2-m>
    </axis>
  </animation>

  <!-- Rentré 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> 110 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -6.90746 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -1.52776 </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> 95 </dep></entry>
      <entry><ind> 1 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.59273 </x-m>
      <y-m> -1.14988 </y-m>
      <z-m> -1.43179 </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> -95 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.59273 </x-m>
      <y-m>  1.14988 </y-m>
      <z-m> -1.43179 </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>
    <name>RoueAvant</name>
    <object-name>axeAB</object-name>
    <object-name>roueA</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>RoueAvant</object-name>
    <!-- <property>gear/gear[0]/caster-angle-deg</property> -->
    <property>sim/multiplay/generic/float[18]</property>
    <factor> -0.8 </factor>
    <center>
      <x-m> -6.90746 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -1.96183 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!-- Rotation des roues lors du roulage -->
  <animation>
    <type>spin</type>
    <object-name>roueA</object-name>
    <!-- <property>gear/gear[0]/rollspeed-ms</property> -->
    <property>sim/multiplay/generic/float[8]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -6.80360 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -2.19558 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueG</object-name>
    <!-- <property>gear/gear[1]/rollspeed-ms</property> -->
    <property>sim/multiplay/generic/float[9]</property>
    <factor> 30 </factor>
    <axis>
      <x1-m> -0.59273 </x1-m>
      <y1-m> -1.56224 </y1-m>
      <z1-m> -2.09269 </z1-m>
      <x2-m> -0.59273 </x2-m>
      <y2-m> -1.73539 </y2-m>
      <z2-m> -2.07754 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueD</object-name>
    <!-- <property>gear/gear[2]/rollspeed-ms</property> -->
    <property>sim/multiplay/generic/float[10]</property>
    <factor> 30 </factor>
    <axis>
      <x1-m> -0.59273 </x1-m>
      <y1-m>  1.73539 </y1-m>
      <z1-m> -2.07754 </z1-m>
      <x2-m> -0.59273 </x2-m>
      <y2-m>  1.56224 </y2-m>
      <z2-m> -2.09269 </z2-m>
    </axis>
  </animation>

  <!-- Fermeture des portes du train -->
  <animation>
    <type>rotate</type>
    <object-name>porteG</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.5 </ind><dep> 125 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 125 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.55392 </x-m>
      <y-m> -1.24246 </y-m>
      <z-m> -1.57307 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>    0 </dep></entry>
      <entry><ind> 0.5 </ind><dep> -125 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -125 </dep></entry>
    </interpolation>
    <center>
      <x-m> -0.55392 </x-m>
      <y-m>  1.24246 </y-m>
      <z-m> -1.57307 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Doors animation -->
  <animation>
    <type>pick</type>
    <object-name>portecrew</object-name>
    <object-name>vitrecrew</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>
    <!-- <property>sim/model/door-positions/crew/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <factor> -80 </factor>
    <center>
      <x-m> -5.34966 </x-m>
      <y-m> -0.75551 </y-m>
      <z-m> -0.88966 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>portepassager</object-name>
    <object-name>vitrepassager</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>portepassager</object-name>
    <object-name>vitrepassager</object-name>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> 80 </factor>
    <center>
      <x-m> -5.34966 </x-m>
      <y-m>  0.75551 </y-m>
      <z-m> -0.88966 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>portecargoA</object-name>
    <object-name>vitrecargoA</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.cargo.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>portecargoA</object-name>
    <object-name>vitrecargoA</object-name>
    <!-- <property>sim/model/door-positions/cargo/position-norm</property> -->
    <property>sim/multiplay/generic/float[11]</property>
    <factor> -120 </factor>
    <center>
      <x-m>  1.23025 </x-m>
      <y-m> -0.75551 </y-m>
      <z-m> -0.82758 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>portecargoB</object-name>
    <object-name>vitrecargoB</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.cargo.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>portecargoB</object-name>
    <object-name>vitrecargoB</object-name>
    <!-- <property>sim/model/door-positions/cargo/position-norm</property> -->
    <property>sim/multiplay/generic/float[11]</property>
    <factor> 120 </factor>
    <center>
      <x-m>  2.50334 </x-m>
      <y-m> -0.75551 </y-m>
      <z-m> -0.82758 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>portesoute</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.soute.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>portesoute</object-name>
    <!-- <property>sim/model/door-positions/soute/position-norm</property> -->
    <property>sim/multiplay/generic/float[16]</property>
    <factor> -110 </factor>
    <axis>
      <x1-m>  3.34168 </x1-m>
      <y1-m> -0.67870 </y1-m>
      <z1-m> -0.56414 </z1-m>
      <x2-m>  3.65285 </x2-m>
      <y2-m> -0.64487 </y2-m>
      <z2-m> -0.56414 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>portebagages</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.bagages.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>portebagages</object-name>
    <!-- <property>sim/model/door-positions/bagages/position-norm</property> -->
    <property>sim/multiplay/generic/float[17]</property>
    <factor> -110 </factor>
    <axis>
      <x1-m> -7.01373 </x1-m>
      <y1-m> -0.59402 </y1-m>
      <z1-m> -0.98799 </z1-m>
      <x2-m> -6.63667 </x2-m>
      <y2-m> -0.63303 </y2-m>
      <z2-m> -0.91691 </z2-m>
    </axis>
  </animation>

</PropertyList>
