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

<PropertyList>

  <path>interior.ac</path>

  <animation>
    <!-- Objets opaques -->
    <object-name>interieur</object-name>
    <object-name>cloisons</object-name>
    <object-name>inttour</object-name>
    <object-name>inttourvitres</object-name>
    <object-name>intsousnez</object-name>
    <object-name>inttourelleavant</object-name>
    <object-name>inttourellecentre</object-name>
    <object-name>inttourellearriere</object-name>
    <object-name>intporteG</object-name>
    <object-name>inttourporteG</object-name>
    <object-name>intcargobayG1</object-name>
    <object-name>intcargobayG2</object-name>
    <object-name>intcargobayG3</object-name>
    <object-name>intcargobayD1</object-name>
    <object-name>intcargobayD2</object-name>
    <object-name>intcargobayD3</object-name>

    <!-- Objets transparents -->
    <object-name>intvitres</object-name>
    <object-name>intvitresup</object-name>
    <object-name>intvitrestail</object-name>
    <object-name>intvitresnoze</object-name>
    <object-name>intvitreG</object-name>
  </animation>

  <!-- working for Rembrandt -->
  <effect>
    <inherits-from>../Effects/Glass/glassrain</inherits-from>
    <object-name>intvitres</object-name>
    <object-name>intvitreG</object-name>
    <object-name>intvitresup</object-name>
    <object-name>intvitrestail</object-name>
    <object-name>intvitresnoze</object-name>
  </effect>

  <!-- Planche de bord -->
  <model>
    <path>Panel/panel.xml</path>
    <offsets>
      <x-m> -10.626 </x-m>
      <y-m>   0.000 </y-m>
      <z-m>   0.854 </z-m>
    </offsets>
  </model>

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

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

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

  <!-- Ouverture de la porte coté gauche -->
  <animation>
    <name>IntPorteGauche</name>
    <object-name>intporteG</object-name>
    <object-name>inttourporteG</object-name>
    <object-name>intvitreG</object-name>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>IntPorteGauche</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>doors.crew.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>IntPorteGauche</object-name>
    <property>sim/model/door-positions/crew/position-norm</property>
    <factor> 170 </factor>
    <axis>
      <x1-m>  7.958 </x1-m>
      <y1-m> -0.806 </y1-m>
      <z1-m> -0.798 </z1-m>
      <x2-m>  7.837 </x2-m>
      <y2-m> -0.812 </y2-m>
      <z2-m>  0.350 </z2-m>
    </axis>
  </animation>

  <!-- Ouverture soute à bombes -->
  <animation>
    <type>pick</type>
    <object-name>intcargobayG1</object-name>
    <object-name>intcargobayG2</object-name>
    <object-name>intcargobayG3</object-name>
    <object-name>intcargobayD1</object-name>
    <object-name>intcargobayD2</object-name>
    <object-name>intcargobayD3</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>nasal</command>
        <script>doors.passenger.toggle();</script>
      </binding>
    </action>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intcargobayG3</object-name>
    <property>sim/model/door-positions/passenger/position-norm</property>
    <factor> -40 </factor>
    <center>
      <x-m> -3.24602 </x-m>
      <y-m> -1.00000 </y-m>
      <z-m> -1.17503 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intcargobayG2</object-name>
    <property>sim/model/door-positions/passenger/position-norm</property>
    <factor> 90 </factor>
    <center>
      <x-m> -3.24602 </x-m>
      <y-m> -0.42118 </y-m>
      <z-m> -1.62527 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intcargobayG1</object-name>
    <property>sim/model/door-positions/passenger/position-norm</property>
    <factor> -90 </factor>
    <center>
      <x-m> -3.24602 </x-m>
      <y-m> -0.42118 </y-m>
      <z-m> -1.62527 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intcargobayD3</object-name>
    <property>sim/model/door-positions/passenger/position-norm</property>
    <factor> 40 </factor>
    <center>
      <x-m> -3.24602 </x-m>
      <y-m>  1.00000 </y-m>
      <z-m> -1.17503 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intcargobayD2</object-name>
    <property>sim/model/door-positions/passenger/position-norm</property>
    <factor> -90 </factor>
    <center>
      <x-m> -3.24602 </x-m>
      <y-m>  0.42118 </y-m>
      <z-m> -1.62527 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>intcargobayD1</object-name>
    <property>sim/model/door-positions/passenger/position-norm</property>
    <factor> 90 </factor>
    <center>
      <x-m> -3.24602 </x-m>
      <y-m>  0.42118 </y-m>
      <z-m> -1.62527 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Animation des tourelles -->
  <!-- Tourelle de toit -->
  <animation>
    <name>IntTourelleUp</name>
    <object-name>inttourellecentre</object-name>
    <object-name>intvitresup</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>IntTourelleUp</object-name>
    <property>sim/model/turret[0]/heading</property>
    <offset-deg> 180 </offset-deg>
    <center>
      <x-m> 1.41522 </x-m>
      <y-m> 0.00000 </y-m>
      <z-m> 1.26094 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y>  0 </y>
      <z> -1 </z>
    </axis>
  </animation>

  <!-- Tourelle de queue -->
  <animation>
    <name>IntTourelleTail</name>
    <object-name>inttourellearriere</object-name>
    <object-name>intvitrestail</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>IntTourelleTail</object-name>
    <property>sim/model/turret[1]/heading</property>
    <offset-deg> 180 </offset-deg>
    <center>
      <x-m> 12.70838 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m>  0.47887 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y>  0 </y>
      <z> -1 </z>
    </axis>
  </animation>

  <!-- Tourelle de nez -->
  <animation>
    <name>IntTourelleNoze</name>
    <object-name>inttourelleavant</object-name>
    <object-name>intvitresnoze</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>IntTourelleNoze</object-name>
    <property>sim/model/turret[2]/heading</property>
    <center>
      <x-m> -12.76742 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -0.21158 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y>  0 </y>
      <z> -1 </z>
    </axis>
  </animation>

</PropertyList>
