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

<PropertyList>

  <path>hp42.ac</path>

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

  <nasal>
    <load>
      var livery_update = aircraft.livery_update.new("Aircraft/Handley-Page-HP-42/Models/Liveries", 10);
    </load>
    <unload>
      livery_update.stop();
    </unload>
  </nasal>

  <animation>
    <!-- Objets opaques -->
    <object-name>fuselage</object-name>
    <object-name>antennes</object-name>
    <object-name>porteavant</object-name>
    <object-name>portearriere</object-name>
    <object-name>ailesH</object-name>
    <object-name>supports</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>ailesB</object-name>
    <object-name>ailes2B</object-name>
    <object-name>profondeurB</object-name>
    <object-name>ailes2H</object-name>
    <object-name>profondeurH</object-name>
    <object-name>derive</object-name>
    <object-name>directionG</object-name>
    <object-name>directionC</object-name>
    <object-name>directionD</object-name>
    <object-name>petitederives</object-name>
    <object-name>fuseaux</object-name>
    <object-name>structure</object-name>
    <object-name>axes</object-name>
    <object-name>axeBG</object-name>
    <object-name>axeHG</object-name>
    <object-name>axeBD</object-name>
    <object-name>axeHD</object-name>

    <object-name>moteurs</object-name>
    <object-name>echappes</object-name>
    <object-name>heliceGE</object-name>
    <object-name>bolGE</object-name>
    <object-name>heliceGI</object-name>
    <object-name>bolGI</object-name>
    <object-name>heliceDI</object-name>
    <object-name>bolDI</object-name>
    <object-name>heliceDE</object-name>
    <object-name>bolDE</object-name>
    <object-name>roueG</object-name>
    <object-name>roueD</object-name>
    <object-name>roueA</object-name>
    <object-name>axeA</object-name>

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

  <animation>
    <type>material</type>
    <object-name>fuselage</object-name>
    <object-name>antennes</object-name>
    <object-name>porteavant</object-name>
    <object-name>portearriere</object-name>
    <object-name>ailesH</object-name>
    <object-name>supports</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>ailesB</object-name>
    <object-name>ailes2B</object-name>
    <object-name>profondeurB</object-name>
    <object-name>ailes2H</object-name>
    <object-name>profondeurH</object-name>
    <object-name>derive</object-name>
    <object-name>directionG</object-name>
    <object-name>directionC</object-name>
    <object-name>directionD</object-name>
    <object-name>petitederives</object-name>
    <object-name>fuseaux</object-name>
    <object-name>structure</object-name>
    <object-name>axes</object-name>
    <object-name>axeBG</object-name>
    <object-name>axeHG</object-name>
    <object-name>axeBD</object-name>
    <object-name>axeHD</object-name>
    <object-name>moteurs</object-name>
    <object-name>echappes</object-name>
    <object-name>heliceGE</object-name>
    <object-name>bolGE</object-name>
    <object-name>heliceGI</object-name>
    <object-name>bolGI</object-name>
    <object-name>heliceDI</object-name>
    <object-name>bolDI</object-name>
    <object-name>heliceDE</object-name>
    <object-name>bolDE</object-name>
    <object-name>roueG</object-name>
    <object-name>roueD</object-name>
    <object-name>roueA</object-name>
    <object-name>axeA</object-name>
    <object-name>vitres</object-name>
    <object-name>vitreavant</object-name>
    <object-name>vitrearriere</object-name>
    <object-name>propblurGE</object-name>
    <object-name>propdiscGE</object-name>
    <object-name>propblurGI</object-name>
    <object-name>propdiscGI</object-name>
    <object-name>propblurDI</object-name>
    <object-name>propdiscDI</object-name>
    <object-name>propblurDE</object-name>
    <object-name>propdiscDE</object-name>
    <object-name>HDRvitres</object-name>
    <object-name>HDRvitreavant</object-name>
    <object-name>HDRvitrearriere</object-name>

    <property-base>sim/model/livery</property-base>
    <texture-prop>texture</texture-prop>
    <texture>texture.png</texture>
    <emission>
      <red-prop>emission/red</red-prop>
      <green-prop>emission/green</green-prop>
      <blue-prop>emission/blue</blue-prop>
    </emission>
  </animation>

  <effect>
    <inherits-from>Aircraft/Handley-Page-HP-42/Models/Effects/Bump/bumpspec</inherits-from>
    <object-name>fuselage</object-name>
    <object-name>antennes</object-name>
    <object-name>porteavant</object-name>
    <object-name>portearriere</object-name>
    <object-name>ailesH</object-name>
    <object-name>supports</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>ailesB</object-name>
    <object-name>ailes2B</object-name>
    <object-name>profondeurB</object-name>
    <object-name>ailes2H</object-name>
    <object-name>profondeurH</object-name>
    <object-name>derive</object-name>
    <object-name>directionG</object-name>
    <object-name>directionC</object-name>
    <object-name>directionD</object-name>
    <object-name>petitederives</object-name>
    <object-name>fuseaux</object-name>
    <object-name>structure</object-name>
    <object-name>axes</object-name>
    <object-name>axeBG</object-name>
    <object-name>axeHG</object-name>
    <object-name>axeBD</object-name>
    <object-name>axeHD</object-name>
  </effect>

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

  <effect>
    <inherits-from>Effects/Glass/glass</inherits-from>
    <object-name>HDRvitres</object-name>
    <object-name>HDRvitreavant</object-name>
    <object-name>HDRvitrearriere</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>HDRvitreavant</object-name>
    <object-name>HDRvitrearriere</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>vitreavant</object-name>
    <object-name>vitrearriere</object-name>
  </animation>

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

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

  <model>
    <path>Engines/all-engines.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>

  <!-- Les hélices -->
  <animation>
    <name>HeliceCompleteGE</name>
    <object-name>propdiscGE</object-name>
    <object-name>propblurGE</object-name>
    <object-name>heliceGE</object-name>
    <object-name>bolGE</object-name>
  </animation>

  <!-- 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>1100</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>500.000</value>
      </greater-than>
      <less-than>
        <property>engines/engine[0]/rpm</property>
        <value>1100.001</value>
      </less-than>
    </and>
    </condition>
  </animation>

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

  <animation>
    <type>spin</type>
    <object-name>HeliceCompleteGE</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> -5.878 </x-m>
      <y-m> -3.844 </y-m>
      <z-m> -0.948 </z-m>
    </center>
    <axis>
      <x> -1.000 </x>
      <y>  0.000 </y>
      <z>  0.000 </z>
    </axis>
  </animation>

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

  <!-- 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>1100</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>500.000</value>
      </greater-than>
      <less-than>
        <property>engines/engine[1]/rpm</property>
        <value>1100.001</value>
      </less-than>
    </and>
    </condition>
  </animation>

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

  <animation>
    <type>spin</type>
    <object-name>HeliceCompleteGI</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> -5.878 </x-m>
      <y-m> -1.903 </y-m>
      <z-m>  2.502 </z-m>
    </center>
    <axis>
      <x> -1.000 </x>
      <y>  0.000 </y>
      <z>  0.000 </z>
    </axis>
  </animation>

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

  <!-- 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>1100</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>500.000</value>
      </greater-than>
      <less-than>
        <property>engines/engine[2]/rpm</property>
        <value>1100.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>1100</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>HeliceCompleteDI</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> -5.878 </x-m>
      <y-m>  1.903 </y-m>
      <z-m>  2.502 </z-m>
    </center>
    <axis>
      <x> -1.000 </x>
      <y>  0.000 </y>
      <z>  0.000 </z>
    </axis>
  </animation>

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

  <!-- 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>1100</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>500.000</value>
      </greater-than>
      <less-than>
        <property>engines/engine[3]/rpm</property>
        <value>1100.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>1100</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>HeliceCompleteDE</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> -5.878 </x-m>
      <y-m>  3.844 </y-m>
      <z-m> -0.948 </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> -->
    <property>surface-positions/rudder-pos-norm</property>
    <factor> -15 </factor>
    <center>
     <x-m> 12.887 </x-m>
     <y-m> -2.302 </y-m>
     <z-m>  1.678 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>directionC</object-name>
    <!-- <property>controls/flight/rudder</property> -->
    <property>surface-positions/rudder-pos-norm</property>
    <factor> -15 </factor>
    <center>
     <x-m> 12.887 </x-m>
     <y-m>  0.000 </y-m>
     <z-m>  1.678 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>directionD</object-name>
    <!-- <property>controls/flight/rudder</property> -->
    <property>surface-positions/rudder-pos-norm</property>
    <factor> -15 </factor>
    <center>
     <x-m> 12.887 </x-m>
     <y-m>  2.302 </y-m>
     <z-m>  1.678 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <!-- Gouverne de profondeur -->
  <animation>
    <type>rotate</type>
    <object-name>profondeurB</object-name>
    <!-- <property>controls/flight/elevator</property> -->
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 15 </factor>
    <center>
     <x-m> 12.910 </x-m>
     <y-m>  0.000 </y-m>
     <z-m>  0.247 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>profondeurH</object-name>
    <!-- <property>controls/flight/elevator</property> -->
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 15 </factor>
    <center>
     <x-m> 12.910 </x-m>
     <y-m>  0.000 </y-m>
     <z-m>  3.056 </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.0</factor>
    <axis>
      <x1-m>  -1.97533 </x1-m>
      <y1-m> -17.14658 </y1-m>
      <z1-m>   3.10336 </z1-m>
      <x2-m>  -1.97612 </x2-m>
      <y2-m>  -9.68776 </y2-m>
      <z2-m>   2.89126 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>aileronD</object-name>
    <property>surface-positions/right-aileron-pos-norm</property>
    <factor>15.0</factor>
    <axis>
      <x1-m> -1.97612 </x1-m>
      <y1-m>  9.68776 </y1-m>
      <z1-m>  2.89126 </z1-m>
      <x2-m> -1.97533 </x2-m>
      <y2-m> 17.14658 </y2-m>
      <z2-m>  3.10336 </z2-m>
    </axis>
  </animation>

  <!-- Compression -->
  <animation>
    <name>TrainGauche</name>
    <object-name>axeBG</object-name>
    <object-name>roueG</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainGauche</object-name>
    <!-- <property>gear/gear[0]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[11]</property>
    <interpolation>
      <entry><ind> 0.00 </ind><dep>  5 </dep></entry>
      <entry><ind> 0.60 </ind><dep>  0 </dep></entry>
      <entry><ind> 1.00 </ind><dep> -5 </dep></entry>
    </interpolation>
    <center>
      <x-m> -4.805 </x-m>
      <y-m> -1.104 </y-m>
      <z-m> -2.495 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>axeHG</object-name>
    <!-- <property>gear/gear[0]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[11]</property>
    <interpolation>
      <entry><ind> 0.00 </ind><dep> -0.3 </dep></entry>
      <entry><ind> 0.60 </ind><dep>  0.0 </dep></entry>
      <entry><ind> 1.00 </ind><dep>  0.3 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

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

  <animation>
    <type>rotate</type>
    <object-name>TrainDroit</object-name>
    <!-- <property>gear/gear[1]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[12]</property>
    <interpolation>
      <entry><ind> 0.00 </ind><dep>  5 </dep></entry>
      <entry><ind> 0.60 </ind><dep>  0 </dep></entry>
      <entry><ind> 1.00 </ind><dep> -5 </dep></entry>
    </interpolation>
    <center>
      <x-m> -4.805 </x-m>
      <y-m>  1.104 </y-m>
      <z-m> -2.495 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>axeHD</object-name>
    <!-- <property>gear/gear[1]/compression-norm</property> -->
    <property>sim/multiplay/generic/float[12]</property>
    <interpolation>
      <entry><ind> 0.00 </ind><dep> -0.3 </dep></entry>
      <entry><ind> 0.60 </ind><dep>  0.0 </dep></entry>
      <entry><ind> 1.00 </ind><dep>  0.3 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </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> -->
    <property>sim/multiplay/generic/float[8]</property>
    <factor> 25 </factor>
    <center>
      <x-m> -4.805 </x-m>
      <y-m> -4.348 </y-m>
      <z-m> -3.082 </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> -->
    <property>sim/multiplay/generic/float[9]</property>
    <factor> 25 </factor>
    <center>
      <x-m> -4.805 </x-m>
      <y-m>  4.348 </y-m>
      <z-m> -3.082 </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> -->
    <property>sim/multiplay/generic/float[10]</property>
    <factor> 25 </factor>
    <center>
      <x-m> 13.662 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -0.754 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Doors animation -->
  <animation>
    <type>pick</type>
    <object-name>porteavant</object-name>
    <object-name>vitreavant</object-name>
    <object-name>HDRvitreavant</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>porteavant</object-name>
    <object-name>vitreavant</object-name>
    <object-name>HDRvitreavant</object-name>
    <!-- <property>sim/model/door-positions/crew/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <factor> -120 </factor>
    <axis>
      <x1-m> -11.80885 </x1-m>
      <y1-m>  -1.05547 </y1-m>
      <z1-m>  -1.59958 </z1-m>
      <x2-m> -11.80885 </x2-m>
      <y2-m>  -1.02927 </y2-m>
      <z2-m>  -1.23354 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>portearriere</object-name>
    <object-name>vitrearriere</object-name>
    <object-name>HDRvitrearriere</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>portearriere</object-name>
    <object-name>vitrearriere</object-name>
    <object-name>HDRvitrearriere</object-name>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> -160 </factor>
    <axis>
      <x1-m>   1.75343 </x1-m>
      <y1-m>  -1.23283 </y1-m>
      <z1-m>  -1.84602 </z1-m>
      <x2-m>   1.75343 </x2-m>
      <y2-m>  -1.23762 </y2-m>
      <z2-m>  -0.70116 </z2-m>
    </axis>
  </animation>

</PropertyList>
