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

<PropertyList>

  <path>pa23.ac</path>

  <animation>
    <!-- Objets opaques -->
    <object-name>pa23</object-name>
    <object-name>portesfermees</object-name>
    <object-name>portesouvertes</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>

    <object-name>heliceG</object-name>
    <object-name>heliceD</object-name>
    <object-name>rouessorties</object-name>

    <object-name>flotteurs</object-name>
    <object-name>rouessortiesfloat</object-name>
    <object-name>rouesrentreesfloat</object-name>

    <object-name>propdiscG</object-name>
    <object-name>propblurG</object-name>
    <object-name>propdiscD</object-name>
    <object-name>propblurD</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>pa23</object-name>
    <object-name>portesfermees</object-name>
    <object-name>portesouvertes</object-name>
    <object-name>bolG</object-name>
    <object-name>bolD</object-name>
    <object-name>heliceG</object-name>
    <object-name>heliceD</object-name>
    <object-name>rouessorties</object-name>
    <object-name>flotteurs</object-name>
    <object-name>rouessortiesfloat</object-name>
    <object-name>rouesrentreesfloat</object-name>
    <object-name>propdiscG</object-name>
    <object-name>propblurG</object-name>
    <object-name>propdiscD</object-name>
    <object-name>propblurD</object-name>
    <property-base>/ai/models/multiplayer/sim/multiplay/generic</property-base>
    <texture-prop>string[1]</texture-prop>
    <texture>/ai/models/multiplayer/sim/multiplay/generic/string[1]</texture>
  </animation>

  <effect>
    <inherits-from>Effects/model-transparent</inherits-from>
    <object-name>propdiscG</object-name>
    <object-name>propblurG</object-name>
    <object-name>propdiscD</object-name>
    <object-name>propblurD</object-name>
  </effect>

  <animation>
    <type>select</type>
    <object-name>flotteurs</object-name>
    <object-name>rouessortiesfloat</object-name>
    <object-name>rouesrentreesfloat</object-name>
    <condition>
      <equals>
        <!-- <property>sim/model/mode</property> -->
        <property>/ai/models/multiplayer/sim/multiplay/generic/string[0]</property>
        <value>amphibian</value>
      </equals>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>portesouvertes</object-name>
    <object-name>rouessorties</object-name>
    <condition>
      <equals>
        <!-- <property>sim/model/mode</property> -->
        <property>/ai/models/multiplayer/sim/multiplay/generic/string[0]</property>
        <value>wheels</value>
      </equals>
    </condition>
  </animation>

  <model>
    <path>Effects/light/all-lights.xml</path>
  </model>

  <!-- L'hélice -->
  <animation>
    <name>HeliceCompleteG</name>
    <object-name>heliceG</object-name>
    <object-name>bolG</object-name>
    <object-name>propdiscG</object-name>
    <object-name>propblurG</object-name>
  </animation>

  <!-- Séléction de l'objet visible en fonction des rpm -->
  <animation>
    <type>select</type>
    <object-name>propdiscG</object-name>
    <condition>
      <greater-than>
        <property>velocities/true-airspeed-kt</property>
        <value>14</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>propblurG</object-name>
    <condition>
      <and>
        <greater-than>
          <property>velocities/true-airspeed-kt</property>
          <value>60</value>
        </greater-than>
        <less-than>
          <property>velocities/true-airspeed-kt</property>
          <value>101</value>
        </less-than>
      </and>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>heliceG</object-name>
    <condition>
      <less-than>
        <property>velocities/true-airspeed-kt</property>
        <value>101</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>HeliceCompleteG</object-name>
    <property>velocities/true-airspeed-kt</property>
    <factor> 10 </factor>
    <center>
      <x-m> -3.30937 </x-m>
      <y-m> -1.72652 </y-m>
      <z-m> -0.51168 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- L'hélice -->
  <animation>
    <name>HeliceCompleteD</name>
    <object-name>heliceD</object-name>
    <object-name>bolD</object-name>
    <object-name>propdiscD</object-name>
    <object-name>propblurD</object-name>
  </animation>

  <!-- Séléction de l'objet visible en fonction des rpm -->
  <animation>
    <type>select</type>
    <object-name>propdiscD</object-name>
    <condition>
      <greater-than>
        <property>velocities/true-airspeed-kt</property>
        <value>14</value>
      </greater-than>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>propblurD</object-name>
    <condition>
      <and>
        <greater-than>
          <property>velocities/true-airspeed-kt</property>
          <value>60</value>
        </greater-than>
        <less-than>
          <property>velocities/true-airspeed-kt</property>
          <value>101</value>
        </less-than>
      </and>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>heliceD</object-name>
    <condition>
      <less-than>
        <property>velocities/true-airspeed-kt</property>
        <value>101</value>
      </less-than>
    </condition>
  </animation>

  <animation>
    <type>spin</type>
    <object-name>HeliceCompleteD</object-name>
    <property>velocities/true-airspeed-kt</property>
    <factor> 10 </factor>
    <center>
      <x-m> -3.30937 </x-m>
      <y-m>  1.72652 </y-m>
      <z-m> -0.51168 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <!-- Roues sorties -->
  <animation>
    <type>select</type>
    <object-name>rouessorties</object-name>
    <object-name>portesouvertes</object-name>
    <condition>
      <and>
        <equals>
          <!-- <property>sim/model/mode</property> -->
          <property>/ai/models/multiplayer/sim/multiplay/generic/string[0]</property>
          <value>wheels</value>
        </equals>
        <less-than>
          <property>velocities/true-airspeed-kt</property>
          <value>60</value>
        </less-than>
      </and>
    </condition>
  </animation>

  <!-- Roues rentrée -->
  <animation>
    <type>select</type>
    <object-name>portesfermees</object-name>
    <condition>
      <and>
        <equals>
          <!-- <property>sim/model/mode</property> -->
          <property>/ai/models/multiplayer/sim/multiplay/generic/string[0]</property>
          <value>wheels</value>
        </equals>
        <greater-than>
          <property>velocities/true-airspeed-kt</property>
          <value>59</value>
        </greater-than>
      </and>
    </condition>
  </animation>

  <!-- Roues sorties -->
  <animation>
    <type>select</type>
    <object-name>rouessortiesfloat</object-name>
    <condition>
      <and>
        <equals>
          <!-- <property>sim/model/mode</property> -->
          <property>/ai/models/multiplayer/sim/multiplay/generic/string[0]</property>
          <value>amphibian</value>
        </equals>
        <less-than>
          <property>velocities/true-airspeed-kt</property>
          <value>60</value>
        </less-than>
      </and>
    </condition>
  </animation>

  <!-- Roues rentrée -->
  <animation>
    <type>select</type>
    <object-name>rouesrentreesfloat</object-name>
    <condition>
      <and>
        <equals>
          <!-- <property>sim/model/mode</property> -->
          <property>/ai/models/multiplayer/sim/multiplay/generic/string[0]</property>
          <value>amphibian</value>
        </equals>
        <greater-than>
          <property>velocities/true-airspeed-kt</property>
          <value>59</value>
        </greater-than>
      </and>
    </condition>
  </animation>

</PropertyList>
