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

<PropertyList>

  <path>interior.ac</path>

  <animation>
    <!-- Objets opaques -->
    <object-name>interieur</object-name>
    <object-name>cache</object-name>
    <object-name>armature1</object-name>
    <object-name>armature2</object-name>
    <object-name>armature3</object-name>
    <object-name>pedaleG</object-name>
    <object-name>pedaleD</object-name>
    <object-name>cube</object-name>
    <object-name>cylinder</object-name>
    <object-name>inttourvitre</object-name>

    <!-- Objets transparents -->
    <object-name>intvitres</object-name>
  </animation>

  <animation>
    <type>shader</type>
    <shader>chrome</shader>
    <texture>Aircraft/Generic/Effects/glass_shader.png</texture>
    <object-name>intvitres</object-name>
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>intvitres</object-name>
  </animation>

  <!-- working for Rembrandt -->
  <effect>
    <inherits-from>Effects/model-transparent</inherits-from>
    <condition>
      <property>sim/rendering/rembrandt/enabled</property>
    </condition>
    <object-name>intvitres</object-name>
  </effect>

  <!-- Planches de bord -->
  <model>
    <path>Aircraft/Macchi-Castoldi-MC72/Models/Interior/Panel/panel.xml</path>
    <offsets>
      <x-m> 0.296 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 0.703 </z-m>
    </offsets>
  </model>

  <!-- Pilote -->
  <model>
    <name>Pilote</name>
    <path>Aircraft/Macchi-Castoldi-MC72/Models/Pilot/pilot.xml</path>
    <offsets>
      <x-m> 0.519 </x-m>
      <y-m> 0.022 </y-m>
      <z-m> 0.056 </z-m>
    </offsets>
  </model>

  <!-- Palonnier -->
  <animation>
    <type>translate</type>
    <object-name>pedaleG</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor>0.04</factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>pedaleD</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor>-0.04</factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Canopy -->
  <animation>
    <type>pick</type>
    <object-name>intvitres</object-name>
    <object-name>inttourvitre</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>intvitres</object-name>
    <object-name>inttourvitre</object-name>
    <property>sim/model/door-positions/crew/position-norm</property>
    <factor> -162 </factor>
    <center>
      <x-m> 0.249 </x-m>
      <y-m> 0.000 </y-m>
      <z-m> 0.866 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

</PropertyList>
