<?xml version="1.0"?>

<!-- Messerschmitt Bf 109 G14 by Detlef Faber -->

<PropertyList>

 <path>yak3.ac</path>
 <offsets>
   <z-m>0.0</z-m>
 </offsets>
	<model>
		<path>Aircraft/bf109/Models/equipment.xml</path>
	</model>
	<animation>
		<type>shader</type>
		<shader>chrome</shader>
		<texture>Aircraft/yak3/Models/glass_shader.png</texture>
		<object-name>canopyglass</object-name>
		<object-name>frontglass</object-name>
		<object-name>rearglass</object-name>
	</animation>
 <animation>
  <type>select</type>
  <object-name>prop</object-name>
  <condition>
   <less-than>
    <property>/engines/engine[0]/rpm</property>
    <value>1000</value>
   </less-than>
  </condition>
 </animation>

 <animation>
  <type>spin</type>
  <object-name>prop</object-name>
  <property>/engines/engine[0]/rpm</property>
  <factor>-0.479</factor>
  <center>
   <x-m>3.40</x-m>
   <y-m>0.0</y-m>
   <z-m>0.0</z-m>
  </center>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>
 
 <animation>
  <type>rotate</type>
  <object-name>gear.L</object-name>
  <object-name>wheel.L</object-name>
  <property>/gear/gear[0]/position-norm</property>
  <interpolation>
   <entry>
    <ind>0.0</ind>
    <dep>0.0</dep>
   </entry>
  <entry>
    <ind>1.00</ind>
    <dep>83.0</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>2.554</x-m>
   <y-m>-1.73</y-m>
   <z-m>-0.526</z-m>
  </center>
  <axis>
   <x>-1</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>
 <animation>
  <type>rotate</type>
  <object-name>geardoor1.L</object-name>
  <property>/gear/gear[0]/position-norm</property>
  <interpolation>
   <entry>
    <ind>0.0</ind>
    <dep>0.0</dep>
   </entry>
  <entry>
    <ind>1.00</ind>
    <dep>86.0</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>2.554</x-m>
   <y-m>-1.70</y-m>
   <z-m>-0.52</z-m>
  </center>
  <axis>
   <x>-1</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>

 <animation>
  <type>rotate</type>
  <object-name>gear.R</object-name>
  <object-name>wheel.R</object-name>
  <property>/gear/gear[1]/position-norm</property>
  <interpolation>
   <entry>
    <ind>0.0</ind>
    <dep>0.0</dep>
   </entry>
  <entry>
    <ind>1.00</ind>
    <dep>83.0</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>2.554</x-m>
   <y-m>1.73</y-m>
   <z-m>-0.526</z-m>
  </center>
  <axis>
   <x>1</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>
 <animation>
  <type>rotate</type>
  <object-name>geardoor1.R</object-name>
  <property>/gear/gear[1]/position-norm</property>
  <interpolation>
   <entry>
    <ind>0.0</ind>
    <dep>0.0</dep>
   </entry>
  <entry>
    <ind>1.00</ind>
    <dep>86.0</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>2.554</x-m>
   <y-m>1.70</y-m>
   <z-m>-0.52</z-m>
  </center>
  <axis>
   <x>1</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>



 <animation>
  <type>rotate</type>
  <object-name>canopy</object-name>
  <property>controls/canopy/position-norm</property>
  <interpolation>
   <entry>
    <ind>0.0</ind>
    <dep>0.0</dep>
   </entry>
   <entry>
    <ind>1.00</ind>
    <dep>95.0</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>3.10</x-m>
   <y-m>0.30</y-m>
   <z-m>0.37</z-m>
  </center>
  <axis>
   <x>-1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>

<animation>
  <type>rotate</type>
  <object-name>leftflap</object-name>
  <property>/controls/engines/engine[0]/cowl-flaps-norm</property>
  <factor>-20.0</factor>

   <center>
    <x-m>3.681</x-m>
    <y-m>-1.137</y-m>
    <z-m>-0.275</z-m>
  </center>

  <axis>
   <x1-m>3.642</x1-m>
   <y1-m>-1.407</y1-m>
   <z1-m>-0.256</z1-m>
   <x2-m>3.759</x2-m>
   <y2-m>-0.596</y2-m>
   <z2-m>-0.313</z2-m>
  </axis>
 </animation>
<animation>
  <type>rotate</type>
  <object-name>rightflap</object-name>
  <property>/controls/engines/engine[0]/cowl-flaps-norm</property>
  <factor>20.0</factor>

   <center>
    <x-m>3.681</x-m>
    <y-m>1.137</y-m>
    <z-m>-0.275</z-m>
  </center>

  <axis>
   <x1-m>3.642</x1-m>
   <y1-m>1.407</y1-m>
   <z1-m>-0.256</z1-m>
   <x2-m>3.759</x2-m>
   <y2-m>0.596</y2-m>
   <z2-m>-0.313</z2-m>
  </axis>
 </animation>

 <animation>
  <type>rotate</type>
  <object-name>aileron.L</object-name>
  <property>/controls/flight/aileron</property>
  <factor>-15.0</factor>
  <center>
   <x-m>3.491</x-m>
   <y-m>-3.576</y-m>
   <z-m>-0.346</z-m>
  </center>
  <axis>
    <x1-m>3.379</x1-m>
    <y1-m>-4.373</y1-m>
    <z1-m>0.28</z1-m>
    <x2-m>3.602</x2-m>
    <y2-m>-2.78</y2-m>
    <z2-m>-0.411</z2-m>
  </axis>
 </animation>
 <animation>
  <type>rotate</type>
  <object-name>aileron.R</object-name>
  <property>/controls/flight/aileron</property>
  <factor>-15.0</factor>
  <center>
   <x-m>3.491</x-m>
   <y-m>3.576</y-m>
   <z-m>-0.346</z-m>
  </center>
  <axis>
    <x1-m>3.379</x1-m>
    <y1-m>4.373</y1-m>
    <z1-m>0.28</z1-m>
    <x2-m>3.602</x2-m>
    <y2-m>2.78</y2-m>
    <z2-m>-0.411</z2-m>
  </axis>
 </animation>

 <animation>
  <type>rotate</type>
  <object-name>rudder</object-name>
  <object-name>rudderlogo</object-name>
  <property>/surface-positions/rudder-pos-norm</property>
  <factor>25.0</factor>

  <center>
   <x-m>7.776</x-m>
   <y-m>0.0</y-m>
   <z-m>0.909</z-m>
  </center>

  <axis>
    <x1-m>7.707</x1-m>
    <y1-m>0.0</y1-m>
    <z1-m>1.485</z1-m>
    <x2-m>7.913</x2-m>
    <y2-m>0.0</y2-m>
    <z2-m>-0.242</z2-m>
  </axis>
 </animation>

 <animation>
  <type>rotate</type>
  <object-name>elevator.L</object-name>
  <property>/surface-positions/elevator-pos-norm</property>
  <interpolation>
   <entry>
    <ind>-1.0</ind>
    <dep>-30.0</dep>
   </entry>
   <entry>
    <ind>0.0</ind>
    <dep>0</dep>
   </entry>
   <entry>
    <ind>1.00</ind>
    <dep>20.0</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>7.851</x-m>
   <y-m>-0.867</y-m>
   <z-m>0.302</z-m>
  </center>
  <axis>
   <x>0.000000</x>
   <y>1.000000</y>
   <z>0.000000</z>
   </axis>
 </animation>
 <animation>
  <type>rotate</type>
  <object-name>elevator.R</object-name>
  <property>/surface-positions/elevator-pos-norm</property>
  <interpolation>
   <entry>
    <ind>-1.0</ind>
    <dep>-30.0</dep>
   </entry>
   <entry>
    <ind>0.0</ind>
    <dep>0</dep>
   </entry>
   <entry>
    <ind>1.00</ind>
    <dep>20.0</dep>
   </entry>
  </interpolation>
  <center>
   <x-m>7.851</x-m>
   <y-m>0.867</y-m>
   <z-m>0.302</z-m>
  </center>
  <axis>
   <x>0.000000</x>
   <y>1.000000</y>
   <z>0.000000</z>
   </axis>
 </animation>
<animation> 
      <type>rotate</type>
      <object-name>tailwheel</object-name>
      <property>gear/gear[2]/caster-angle-deg</property>
      <factor>1</factor>
      <center> 
        <x-m>7.62</x-m>
        <y-m>0</y-m>
        <z-m>-0.502272</z-m>
      </center>
      <axis> 
        <x>0</x>
        <y>0</y>
        <z>1</z>
      </axis>
    </animation>

 <animation>
  <type>translate</type>
  <object-name>leftwheel</object-name>
  <property>/gear/gear[0]/compression-norm</property>
  <interpolation>
   <entry>
    <ind>0.0</ind>
    <dep>0</dep>
   </entry>
   <entry>
    <ind>0.50</ind>
    <dep>0.25</dep>
   </entry>
   <entry>
    <ind>1.00</ind>
    <dep>0.30</dep>
   </entry>
  </interpolation>
  <axis>
   <x>0.231261</x>
   <y>0.000000</y>
   <z>0.972892</z>
  </axis>
 </animation>

 <animation>
  <type>translate</type>
  <object-name>rightwheel</object-name>
  <property>/gear/gear[1]/compression-norm</property>
  <interpolation>
   <entry>
    <ind>0.0</ind>
    <dep>0</dep>
   </entry>
   <entry>
    <ind>0.50</ind>
    <dep>0.25</dep>
   </entry>
   <entry>
    <ind>1.00</ind>
    <dep>0.30</dep>
   </entry>
  </interpolation>
  <axis>
   <x>0.231261</x>
   <y>0.000000</y>
   <z>0.972892</z>
  </axis>
 </animation>

 <animation>
  <type>spin</type>
  <object-name>leftwheel</object-name>
  <property>/velocities/uBody-fps</property>
  <factor>-1.5</factor>
  <center>
   <x-m>2.0325</x-m>
   <y-m>-0.874</y-m>
   <z-m>-1.373</z-m>
  </center>
  <axis>
   <x>0.0</x>
   <y>1.0</y>
   <z>-0.17</z>
  </axis>
 </animation>

 <animation>
  <type>spin</type>
  <object-name>rightwheel</object-name>
  <property>/velocities/uBody-fps</property>
  <factor>-1.5</factor>
  <center>
   <x-m>2.0325</x-m>
   <y-m>0.874</y-m>
   <z-m>-1.373</z-m>
  </center>
  <axis>
   <x>0.0</x>
   <y>1.0</y>
   <z>0.17</z>
  </axis>
 </animation>

 <animation>
  <type>select</type>
  <object-name>rightwheelstop</object-name>
  <condition>
   <equals>
    <property>/gear/gear[1]/compression-norm</property>
    <value>0.0</value>
   </equals>
  </condition>
 </animation>

 <animation>
  <type>select</type>
  <object-name>leftwheelstop</object-name>
  <condition>
   <equals>
    <property>/gear/gear[0]/compression-norm</property>
    <value>0.0</value>
   </equals>
  </condition>
 </animation>

    <model> 
      <path>Aircraft/bf109/Models/pilot.xml</path>
	  <name>pilot</name>
      <offsets> 
        <x-m>3.6</x-m>
        <y-m>0.0</y-m>
        <z-m>-0.08</z-m>
        <pitch-deg>22</pitch-deg>
      </offsets>
    </model>
 <animation>
  <type>select</type>
  <object-name>pilot</object-name>
  <condition>
   <greater-than>
    <property>/sim/current-view/view-number</property>
    <value>0.0</value>
   </greater-than>
  </condition>
 </animation>

  <model> 
   <path>Aircraft/bf109/Models/blaze-l.xml</path>
   <name>Blaze-l</name>
    <offsets> 
     <x-m>2.0</x-m>
     <y-m>0.2000</y-m>
     <z-m>0.506</z-m>
    </offsets>
  </model>
  <model> 
   <path>Aircraft/bf109/Models/blaze-r.xml</path>
   <name>Blaze-l</name>
    <offsets> 
     <x-m>2.0</x-m>
     <y-m>-0.2000</y-m>
     <z-m>0.506</z-m>
    </offsets>
  </model>

  <model> 
   <path>Aircraft/bf109/Models/blaze.xml</path>
   <name>Blaze-f</name>
    <offsets> 
     <x-m>0.0</x-m>
     <y-m>0.0</y-m>
     <z-m>0.0</z-m>
    </offsets>
  </model>
  <model> 
   <path>Aircraft/bf109/Models/pdisk.xml</path>
   <name>Blaze-f</name>
    <offsets> 
     <x-m>-1.1</x-m>
     <y-m>0.0</y-m>
     <z-m>0.0</z-m>
    </offsets>
  </model>

<!--Material -->
  <animation>
    <type>material</type>
    <object-name>Fuselage</object-name>
    <property-base>sim/model/livery/material/fuselage</property-base>
    <texture-prop>texture</texture-prop>
    <texture>bf109-1.rgb</texture>
  </animation>
  <animation>
    <type>material</type>
    <object-name>leftwing</object-name>
    <property-base>sim/model/livery/material/leftwing</property-base>
    <texture-prop>texture</texture-prop>
    <texture>bf109-2.rgb</texture>
  </animation>
  <animation>
    <type>material</type>
    <object-name>LeftAileron</object-name>
    <property-base>sim/model/livery/material/leftwing</property-base>
    <texture-prop>texture</texture-prop>
    <texture>bf109-2.rgb</texture>
  </animation>
  <animation>
    <type>material</type>
    <object-name>leftoutflap</object-name>
    <property-base>sim/model/livery/material/leftwing</property-base>
    <texture-prop>texture</texture-prop>
    <texture>bf109-2.rgb</texture>
  </animation>

  <animation>
    <type>material</type>
    <object-name>leftflap</object-name>
    <property-base>sim/model/livery/material/leftwing</property-base>
    <texture-prop>texture</texture-prop>
    <texture>bf109-2.rgb</texture>
  </animation>

  <animation>
    <type>material</type>
    <object-name>rightwing</object-name>
    <property-base>sim/model/livery/material/rightwing</property-base>
    <texture-prop>texture</texture-prop>
    <texture>bf109-3.rgb</texture>
  </animation>
  <animation>
    <type>material</type>
    <object-name>rightaileron</object-name>
    <property-base>sim/model/livery/material/rightwing</property-base>
    <texture-prop>texture</texture-prop>
    <texture>bf109-3.rgb</texture>
  </animation>
  <animation>
    <type>material</type>
    <object-name>rightoutflap</object-name>
    <property-base>sim/model/livery/material/rightwing</property-base>
    <texture-prop>texture</texture-prop>
    <texture>bf109-3.rgb</texture>
  </animation>
  <animation>
    <type>material</type>
    <object-name>rightflap</object-name>
    <property-base>sim/model/livery/material/rightwing</property-base>
    <texture-prop>texture</texture-prop>
    <texture>bf109-3.rgb</texture>
  </animation>

  <animation>
    <type>material</type>
    <object-name>horstab</object-name>
    <property-base>sim/model/livery/material/horstab</property-base>
    <texture-prop>texture</texture-prop>
    <texture>bf109-4.rgb</texture>
  </animation>

</PropertyList>
