<?xml version="1.0"?>

<PropertyList>


<path>harrier.ac</path> 
	<offsets>
		<x-m>19.0</x-m>
		<y-m>0</y-m>
		<z-m>5.90</z-m>
		<pitch-deg>0.0</pitch-deg>
	</offsets>

	<!-- Include the 3d Panel -->
 
	<!-- Front hotspots -->
	<panel>
		<path>Aircraft/harrier/Panel/panel-hotspots.xml</path>
		<bottom-left>
			<x-m>-15.7</x-m>
			<y-m>-0.40</y-m>
			<z-m>-5.8</z-m>
		</bottom-left>
		<bottom-right>
			<x-m>-15.7</x-m>
			<y-m> 0.40</y-m>
			<z-m>-5.8</z-m>
		</bottom-right>
		<top-left>
			<x-m>-15.73</x-m>
			<y-m>-0.40</y-m>
			<z-m>-5.1</z-m>
		</top-left>
 	</panel>
	
	<model>
		<path>Aircraft/harrier/Panel/harrier-panel.xml</path>
	</model>
	
	<!-- include the external equipment -->
	<model>
		<path>Aircraft/harrier/Models/equipment.xml</path>
	</model>
	
	<!-- include effects -->
	<model>
		<path>Aircraft/harrier/Models/Effects/effects.xml</path>
	</model>
	
	<model>
		<path>Aircraft/harrier/Models/pilot.xml</path>
			<offsets>
			<x-m>-15.25</x-m>
			<y-m>0</y-m>
			<z-m>-5.86</z-m>
			<pitch-deg>6.0</pitch-deg>
		</offsets>
	</model>
	<model>
		<path>Aircraft/harrier/Models/seat.xml</path>
			<offsets>
			<x-m>-15.25</x-m>
			<y-m>0</y-m>
			<z-m>-5.8</z-m>
			<pitch-deg>6.0</pitch-deg>
		</offsets>
	</model>


  <!-- Landing Lights  -->
	<animation>
		<type>select</type>
		<object-name>FLandLight</object-name>
		<condition>
			<equals>
				<property>gear/gear[0]/position-norm</property>
				<value>1</value>
			 </equals>
		</condition>
	</animation>

 	<animation>
	<type>material</type>
	<object-name>FLandLight</object-name>
		<emission>
		<factor-prop>controls/lighting/landing</factor-prop>
			<red>1</red>
			<green>1</green>
			<blue>1</blue>
		</emission>
	</animation>

        <!-- +++++++++++++++++++++++++++++++++++ -->
	<!-- ++++++++++++++ ANIMATIONS +++++++++ -->
	<!-- +++++++++++++++++++++++++++++++++++ -->


<!--	<animation>-->
<!--		<type>shader</type>-->
<!--		<shader>chrome</shader>-->
<!--		<texture>Aircraft/harrier/Models/Textures/glass_shader.png</texture>-->
<!--		<object-name>Bubble</object-name>-->
<!--	</animation>-->
	
	<!-- Gear extend or retract -->
	<animation>
		<type>rotate</type>
		<object-name>FrontTire</object-name>
		<object-name>FrontUpperStrut</object-name>
		<object-name>FrontMiddleStrut</object-name>
		<object-name>FrontLowerStrut</object-name>	
		<object-name>FLandLight</object-name>
		<property>gear/gear[0]/position-norm</property>
		<factor>-115</factor>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-14.03</x-m>
			<y-m>0</y-m>
			<z-m>-6.59</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>1</y>
			<z>0</z>
		</axis>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>MiddleTires</object-name>
		<object-name>MStrut</object-name>
		<object-name>MAxle</object-name>
		<property>gear/gear[1]/position-norm</property>
		<factor>-115</factor>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-10.48</x-m>
			<y-m>0</y-m>
			<z-m>-6.53</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>-1</y>
			<z>0</z>
		</axis>
	</animation>
	
	<animation>
		<type>rotate</type>
		<object-name>LTire</object-name>
		<object-name>RTire</object-name>
		<object-name>LStrut</object-name>
		<object-name>RStrut</object-name>	 
		<property>gear/gear[2]/position-norm</property>
		<factor>-90</factor>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-9.733</x-m>
			<y-m>0</y-m>
			<z-m>-5.984</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>-1</y>
			<z>0</z>
		</axis>
	</animation>


	
	<!-- Gear Doors -->
	<animation>
		<type>rotate</type>
		<object-name>FBGrDoor</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>120</dep>
    			</entry>
			<entry>
				<ind>1.0</ind>
				<dep>120</dep>
    			</entry>
		</interpolation>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-13.93</x-m>
			<y-m>0</y-m>
			<z-m>-6.69</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>-1</y>
			<z>0</z>
		</axis>
	</animation>	
	<animation>
		<type>rotate</type>
		<object-name>FLGrDoor</object-name>
		<property>gear/gear[0]/position-norm</property>
		<interpolation>
			<entry>
				<ind>0.0</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>0.1</ind>
				<dep>90</dep>
			</entry>
			<entry>
				<ind>0.9</ind>
				<dep>90</dep>
			</entry>
			<entry>
				<ind>1.0</ind>
				<dep>0</dep>
			</entry>
		</interpolation>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-15.20</x-m>
			<y-m>-0.22</y-m>
			<z-m>-6.61</z-m>
		</center>
		<axis>
			<x>-1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>FRGrDoor</object-name>
		<property>gear/gear[0]/position-norm</property>
		<interpolation>
			<entry>
				<ind>0.0</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>0.1</ind>
				<dep>90</dep>
			</entry>
			<entry>
				<ind>0.9</ind>
				<dep>90</dep>
			</entry>
			<entry>
				<ind>1.0</ind>
				<dep>0</dep>
			</entry>
		</interpolation>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-15.20</x-m>
			<y-m>0.22</y-m>
			<z-m>-6.61</z-m>
		</center>
		<axis>
			<x>1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MRGrDoor</object-name>
		<property>gear/gear[0]/position-norm</property>
		<interpolation>
			<entry>
				<ind>0.0</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>0.1</ind>
				<dep>90</dep>
			</entry>
			<entry>
				<ind>0.9</ind>
				<dep>90</dep>
			</entry>
			<entry>
				<ind>1.0</ind>
				<dep>0</dep>
			</entry>
		</interpolation>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-10.43</x-m>
			<y-m>0.32</y-m>
			<z-m>-6.49</z-m>
		</center>
		<axis>
			<x>1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>MLGrDoor</object-name>
		<property>gear/gear[0]/position-norm</property>
		<interpolation>
			<entry>
				<ind>0.0</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>0.1</ind>
				<dep>90</dep>
			</entry>
			<entry>
				<ind>0.9</ind>
				<dep>90</dep>
			</entry>
			<entry>
				<ind>1.0</ind>
				<dep>0</dep>
			</entry>
		</interpolation>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-10.43</x-m>
			<y-m>-0.32</y-m>
			<z-m>-6.49</z-m>
		</center>
		<axis>
			<x>-1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>
	<!-- Steering-->
	<animation>
		<type>rotate</type>
		<object-name>FrontTire</object-name>
		<object-name>FrontLowerStrut</object-name>
		<object-name>FrontMiddleStrut</object-name>
		<property>gear/gear[0]/caster-angle-deg[0]</property>
		<factor>-1</factor>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-14.45</x-m>
			<y-m>0</y-m>
			<z-m>-6.41</z-m>
		</center>
		<axis>
			<x>90</x>
			<y>0</y>
			<z>-25</z>
		</axis>
	</animation>
	
	<!-- Gear Compression (shocks)-->
	<animation>
		<type>rotate</type>
		<object-name>FrontTire</object-name>
		<object-name>FrontLowerStrut</object-name>	 
		<property>gear/gear[0]/compression-norm[0]</property>
		<factor>100</factor>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-14.46</x-m>
			<y-m>0</y-m>
			<z-m>-6.08</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>-1</y>
			<z>0</z>
		</axis>
	</animation>	
	<animation>
		<type>translate</type>
		<object-name>MiddleTires</object-name>
		<object-name>MAxle</object-name>
		<property>gear/gear[1]/compression-norm[0]</property>
		<factor>0.3</factor>
		<axis>
			<x>-1</x>
			<y>0</y>
			<z>-0.167</z>
		</axis>
	</animation>	
	<animation>
		<type>translate</type>
		<object-name>LTire</object-name>
		<object-name>LTireAxis</object-name>
		<property>gear/gear[2]/compression-norm[0]</property>
		<factor>0.3</factor>
		<axis>
			<x>-1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>
	<animation>
		<type>translate</type>
		<object-name>RTire</object-name>
		<object-name>RTireAxis</object-name>		
		<property>gear/gear[3]/compression-norm[0]</property>
		<factor>0.3</factor>
		<axis>
			<x>-1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>
	
	<!-- Control Surfaces-->	
	<animation>
		<type>rotate</type>
		<object-name>Rudder</object-name> 
		<property>controls/flight/rudder[0]</property>
		<factor>30</factor>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-5.73</x-m>
			<y-m>0</y-m>
			<z-m>-5.13</z-m>
		</center>
		<axis>
			<x>0.3</x>
			<y>0</y>
			<z>1</z>
		</axis>
	</animation>	
	<animation>
		<type>rotate</type>
		<object-name>LelevatorTop</object-name> 
		<object-name>LelevatorBottom</object-name> 
		<object-name>RelevatorTop</object-name> 
		<object-name>RelevatorBottom</object-name> 		
		<property>controls/flight/elevator[0]</property>
		<factor>20</factor>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-5.97</x-m>
			<y-m>0</y-m>
			<z-m>-5.28</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>1</y>
			<z>0</z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>LAileron</object-name> 
		<property>controls/flight/aileron[0]</property>
		<factor>25</factor>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-9.35</x-m>
			<y-m>-3.2</y-m>
			<z-m>-5.95</z-m>
		</center>
		<axis>
			<x>-0.2</x>
			<y>1</y>
			<z>.25</z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>RAileron</object-name> 
		<property>controls/flight/aileron[0]</property>
		<factor>25</factor>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-9.24</x-m>
			<y-m>3.2</y-m>
			<z-m>-5.98</z-m>
		</center>
		<axis>
			<x>-0.2</x>
			<y>-1</y>
			<z>.25</z>
		</axis>
	</animation>	
	<animation>
		<type>rotate</type>
		<object-name>LFlaps</object-name> 
		<property>controls/flight/flaps[0]</property>
		<factor>50</factor>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-9.57</x-m>
			<y-m>-2.24</y-m>
			<z-m>-5.75</z-m>
		</center>
		<axis>
			<x>-0.25</x>
			<y>1</y>
			<z>.25</z>
		</axis>
	</animation>	
	<animation>
		<type>rotate</type>
		<object-name>RFlaps</object-name> 
		<property>controls/flight/flaps[0]</property>
		<factor>-50</factor>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-9.52</x-m>
			<y-m>2.18</y-m>
			<z-m>-5.74</z-m>
		</center>
		<axis>
			<x>-0.25</x>
			<y>-1</y>
			<z>.25</z>
		</axis>
	</animation>	
	
	<!-- Nozzle Rotation -->
	<animation>
		<type>rotate</type>
		<object-name>LFNozzle</object-name>
		<object-name>RFNozzle</object-name>	 
		<property>/controls/engines/engine/mixture</property>
		<factor>-100</factor>
		<offset-deg>98</offset-deg>
		<center>
			<x-m>-12.67</x-m>
			<y-m>0</y-m>
			<z-m>-6.01</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>1</y>
			<z>0</z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>LRNozzle</object-name>
		<object-name>RRNozzle</object-name>	 
		<property>/controls/engines/engine/mixture</property>
		<factor>-100</factor>
		<offset-deg>98</offset-deg>
		<center>
			<x-m>-10.87</x-m>
			<y-m>0</y-m>
			<z-m>-6.01</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>1</y>
			<z>0</z>
		</axis>
	</animation>
	
	<!-- FlightStick -->
	<animation>
		<type>rotate</type>
		<object-name>Stick</object-name>	 
		<property>controls/flight/aileron[0]</property>
		<factor>17</factor>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-15.52</x-m>
			<y-m>0</y-m>
			<z-m>-5.94</z-m>
		</center>
		<axis>
			<x>-1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>Stick</object-name>	 
		<property>controls/flight/elevator[0]</property>
		<factor>17</factor>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-15.52</x-m>
			<y-m>0</y-m>
			<z-m>-5.94</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>-1</y>
			<z>0</z>
		</axis>
	</animation>
	
	<!-- Rudder Pedals -->	
	<animation>
		<type>translate</type>
		<object-name>RRudderPed</object-name>
		<property>controls/flight/rudder[0]</property>
		<factor>.05</factor>
		<axis>
			<x>-1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>
	<animation>
		<type>translate</type>
		<object-name>LRudderPed</object-name>
		<property>controls/flight/rudder[0]</property>
		<factor>.05</factor>
		<axis>
			<x>1</x>
			<y>0</y>
			<z>0</z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>LToeBrake</object-name>	 
		<property>controls/gear/brake-left[0]</property>
		<factor>17</factor>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-15.81</x-m>
			<y-m>0</y-m>
			<z-m>-5.87</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>-1</y>
			<z>0</z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>RToeBrake</object-name>	 
		<property>controls/gear/brake-right[0]</property>
		<factor>17</factor>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-15.81</x-m>
			<y-m>0</y-m>
			<z-m>-5.87</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>-1</y>
			<z>0</z>
		</axis>
	</animation>
	<!-- THROTTLE LEVER -->
	<animation>
		<type>rotate</type>
		<object-name>ThrottleLever</object-name>	 
		<property>controls/engines/engine/throttle</property>
		<factor>45</factor>
		<offset-deg>-25</offset-deg>
		<center>
			<x-m>-15.60</x-m>
			<y-m>0</y-m>
			<z-m>-5.81</z-m>
		</center>
		<axis>
			<x>0</x>
			<y>-1</y>
			<z>0</z>
		</axis>
	</animation>	
	<!-- NOZZLE VECTOR LEVER -->
	<animation>
		<type>rotate</type>
		<object-name>VectorLever</object-name>	 
		<property>controls/engines/engine/mixture</property>
		<factor>45</factor>
		<offset-deg>-25</offset-deg>
		<center>

			<x-m>-15.60</x-m>
			<y-m>0</y-m>
			<z-m>-5.81</z-m>			
		</center>
		<axis>
			<x>0</x>
			<y>-1</y>
			<z>0</z>
		</axis>
	</animation>	
	<!-- AAR BOOM -->
	<!-- NOTE: since we cant send properties over mp yet, show the boom to eveyone not using the harrier-->
	<animation>
		<type>select</type>
		<object-name>FuelBoom</object-name>
		<condition>
			<or>
				<equals>
					<property>/sim/weight[7]/selected</property>
					<value>Refueling Boom Attached</value>
				</equals>
				<not>
					<equals>
						<property>/sim/aero</property>
						<value>harrier</value>
					</equals>
				</not>
			</or>
		</condition>
 	</animation>
	
	<!-- Air Brake -->
	<animation>
		<type>rotate</type>
		<object-name>airBrake</object-name>
		<property>surface-positions/speedbrake-pos-norm</property>
		<factor>60</factor>
		<offset-deg>0</offset-deg>
		<center>
			<x-m>-9.42</x-m>
			<y-m>0</y-m>
			<z-m>-6.50</z-m>			
		</center>
		<axis>
			<x>0</x>
			<y>1</y>
			<z>0</z>
		</axis>
 	</animation>
	
	<!-- Intake Doors -->
	<animation>
		<type>select</type>
		<object-name>intakeDoor</object-name>			
		<condition>   
			<greater-than>
				<property>/controls/engines/engine/mixture</property>
				<value>0.7</value>
			</greater-than>
		</condition>
 	</animation>
	
	<!-- nav lights -->
	<animation>
		<type>material</type>
		<object-name>StarboardLight</object-name>
		<emission>
			<red>0.0</red>
			<green>1.0</green>
			<blue>0.0</blue>
		</emission>
	</animation>
	<animation>
		<type>material</type>
		<object-name>PortLight</object-name>
		<object-name>TopLight</object-name>
		<object-name>BottomLight</object-name>
		<emission>
			<red>1.0</red>
			<green>0.0</green>
			<blue>0.0</blue>
		</emission>
	</animation>
	
	<!-- fan blades -->
	<animation>
		<type>spin</type>
		<object-name>FanBlades</object-name>
		<property>engines/engine/n1</property>
		<factor>100</factor>   
		<center>
			<x-m>-14.04</x-m>
			<y-m>-0.02</y-m>
			<z-m>-5.86</z-m>
		</center>
		<axis>
			<x>-1</x>
			<y>0</y>
			<z>0</z>
		</axis>
 	</animation>	
 	
     <animation>
 	 <type>select</type>
	  <object-name>Pilot</object-name>
	  <object-name>Visor</object-name>
	  <object-name>Torso</object-name>
	  <object-name>Mask</object-name>
	  <object-name>Helmet</object-name>
	  <object-name>seat</object-name>
	  <condition>
	   <equals>
	    <property>sim/current-view/internal</property>
	   <value>false</value>
	   </equals>
	 </condition>
      </animation>

		<!-- some of the panel lighting. most of it is done in each instrument's xml
		this turns things black!
	<animation>
		<type>material</type>
		<object-name>Cube.039</object-name>
		<object-name>numPad</object-name>
		<object-name>knobPanel</object-name>	
		<object-name>xtraInsts</object-name>
		<object-name>AuxPanel</object-name>
		<object-name>Knob.003</object-name>
		<object-name>flip</object-name>
		<object-name>RedButton</object-name>
		<object-name>ThrottleBase</object-name>
		<object-name>Cube.027</object-name>
		<object-name>NotAHandle</object-name>
		<emission>
			<red>0.10</red>
			<green>0.05</green>
			<blue>0.0</blue>
			<factor-prop>sim/model/material/instruments/factor</factor-prop>
		</emission>
	</animation>	
	<animation>
		<type>material</type>
		<object-name>Cockpit</object-name>
		<object-name>numPadButtons</object-name>
		<object-name>Knob</object-name>
		<object-name>toggleBase.002</object-name>
		<object-name>HUDframe</object-name>
		<object-name>BubbleFrame</object-name>
		<object-name>MidPanel</object-name>
		<emission>
			<red>0.10</red>
			<green>0.01</green>
			<blue>0.0</blue>
			<factor-prop>sim/model/material/instruments/factor</factor-prop>
		</emission>
	</animation>	-->
	
</PropertyList>
