<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
	<sim>
		<previews>
			<preview>
				<type>cockpit</type>
				<splash type="bool">true</splash>
				<path>Previews/cockpit1.jpg</path>
			</preview>
			<preview>
				<type>exterior</type>
				<splash type="bool">true</splash>
				<path>Previews/exterior1.jpg</path>
			</preview>
			<preview>
				<type>exterior</type>
				<splash type="bool">true</splash>
				<path>Previews/exterior2.jpg</path>
			</preview>
			<preview>
				<type>exterior</type>
				<splash type="bool">true</splash>
				<path>Previews/exterior3.jpg</path>
			</preview>
			<preview>
				<type>exterior</type>
				<splash type="bool">true</splash>
				<path>Previews/exterior4.jpg</path>
			</preview>
		</previews>
		<fuel-fraction>0.5</fuel-fraction>
		<model>
			<path>Aircraft/HK36/Models/hk36.xml</path>
			<towing type="bool">0</towing>
		</model>
		<help include="hk36-help.xml"/>
		<hitches>
			<aerotow>
				<force_name_jsbsim type="string">hitch</force_name_jsbsim>
				<force-is-calculated-by-other type="bool">true</force-is-calculated-by-other>
				<decoupled-force-and-rope-locations type="bool">false</decoupled-force-and-rope-locations>
				<mp-auto-connect-period type="float">1.0</mp-auto-connect-period>
				<tow>
					<brake-force type="float">10000</brake-force>
				</tow>
				<rope>
					<rope-diameter-mm type="float">8</rope-diameter-mm>
				</rope>
			</aerotow>
		</hitches>
		<instrumentation>
			<path>Systems/instrumentation.xml</path>
		</instrumentation>
		<menubar>
			<default>
				<menu n="10">
					<label>Super Dimona</label>
					<enabled type="bool">true</enabled>
					<item>
						<label>Select Livery</label>
						<binding>
							<command>nasal</command>
							<script>aircraft.livery.dialog.toggle()</script>
						</binding>
					</item>
					<item>
						<label>Configuration</label>
						<binding>
							<command>dialog-show</command>
							<dialog-name>hk36-config</dialog-name>
						</binding>
					</item>
					<item>
						<label>Simulation Options</label>
						<binding>
							<command>dialog-show</command>
							<dialog-name>hk36-options</dialog-name>
						</binding>
					</item>
					<item>
						<label>System Failures</label>
						<binding>
							<command>dialog-show</command>
							<dialog-name>hk36-failures</dialog-name>
						</binding>
					</item>
					<item>
						<label>Recharge Battery</label>
						<binding>
							<command>nasal</command>
							<script>hk36.battery.reset_to_full_charge()</script>
						</binding>
					</item>
					<item>
						<label>Aerotow Settings</label>
						<enable>
							<condition>
								<property>sim/model/towing</property>
							</condition>
						</enable>
						<binding>
							<command>dialog-show</command>
							<dialog-name>aerotow_dialog</dialog-name>
						</binding>
					</item>
				</menu>
			</default>
		</menubar>
		<multiplay>
			<generic>
				<int n="0" alias="/sim/model/towing"/>
				<float n="0" alias="/fdm/jsbsim/canopy/position-norm"/>
			</generic>
		</multiplay>
		<view>
			<name>Cockpit View</name>
			<type>lookfrom</type>
			<internal type="bool">true</internal>
			<config>
				<x-offset-m type="double">-0.24</x-offset-m>
				<y-offset-m type="double"> 0.4</y-offset-m>
				<z-offset-m type="double"> 0.398231</z-offset-m>
			</config>
		</view>
		<view n="100">
			<name>Copilot View</name>
			<type>lookfrom</type>
			<internal type="bool">true</internal>
			<config>
				<x-offset-m type="double"> 0.24</x-offset-m>
				<y-offset-m type="double"> 0.4</y-offset-m>
				<z-offset-m type="double"> 0.398231</z-offset-m>
				<pitch-offset-deg>-10</pitch-offset-deg>
				<default-field-of-view-deg type="double">65.0</default-field-of-view-deg>
				<from-model type="bool">true</from-model>
				<from-model-idx type="int">0</from-model-idx>
				<ground-level-nearplane-m type="double">6f</ground-level-nearplane-m>
				<limits>
					<enabled type="bool">true</enabled>
					<left>
						<heading-max-deg type="double">140</heading-max-deg>
						<x-offset-max-m type="double">0.15</x-offset-max-m>
						<x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
					</left>
					<right>
						<heading-max-deg type="double">140</heading-max-deg>
						<x-offset-max-m type="double">0.15</x-offset-max-m>
						<x-offset-threshold-deg type="double">65</x-offset-threshold-deg>
					</right>
				</limits>
			</config>
		</view>
		<sound>
			<path>Sounds/hk36-sound.xml</path>
		</sound>
		<systems path="Systens/systems.xml">
			<instrumentation path="Systems/instrumentation.xml"/>
			<electrical>
				<path></path>
			</electrical>
			<property-rule n="100">
				<name>Electrical Outputs Management</name>
				<path>Systems/electrical.xml</path>
			</property-rule>
		</systems>
		<aircraft-data>
			<path>/sim/model/towing</path>
			<path>/systems/electrical/battery-charge-percent</path>
			<path>/systems/electrical/save-battery-charge</path>
			<path>/options/mixture-to-airbrake</path>
		</aircraft-data>
	</sim>
	<controls>
		<switches>
			<master type="bool">0</master>
			<mode type="bool">0</mode>	<!-- 0=soaring 1=power flight -->
			<fuelpump type="bool">0</fuelpump>
			<pos type="bool">0</pos>
			<acl type="bool">0</acl>
			<ldg type="bool">0</ldg>
			<instr type="bool">0</instr>
		</switches>
		<circuit-breakers>
			<main type="bool">1</main>
			<comm n="0" type="bool">1</comm>
			<gps type="bool">1</gps>
			<transponder type="bool">1</transponder>
			<att-gyro type="bool">1</att-gyro>
			<engine n="0" type="bool">1</engine>
			<engine n="1" type="bool">1</engine>
		</circuit-breakers>
	</controls>
	<input>
		<keyboard>
			<key n="70">
				<name>F</name>
				<desc>Propeller Unfeather</desc>
				<binding>
					<command>property-assign</command>
					<property>/controls/engines/engine[0]/propeller-feather</property>
					<value>0</value>
				</binding>
			</key>
			<key n="102">
				<name>f</name>
				<desc>Propeller Feather</desc>
				<binding>
					<command>property-assign</command>
					<property>/controls/engines/engine[0]/propeller-feather</property>
					<value>1</value>
				</binding>
			</key>
			<key n="111">
				<name>o</name>
				<desc>Release Tow Hook</desc>
				<binding>
					<command>property-assign</command>
					<property>/fdm/jsbsim/fcs/tow/hook-lever</property>
					<value>1</value>
				</binding>
				<binding>
					<command>nasal</command>
					<script>
						towing.releaseHitch("aerotow");
					</script>
				</binding>
				<mod-up>
					<binding>
						<command>property-assign</command>
						<property>/fdm/jsbsim/fcs/tow/hook-lever</property>
						<value>0</value>
					</binding>
				</mod-up>
			</key>
		</keyboard>
	</input>
	<instrumentation>
		<altimeter n="1">
			<serviceable type="bool">1</serviceable>
		</altimeter>
		<attitude-indicator>
			<caged-flag type="bool">0</caged-flag>
		</attitude-indicator>
		<comm>
			<serviceable-int type="int">0</serviceable-int>
			<current-change type="int">0</current-change>
			<sql-ic-pressed type="bool">0</sql-ic-pressed>
			<intercom type="bool">0</intercom>
			<sq type="bool">0</sq>
			<start type="double">0</start>
			<pilot-menu type="int">0</pilot-menu>
			<channel-menu type="int">0</channel-menu>
			<brightness type="double">0.7</brightness>
			<squelch-lim type="double">8</squelch-lim>
			<selected-channel type="int">0</selected-channel>
			<volume type="double">0.5</volume>
		</comm>
		<transponder>
			<id-code type="int">7000</id-code>
		</transponder>
		<gps100>
			<backlighting-factor type="double">0.0</backlighting-factor>
			<buttons>
				<ent type="bool">0</ent>
			</buttons>
		</gps100>
	</instrumentation>
	<limits>	
		<vne>141</vne>	<!--	exception: H36	-->
		<max-positive-g>5.3</max-positive-g>
		<max-negative-g>-2.65</max-negative-g>
		<mass-and-balance>
			<maximum-takeoff-mass-lbs>1698</maximum-takeoff-mass-lbs>
			<maximum-landing-mass-lbs>1698</maximum-landing-mass-lbs>
			<cg>	<!--	exception: H36	-->
				<dimension>m</dimension>
				<limit>
					<entry>
						<position type="double">0.318</position>
						<mass-lbs type="double">1698</mass-lbs>
					</entry>
					<entry>
						<position type="double">0.430</position>
						<mass-lbs type="double">1698</mass-lbs>
					</entry>
				</limit>
			</cg>
		</mass-and-balance>
	</limits>
	<options>
		<mixture-to-airbrake type="bool">false</mixture-to-airbrake>
	</options>
	<payload>
		<weight n="0">
			<name>Pilot</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[0]"/>
			<min-lb type="double">121</min-lb>
			<max-lb type="double">243</max-lb>
		</weight>
		<weight n="1">
			<name>Copilot</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[1]"/>
			<min-lb type="double">0</min-lb>
			<max-lb type="double">243</max-lb>
		</weight>
		<weight n="2">
			<name>Baggage</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[2]"/>
			<min-lb type="double">0</min-lb>
			<max-lb type="double">26</max-lb>
		</weight>
	</payload>
	<nasal>
		<updateloop>
			<file>Aircraft/Generic/updateloop.nas</file>
		</updateloop>
		<hk36>
			<file>Aircraft/HK36/Nasal/hk36.nas</file>
			<file>Aircraft/HK36/Nasal/electrical.nas</file>
			<file>Aircraft/HK36/Nasal/engine-rotax914.nas</file>
			<file>Aircraft/HK36/Nasal/placard-management.nas</file>
			<file>Aircraft/Generic/limits.nas</file>
		</hk36>
		<ar6201>
			<file>Aircraft/Instruments-3d/ar-6201/ar6201.nas</file>
		</ar6201>
		<flarm>
			<file>Aircraft/Instruments-3d/glider/flarm/flarm.nas</file>
		</flarm>
		<canvas_gps100>
			<file>Aircraft/HK36/Models/Instruments/GPS100/gps100.nas</file>
		</canvas_gps100>
		<gtx328>
			<file>Aircraft/HK36/Models/Instruments/GTX328/gtx328.nas</file>
		</gtx328>
	</nasal>
	<systems>
		<electrical>
			<amps type="double">0.0</amps>
			<outputs>
				<fuel-quantity-indicator type="double">0.0</fuel-quantity-indicator>
				<cht-indicator type="double">0.0</cht-indicator>
				<oil-temp-indicator type="double">0.0</oil-temp-indicator>
				<oil-press-indicator type="double">0.0</oil-press-indicator>
				<attitude-indicator type="double">0.0</attitude-indicator>
				<comm n="0" type="double">0.0</comm>
				<gps type="double">0.0</gps>
				<boost-fuel-pump type="double">0.0</boost-fuel-pump>
				<engine-fuel-pump type="double">0.0</engine-fuel-pump>
			</outputs>
		</electrical>
	</systems>
</PropertyList>
