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

<PropertyList>

  <path>interior.ac</path>

  <animation>
    <!-- Objets opaques -->
    <object-name>interieur</object-name>
    <object-name>cloison</object-name>
    <object-name>cloison2</object-name>
    <object-name>planchet</object-name>
    <object-name>intporte</object-name>
    <object-name>inttour</object-name>
    <object-name>inttourA</object-name>
    <object-name>inttourB</object-name>
    <object-name>inttour2</object-name>
    <object-name>inttourvitres</object-name>
    <object-name>inttourvitres2</object-name>
    <object-name>intcachedessus</object-name>
    <object-name>intcachedessous</object-name>
    <object-name>intcachevitres</object-name>
    <object-name>inttourcotes</object-name>
    <object-name>intbosseA</object-name>
    <object-name>intcanopeA</object-name>
    <object-name>intcanopeB</object-name>
    <object-name>intcanopeG</object-name>
    <object-name>intcanopeD</object-name>
    <object-name>intbosseB</object-name>
    <object-name>intportebosseBG</object-name>
    <object-name>intportebosseBD</object-name>
    <object-name>intportechargeA</object-name>
    <object-name>intportechargeB</object-name>
    <object-name>intportechargeC</object-name>
    <object-name>inttourchargeA</object-name>
    <object-name>inttourchargeB</object-name>
    <object-name>inttourchargeC</object-name>

    <!-- Objets transparents -->
    <object-name>intvitres</object-name>
    <object-name>intvitres2</object-name>
    <object-name>intvitrescote</object-name>
    <!-- HDR mode -->
    <object-name>HDRintvitres</object-name>
    <object-name>HDRintvitres2</object-name>
    <object-name>HDRintvitrescote</object-name>
  </animation>

  <!-- working for Compositor -->
  <effect>
    <inherits-from>../Effects/Glass/glassrain</inherits-from>
    <object-name>intvitres</object-name>
    <object-name>intvitres2</object-name>
    <object-name>intvitrescote</object-name>
  </effect>

  <effect>
    <inherits-from>../Effects/Glass/glass</inherits-from>
    <object-name>HDRintvitres</object-name>
    <object-name>HDRintvitres2</object-name>
    <object-name>HDRintvitrescote</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>HDRintvitres</object-name>
    <object-name>HDRintvitres2</object-name>
    <object-name>HDRintvitrescote</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>intvitres</object-name>
    <object-name>intvitres2</object-name>
    <object-name>intvitrescote</object-name>
  </animation>

  <!-- -->
  <animation>
    <type>select</type>
    <condition>
      <!-- <property>sim/model/modelT</property> -->
      <property>sim/multiplay/generic/bool[0]</property>
    </condition>
    <object-name>intcachevitres</object-name>
    <object-name>inttour2</object-name>
    <object-name>inttourvitres2</object-name>
    <object-name>intcachedessus</object-name>
    <object-name>intcachedessous</object-name>
    <object-name>intvitres2</object-name>
    <object-name>HDRintvitres2</object-name>
    <object-name>intportechargeC</object-name>
    <object-name>inttourchargeC</object-name>

  </animation>

  <animation>
    <type>select</type>
    <condition>
      <!-- <not><property>sim/model/modelT</property></not> -->
      <not><property>sim/multiplay/generic/bool[0]</property></not>
    </condition>
    <object-name>intbosseA</object-name>
    <object-name>intcanopeA</object-name>
    <object-name>intcanopeB</object-name>
    <object-name>intcanopeG</object-name>
    <object-name>intcanopeD</object-name>
    <object-name>intbosseB</object-name>
    <object-name>intportebosseBG</object-name>
    <object-name>intportebosseBD</object-name>
    <object-name>inttourcotes</object-name>
    <object-name>cloison2</object-name>
    <object-name>inttour</object-name>
    <object-name>inttourB</object-name>
    <object-name>inttourvitres</object-name>
    <object-name>intvitres</object-name>
    <object-name>intvitrescote</object-name>
    <object-name>HDRintvitres</object-name>
    <object-name>HDRintvitrescote</object-name>
    <object-name>intportechargeB</object-name>
    <object-name>inttourchargeB</object-name>
  </animation>

  <model>
    <path>Panel/all-panels.xml</path>
  </model>

  <model>
    <path>../Pilot/all-pilots.xml</path>
  </model>

  <model>
    <path>Seats/all-seats.xml</path>
  </model>

  <model>
    <path>Panel/Instruments/yoke/all-yokes.xml</path>
  </model>

  <!-- The door -->
  <animation>
    <type>pick</type>
    <object-name>intporte</object-name>
    <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>intporte</object-name>
    <!-- <property>sim/model/door-positions/crew/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <factor> 135 </factor>
    <axis>
      <x1-m>  0.98441 </x1-m>
      <y1-m> -0.60816 </y1-m>
      <z1-m> -0.38715 </z1-m>
      <x2-m>  1.30408 </x2-m>
      <y2-m> -0.60048 </y2-m>
      <z2-m> -0.36582 </z2-m>
    </axis>
  </animation>

  <!-- Canope -->
  <animation>
    <type>pick</type>
    <object-name>intcanopeA</object-name>
    <object-name>intcanopeB</object-name>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>doors.passenger.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>intcanopeB</object-name>
    <condition>
      <!-- >sim/model/modelT -->
      <not><property>sim/multiplay/generic/int[6]</property></not>
    </condition>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> -0.38 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>intcanopeA</object-name>
    <object-name>intcanopeB</object-name>
    <condition>
      <!-- >sim/model/modelT -->
      <not><property>sim/multiplay/generic/int[6]</property></not>
    </condition>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> -0.46 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intcanopeA</object-name>
    <condition>
      <!-- >sim/model/modelT -->
      <not><property>sim/multiplay/generic/int[6]</property></not>
    </condition>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> -10 </factor>
    <center>
      <x-m> -2.53383 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m>  1.63202 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intcanopeG</object-name>
    <condition>
      <!-- >sim/model/modelT -->
      <not><property>sim/multiplay/generic/int[6]</property></not>
    </condition>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> 10 </factor>
    <center>
      <x-m> -1.26702 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m>  1.64865 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intcanopeG</object-name>
    <condition>
      <!-- >sim/model/modelT -->
      <not><property>sim/multiplay/generic/int[6]</property></not>
    </condition>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> 12 </factor>
    <axis>
      <x1-m> -2.15354 </x1-m>
      <y1-m>  0.00000 </y1-m>
      <z1-m>  1.84905 </z1-m>
      <x2-m> -1.47997 </x2-m>
      <y2-m>  0.00000 </y2-m>
      <z2-m>  1.70770 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intcanopeD</object-name>
    <condition>
      <!-- >sim/model/modelT -->
      <not><property>sim/multiplay/generic/int[6]</property></not>
    </condition>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> -10 </factor>
    <center>
      <x-m> -1.26702 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m>  1.64865 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intcanopeD</object-name>
    <condition>
      <!-- >sim/model/modelT -->
      <not><property>sim/multiplay/generic/int[6]</property></not>
    </condition>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> -12 </factor>
    <axis>
      <x1-m> -2.15354 </x1-m>
      <y1-m>  0.00000 </y1-m>
      <z1-m>  1.84905 </z1-m>
      <x2-m> -1.47997 </x2-m>
      <y2-m>  0.00000 </y2-m>
      <z2-m>  1.70770 </z2-m>
    </axis>
  </animation>

  <!-- Animation des portes des charges -->
  <animation>
    <type>pick</type>
    <object-name>intportechargeA</object-name>
    <object-name>intportechargeB</object-name>
    <object-name>intportechargeC</object-name>
    <object-name>inttourchargeA</object-name>
    <object-name>inttourchargeB</object-name>
    <object-name>inttourchargeC</object-name>
    <object-name>inttourA</object-name>
    <object-name>inttourB</object-name>
    <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>intportechargeA</object-name>
    <object-name>intportechargeB</object-name>
    <object-name>intportechargeC</object-name>
    <object-name>inttourchargeA</object-name>
    <object-name>inttourchargeB</object-name>
    <object-name>inttourchargeC</object-name>
    <object-name>inttourA</object-name>
    <object-name>inttourB</object-name>
    <object-name>intcanopeD</object-name>
    <object-name>intcanopeG</object-name>
    <property>sim/model/door-positions/cargo/position-norm</property>
    <!-- <property>sim/multiplay/generic/float[24]</property> -->
    <interpolation>
      <entry><ind> 0.00 </ind><dep>   0 </dep></entry>
      <entry><ind> 1.00 </ind><dep> -100 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -1.81680 </x1-m>
      <y1-m>  0.45046 </y1-m>
      <z1-m>  1.37500 </z1-m>
      <x2-m> -0.41329 </x2-m>
      <y2-m>  0.48940 </y2-m>
      <z2-m>  1.34000 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intportebosseBG</object-name>
    <condition>
      <!-- <not><property>sim/model/modelT</property></not> -->
      <not><property>sim/multiplay/generic/bool[0]</property></not>
    </condition>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> -45 </factor>
    <axis>
      <x1-m>  3.92259 </x1-m>
      <y1-m> -0.00787 </y1-m>
      <z1-m> -0.21424 </z1-m>
      <x2-m>  2.67612 </x2-m>
      <y2-m> -0.50690 </y2-m>
      <z2-m> -0.30582 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intportebosseBG</object-name>
    <condition>
      <!-- <not><property>sim/model/modelT</property></not> -->
      <not><property>sim/multiplay/generic/bool[0]</property></not>
    </condition>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> 7 </factor>
    <center>
      <x-m>  3.92080 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -0.21593 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intportebosseBD</object-name>
    <condition>
      <!-- <not><property>sim/model/modelT</property></not> -->
      <not><property>sim/multiplay/generic/bool[0]</property></not>
    </condition>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> 45 </factor>
    <axis>
      <x1-m>  3.92259 </x1-m>
      <y1-m>  0.00787 </y1-m>
      <z1-m> -0.21424 </z1-m>
      <x2-m>  2.67612 </x2-m>
      <y2-m>  0.50690 </y2-m>
      <z2-m> -0.30582 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intportebosseBD</object-name>
    <condition>
      <!-- <not><property>sim/model/modelT</property></not> -->
      <not><property>sim/multiplay/generic/bool[0]</property></not>
    </condition>
    <!-- <property>sim/model/door-positions/passenger/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> -7 </factor>
    <center>
      <x-m>  3.92080 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -0.21593 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>

</PropertyList>
