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

<PropertyList>

  <path>bz308.ac</path>

  <!-- MP sound call -->
  <sound>
    <path>Aircraft/Breda-B.Z.308/Sounds/mp-sound.xml</path>
  </sound>
  
  <nasal>
    <load>
      var livery_update = aircraft.livery_update.new("Aircraft/Breda-B.Z.308/Models/Liveries", 10);

      var self = cmdarg();

      var float_0 = self.getNode("sim/multiplay/generic/float[0]", 1);
      var float_1 = self.getNode("sim/multiplay/generic/float[1]", 1);
      
      var crew_door = self.getNode("sim/model/door-positions/crew/position-norm", 1);
      var passenger_door = self.getNode("sim/model/door-positions/baie/position-norm", 1);
    
      crew_door.alias(float_0);
      passenger_door.alias(float_1);
    </load>

    <unload>
      livery_update.stop();
      crew_door.unalias();
      passenger_door.unalias();
    </unload>
  </nasal>

  <animation>
    <!-- Objets opaques -->
    <object-name>fuselage</object-name>
    <object-name>ailes</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>ailes2</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>derives</object-name>
    <object-name>directionG</object-name>
    <object-name>directionD</object-name>
    <object-name>moteurs</object-name>
    <object-name>air</object-name>
    <object-name>air2</object-name>
    <object-name>bolGE</object-name>
    <object-name>bolGI</object-name>
    <object-name>bolDI</object-name>
    <object-name>bolDE</object-name>
    <object-name>antennes</object-name>
    <object-name>porteavantG</object-name>
    <object-name>portearriereG</object-name>
    <object-name>porteA1</object-name>
    <object-name>porteA2</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteGE</object-name>
    <object-name>porteGI</object-name>
    <object-name>porteDI</object-name>
    <object-name>porteDE</object-name>
    <object-name>portebaie</object-name>

    <object-name>trous</object-name>
    <object-name>stair</object-name>
    <object-name>echappes</object-name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>roueA</object-name>
    <object-name>axeG</object-name>
    <object-name>roueG</object-name>
    <object-name>axeD</object-name>
    <object-name>roueD</object-name>
    <object-name>heliceGE</object-name>
    <object-name>heliceGI</object-name>
    <object-name>heliceDI</object-name>
    <object-name>heliceDE</object-name>
    <object-name>cables</object-name>
    
    <!-- Objets transparents -->
    <object-name>vitres</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>
  </animation>

  <animation>
    <type>material</type>
    <object-name>fuselage</object-name>
    <object-name>ailes</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>ailes2</object-name>
    <object-name>derives</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>directionG</object-name>
    <object-name>directionD</object-name>
    <object-name>moteurs</object-name>
    <object-name>air</object-name>
    <object-name>air2</object-name>
    <object-name>porteA1</object-name>
    <object-name>porteA2</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>bolGE</object-name>
    <object-name>bolGI</object-name>
    <object-name>bolDI</object-name>
    <object-name>bolDE</object-name>
    <object-name>antennes</object-name>
    <object-name>porteavantG</object-name>
    <object-name>portearriereG</object-name>
    <object-name>porteGE</object-name>
    <object-name>porteGI</object-name>
    <object-name>porteDI</object-name>
    <object-name>porteDE</object-name>
    <object-name>portebaie</object-name>

    <object-name>trous</object-name>
    <object-name>stair</object-name>
    <object-name>echappes</object-name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>roueA</object-name>
    <object-name>axeG</object-name>
    <object-name>roueG</object-name>
    <object-name>axeD</object-name>
    <object-name>roueD</object-name>
    <object-name>heliceGE</object-name>
    <object-name>heliceGI</object-name>
    <object-name>heliceDI</object-name>
    <object-name>heliceDE</object-name>
    <object-name>cables</object-name>
    
    <property-base>sim/model/livery</property-base>
    <texture-prop>texture</texture-prop>
    <texture>texture.png</texture>
    <specular>
      <red-prop>specular/red</red-prop>
      <green-prop>specular/green</green-prop>
      <blue-prop>specular/blue</blue-prop>
    </specular>
  </animation>

  <effect>
    <inherits-from>Aircraft/Generic/Effects/Fuselagereflect</inherits-from>
    <object-name>fuselage</object-name>
    <object-name>ailes</object-name>
    <object-name>aileronG</object-name>
    <object-name>aileronD</object-name>
    <object-name>voletG</object-name>
    <object-name>voletD</object-name>
    <object-name>ailes2</object-name>
    <object-name>derives</object-name>
    <object-name>profondeurG</object-name>
    <object-name>profondeurD</object-name>
    <object-name>directionG</object-name>
    <object-name>directionD</object-name>
    <object-name>moteurs</object-name>
    <object-name>air</object-name>
    <object-name>air2</object-name>
    <object-name>bolGE</object-name>
    <object-name>bolGI</object-name>
    <object-name>bolDI</object-name>
    <object-name>bolDE</object-name>
    <object-name>antennes</object-name>
    <object-name>porteavantG</object-name>
    <object-name>portearriereG</object-name>
    <object-name>porteA1</object-name>
    <object-name>porteA2</object-name>
    <object-name>porteAG</object-name>
    <object-name>porteAD</object-name>
    <object-name>porteGE</object-name>
    <object-name>porteGI</object-name>
    <object-name>porteDI</object-name>
    <object-name>porteDE</object-name>
    <object-name>portebaie</object-name>
  </effect>

  <!-- working for Rembrandt -->
  <effect>
    <inherits-from>Aircraft/Breda-B.Z.308/Models/Effects/Glass/glass</inherits-from>
    <object-name>vitres</object-name>
  </effect>
  
  <!-- working for Rembrandt -->
  <effect>
    <inherits-from>Effects/model-transparent</inherits-from>
    <object-name>intvitres</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>
  </effect>
  
  <!-- Une ombre pour OSG -->
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/shadow.xml</path>
    <offsets>
      <x-m>  0.000 </x-m>
      <y-m>  0.000 </y-m>
      <z-m> -3.000 </z-m>
    </offsets>
  </model>

  <!-- Intérieur -->
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/Interior/interior.xml</path>
  </model>

  <!-- Cranking -->
  <!-- Left exterior -->
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/Effects/cranking/crankingLE.xml</path>
    <offsets> 
      <x-m> -4.87028 </x-m>
      <y-m> -8.56660 </y-m>
      <z-m> -1.12815 </z-m>
      <pitch-deg> 30 </pitch-deg>
    </offsets>
  </model>

  <!-- Left interior -->
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/Effects/cranking/crankingLI.xml</path>
    <offsets>
      <x-m> -5.17813 </x-m>
      <y-m> -4.55822 </y-m>
      <z-m> -1.58023 </z-m>
      <pitch-deg> 30 </pitch-deg>
    </offsets>
  </model>

  <!-- Right interior -->
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/Effects/cranking/crankingRI.xml</path>
    <offsets>
      <x-m> -5.17813 </x-m>
      <y-m>  4.55822 </y-m>
      <z-m> -1.58023 </z-m>
      <pitch-deg> 30 </pitch-deg>
    </offsets>
  </model>

  <!-- Right exterior -->
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/Effects/cranking/crankingRE.xml</path>
    <offsets> 
      <x-m> -4.87028 </x-m>
      <y-m>  8.56660 </y-m>
      <z-m> -1.12815 </z-m>
      <pitch-deg> 30 </pitch-deg>
    </offsets>
  </model>

  <!-- Effets sur le sol -->
  <!-- Roue avant -->
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/Effects/ground/ground0.xml</path>
    <offsets>
      <x-m> -11.62042 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -3.60512 </z-m>
    </offsets>
  </model>

  <!-- Roues gauches -->
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/Effects/ground/ground1.xml</path>
    <offsets>
      <x-m> -2.20370 </x-m>
      <y-m> -3.96289 </y-m>
      <z-m> -3.18732 </z-m>
    </offsets>
  </model>

  <!-- Roues droites -->
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/Effects/ground/ground2.xml</path>
    <offsets>
      <x-m> -2.20370 </x-m>
      <y-m>  3.96289 </y-m>
      <z-m> -3.18732 </z-m>
    </offsets>
  </model>

  <!-- Moteurs -->
  <!-- Left exterior -->
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/Engines/engine.xml</path>
    <offsets>
      <x-m> -6.96415 </x-m>
      <y-m> -7.94898 </y-m>
      <z-m> -0.57581 </z-m>
    </offsets>
  </model>

  <!-- Left interior -->
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/Engines/engine.xml</path>
    <offsets>
      <x-m> -7.30628 </x-m>
      <y-m> -3.96711 </y-m>
      <z-m> -0.99559 </z-m>
    </offsets>
  </model>

  <!-- Right interior -->
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/Engines/engine.xml</path>
    <offsets>
      <x-m> -7.30628 </x-m>
      <y-m>  3.96711 </y-m>
      <z-m> -0.99559 </z-m>
    </offsets>
  </model>

  <!-- Right exterior -->
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/Engines/engine.xml</path>
    <offsets>
      <x-m> -6.96415 </x-m>
      <y-m>  7.94898 </y-m>
      <z-m> -0.57581 </z-m>
    </offsets>
  </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> 20 </value>
      </greater-than>
    </condition>
    <property>engines/engine[0]/rpm</property>
    <factor> 1 </factor>
    <center>
      <x-m> -7.56998 </x-m>
      <y-m> -7.94895 </y-m>
      <z-m> -0.57581 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </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> 20 </value>
      </greater-than>
    </condition>
    <property>engines/engine[1]/rpm</property>
    <factor> 1 </factor>
    <center>
      <x-m> -7.89824 </x-m>
      <y-m> -3.96702 </y-m>
      <z-m> -0.99559 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </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> 20 </value>
      </greater-than>
    </condition>
    <property>/engines/engine[2]/rpm</property>
    <factor> 1 </factor>
    <center>
      <x-m> -7.89824 </x-m>
      <y-m>  3.96702 </y-m>
      <z-m> -0.99559 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </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> 20 </value>
      </greater-than>
    </condition>
    <property>engines/engine[3]/rpm</property>
    <factor> 1 </factor>
    <center>
      <x-m> -7.56998 </x-m>
      <y-m>  7.94895 </y-m>
      <z-m> -0.57581 </z-m>
    </center>
    <axis>
      <x> -1 </x>
      <y>  0 </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 </factor>
    <axis>
      <x1-m>  -0.85219 </x1-m>
      <y1-m> -20.18030 </y1-m>
      <z1-m>   0.09677 </z1-m>
      <x2-m>  -0.65764 </x2-m>
      <y2-m> -12.01313 </y2-m>
      <z2-m>  -0.55507 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>aileronD</object-name>
    <property>surface-positions/right-aileron-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m> -0.65764 </x1-m>
      <y1-m> 12.01313 </y1-m>
      <z1-m> -0.55507 </z1-m>
      <x2-m> -0.85219 </x2-m>
      <y2-m> 20.18030 </y2-m>
      <z2-m>  0.09677 </z2-m>
    </axis>
  </animation>

  <!-- Gouvernes de direction -->
  <animation>
    <type>rotate</type>
    <object-name>directionG</object-name>
    <property>surface-positions/rudder-pos-norm</property>
    <factor> 15 </factor>
    <center>
      <x-m> 13.26638 </x-m>
      <y-m> -6.56000 </y-m>
      <z-m>  1.66595 </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>surface-positions/rudder-pos-norm</property>
    <factor> 15 </factor>
    <center>
      <x-m> 13.26638 </x-m>
      <y-m>  6.56000 </y-m>
      <z-m>  1.66595 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y>  0 </y>
      <z> -1 </z>
    </axis>
  </animation>

  <!-- Gouverne de profondeur -->
  <animation>
    <type>rotate</type>
    <object-name>profondeurG</object-name>
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m> 13.27989 </x1-m>
      <y1-m> -6.42324 </y1-m>
      <z1-m>  1.28064 </z1-m>
      <x2-m> 13.39843 </x2-m>
      <y2-m> -3.25437 </y2-m>
      <z2-m>  0.97741 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>profondeurD</object-name>
    <property>surface-positions/elevator-pos-norm</property>
    <factor> 15 </factor>
    <axis>
      <x1-m> 13.39843 </x1-m>
      <y1-m>  3.25437 </y1-m>
      <z1-m>  0.97741 </z1-m>
      <x2-m> 13.27989 </x2-m>
      <y2-m>  6.42324 </y2-m>
      <z2-m>  1.28064 </z2-m>
    </axis>
  </animation>

  <!-- Volets -->
  <animation>
    <type>rotate</type>
    <object-name>voletG</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> -45 </factor>
    <axis>
      <x1-m>  -0.93579 </x1-m>
      <y1-m> -11.63340 </y1-m>
      <z1-m>  -0.68116 </z1-m>
      <x2-m>  -0.91179 </x2-m>
      <y2-m>  -4.58929 </y2-m>
      <z2-m>  -1.21977 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>voletD</object-name>
    <property>surface-positions/flap-pos-norm</property>
    <factor> -45 </factor>
    <axis>
      <x1-m> -0.91179 </x1-m>
      <y1-m>  4.58929 </y1-m>
      <z1-m> -1.21977 </z1-m>
      <x2-m> -0.93579 </x2-m>
      <y2-m> 11.63340 </y2-m>
      <z2-m> -0.68116 </z2-m>
    </axis>
  </animation>

  <!-- Rentré des roues -->
  <animation>
    <name>TrainAvant</name>
    <object-name>axeAH</object-name>
    <object-name>axeAB</object-name>
    <object-name>roueA</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainAvant</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -82 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -11.66954 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -0.47013 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <name>TrainGauche</name>
    <object-name>axeG</object-name>
    <object-name>roueG</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>TrainGauche</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -42 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.10369 </x-m>
      <y-m> -3.96290 </y-m>
      <z-m> -1.36674 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

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

  <animation>
    <type>rotate</type>
    <object-name>TrainDroit</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> -42 </dep></entry>
      <entry><ind> 1 </ind><dep>   0 </dep></entry>
    </interpolation>
    <center>
      <x-m> -3.10369 </x-m>
      <y-m>  3.96290 </y-m>
      <z-m> -1.36674 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation> -->

  <!-- Les portes -->
  <animation>
    <type>rotate</type>
    <object-name>porteA1</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> 100 </dep></entry>
    </interpolation>
    <center>
      <x-m> -11.85343 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -1.21147 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteA2</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>   0 </dep></entry>
      <entry><ind> 1 </ind><dep> 100 </dep></entry>
    </interpolation>
    <center>
      <x-m> -11.85343 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -1.21147 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>porteA2</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0.0 </dep></entry>
      <entry><ind> 1 </ind><dep> -0.7 </dep></entry>
    </interpolation>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteAG</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -80 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -80 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -9.21785 </x1-m>
      <y1-m> -0.58738 </y1-m>
      <z1-m> -1.25046 </z1-m>
      <x2-m> -8.05522 </x2-m>
      <y2-m> -0.58177 </y2-m>
      <z2-m> -1.29478 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteAD</object-name>
    <property>gear/gear[0]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -80 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -80 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -8.05522 </x1-m>
      <y1-m>  0.58177 </y1-m>
      <z1-m> -1.29478 </z1-m>
      <x2-m> -9.21785 </x2-m>
      <y2-m>  0.58738 </y2-m>
      <z2-m> -1.25046 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteGE</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -80 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -80 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -3.10673 </x1-m>
      <y1-m> -4.38031 </y1-m>
      <z1-m> -1.63999 </z1-m>
      <x2-m> -1.63232 </x2-m>
      <y2-m> -4.35530 </y2-m>
      <z2-m> -1.62547 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteGI</object-name>
    <property>gear/gear[1]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> 80 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 80 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -3.10673 </x1-m>
      <y1-m> -3.55373 </y1-m>
      <z1-m> -1.63999 </z1-m>
      <x2-m> -1.63232 </x2-m>
      <y2-m> -3.57874 </y2-m>
      <z2-m> -1.62547 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteDI</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>  0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> 80 </dep></entry>
      <entry><ind> 1.0 </ind><dep> 80 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -1.63232 </x1-m>
      <y1-m>  3.57874 </y1-m>
      <z1-m> -1.62547 </z1-m>
      <x2-m> -3.10673 </x2-m>
      <y2-m>  3.55373 </y2-m>
      <z2-m> -1.63999 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>porteDE</object-name>
    <property>gear/gear[2]/position-norm</property>
    <interpolation>
      <entry><ind> 0.0 </ind><dep>   0 </dep></entry>
      <entry><ind> 0.2 </ind><dep> -80 </dep></entry>
      <entry><ind> 1.0 </ind><dep> -80 </dep></entry>
    </interpolation>
    <axis>
      <x1-m> -1.63232 </x1-m>
      <y1-m>  4.35530 </y1-m>
      <z1-m> -1.62547 </z1-m>
      <x2-m> -3.10673 </x2-m>
      <y2-m>  4.38031 </y2-m>
      <z2-m> -1.63999 </z2-m>
    </axis>
  </animation>

  <!-- Compression -->
  <animation>
    <name>RoueAvant</name>
    <object-name>roueA</object-name>
    <object-name>axeAB</object-name>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>RoueAvant</object-name>
    <property>gear/gear[1]/compression-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0.0000 </dep></entry>
      <entry><ind> 1 </ind><dep> -0.4653 </dep></entry>
    </interpolation>
    <center>
      <x-m> -11.94770 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -2.30882 </z-m>
    </center>
    <axis>
      <x> 0.07 </x>
      <y> 0.00 </y>
      <z> 0.46 </z>
    </axis>
  </animation>
  
  <animation>
    <name>RoueGauche</name>
    <object-name>roueG</object-name>
    <object-name>axeG</object-name>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>RoueGauche</object-name>
    <property>gear/gear[1]/compression-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.2 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation>
  
  <animation>
    <name>RoueDroite</name>
    <object-name>roueD</object-name>
    <object-name>axeD</object-name>
  </animation>

  <animation>
    <type>translate</type>
    <object-name>RoueDroite</object-name>
    <property>gear/gear[2]/compression-norm</property>
    <interpolation>
      <entry><ind> 0 </ind><dep> 0.0 </dep></entry>
      <entry><ind> 1 </ind><dep> 0.2 </dep></entry>
    </interpolation>
    <axis>
      <x> 0 </x>
      <y> 0 </y>
      <z> 1 </z>
    </axis>
  </animation> -->

  <!-- Rotation de la roue avant en fonction de la gouverne de direction -->
  <animation>
    <type>rotate</type>
    <object-name>RoueAvant</object-name>
    <condition>
      <equals>
        <property>gear/gear[0]/position-norm</property>
        <value>1</value>
      </equals>
    </condition>
    <property>surface-positions/rudder-pos-norm</property>
    <factor> 30 </factor>
    <center>
      <x-m> -11.94770 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -2.30882 </z-m>
    </center>
    <axis>
      <x> 0.07 </x>
      <y> 0.00 </y>
      <z> 0.46 </z>
    </axis>
  </animation>

  <!-- Rotation des roues lors du roulage -->
  <animation>
    <type>spin</type>
    <object-name>roueA</object-name>
    <property>gear/gear[0]/rollspeed-ms</property>
    <factor> 30 </factor>
    <center>
      <x-m> -11.62042 </x-m>
      <y-m>   0.00000 </y-m>
      <z-m>  -3.19481 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>roueG</object-name>
    <property>gear/gear[1]/rollspeed-ms</property>
    <factor> 30 </factor>
    <center>
      <x-m> -2.20369 </x-m>
      <y-m> -3.96290 </y-m>
      <z-m> -2.47330 </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[2]/rollspeed-ms</property>
    <factor> 30 </factor>
    <center>
      <x-m> -2.20369 </x-m>
      <y-m>  3.96290 </y-m>
      <z-m> -2.47330 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Animtation des portes -->
  <animation>
    <name>LaPorteAvant</name>
    <object-name>porteavantG</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>LaPorteAvant</object-name>
    <property>sim/model/door-positions/crew/position-norm</property>
    <factor> -170 </factor>
    <axis>
      <x1-m> -12.23670 </x1-m>
      <y1-m>  -1.23368 </y1-m>
      <z1-m>  -0.04958 </z1-m>
      <x2-m> -12.23670 </x2-m>
      <y2-m>  -1.20599 </y2-m>
      <z2-m>   0.41841 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>LaPorteAvant</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>
    <name>LaPorteArriere</name>
    <object-name>portearriereG</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>LaPorteArriere</object-name>
    <property>sim/model/door-positions/passenger/position-norm</property>
    <factor> -170 </factor>
    <axis>
      <x1-m>  7.68573 </x1-m>
      <y1-m> -1.23210 </y1-m>
      <z1-m>  0.28286 </z1-m>
      <x2-m>  7.68573 </x2-m>
      <y2-m> -1.22171 </y2-m>
      <z2-m>  0.52413 </z2-m>
    </axis>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>LaPorteArriere</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>
    <name>LaBaieEscalier</name>
    <object-name>portebaie</object-name>
    <object-name>stair</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>LaBaieEscalier</object-name>
    <property>sim/model/door-positions/stair/position-norm</property>
    <factor> 40 </factor>
    <center>
      <x-m>  4.64543 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -1.19067 </z-m>
    </center>
    <axis>
      <x> 0 </x>
      <y> 1 </y>
      <z> 0 </z>
    </axis>
  </animation>

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

  <!-- Lighting effects -->
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/light/beacon.xml</path>
    <offsets>
      <x-m> 12.89951 </x-m>
      <y-m>  6.56000 </y-m>
      <z-m>  3.55718 </z-m>
    </offsets>
  </model>
  
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/light/beacon.xml</path>
    <offsets>
      <x-m> -6.05521 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m> -1.55524 </z-m>
    </offsets>
  </model>
  
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/light/RedLight.xml</path>
    <offsets>
      <x-m>  -2.20707 </x-m>
      <y-m> -20.98324 </y-m>
      <z-m>   0.20166 </z-m>
    </offsets>
  </model>
  
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/light/StrobeLight.xml</path>
    <offsets>
      <x-m>  -2.21007 </x-m>
      <y-m> -20.98324 </y-m>
      <z-m>   0.20166 </z-m>
    </offsets>
  </model>
  
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/light/GreenLight.xml</path>
    <offsets>
      <x-m> -2.20707 </x-m>
      <y-m> 20.98324 </y-m>
      <z-m>  0.20166 </z-m>
    </offsets>
  </model>
  
  <model>
    <path>Aircraft/Breda-B.Z.308/Models/light/StrobeLight.xml</path>
    <offsets>
      <x-m> -2.21007 </x-m>
      <y-m> 20.98324 </y-m>
      <z-m>  0.20166 </z-m>
    </offsets>
  </model>
  
</PropertyList>
