<?xml version="1.0"?>
<PropertyList include="ask13-main.xml">
	<sim>
		<description>Schleicher ASK13 (JSBSim)</description>
		<author>Benedikt Wolf (D-ECHO), Patrice Poly</author>
		<status>development</status>
		<flight-model>jsb</flight-model>
		<aero>ask13</aero>
		<tags>
			<tag>glider</tag>
			<tag>1960s</tag>
			<tag>1970s</tag>
			<tag>1980s</tag>
			<tag>dual-controls</tag>
		</tags>
		<previews>
			<preview>
				<type>exterior</type>
				<splash type="bool">true</splash>
				<path>Splash/exterior1.jpg</path>
			</preview>
			<preview>
				<type>exterior</type>
				<splash type="bool">true</splash>
				<path>Splash/exterior2.jpg</path>
			</preview>
			<preview>
				<type>exterior</type>
				<splash type="bool">true</splash>
				<path>Splash/exterior3.jpg</path>
			</preview>
			<preview>
				<type>cockpit</type>
				<splash type="bool">true</splash>
				<path>Splash/cockpit1.jpg</path>
			</preview>
			<preview>
				<type>cockpit</type>
				<splash type="bool">true</splash>
				<path>Splash/cockpit2.jpg</path>
			</preview>
			<preview>
				<type>cockpit</type>
				<splash type="bool">true</splash>
				<path>Splash/cockpit3.jpg</path>
			</preview>
		</previews>
		<startup>
			<splash-texture>Aircraft/ASK13/splash.png</splash-texture>
		</startup>
		<sound>
			<path>Aircraft/ASK13/Sounds/ask13-sound.xml</path>
		</sound>
	</sim>
	<payload>
		<weight n="0">
			<name>Pilot</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[0]"/>
			<min-lb type="double">0</min-lb>
			<max-lb type="double">243</max-lb>
		</weight>
		<weight n="1">
			<name>Trim Weight</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[1]"/>
			<min-lb type="double">0</min-lb>
			<max-lb type="double">33</max-lb>
		</weight>
		<weight n="2">
			<name>Copilot</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[2]"/>
			<min-lb type="double">0</min-lb>
			<max-lb type="double">243</max-lb>
		</weight>
	</payload>
	<input>
		<keyboard>
			<key n="23">
				<name>Ctrl-w</name>
				<desc>Place winch in front of aircraft</desc>
				<binding>
					<command>nasal</command>
					<script>
						towing.setWinchPositionAuto();
						settimer(towing.runWinch, 1);
					</script>
				</binding>
				<binding>
					<command>property-assign</command>
					<property>/controls/groundhandling/wingholder</property>
					<value type="bool">true</value>
				</binding>
			</key><!--
			<key n="87">
				<name>W</name>
				<desc>Increase winch speed</desc>
				<binding>
					<command>nasal</command>
					<script>
						towing.winch_faster(0.1);
					</script>
				</binding>
			</key>
			<key n="119">
				<name>w</name>
				<desc>Decrease winch speed</desc>
				<binding>
					<command>nasal</command>
					<script>
						towing.winch_slower(0.1);
					</script>
				</binding>
			</key>-->
			<key n="15">
				<name>Ctrl-o</name>
				<desc>Find aircraft for aerotow</desc>
				<binding>
					<command>nasal</command>
					<script>towing.findBestAIObject()</script>
				</binding>
			</key>
			<key n="111">
				<name>o</name>
				<desc>Open hook</desc>
				<binding>
					<command>property-assign</command>
					<property>/sim/hitches/hook-open</property>
					<value type="bool">true</value>
				</binding>
				<binding>
					<command>property-assign</command>
					<property>/controls/groundhandling/wingholder</property>
					<value type="bool">false</value>
				</binding>
				<binding>
					<command>nasal</command>
					<script>towing.releaseHitch("winch")</script>
				</binding>
				<binding>
					<command>nasal</command>
					<script>towing.releaseHitch("aerotow")</script>
				</binding>
				<mod-up>
					<binding>
						<command>property-assign</command>
						<property>/sim/hitches/hook-open</property>
						<value type="bool">false</value>
					</binding>
				</mod-up>
			</key>
		</keyboard>
	</input>
</PropertyList>
