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

<PropertyList> 

  <path>contact.ac</path>

  <animation>
    <!-- Objets opaques -->
    <object-name>fond</object-name>
    <object-name>base</object-name>
    <object-name>Switch1.1</object-name>
    <object-name>Switch1.2</object-name>
    <object-name>Switch2.1</object-name>
    <object-name>Switch2.2</object-name>
    <object-name>Switch3.1</object-name>
    <object-name>Switch3.2</object-name>
    <object-name>Switch4.1</object-name>
    <object-name>Switch4.2</object-name>

    <!-- Objets transparents -->
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>fond</object-name>
    <object-name>base</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>base</object-name>
    <object-name>Switch1.1</object-name>
    <object-name>Switch1.2</object-name>
    <object-name>Switch2.1</object-name>
    <object-name>Switch2.2</object-name>
    <object-name>Switch3.1</object-name>
    <object-name>Switch3.2</object-name>
    <object-name>Switch4.1</object-name>
    <object-name>Switch4.2</object-name>
    <condition>
      <property>controls/electric/battery-switch</property>
    </condition>
    <emission>
      <factor-prop>controls/lighting/luminosite-lights</factor-prop>
      <red>   0.50 </red>
      <green> 0.40 </green>
      <blue>  0.30 </blue>
    </emission>
  </animation>

  <!-- Maghneto Engine 1 -->
  <animation>
    <type>pick</type>
    <object-name>Switch1.1</object-name>
    <object-name>Switch1.2</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>controls/engines/engine[0]/magnetos</property>
        <step>1</step>
        <min>0</min>
        <max>3</max>
      </binding>
    </action>
  </animation>
  
  <animation>
    <type>pick</type>
    <object-name>Switch1.1</object-name>
    <object-name>Switch1.2</object-name>
    <visible>true</visible>
    <action>
      <button>1</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>controls/engines/engine[0]/magnetos</property>
        <step>-1</step>
        <min>0</min>
        <max>3</max>
      </binding>
    </action>
  </animation>
  
  <animation>
    <type>rotate</type>
    <object-name>Switch1.1</object-name>
    <object-name>Switch1.2</object-name>
    <property>controls/engines/engine[0]/magnetos</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> 25 </dep></entry>
      <entry><ind> 2 </ind><dep> 50 </dep></entry>
      <entry><ind> 3 </ind><dep> 75 </dep></entry>
    </interpolation>
    <center>
      <x-m>  0.00374 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m>  0.00000 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Maghneto Engine 2 -->
  <animation>
    <type>pick</type>
    <object-name>Switch2.1</object-name>
    <object-name>Switch2.2</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>controls/engines/engine[1]/magnetos</property>
        <step>1</step>
        <min>0</min>
        <max>3</max>
      </binding>
    </action>
  </animation>
  
  <animation>
    <type>pick</type>
    <object-name>Switch2.1</object-name>
    <object-name>Switch2.2</object-name>
    <visible>true</visible>
    <action>
      <button>1</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>controls/engines/engine[1]/magnetos</property>
        <step>-1</step>
        <min>0</min>
        <max>3</max>
      </binding>
    </action>
  </animation>
  
  <animation>
    <type>rotate</type>
    <object-name>Switch2.1</object-name>
    <object-name>Switch2.2</object-name>
    <property>controls/engines/engine[1]/magnetos</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> 25 </dep></entry>
      <entry><ind> 2 </ind><dep> 50 </dep></entry>
      <entry><ind> 3 </ind><dep> 75 </dep></entry>
    </interpolation>
    <center>
      <x-m>  0.00374 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m>  0.00000 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>
  
  <!-- Maghneto Engine 3 -->
  <animation>
    <type>pick</type>
    <object-name>Switch3.1</object-name>
    <object-name>Switch3.2</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>controls/engines/engine[2]/magnetos</property>
        <step>1</step>
        <min>0</min>
        <max>3</max>
      </binding>
    </action>
  </animation>
  
  <animation>
    <type>pick</type>
    <object-name>Switch3.1</object-name>
    <object-name>Switch3.2</object-name>
    <visible>true</visible>
    <action>
      <button>1</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>controls/engines/engine[2]/magnetos</property>
        <step>-1</step>
        <min>0</min>
        <max>3</max>
      </binding>
    </action>
  </animation>
  
  <animation>
    <type>rotate</type>
    <object-name>Switch3.1</object-name>
    <object-name>Switch3.2</object-name>
    <property>controls/engines/engine[2]/magnetos</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> 25 </dep></entry>
      <entry><ind> 2 </ind><dep> 50 </dep></entry>
      <entry><ind> 3 </ind><dep> 75 </dep></entry>
    </interpolation>
    <center>
      <x-m>  0.00374 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m>  0.00000 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>
  
  <!-- Maghneto Engine 4 -->
  <animation>
    <type>pick</type>
    <object-name>Switch4.1</object-name>
    <object-name>Switch4.2</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>controls/engines/engine[3]/magnetos</property>
        <step>1</step>
        <min>0</min>
        <max>3</max>
      </binding>
    </action>
  </animation>
  
  <animation>
    <type>pick</type>
    <object-name>Switch4.1</object-name>
    <object-name>Switch4.2</object-name>
    <visible>true</visible>
    <action>
      <button>1</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-adjust</command>
        <property>controls/engines/engine[3]/magnetos</property>
        <step>-1</step>
        <min>0</min>
        <max>3</max>
      </binding>
    </action>
  </animation>
  
  <animation>
    <type>rotate</type>
    <object-name>Switch4.1</object-name>
    <object-name>Switch4.2</object-name>
    <property>controls/engines/engine[3]/magnetos</property>
    <interpolation>
      <entry><ind> 0 </ind><dep>  0 </dep></entry>
      <entry><ind> 1 </ind><dep> 25 </dep></entry>
      <entry><ind> 2 </ind><dep> 50 </dep></entry>
      <entry><ind> 3 </ind><dep> 75 </dep></entry>
    </interpolation>
    <center>
      <x-m>  0.00374 </x-m>
      <y-m>  0.00000 </y-m>
      <z-m>  0.00000 </z-m>
    </center>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>
  
</PropertyList>
