<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
	<path>ch750stol.ac</path>
	<effect>
		<inherits-from>Effects/interior/interior-shadow</inherits-from>
		<object-name>doorL</object-name>
		<object-name>doorR</object-name>
	</effect>
	<nasal>
		<load>
			var livery_update = aircraft.livery_update.new("Aircraft/CH750STOL/Models/Liveries", 10);
		</load>
		<unload>
			livery_update.stop();
		</unload>
	</nasal>
	<effect>
		<inherits-from>Effects/model-transparent</inherits-from>
		<object-name>windows</object-name>
		<object-name>windowLF</object-name>
		<object-name>windowRF</object-name>
		<object-name>windshield.frame</object-name>
	</effect>
	<animation>
		<type>noshadow</type>
		<object-name>windows</object-name>
		<object-name>windowLF</object-name>
		<object-name>windowRF</object-name>
		<object-name>windshield.frame</object-name>
	</animation>
	<model>
		<path>Interior/interior.xml</path>
	</model>
	<model>
		<path>Effects/shadow.xml</path>
	</model>
	<animation>
		<type>spin</type>
		<object-name>prop1</object-name>
		<object-name>prop2</object-name>
		<property>/engines/engine[0]/rpm</property>
		<factor> 1 </factor>
		<axis>
			<x> -1 </x>
			<y>  0 </y>
			<z>  0 </z>
		</axis>
	</animation>
	<!--FLIGHT CONTROL SURFACES-->
	<animation>
		<type>rotate</type>
		<object-name>Left</object-name>
		<property>fdm/jsbsim/fcs/left-flaperon-pos-deg</property>
		<factor> 1 </factor>
		<axis>
			<x1-m>1.14328 </x1-m>
			<y1-m>-3.95048</y1-m>
			<z1-m> 0.53873 </z1-m>
			<x2-m> 1.13866</x2-m>
			<y2-m> -0.83137 </y2-m>
			<z2-m> 0.463718 </z2-m>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>Right</object-name>
		<property>fdm/jsbsim/fcs/right-flaperon-pos-deg</property>
		<factor> -1 </factor>
		<axis>
			<x1-m>1.14328 </x1-m>
			<y1-m>3.95048</y1-m>
			<z1-m> 0.53873 </z1-m>
			<x2-m> 1.13866</x2-m>
			<y2-m> 0.83137 </y2-m>
			<z2-m> 0.463718 </z2-m>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>elevator</object-name>
		<object-name>elevatortrim</object-name>
		<property>surface-positions/elevator-pos-norm</property>
		<factor> 20 </factor>
		<center>
			<x-m>  4.69614 </x-m>
			<z-m> 0.66158 </z-m>
		</center>
		<axis>
			<x> 0 </x>
			<y> 1 </y>
			<z> 0 </z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>elevatortrim</object-name>
		<property>surface-positions/elevator-trim-norm</property>
		<factor> 25 </factor>
		<center>
			<x-m> 4.89993 </x-m>
			<y-m>  0.000 </y-m>
			<z-m>0.69263 </z-m>
		</center>
		<axis>
			<x> 0 </x>
			<y> 1 </y>
			<z> 0 </z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>rudder</object-name>
		<property>surface-positions/rudder-pos-norm</property>
		<factor> 20 </factor>
		<axis>
			<x1-m>  4.8559 </x1-m>
			<y1-m>  0.000 </y1-m>
			<z1-m> 0.30916 </z1-m>
			<x2-m>  4.89935 </x2-m>
			<y2-m>  0.000 </y2-m>
			<z2-m>  0.54571 </z2-m>
		</axis>
	</animation>
	<!-- DOORS -->
	<animation>
		<name>doorleft</name>
		<object-name>doorL</object-name>
		<object-name>windowLF</object-name>
		<object-name>door.handle.L</object-name>
	</animation>
	<animation>
		<type>pick</type>
		<object-name>door.handle.L</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-toggle</command>
				<property>ch750stol/door-left-cmd</property>
			</binding>
		</action>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>door.handle.L</object-name>
		<property>ch750stol/door-left-norm</property>
		<interpolation>
			<entry>
				<ind> 0 </ind>
				<dep>  0 </dep>
			</entry>
			<entry>
				<ind> 0.2 </ind>
				<dep>  -120 </dep>
			</entry>
			<entry>
				<ind> 1 </ind>
				<dep> -120 </dep>
			</entry>
		</interpolation>
		<center>
			<x-m> -0.04529</x-m>
			<y-m> -0.51726 </y-m>
			<z-m>-0.25449</z-m>
		</center>
		<axis>
			<x> 0 </x>
			<y> 1 </y>
			<z>0 </z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>doorleft</object-name>
		<property>ch750stol/door-left-norm</property>
		<interpolation>
			<entry>
				<ind> 0 </ind>
				<dep>  0 </dep>
			</entry>
			<entry>
				<ind> 0.2 </ind>
				<dep>  0 </dep>
			</entry>
			<entry>
				<ind> 1 </ind>
				<dep> -70 </dep>
			</entry>
		</interpolation>
		<center>
			<x-m> 0.55109 </x-m>
			<y-m> -0.51726 </y-m>
			<z-m>0.49834 </z-m>
		</center>
		<axis>
			<x> 1 </x>
			<y> 0 </y>
			<z>0 </z>
		</axis>
	</animation>
	<animation>
		<name>doorright</name>
		<object-name>doorR</object-name>
		<object-name>windowRF</object-name>
		<object-name>door.handle.R</object-name>
	</animation>
	<animation>
		<type>pick</type>
		<object-name>door.handle.R</object-name>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<command>property-toggle</command>
				<property>ch750stol/door-right-cmd</property>
			</binding>
		</action>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>door.handle.R</object-name>
		<property>ch750stol/door-right-norm</property>
		<interpolation>
			<entry>
				<ind> 0 </ind>
				<dep>  0 </dep>
			</entry>
			<entry>
				<ind> 0.2 </ind>
				<dep>  -120 </dep>
			</entry>
			<entry>
				<ind> 1 </ind>
				<dep> -120 </dep>
			</entry>
		</interpolation>
		<center>
			<x-m> -0.04529</x-m>
			<y-m> -0.51726 </y-m>
			<z-m>-0.25449</z-m>
		</center>
		<axis>
			<x> 0 </x>
			<y> 1 </y>
			<z>0 </z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>doorright</object-name>
		<property>ch750stol/door-right-norm</property>
		<interpolation>
			<entry>
				<ind> 0 </ind>
				<dep>  0 </dep>
			</entry>
			<entry>
				<ind> 0.2 </ind>
				<dep>  0 </dep>
			</entry>
			<entry>
				<ind> 1 </ind>
				<dep> 70 </dep>
			</entry>
		</interpolation>
		<center>
			<x-m> 0.55109 </x-m>
			<y-m> 0.51726 </y-m>
			<z-m>0.49834 </z-m>
		</center>
		<axis>
			<x> 1 </x>
			<y> 0 </y>
			<z>0 </z>
		</axis>
	</animation>
	<!-- LIGHTS -->
	<model>
		<name>leftnav_std</name>
		<path>Lights/standard/redlight.xml</path>
		<offsets>
			<x-m> 0.18085 </x-m>
			<y-m> -4.49005 </y-m>
			<z-m>  0.83577 </z-m>
		</offsets>
	</model>
	<model>
		<name>rightnav_std</name>
		<path>Lights/standard/greenlight.xml</path>
		<offsets>
			<x-m> 0.18085 </x-m>
			<y-m> 4.49005 </y-m>
			<z-m>  0.83577 </z-m>
		</offsets>
	</model>
	<model>
		<name>leftnav_ALS</name>
		<path>Lights/ALS/red-navlight.xml</path>
		<offsets>
			<x-m> 0.18085 </x-m>
			<y-m> -4.49005 </y-m>
			<z-m>  0.83577 </z-m>
		</offsets>
	</model>
	<model>
		<name>rightnav_ALS</name>
		<path>Lights/ALS/green-navlight.xml</path>
		<offsets>
			<x-m> 0.18085 </x-m>
			<y-m> 4.49005 </y-m>
			<z-m>  0.83577 </z-m>
		</offsets>
	</model>
	<model>
		<name>strobe_std1</name>
		<path>Lights/standard/strobewhite.xml</path>
		<offsets>
			<x-m> 0.2 </x-m>
			<y-m>  4.49005</y-m>
			<z-m>  0.83577 </z-m>
		</offsets>
	</model>
	<model>
		<name>strobe_std2</name>
		<path>Lights/standard/strobewhite.xml</path>
		<offsets>
			<x-m> 0.2 </x-m>
			<y-m> -4.49005</y-m>
			<z-m>  0.83577 </z-m>
		</offsets>
	</model>
	<model>
		<name>strobe_ALS1</name>
		<path>Lights/ALS/left-strobe.xml</path>
		<offsets>
			<x-m> 0.2 </x-m>
			<y-m> -4.49005</y-m>
			<z-m>  0.83577 </z-m>
		</offsets>
	</model>
	<model>
		<name>strobe_ALS2</name>
		<path>Lights/ALS/right-strobe.xml</path>
		<offsets>
			<x-m> 0.2 </x-m>
			<y-m>  4.49005</y-m>
			<z-m>  0.83577 </z-m>
		</offsets>
	</model>
	<model>
		<name>landing_ALS</name>
		<path>Lights/ALS/landinglight.xml</path>
		<offsets>
			<x-m> -0.1564 </x-m>
			<y-m> -4.0698 </y-m>
			<z-m>  0.7242 </z-m>
		</offsets>
	</model>
	<model>
		<name>landing_std</name>
		<path>Lights/standard/landinglight.xml</path>
		<offsets>
			<x-m> -0.1564 </x-m>
			<y-m> -4.0698 </y-m>
			<z-m>  0.7242 </z-m>
		</offsets>
	</model>
	<animation>
		<type>select</type>
		<object-name>landing_std</object-name>
		<object-name>strobe_std1</object-name>
		<object-name>strobe_std2</object-name>
		<object-name>leftnav_std</object-name>
		<object-name>rightnav_std</object-name>
		<condition>
			<not>
				<property>/sim/rendering/shaders/skydome</property>
			</not>
		</condition>
	</animation>
	<animation>
		<type>select</type>
		<object-name>landing_ALS</object-name>
		<object-name>strobe_ALS1</object-name>
		<object-name>strobe_ALS2</object-name>
		<object-name>leftnav_ALS</object-name>
		<object-name>rightnav_ALS</object-name>
		<condition>
			<property>/sim/rendering/shaders/skydome</property>
		</condition>
	</animation>
	<!--LANDING GEAR-->
	<animation>
		<type>translate</type>
		<object-name>gearF</object-name>
		<object-name>wheelF</object-name>
		<property>gear/gear[0]/compression-ft</property>
		<factor>0.3048</factor>
		<axis>
			<x> 0.1 </x>
			<y> 0 </y>
			<z> 1 </z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>gearF</object-name>
		<object-name>wheelF</object-name>
		<property>controls/flight/rudder</property>
		<factor>45</factor>
		<center>
			<x-m>-0.72178 </x-m>
			<y-m>0.0</y-m>
			<z-m> -0.39189 </z-m>
		</center>
		<axis>
			<x> 0 </x>
			<y> 0 </y>
			<z> -1 </z>
		</axis>
	</animation>
	<animation>
		<type>spin</type>
		<object-name>wheelF</object-name>
		<property>gear/gear[0]/rollspeed-ms</property>
		<factor>10</factor>
		<center>
			<x-m>-0.81629 </x-m>
			<z-m>-0.92155</z-m>
		</center>
		<axis>
			<x> 0 </x>
			<y> -1 </y>
			<z> 0 </z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>gearL</object-name>
		<object-name>wheelL</object-name>
		<property>gear/gear[1]/compression-ft</property>
		<interpolation>
			<entry>
				<ind> 0 </ind>
				<dep>  0 </dep>
			</entry>
			<entry>
				<ind> 1 </ind>
				<dep> -38.39 </dep>
			</entry>
		</interpolation>
		<center>
			<x-m>0.55576 </x-m>
			<y-m> -0.59686</y-m>
			<z-m> -0.51001 </z-m>
		</center>
		<axis>
			<x> 1 </x>
			<y> 0 </y>
			<z> 0 </z>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>gearR</object-name>
		<object-name>wheelR</object-name>
		<property>gear/gear[2]/compression-ft</property>
		<interpolation>
			<entry>
				<ind> 0 </ind>
				<dep>  0 </dep>
			</entry>
			<entry>
				<ind> 1 </ind>
				<dep> 38.39 </dep>
			</entry>
		</interpolation>
		<center>
			<x-m>0.55576 </x-m>
			<y-m> 0.59686</y-m>
			<z-m> -0.51001 </z-m>
		</center>
		<axis>
			<x> 1 </x>
			<y> 0 </y>
			<z> 0 </z>
		</axis>
	</animation>
</PropertyList>
