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

<PropertyList>

  <path>nord262.ac</path>

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

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

  <animation>
    <!-- Objets opaques -->
    <object-name>fuselage</object-name>
    <object-name>tourvitres</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteBG1</object-name>
    <object-name>porteBG2</object-name>
    <object-name>porteBD1</object-name>
    <object-name>porteBD2</object-name>
    <object-name>baseailes</object-name>
    <object-name>porteRG</object-name>
    <object-name>porteRD</object-name>
    <object-name>ailes</object-name>
    <object-name>aileronG</object-name>
    <object-name>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>aileronD</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeur</object-name>
    <object-name>direction</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>moteurs</object-name>
    <object-name>cachesroues</object-name>
    <object-name>Radome</object-name>

    <object-name>trous</object-name>
    <object-name>echappes</object-name>
    <object-name>axeA</object-name>
    <object-name>roueA</object-name>
    <object-name>axesG</object-name>
    <object-name>roueG</object-name>
    <object-name>axesD</object-name>
    <object-name>roueD</object-name>
    <object-name>heliceG</object-name>
    <object-name>heliceD</object-name>

    <!-- Objets transparents -->
    <object-name>vitres</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>
  </animation>

  <animation>
    <type>material</type>
    <object-name>fuselage</object-name>
    <object-name>tourvitres</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteBG1</object-name>
    <object-name>porteBG2</object-name>
    <object-name>porteBD1</object-name>
    <object-name>porteBD2</object-name>
    <object-name>baseailes</object-name>
    <object-name>porteRG</object-name>
    <object-name>porteRD</object-name>
    <object-name>ailes</object-name>
    <object-name>aileronG</object-name>
    <object-name>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>aileronD</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeur</object-name>
    <object-name>direction</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>moteurs</object-name>
    <object-name>cachesroues</object-name>
    <object-name>Radome</object-name>
    <object-name>trous</object-name>
    <object-name>echappes</object-name>
    <object-name>axeA</object-name>
    <object-name>roueA</object-name>
    <object-name>axesG</object-name>
    <object-name>roueG</object-name>
    <object-name>axesD</object-name>
    <object-name>roueD</object-name>
    <object-name>heliceG</object-name>
    <object-name>heliceD</object-name>
    <object-name>vitres</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>

    <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/Nord-262/Models/Effects/Bump/bumpspec</inherits-from>
    <object-name>fuselage</object-name>
    <object-name>tourvitres</object-name>
    <object-name>porteG</object-name>
    <object-name>porteD</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteBG1</object-name>
    <object-name>porteBG2</object-name>
    <object-name>porteBD1</object-name>
    <object-name>porteBD2</object-name>
    <object-name>baseailes</object-name>
    <object-name>porteRG</object-name>
    <object-name>porteRD</object-name>
    <object-name>ailes</object-name>
    <object-name>aileronG</object-name>
    <object-name>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>aileronD</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeur</object-name>
    <object-name>direction</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>moteurs</object-name>
    <object-name>cachesroues</object-name>
    <object-name>Radome</object-name>
  </effect>

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

  <effect>
    <inherits-from>Effects/Glass/glass</inherits-from>
    <object-name>HDRvitres</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>
  </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>
  </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>Effects/cranking/all-crankings.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>

  <model>
    <path>light/all-lights.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> 50 </factor>
    <center>
      <x-m> -4.34522 </x-m>
      <y-m> -2.92952 </y-m>
      <z-m> -0.04814 </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> 50 </factor>
    <center>
      <x-m> -4.34522 </x-m>
      <y-m>  2.92952 </y-m>
      <z-m> -0.04814 </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>  8.29888 </x1-m>
      <y1-m>  0.00000 </y1-m>
      <z1-m> -0.21677 </z1-m>
      <x2-m>  8.37820 </x2-m>
      <y2-m>  0.00000 </y2-m>
      <z2-m>  2.91469 </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> 15 </factor>
    <center>
      <x-m>  8.18725 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -0.93563 </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.58883 </x1-m>
      <y1-m> -10.49705 </y1-m>
      <z1-m>   0.44681 </z1-m>
      <x2-m>  -0.35111 </x2-m>
      <y2-m>  -7.04473 </y2-m>
      <z2-m>   0.26149 </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.35111 </x1-m>
      <y1-m>  7.04473 </y1-m>
      <z1-m>  0.26149 </z1-m>
      <x2-m> -0.58883 </x2-m>
      <y2-m> 10.49705 </y2-m>
      <z2-m>  0.44681 </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.34325 </x1-m>
      <y1-m> -6.93058 </y1-m>
      <z1-m>  0.15038 </z1-m>
      <x2-m>  0.06422 </x2-m>
      <y2-m> -1.24643 </y2-m>
      <z2-m> -0.26178 </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.06422 </x1-m>
      <y1-m>  1.24643 </y1-m>
      <z1-m> -0.26178 </z1-m>
      <x2-m> -0.34325 </x2-m>
      <y2-m>  6.93058 </y2-m>
      <z2-m>  0.15038 </z2-m>
    </axis>
  </animation>

  <!-- Rentré des roues -->
  <animation>
    <name>TrainAvant</name>
    <object-name>axeA</object-name>
    <object-name>roueA</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>axeA</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -25 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -7.68295 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -2.91828 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

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

  <animation>
    <name>TrainGauche</name>
    <object-name>axesG</object-name>
    <object-name>roueG</object-name>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>TrainGauche</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.68 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.00 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <name>TrainDroit</name>
    <object-name>axesD</object-name>
    <object-name>roueD</object-name>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>TrainDroit</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.68 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.00 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!-- Effet de suspension -->
  <animation>
    <type>translate</type>
    <object-name>TrainAvant</object-name>
    <!-- <property>gear/gear[0]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[13]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.1 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>TrainGauche</object-name>
    <!-- <property>gear/gear[1]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[14]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.1 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>TrainDroit</object-name>
    <!-- <property>gear/gear[2]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[15]</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.1 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!-- Fermeture des portes du train -->
  <animation>
    <type>rotate</type>
    <object-name>porteG</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> -90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -8.11227 </x1-m>
      <y1-m> -0.19738 </y1-m>
      <z1-m> -2.30037 </z1-m>
      <x2-m> -7.37033 </x2-m>
      <y2-m> -0.19738 </y2-m>
      <z2-m> -2.35112 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD</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> -90 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -90 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -7.37033 </x1-m>
      <y1-m>  0.19738 </y1-m>
      <z1-m> -2.35112 </z1-m>
      <x2-m> -8.11227 </x2-m>
      <y2-m>  0.19738 </y2-m>
      <z2-m> -2.30037 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteRG</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.3 </ind><dep> 85 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 85 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -0.80704 </x1-m>
      <y1-m> -1.05463 </y1-m>
      <z1-m> -2.41450 </z1-m>
      <x2-m> -0.39219 </x2-m>
      <y2-m> -1.05463 </y2-m>
      <z2-m> -2.39071 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteRD</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.3 </ind><dep> 85 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 85 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -0.39219 </x1-m>
      <y1-m>  1.05463 </y1-m>
      <z1-m> -2.39071 </z1-m>
      <x2-m> -0.80704 </x2-m>
      <y2-m>  1.05463 </y2-m>
      <z2-m> -2.41450 </z2-m>
    </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[18]</property>
    <factor> -0.6 </factor>
    <center>
      <x-m> -7.65966 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -2.22489 </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> -7.68295 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -2.91828 </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>
    <center>
      <x-m> -0.58184 </x-m>
      <y-m> -1.49989 </y-m>
      <z-m> -2.72678 </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[10]</property>
    <factor> 30 </factor>
    <center>
      <x-m> -0.58184 </x-m>
      <y-m>  1.49989 </y-m>
      <z-m> -2.72678 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Doors animation -->
  <animation>
    <type>pick</type>
    <object-name>porteAG</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.cargoG.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteAG</object-name>
    <!-- <property>sim/model/door-positions/cargoG/position-norm</property> -->
    <property>sim/multiplay/generic/float[11]</property>
    <factor> -100 </factor>
    <axis>
      <x1-m> -5.76112 </x1-m>
      <y1-m> -0.96037 </y1-m>
      <z1-m> -0.53509 </z1-m>
      <x2-m> -4.88322 </x2-m>
      <y2-m> -0.96089 </y2-m>
      <z2-m> -0.53509 </z2-m>
    </axis>
  </animation>

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

  <animation>
    <type>rotate</type>
    <object-name>porteAD</object-name>
    <!-- <property>sim/model/door-positions/cargoD/position-norm</property> -->
    <property>sim/multiplay/generic/float[12]</property>
    <factor> -100 </factor>
    <axis>
      <x1-m> -4.88322 </x1-m>
      <y1-m>  0.96089 </y1-m>
      <z1-m> -0.53509 </z1-m>
      <x2-m> -5.76112 </x2-m>
      <y2-m>  0.96037 </y2-m>
      <z2-m> -0.53509 </z2-m>
    </axis>
  </animation>

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

  <animation>
    <type>rotate</type>
    <object-name>porteBG1</object-name>
    <!-- <property>sim/model/door-positions/crewG/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <factor> 115 </factor>
    <axis>
      <x1-m>  1.93353 </x1-m>
      <y1-m> -0.81385 </y1-m>
      <z1-m> -2.00636 </z1-m>
      <x2-m>  2.43679 </x2-m>
      <y2-m> -0.73953 </y2-m>
      <z2-m> -2.00636 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteBG2</object-name>
    <!-- <property>sim/model/door-positions/crewG/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <factor> -80 </factor>
    <axis>
      <x1-m>  1.93353 </x1-m>
      <y1-m> -0.95349 </y1-m>
      <z1-m> -0.51181 </z1-m>
      <x2-m>  2.43679 </x2-m>
      <y2-m> -0.93253 </y2-m>
      <z2-m> -0.51181 </z2-m>
    </axis>
  </animation>

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

  <animation>
    <type>rotate</type>
    <object-name>porteBD1</object-name>
    <!-- <property>sim/model/door-positions/crewD/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> 115 </factor>
    <axis>
      <x1-m>  2.43679 </x1-m>
      <y1-m>  0.73953 </y1-m>
      <z1-m> -2.00636 </z1-m>
      <x2-m>  1.93353 </x2-m>
      <y2-m>  0.81385 </y2-m>
      <z2-m> -2.00636 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteBD2</object-name>
    <!-- <property>sim/model/door-positions/crewD/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> -80 </factor>
    <axis>
      <x1-m>  2.43679 </x1-m>
      <y1-m>  0.93253 </y1-m>
      <z1-m> -0.51181 </z1-m>
      <x2-m>  1.93353 </x2-m>
      <y2-m>  0.95349 </y2-m>
      <z2-m> -0.51181 </z2-m>
    </axis>
  </animation>

  <!-- Radome -->
  <animation>
    <type>select</type>
    <object-name>Radome</object-name>
    <condition>
      <!-- <property>sim/model/show-radome</property> -->
      <property>sim/multiplay/generic/bool[0]</property>
    </condition>
  </animation>

</PropertyList>
