<?xml version="1.0"?>

<PropertyList>

 <path>f18.ac</path>
 
 <animation>
  <type>noshadow</type>
  <object-name>ExternalFlame</object-name>
  <object-name>InternalFlame</object-name>
 </animation> 

 <animation>
  <type>select</type>
  <object-name>ExternalFlame</object-name>
  <condition>
   <equals>
    <property>engines/engine[0]/augmentation</property>
    <value>true</value>
   </equals>
  </condition>
 </animation>
 
 <animation>
  <type>select</type>
  <object-name>FrontDoor</object-name>  
  <object-name>LeftDoor</object-name>  
  <object-name>RightDoor</object-name>  
  <object-name>FrontWheel</object-name>
  <object-name>LeftWheel</object-name>
  <object-name>RightWheel</object-name>    
  <condition>
   <greater-than>
    <property>gear/gear[0]/position-norm</property>
    <value>0</value>
   </greater-than>
  </condition>
 </animation>
 
 <animation>
  <type>select</type> 
  <object-name>FrontDoor_TopLeft</object-name>
  <object-name>FrontDoor_TopRight</object-name>
  <object-name>LeftDoor_RearLeft</object-name>
  <object-name>LeftDoor_RearRight</object-name>
  <object-name>RightDoor_RearLeft</object-name>    
  <object-name>RightDoor_RearRight</object-name>  
  <condition>
   <greater-than>
    <property>gear/gear[0]/position-norm</property>
    <value>0.8</value>
   </greater-than>
  </condition>
 </animation> 
 
 <animation>
  <type>rotate</type>
  <object-name>FrontWheel</object-name>
  <property>gear/gear[0]/position-norm</property>
  <factor>90</factor>
  <min-deg>-50</min-deg>
  <max-deg>0</max-deg>  
  <offset-deg>-90</offset-deg>
  <center>
   <x-m>-1.40</x-m>
   <y-m>0.0</y-m>
   <z-m>-0.6</z-m>
  </center>
  <axis>
   <x>0</x>
   <y>-1</y>
   <z>0</z>
  </axis>
 </animation> 
 
 <animation>
  <type>rotate</type>
  <object-name>FrontDoor</object-name>
  <property>gear/gear[0]/position-norm</property>
  <factor>90</factor>
  <offset-deg>-90</offset-deg>   
  <center>
   <x-m>-3.88</x-m>
   <y-m>0.16</y-m>
   <z-m>-0.4</z-m>
  </center>
  <axis>
   <x>1</x>
   <y>0</y>
   <z>0</z>
  </axis>
 </animation>  
 
 <animation>
  <type>rotate</type>
  <object-name>LeftWheel</object-name>
  <property>gear/gear[0]/position-norm</property>
  <factor>90</factor>
  <offset-deg>-90</offset-deg>
  <min-deg>-60</min-deg>
  <max-deg>0</max-deg>    
  <center>
   <x-m>1.21208</x-m>
   <y-m>-0.927292</y-m>
   <z-m>-0.498899</z-m>
  </center>
  <axis>
   <x>0</x>
   <y>1</y>
   <z>-0.4</z>
  </axis>
 </animation>  
 
 <animation>
  <type>rotate</type>
  <object-name>RightWheel</object-name>
  <property>gear/gear[0]/position-norm</property>
  <factor>90</factor>
  <offset-deg>-90</offset-deg>
  <min-deg>-60</min-deg>
  <max-deg>0</max-deg>    
  <center>
   <x-m>1.21208</x-m>
   <y-m>0.927292</y-m>
   <z-m>-0.498899</z-m>
  </center>
  <axis>
   <x>0</x>
   <y>1</y>
   <z>0.4</z>
  </axis>
 </animation>  

 <animation>
  <type>rotate</type>
  <object-name>LeftDoor</object-name>
  <property>gear/gear[0]/position-norm</property>
  <factor>90</factor>
  <offset-deg>-90</offset-deg>   
  <center>
   <x-m>1.20195</x-m>
   <y-m>-0.45533</y-m>
   <z-m>-0.54</z-m>
  </center>
  <axis>
   <x>1</x>
   <y>0</y>
   <z>0</z>
  </axis>
 </animation>  
 
 <animation>
  <type>rotate</type>
  <object-name>RightDoor</object-name>
  <property>gear/gear[0]/position-norm</property>
  <factor>90</factor>
  <offset-deg>-90</offset-deg>   
  <center>
   <x-m>1.20195</x-m>
   <y-m>0.45533</y-m>
   <z-m>-0.54</z-m>
  </center>
  <axis>
   <x>-1</x>
   <y>0</y>
   <z>0</z>
  </axis>
 </animation>   

 <animation>
  <type>rotate</type>
  <object-name>AileronLeft</object-name>
  <property>surface-positions/left-aileron-pos-norm</property>
  <factor>-30</factor>
  <axis>
   <x1-m>2.67178</x1-m>
   <y1-m>-3.74241</y1-m>
   <z1-m>0.470943</z1-m>
   <x2-m>2.67178</x2-m>
   <y2-m>-5.42703</y2-m>
   <z2-m>0.470943</z2-m>   
  </axis>
 </animation>
 
 <animation>
  <type>rotate</type>
  <object-name>AileronRight</object-name>
  <property>surface-positions/left-aileron-pos-norm</property>
  <factor>-30</factor>
  <axis>
   <x1-m>2.67178</x1-m>
   <y1-m>3.74241</y1-m>
   <z1-m>0.470943</z1-m>
   <x2-m>2.67178</x2-m>
   <y2-m>5.42703</y2-m>
   <z2-m>0.470943</z2-m>   
  </axis>
 </animation> 
 
 
 <animation>
  <type>rotate</type>
  <object-name>RudderLeft</object-name>
  <property>surface-positions/rudder-pos-norm</property>
  <factor>30</factor>
  <axis>
   <x1-m>4.46901</x1-m>
   <y1-m>-1.03207</y1-m>
   <z1-m>0.670875</z1-m>  
   <x2-m>4.84972</x2-m>
   <y2-m>-1.39064</y2-m>
   <z2-m>1.71914</z2-m>
   </axis>
 </animation> 
 
 <animation>
  <type>rotate</type>
  <object-name>RudderRight</object-name>
  <property>surface-positions/rudder-pos-norm</property>
  <factor>30</factor>
  <axis>
   <x1-m>4.46901</x1-m>
   <y1-m>1.03207</y1-m>
   <z1-m>0.670875</z1-m>  
   <x2-m>4.84972</x2-m>
   <y2-m>1.39064</y2-m>
   <z2-m>1.71914</z2-m>
   </axis>
 </animation>  
 
 <animation>
  <type>rotate</type>
  <object-name>ElevatorLeft</object-name>
  <object-name>ElevatorRight</object-name>  
  <property>surface-positions/elevator-pos-norm</property>
  <factor>25</factor>
  <center>
   <x-m>5.22371</x-m>
   <y-m>0</y-m>
   <z-m>-0.0314742</z-m>
  </center>
  <axis>
   <x>0</x>
   <y>1</y>
   <z>0</z>
  </axis>
 </animation> 

 <animation>
  <type>rotate</type>
  <object-name>Stick</object-name>
  <property>/controls/flight/elevator</property>
  <factor>-8</factor>
  <center>
   <x-m>-3.98</x-m>
   <y-m>0.00</y-m>
   <z-m>0.20</z-m>
  </center>
  <axis>
   <x>0.0</x>
   <y>1.0</y>
   <z>0.0</z>
  </axis>
 </animation>

 <animation>
  <type>rotate</type>
  <object-name>Stick</object-name>
  <property>/controls/flight/aileron</property>
  <factor>-8</factor>
  <center>
   <x-m>-3.98</x-m>
   <y-m>0.00</y-m>
   <z-m>0.20</z-m>
  </center>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>

 <animation>
  <type>translate</type>
  <object-name>Truster</object-name>
  <property>controls/engines/engine[0]/throttle</property>
  <factor>-0.11</factor>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>

<!-- ENGINE CONTRAIL -->
<model>
 <path>Aircraft/f18/Models/contrail.xml</path>
 <offsets>
  <x-m>6.0</x-m>
  <y-m>0.0</y-m>
  <z-m>0.0</z-m>
 <heading-deg>0</heading-deg>
 </offsets>
</model>


</PropertyList>

