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

<PropertyList>

  <path>interior.ac</path>

  <animation>
    <!-- Objets opaques -->
    <object-name>interieur</object-name>
    <object-name>planchet</object-name>
    <object-name>inttour</object-name>
    <object-name>inttour.panel</object-name>
    <object-name>supportyokes</object-name>
    <object-name>Handle1R</object-name>
    <object-name>Handle2R</object-name>
    <object-name>Handle1L</object-name>
    <object-name>Handle2L</object-name>
    <object-name>Cylinder1R</object-name>
    <object-name>Cylinder2R</object-name>
    <object-name>Cylinder1L</object-name>
    <object-name>Cylinder2L</object-name>
    <object-name>WindowFrameR</object-name>
    <object-name>WindowFrameL</object-name>
    <object-name>SpringR</object-name>
    <object-name>SpringL</object-name>
    <object-name>TunelTubes</object-name>
    <object-name>FT-220_FT-226_Racks</object-name>
    <object-name>FT-220_FT-226_Rac_II</object-name>
    <object-name>IntSideGunsBase</object-name>
    <object-name>intsoustour</object-name>

    <object-name>inttour1</object-name>
    <object-name>inttour2</object-name>
    <object-name>inttour3</object-name>

    <object-name>intrearcache</object-name>

    <!-- Objets transparents -->
    <object-name>intvitres</object-name>
    <object-name>WindowsVitreL</object-name>
    <object-name>WindowsVitreR</object-name>
    <object-name>intvitreJ</object-name>
    <object-name>intvitreJ2</object-name>
    <object-name>intvitresoustour</object-name>
    <!-- HDR mode -->
    <object-name>HDRintvitres</object-name>
    <object-name>HDRWindowsVitreL</object-name>
    <object-name>HDRWindowsVitreR</object-name>
    <object-name>HDRintvitreJ</object-name>
    <object-name>HDRintvitreJ2</object-name>
    <object-name>HDRintvitresoustour</object-name>
  </animation>

  <!-- working for Compositor -->
  <effect>
    <inherits-from>../Effects/Glass/glassrain</inherits-from>
    <object-name>intvitres</object-name>
    <object-name>WindowsVitreL</object-name>
    <object-name>WindowsVitreR</object-name>
    <object-name>intvitreJ</object-name>
    <object-name>intvitreJ2</object-name>
    <object-name>intvitresoustour</object-name>
  </effect>

  <effect>
    <inherits-from>../Effects/Glass/glass</inherits-from>
    <object-name>HDRintvitres</object-name>
    <object-name>HDRWindowsVitreL</object-name>
    <object-name>HDRWindowsVitreR</object-name>
    <object-name>HDRintvitreJ</object-name>
    <object-name>HDRintvitreJ2</object-name>
    <object-name>HDRintvitresoustour</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>HDRWindowsVitreL</object-name>
    <object-name>HDRWindowsVitreR</object-name>
    <object-name>HDRintvitreJ</object-name>
    <object-name>HDRintvitreJ2</object-name>
    <object-name>HDRintvitresoustour</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>WindowsVitreL</object-name>
    <object-name>WindowsVitreR</object-name>
    <object-name>intvitreJ</object-name>
    <object-name>intvitreJ2</object-name>
    <object-name>intvitresoustour</object-name>
  </animation>

  <effect>
    <inherits-from>../Effects/Bump/reflect-opaque</inherits-from>
    <object-name>Handle1R</object-name>
    <object-name>Handle2R</object-name>
    <object-name>Handle1L</object-name>
    <object-name>Handle2L</object-name>
    <object-name>SpringR</object-name>
    <object-name>SpringL</object-name>
  </effect>

  <!-- B 25 A -->
  <animation>
    <type>select</type>
    <object-name>intsoustour</object-name>
    <object-name>intvitresoustour</object-name>
    <object-name>HDRintvitresoustour</object-name>
    <condition>
      <equals>
        <!-- <property>sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>B25</value>
      </equals>
    </condition>
  </animation>

  <!-- B 25 J -->
  <animation>
    <type>select</type>
    <object-name>IntSideGunsBase</object-name>
    <object-name>inttour3</object-name>
    <object-name>intvitreJ</object-name>
    <object-name>intvitreJ2</object-name>
    <object-name>HDRintvitreJ</object-name>
    <object-name>HDRintvitreJ2</object-name>
    <condition>
      <equals>
        <!-- <property>sim/model/mode</property> -->
        <property>sim/multiplay/generic/string[0]</property>
        <value>B25J</value>
      </equals>
    </condition>
  </animation>

  <!-- B 25 Doolittle -->
  <animation>
    <type>select</type>
    <object-name>intrearcache</object-name>
    <condition>
      <or>
        <equals>
          <!-- <property>sim/model/mode</property> -->
          <property>sim/multiplay/generic/string[0]</property>
          <value>B25</value>
        </equals>
        <equals>
          <!-- <property>sim/model/mode</property> -->
          <property>sim/multiplay/generic/string[0]</property>
          <value>DOOLITTLE</value>
        </equals>
      </or>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>inttour1</object-name>
    <object-name>inttour2</object-name>
    <condition>
      <or>
        <equals>
          <!-- <property>sim/model/mode</property> -->
          <property>sim/multiplay/generic/string[0]</property>
          <value>B25J</value>
        </equals>
        <equals>
          <!-- <property>sim/model/mode</property> -->
          <property>sim/multiplay/generic/string[0]</property>
          <value>DOOLITTLE</value>
        </equals>
      </or>
    </condition>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>IntSideGunsBase</object-name>
    <object-name>intvitreJ</object-name>
    <object-name>HDRintvitreJ</object-name>
    <!-- <property>sim/model/turret[0]/heading</property> -->
    <property>sim/multiplay/generic/float[14]</property>
    <center>
      <x-m> -2.470 </x-m>
      <y-m>  0.000 </y-m>
      <z-m>  1.350 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y>  0 </y>
      <z> -1 </z>
    </axis>
  </animation>

  <animation>
    <type>material</type>
    <object-name>interieur</object-name>
    <object-name>planchet</object-name>
    <object-name>inttour</object-name>
    <object-name>supportyokes</object-name>
    <condition>
      <property>controls/electric/battery-switch</property>
    </condition>
    <emission>
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>   0.002 </red>
      <green> 0.002 </green>
      <blue>  0.002 </blue>
    </emission>
  </animation>

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

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

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

  <model>
    <path>Yokes/all-yokes.xml</path>
  </model>

  <model>
    <path>Panel/Pedestal/all-console.xml</path>
  </model>

  <model>
    <path>Divers/all.xml</path>
  </model>

  <model>
    <path>Radio_Equipment/SCR-274/SCR-274.xml</path>
  </model>

  <model>
    <path>Radio_Equipment/Interphone/Interphone.xml</path>
  </model>

  <model>
    <path>Radio_Equipment/RadioCompassRemoteCtrl/RadioCompassRemoteCtrl.xml</path>
    <offsets>
      <x-m> -5.056 </x-m>
      <y-m>  0.648 </y-m>
      <z-m>  0.370 </z-m>
      <heading-deg> -90 </heading-deg>
    </offsets>
  </model>

  <model>
    <path>Radio_Equipment/AN-ARC5/AN-ARC5.xml</path>
  </model>

  <model>
    <path>BombControlPanel/BombControlPanel.xml</path>
    <offsets>
      <x-m> -5.009 </x-m>
      <y-m> -0.600 </y-m>
      <z-m>  0.090 </z-m>
      <heading-deg> 90 </heading-deg>
    </offsets>
  </model>

  <model>
    <path>Pedals/all-pedals.xml</path>
  </model>

  <model>
    <path>Hydraulics/Hydraulics.xml</path>
    <offsets>
      <x-m> -2.325 </x-m>
      <y-m> -0.375 </y-m>
      <z-m>  0.655 </z-m>
    </offsets>
  </model>

  <model>
    <path>BombardierCompartment/All_Bombardier.xml</path>
  </model>

  <model>
    <path>table/table.xml</path>
    <offsets>
      <x-m> -4.735 </x-m>
      <y-m>  0.644 </y-m>
      <z-m>  0.435 </z-m>
    </offsets>
  </model>

  <model>
    <condition>
      <!-- <property>sim/model/config/table-up</property> -->
      <property>sim/multiplay/generic/bool[1]</property>
    </condition>
    <path>ClipBoard/ClipBoard.xml</path>
    <offsets>
      <x-m> -4.770 </x-m>
      <y-m>  0.500 </y-m>
      <z-m>  0.465 </z-m>
      <heading-deg> -10 </heading-deg>
    </offsets>
  </model>

  <model>
    <condition>
      <!-- <not><property>sim/model/config/table-up</property></not> -->
      <not><property>sim/multiplay/generic/bool[1]</property></not>
    </condition>
    <path>ClipBoard/ClipBoard.xml</path>
    <offsets>
      <x-m> -5.031 </x-m>
      <y-m>  0.674 </y-m>
      <z-m>  0.130 </z-m>
      <heading-deg> -90 </heading-deg>
      <roll-deg>     10 </roll-deg>
      <pitch-deg>    90 </pitch-deg>
    </offsets>
  </model>

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

  <animation>
    <name>IntLeftGlass</name>
    <object-name>Handle1L</object-name>
    <object-name>Handle2L</object-name>
    <object-name>Cylinder1L</object-name>
    <object-name>WindowFrameL</object-name>
    <object-name>SpringL</object-name>
    <object-name>WindowsVitreL</object-name>
    <object-name>HDRWindowFrameL</object-name>
    <object-name>HDRWindowsVitreL</object-name>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>IntLeftGlass</object-name>
    <!-- <property>sim/model/door-positions/windowL/position-norm</property> -->
    <property>sim/multiplay/generic/float[0]</property>
    <factor> 0.40 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

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

  <animation>
    <name>IntRightGlass</name>
    <object-name>Handle1R</object-name>
    <object-name>Handle2R</object-name>
    <object-name>Cylinder1R</object-name>
    <object-name>WindowFrameR</object-name>
    <object-name>SpringR</object-name>
    <object-name>WindowsVitreR</object-name>
    <object-name>HDRWindowFrameR</object-name>
    <object-name>HDRWindowsVitreR</object-name>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>IntRightGlass</object-name>
    <!-- <property>sim/model/door-positions/windowR/position-norm</property> -->
    <property>sim/multiplay/generic/float[1]</property>
    <factor> 0.40 </factor>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

</PropertyList>
