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

<PropertyList>

  <path>dh91.ac</path>

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

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

  <animation>
    <!-- Objets opaques -->
    <object-name>fuselage</object-name>
    <object-name>bolGE</object-name>
    <object-name>bolGI</object-name>
    <object-name>bolDI</object-name>
    <object-name>bolDE</object-name>
    <object-name>ailes</object-name>
    <object-name>derive</object-name>
    <object-name>porteA</object-name>
    <object-name>porteB</object-name>
    <object-name>moteurs</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>directionG</object-name>
    <object-name>directionD</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>antenne</object-name>
    <object-name>porteG1</object-name>
    <object-name>porteG2</object-name>
    <object-name>porteD1</object-name>
    <object-name>porteD2</object-name>
    <object-name>air</object-name>

    <object-name>trous</object-name>
    <object-name>heliceGE</object-name>
    <object-name>heliceGI</object-name>
    <object-name>heliceDI</object-name>
    <object-name>heliceDE</object-name>
    <object-name>echappe</object-name>
    <object-name>roueG</object-name>
    <object-name>roueD</object-name>
    <object-name>roueA</object-name>
    <object-name>axeA</object-name>
    <object-name>axeG1</object-name>
    <object-name>axeG2</object-name>
    <object-name>axeD1</object-name>
    <object-name>axeD2</object-name>
    <object-name>cables</object-name>
    <object-name>escalier</object-name>

    <!-- Objets transparents -->
    <object-name>vitres</object-name>
    <object-name>propdiscGE</object-name>
    <object-name>propdiscGI</object-name>
    <object-name>propdiscDI</object-name>
    <object-name>propdiscDE</object-name>
    <object-name>propblurGE</object-name>
    <object-name>propblurGI</object-name>
    <object-name>propblurDI</object-name>
    <object-name>propblurDE</object-name>
    <!-- HDR mode -->
    <object-name>HDRvitres</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>fuselage</object-name>
    <object-name>bolGE</object-name>
    <object-name>bolGI</object-name>
    <object-name>bolDI</object-name>
    <object-name>bolDE</object-name>
    <object-name>ailes</object-name>
    <object-name>derive</object-name>
    <object-name>porteA</object-name>
    <object-name>porteB</object-name>
    <object-name>moteurs</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>directionG</object-name>
    <object-name>directionD</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>antenne</object-name>
    <object-name>porteG1</object-name>
    <object-name>porteG2</object-name>
    <object-name>porteD1</object-name>
    <object-name>porteD2</object-name>
    <object-name>air</object-name>
    <object-name>trous</object-name>
    <object-name>heliceGE</object-name>
    <object-name>heliceGI</object-name>
    <object-name>heliceDI</object-name>
    <object-name>heliceDE</object-name>
    <object-name>echappe</object-name>
    <object-name>roueG</object-name>
    <object-name>roueD</object-name>
    <object-name>roueA</object-name>
    <object-name>axeA</object-name>
    <object-name>axeG1</object-name>
    <object-name>axeG2</object-name>
    <object-name>axeD1</object-name>
    <object-name>axeD2</object-name>
    <object-name>cables</object-name>
    <object-name>escalier</object-name>
    <object-name>vitres</object-name>
    <object-name>propdiscGE</object-name>
    <object-name>propdiscGI</object-name>
    <object-name>propdiscDI</object-name>
    <object-name>propdiscDE</object-name>
    <object-name>propblurGE</object-name>
    <object-name>propblurGI</object-name>
    <object-name>propblurDI</object-name>
    <object-name>propblurDE</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>Effects/Bump/bumpspec</inherits-from>
    <object-name>fuselage</object-name>
    <object-name>bolGE</object-name>
    <object-name>bolGI</object-name>
    <object-name>bolDI</object-name>
    <object-name>bolDE</object-name>
    <object-name>ailes</object-name>
    <object-name>derive</object-name>
    <object-name>porteA</object-name>
    <object-name>porteB</object-name>
    <object-name>moteurs</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>directionG</object-name>
    <object-name>directionD</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>antenne</object-name>
    <object-name>porteG1</object-name>
    <object-name>porteG2</object-name>
    <object-name>porteD1</object-name>
    <object-name>porteD2</object-name>
    <object-name>air</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>
    </condition>
    <object-name>HDRvitres</object-name>
  </animation>

  <animation>
    <type>select</type>
    <condition>
      <not><property>/sim/rendering/hdr/hdr-enabled</property></not>
    </condition>
    <object-name>vitres</object-name>
  </animation>

  <effect>
    <inherits-from>Effects/model-transparent</inherits-from>
    <object-name>propdiscGE</object-name>
    <object-name>propdiscGI</object-name>
    <object-name>propdiscDI</object-name>
    <object-name>propdiscDE</object-name>
    <object-name>propblurGE</object-name>
    <object-name>propblurGI</object-name>
    <object-name>propblurDI</object-name>
    <object-name>propblurDE</object-name>
  </effect>

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

  <!-- Stair -->
  <animation>
    <type>select</type>
    <object-name>escalier</object-name>
    <condition>
      <equals>
        <property>sim/model/door-positions/crew/position-norm</property>
        <value>1</value>
      </equals>
    </condition>
  </animation>

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

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

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

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

  <animation>
    <name>CompleteGE</name>
    <object-name>propdiscGE</object-name>
    <object-name>propblurGE</object-name>
    <object-name>heliceGE</object-name>
    <object-name>bolGE</object-name>
  </animation>

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

  <animation>
    <type>select</type>
    <object-name>propblurGE</object-name>
    <condition>
      <and>
        <greater-than>
          <property>engines/engine[0]/rpm</property>
          <value>400.000</value>
        </greater-than>
        <less-than>
          <property>engines/engine[0]/rpm</property>
          <value>1000.001</value>
        </less-than>
      </and>
    </condition>
  </animation>

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

  <animation>
    <type>spin</type>
    <object-name>CompleteGE</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[0]/rpm</property>
        <value> 5 </value>
      </greater-than>
    </condition>
    <property>engines/engine[0]/rpm</property>
    <factor> 1 </factor>
    <center>
      <x-m> -6.045 </x-m>
      <y-m> -6.179 </y-m>
      <z-m> -0.123 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>CompleteGI</name>
    <object-name>propdiscGI</object-name>
    <object-name>propblurGI</object-name>
    <object-name>heliceGI</object-name>
    <object-name>bolGI</object-name>
  </animation>

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

  <animation>
    <type>select</type>
    <object-name>propblurGI</object-name>
    <condition>
      <and>
        <greater-than>
          <property>engines/engine[1]/rpm</property>
          <value>400.000</value>
        </greater-than>
        <less-than>
          <property>engines/engine[1]/rpm</property>
          <value>1000.001</value>
        </less-than>
      </and>
    </condition>
  </animation>

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

  <animation>
    <type>spin</type>
    <object-name>CompleteGI</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[1]/rpm</property>
        <value> 5 </value>
      </greater-than>
    </condition>
    <property>engines/engine[1]/rpm</property>
    <factor> 1 </factor>
    <center>
      <x-m> -6.421 </x-m>
      <y-m> -3.076 </y-m>
      <z-m> -0.415 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>CompleteDI</name>
    <object-name>propdiscDI</object-name>
    <object-name>propblurDI</object-name>
    <object-name>heliceDI</object-name>
    <object-name>bolDI</object-name>
  </animation>

  <!-- L'hélice -->
  <!-- Séléction de l'objet visible en fonction des rpm -->
  <animation>
    <type>select</type>
    <object-name>propdiscDI</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[2]/rpm</property>
        <value>1000</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>propblurDI</object-name>
    <condition>
      <and>
        <greater-than>
          <property>engines/engine[2]/rpm</property>
          <value>400.000</value>
        </greater-than>
        <less-than>
          <property>engines/engine[2]/rpm</property>
          <value>1000.001</value>
        </less-than>
      </and>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>heliceDI</object-name>
    <condition>
      <less-than>
        <property>engines/engine[2]/rpm</property>
        <value>1000</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>CompleteDI</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[2]/rpm</property>
        <value> 5 </value>
      </greater-than>
    </condition>
    <property>engines/engine[2]/rpm</property>
    <factor> 1 </factor>
    <center>
      <x-m> -6.421 </x-m>
      <y-m>  3.076 </y-m>
      <z-m> -0.415 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>CompleteDE</name>
    <object-name>propdiscDE</object-name>
    <object-name>propblurDE</object-name>
    <object-name>heliceDE</object-name>
    <object-name>bolDE</object-name>
  </animation>

  <!-- L'hélice -->
  <!-- Séléction de l'objet visible en fonction des rpm -->
  <animation>
    <type>select</type>
    <object-name>propdiscDE</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[3]/rpm</property>
        <value>1000</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>propblurDE</object-name>
    <condition>
      <and>
        <greater-than>
          <property>engines/engine[3]/rpm</property>
          <value>400.000</value>
        </greater-than>
        <less-than>
          <property>engines/engine[3]/rpm</property>
          <value>1000.001</value>
        </less-than>
      </and>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>heliceDE</object-name>
    <condition>
      <less-than>
        <property>engines/engine[3]/rpm</property>
        <value>1000</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>CompleteDE</object-name>
    <condition>
      <greater-than>
        <property>engines/engine[3]/rpm</property>
        <value> 5 </value>
      </greater-than>
    </condition>
    <property>engines/engine[3]/rpm</property>
    <factor> 1 </factor>
    <center>
      <x-m> -6.045 </x-m>
      <y-m>  6.179 </y-m>
      <z-m> -0.123 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Gouverne de direction -->
  <animation>
    <type>rotate</type>
    <object-name>directionG</object-name>
    <property>controls/flight/rudder</property>
    <factor> 15 </factor>
    <axis>
      <x1-m>  9.78269 </x1-m>
      <y1-m> -4.28339 </y1-m>
      <z1-m>  1.20084 </z1-m>
      <x2-m>  9.73218 </x2-m>
      <y2-m> -4.28339 </y2-m>
      <z2-m>  2.66827 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>directionD</object-name>
    <property>controls/flight/rudder</property>
    <factor> 15 </factor>
    <axis>
      <x1-m> 9.78269 </x1-m>
      <y1-m> 4.28339 </y1-m>
      <z1-m> 1.20084 </z1-m>
      <x2-m> 9.73218 </x2-m>
      <y2-m> 4.28339 </y2-m>
      <z2-m> 2.66827 </z2-m>
    </axis>
  </animation>

  <!-- Gouverne de profondeur -->
  <animation>
    <type>rotate</type>
    <object-name>profondeurG</object-name>
    <property>controls/flight/elevator</property>
    <factor> 15 </factor>
    <axis>
      <x1-m>  9.46442 </x1-m>
      <y1-m> -4.15166 </y1-m>
      <z1-m>  0.78689 </z1-m>
      <x2-m>  9.54132 </x2-m>
      <y2-m> -0.37246 </y2-m>
      <z2-m>  0.49816 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>profondeurD</object-name>
    <property>controls/flight/elevator</property>
    <factor> 15 </factor>
    <axis>
      <x1-m> 9.54132 </x1-m>
      <y1-m> 0.37246 </y1-m>
      <z1-m> 0.49816 </z1-m>
      <x2-m> 9.46442 </x2-m>
      <y2-m> 4.15166 </y2-m>
      <z2-m> 0.78689 </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>  -2.16666 </x1-m>
      <y1-m> -14.03801 </y1-m>
      <z1-m>   0.43134 </z1-m>
      <x2-m>  -1.47425 </x2-m>
      <y2-m>  -8.31616 </y2-m>
      <z2-m>   0.02963 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>aileronD</object-name>
    <property>surface-positions/right-aileron-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m> -1.47425 </x1-m>
      <y1-m>  8.31616 </y1-m>
      <z1-m>  0.02963 </z1-m>
      <x2-m> -2.16666 </x2-m>
      <y2-m> 14.03801 </y2-m>
      <z2-m>  0.43134 </z2-m>
    </axis>
  </animation>

  <!-- Animation des volets -->
  <animation>
    <type>rotate</type>
    <object-name>voletG</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> -60 </factor>
    <axis>
      <x1-m> -0.622 </x1-m>
      <y1-m> -1.930 </y1-m>
      <z1-m> -0.556 </z1-m>
      <x2-m> -1.403 </x2-m>
      <y2-m> -8.316 </y2-m>
      <z2-m> -0.147 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletD</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> -60 </factor>
    <axis>
      <x1-m> -1.403 </x1-m>
      <y1-m>  8.316 </y1-m>
      <z1-m> -0.147 </z1-m>
      <x2-m> -0.622 </x2-m>
      <y2-m>  1.930 </y2-m>
      <z2-m> -0.556 </z2-m>
    </axis>
  </animation>

  <!-- Rentré des roues -->
  <animation>
    <type>rotate</type>
    <object-name>porteG1</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.3 </ind><dep> 95 </dep></entry>
      <entry><ind> 0.7 </ind><dep> 95 </dep></entry>
      <entry><ind> 1.0 </ind><dep>  0</dep></entry>
    </interpolation>
    <center>
      <x-m> -3.738 </x-m>
      <y-m> -0.015 </y-m>
      <z-m> -1.093 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

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

  <animation>
    <type>rotate</type>
    <object-name>TrainGauche</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> 90 </dep></entry>
      <entry><ind> 0.3 </ind><dep> 90 </dep></entry>
      <entry><ind> 0.7 </ind><dep>  0 </dep></entry>
      <entry><ind> 1.0 </ind><dep>  0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.706 </x-m>
      <y-m> -2.610 </y-m>
      <z-m> -0.441 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteG2</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.3 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.7 </ind><dep> -95 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -95 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.786 </x-m>
      <y-m> -2.600 </y-m>
      <z-m> -0.641 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD1</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> -95 </dep></entry>
      <entry><ind> 0.7 </ind><dep> -95 </dep></entry>
      <entry><ind> 1.0 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.738 </x-m>
      <y-m>  0.015 </y-m>
      <z-m> -1.093 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

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

  <animation>
    <type>rotate</type>
    <object-name>TrainDroit</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep> -90 </dep></entry>
      <entry><ind> 0.3 </ind><dep> -90 </dep></entry>
      <entry><ind> 0.7 </ind><dep>   0 </dep></entry>
      <entry><ind> 1.0 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.706 </x-m>
      <y-m>  2.610 </y-m>
      <z-m> -0.441 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteD2</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>  0 </dep></entry>
      <entry><ind> 0.7 </ind><dep> 95 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 95 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.786 </x-m>
      <y-m>  2.600 </y-m>
      <z-m> -0.641 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Rotation des roues lors du roulage -->
  <animation>
    <type>spin</type>
    <object-name>roueG</object-name>
    <property>gear/gear[0]/rollspeed-ms</property>
    <factor> 30 </factor>
    <center>
      <x-m> -3.706 </x-m>
      <y-m> -2.545 </y-m>
      <z-m> -2.424 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueD</object-name>
    <property>gear/gear[1]/rollspeed-ms</property>
    <factor> 30 </factor>
    <center>
      <x-m> -3.706 </x-m>
      <y-m>  2.545 </y-m>
      <z-m> -2.424 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueA</object-name>
    <property>gear/gear[2]/rollspeed-ms</property>
    <factor> 30 </factor>
    <center>
      <x-m> 10.476 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.563 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Porte -->
  <animation>
    <type>pick</type>
    <object-name>porteA</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>porteA</object-name>
    <property>sim/model/door-positions/crew/position-norm</property>
    <factor> -175 </factor>
    <center>
      <x-m> -7.744 </x-m>
      <y-m> -1.283 </y-m>
      <z-m>  0.485 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>porteB</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>porteB</object-name>
    <property>sim/model/door-positions/passenger/position-norm</property>
    <factor> -175 </factor>
    <center>
      <x-m>  1.985 </x-m>
      <y-m> -1.156 </y-m>
      <z-m>  0.480 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

</PropertyList>
