<?xml version="1.0"?>
<PropertyList>
	<path>canopy.ac</path>
	<!--Canopy-->
	<animation>
		<name>canopyfull</name>
		<object-name>canopy-out</object-name>
		<object-name>canopy-int-front</object-name>
		<object-name>canopy-int-rear</object-name>
		<object-name>window-front</object-name>
		<object-name>window-front.out</object-name>
		<object-name>window-rear</object-name>
		<object-name>window-rear.out</object-name>
		<object-name>canopy-frame-1</object-name>
		<object-name>canopy-frame-2</object-name>
		<object-name>canopyhandle.left1</object-name>
		<object-name>canopyhandle.left2</object-name>
		<object-name>canopyhandle.right1</object-name>
		<object-name>canopyhandle.right2</object-name>
		<object-name>wool-thread</object-name>
	</animation>
	<animation>
		<type>pick</type>
		<object-name>canopyfull</object-name>
		<visible>true</visible>
		<action>
			<button>0</button>
			<repeatable>false</repeatable>
			<binding>
				<condition>
					<and>
						<greater-than>
							<property>controls/canopy/lock-left</property>
							<value>0.8</value>
						</greater-than>
						<less-than>
							<property>controls/canopy/lock-right</property>
							<value>0.5</value>
						</less-than>
					</and>
				</condition>
				<command>property-toggle</command>
				<property>canopy/normal-cmd</property>
			</binding>
			<binding>
				<condition>
					<and>
						<greater-than>
							<property>controls/canopy/lock-left</property>
							<value>0.8</value>
						</greater-than>
						<greater-than>
							<property>controls/canopy/lock-right</property>
							<value>0.5</value>
						</greater-than>
						<greater-than>
							<property>velocities/airspeed-kt</property>
							<value>20</value>
						</greater-than>
					</and>
				</condition>
				<command>property-toggle</command>
				<property>canopy/jettison-cmd</property>
			</binding>
			<binding>
				<condition>
					<and>
						<greater-than>
							<property>controls/canopy/lock-left</property>
							<value>0.8</value>
						</greater-than>
						<greater-than>
							<property>controls/canopy/lock-right</property>
							<value>0.5</value>
						</greater-than>
						<less-than-equals>
							<property>velocities/airspeed-kt</property>
							<value>20</value>
						</less-than-equals>
					</and>
				</condition>
				<command>nasal</command>
				<script>screen.log.write("You can't jettison the canopy without airspeed. To open it normally, only pull back the left handles and leave the right handles pushed forward");</script>
			</binding>
		</action>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>canopyfull</object-name>
		<property>canopy/normal-pos-norm</property>
		<interpolation>
			<entry>
				<ind> 0.0 </ind>
				<dep> 0.0 </dep>
			</entry>
			<entry>
				<ind> 0.2 </ind>
				<dep> -1 </dep>
			</entry>
			<entry>
				<ind> 1.0 </ind>
				<dep> -85 </dep>
			</entry>
		</interpolation>
		<axis>
			<x1-m>1.02097</x1-m>
			<y1-m>0.2968</y1-m>
			<z1-m>0.29843</z1-m>
			<x2-m>1.98815</x2-m>
			<y2-m>0.30346</y2-m>
			<z2-m>0.47223</z2-m>
		</axis>
	</animation>
	<animation>
		<type>rotate</type>
		<object-name>canopyfull</object-name>
		<property>canopy/jettison-pos-norm</property>
		<factor>90</factor>
		<axis>
			<y>1</y>
		</axis>
		<center>
			<x-m>2.7</x-m>
			<z-m>1</z-m>
		</center>
	</animation>
	<!--Canopy handle LEFT-->
	<animation>
		<type>slider</type>
		<object-name>canopyhandle.left1</object-name>
		<object-name>canopyhandle.left2</object-name>
		<drag-direction>horizontal</drag-direction>
		<action>
			<binding>
				<condition>
					<equals>
						<property>canopy/normal-pos-norm</property>
						<value>0</value>
					</equals>
				</condition>
				<command>property-adjust</command>
				<property>controls/canopy/lock-left</property>
				<factor>-0.1</factor>
				<min>0</min>
				<max>1</max>
				<wrap>0</wrap>
			</binding>
		</action>
		<hovered>
			<binding>
				<command>set-tooltip</command>
				<tooltip-id>canopyL</tooltip-id>
				<mapping>open-close</mapping>
				<label>Canopy Lock Left: %s</label>
				<property>controls/canopy/lock-left</property>
			</binding>
		</hovered>
	</animation>
	<animation>
		<type>translate</type>
		<object-name>canopyhandle.left1</object-name>
		<object-name>canopyhandle.left2</object-name>
		<property>controls/canopy/lock-left</property>
		<factor>0.05</factor>
		<axis>
			<x1-m>1.02097</x1-m>
			<y1-m>-0.2578</y1-m>
			<z1-m>0.29843</z1-m>
			<x2-m>1.98815</x2-m>
			<y2-m>-0.2703</y2-m>
			<z2-m>0.47223</z2-m>
		</axis>
	</animation>
	<!--Canopy JETTISON handle RIGHT-->
	<animation>
		<type>slider</type>
		<object-name>canopyhandle.right1</object-name>
		<object-name>canopyhandle.right2</object-name>
		<drag-direction>horizontal</drag-direction>
		<action>
			<binding>
				<condition>
					<equals>
						<property>canopy/jettison-pos-norm</property>
						<value>0</value>
					</equals>
				</condition>
				<command>property-adjust</command>
				<property>controls/canopy/lock-right</property>
				<factor>0.1</factor>
				<min>0</min>
				<max>1</max>
				<wrap>0</wrap>
			</binding>
		</action>
		<hovered>
			<binding>
				<command>set-tooltip</command>
				<tooltip-id>canopyR</tooltip-id>
				<mapping>open-close</mapping>
				<label>Canopy JETTISON LOCK: %s</label>
				<property>controls/canopy/lock-right</property>
			</binding>
		</hovered>
	</animation>
	<animation>
		<type>translate</type>
		<object-name>canopyhandle.right1</object-name>
		<object-name>canopyhandle.right2</object-name>
		<property>controls/canopy/lock-right</property>
		<factor>0.05</factor>
		<axis>
			<x1-m>1.02097</x1-m>
			<y1-m>-0.2578</y1-m>
			<z1-m>0.29843</z1-m>
			<x2-m>1.98815</x2-m>
			<y2-m>-0.2703</y2-m>
			<z2-m>0.47223</z2-m>
		</axis>
	</animation>
	<!--Pilot Window-->
	<animation>
		<type>slider</type>
		<object-name>window-front</object-name>
		<object-name>window-front.out</object-name>
		<drag-direction>horizontal</drag-direction>
		<action>
			<binding>
				<command>property-adjust</command>
				<property>controls/canopy/window-front</property>
				<factor>-0.05</factor>
				<min>0</min>
				<max>1</max>
				<wrap>0</wrap>
			</binding>
		</action>
		<hovered>
			<binding>
				<command>set-tooltip</command>
				<tooltip-id>windowF</tooltip-id>
				<label>Front Window: %3d%% open</label>
				<mapping>percent</mapping>
				<property>controls/canopy/window-front</property>
			</binding>
		</hovered>
	</animation>
	<animation>
		<type>translate</type>
		<object-name>window-front</object-name>
		<object-name>window-front.out</object-name>
		<property>controls/canopy/window-front</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>0.1</ind>
				<dep>0.01</dep>
			</entry>
			<entry>
				<ind>1</ind>
				<dep>0.01</dep>
			</entry>
		</interpolation>
		<axis>
			<y>1</y>
		</axis>
	</animation>
	<animation>
		<type>translate</type>
		<object-name>window-front</object-name>
		<object-name>window-front.out</object-name>
		<property>controls/canopy/window-front</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>0.1</ind>
				<dep>0.0</dep>
			</entry>
			<entry>
				<ind>1</ind>
				<dep>0.2</dep>
			</entry>
		</interpolation>
		<axis>
			<x1-m>1.07267</x1-m>
			<y1-m>-0.28993</y1-m>
			<z1-m>0.36124</z1-m>
			<x2-m>1.46487</x2-m>
			<y2-m>-0.3039</y2-m>
			<z2-m>0.43211</z2-m>
		</axis>
	</animation>
	<!--Copilot/Instructor Window-->
	<animation>
		<type>slider</type>
		<object-name>window-rear</object-name>
		<object-name>window-rear.out</object-name>
		<drag-direction>horizontal</drag-direction>
		<action>
			<binding>
				<command>property-adjust</command>
				<property>controls/canopy/window-rear</property>
				<factor>-0.05</factor>
				<min>0</min>
				<max>1</max>
				<wrap>0</wrap>
			</binding>
		</action>
		<hovered>
			<binding>
				<command>set-tooltip</command>
				<tooltip-id>windowR</tooltip-id>
				<label>Rear Window: %3d%% open</label>
				<mapping>percent</mapping>
				<property>controls/canopy/window-rear</property>
			</binding>
		</hovered>
	</animation>
	<animation>
		<type>translate</type>
		<object-name>window-rear</object-name>
		<object-name>window-rear.out</object-name>
		<property>controls/canopy/window-rear</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>0.1</ind>
				<dep>0.01</dep>
			</entry>
			<entry>
				<ind>1</ind>
				<dep>0.01</dep>
			</entry>
		</interpolation>
		<axis>
			<y>1</y>
		</axis>
	</animation>
	<animation>
		<type>translate</type>
		<object-name>window-rear</object-name>
		<object-name>window-rear.out</object-name>
		<property>controls/canopy/window-rear</property>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep>0</dep>
			</entry>
			<entry>
				<ind>0.1</ind>
				<dep>0.0</dep>
			</entry>
			<entry>
				<ind>1</ind>
				<dep>0.2</dep>
			</entry>
		</interpolation>
		<axis>
			<x1-m>1.02097</x1-m>
			<y1-m>-0.2578</y1-m>
			<z1-m>0.29843</z1-m>
			<x2-m>1.98815</x2-m>
			<y2-m>-0.2703</y2-m>
			<z2-m>0.47223</z2-m>
		</axis>
	</animation>
</PropertyList>
