<?xml version="1.0" encoding="UTF-8"?>
<PropertyList include="Aircraft/Generic/Human/Include/walker-include.xml">
	<sim>
		<author>hydroz.net (3D model); D-ECHO (adapted for fg) and more (see README)</author>
		<description>Zenith Air CH750 STOL JSB</description>
		<aircraft-version>0.2</aircraft-version>
		<status>early production</status>
		<rating>
			<FDM type="int">1</FDM>
			<systems type="int">3</systems>
			<cockpit type="int">4</cockpit>
			<model type="int">3</model>
		</rating>
		<flight-model archive="y">jsb</flight-model>
		<aero archive="y">CH750</aero>
		<startup>
			<splash-texture>Aircraft/CH750STOL/splash.png</splash-texture>
		</startup>
		<systems>
			<property-rule n="100">
				<name>shadow-sys</name>
				<path>Systems/shadow-system.xml</path>
			</property-rule>
			<property-rule n="101">
				<name>model</name>
				<path>Systems/model.xml</path>
			</property-rule>
			<electrical>
				<path></path>
			</electrical>
		</systems>
		<previews>
			<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>exterior</type>
				<splash type="bool">true</splash>
				<path>Splash/exterior1.jpg</path>
			</preview>
		</previews>
		<sound>
			<path archive="y">Aircraft/CH750STOL/Sounds/sound.xml</path>
		</sound>
		<model>
			<path archive="y">Aircraft/CH750STOL/Models/ch750stol.xml</path>
			<livery>
				<file type="string">default</file>
			</livery>
		</model>
		<fuel-fraction>1.0</fuel-fraction>
		<instrumentation>
			<path>Systems/instrumentation.xml</path>
		</instrumentation>
		<multiplay>
			<chat_display>1</chat_display>
			<generic>
				<int type="int" n="0">  0 </int>
				<!-- 0 immat -->
				<int type="int" n="1">  0 </int>
				<!-- 1 immat -->
				<int type="int" n="2">  0 </int>
				<!-- 2 immat -->
				<int type="int" n="3">  0 </int>
				<!-- 3 immat -->
				<int type="int" n="4">  0 </int>
				<!-- 4 immat -->
				<int type="int" n="5">  0 </int>
				<!-- 5 immat -->
				<int type="bool" n="6"> 0 </int>
				<!-- 6 smoke -->
				<int type="int" n="7">  0 </int>
				<!-- 7 color -->
				<int n="8" alias="/systems/electrical/outputs/nav-lights">  0 </int>
				<!-- 8 nav-lights -->
				<int n="9" alias="/sim/model/lights/beacon/state">  false </int>
				<!-- 9 strobe-lights -->
				<int n="10" alias="/controls/electric/key-pos">  0 </int>
				<!-- 10 key position -->
				<int n="11" alias="/systems/electrical/outputs/landing-lights">  0 </int>
				<!-- 9 landing-lights -->
				<int n="12" alias="/systems/electrical/outputs/beacon">  0 </int>
				<!-- 9 landing-lights -->
				<float n="2" alias="/position/gear-agl-m">  0 </float>
				<!-- 11 altitude for MP shadow -->
				<float n="0" alias="/ch750stol/door-left-norm"/>
				<float n="1" alias="/ch750stol/door-right-norm"/>
			</generic>
		</multiplay>
		<help>
			<title>Zenith Aircraft CH750 STOL</title>
			<line>______________________________________________</line>
			<key>
				<name>B (Shift-B)</name>
				<desc>Parking brake</desc>
			</key>
		</help>
		<ch750>
			<state type="int">0</state>
			<airspeed-kmh type="float">0</airspeed-kmh>
			<engine-rpm type="float">0</engine-rpm>
			<engine-volume-low-rpm type="float">0</engine-volume-low-rpm>
			<engine-volume-high-rpm type="float">0</engine-volume-high-rpm>
		</ch750>
		<flaps>
			<setting> 0.00 </setting>
			<!--  Cruise -->
			<setting> 0.16 </setting>
			<setting> 0.33 </setting>
			<!-- 1 Flaps -->
			<setting> 0.49 </setting>
			<setting> 0.66 </setting>
			<!-- 2 Flaps -->
			<setting> 0.83 </setting>
			<setting> 1.00 </setting>
			<!--    Full -->
		</flaps>
		<!-- Save some properties when the simulator is shut down -->
		<aircraft-data>
			<path>/ch750stol/human-enabled</path>
			<path>/ch750stol/human-always-enabled</path>
			<path>/ch750stol/shadow</path>
			<path>/sim/weight[0]/weight-lb</path>
			<path>/sim/weight[1]/weight-lb</path>
			<path>/sim/weight[2]/weight-lb</path>
		</aircraft-data>
		<weight n="0">
			<name>Pilot</name>
			<weight-lb>180</weight-lb>
			<max-lb>240</max-lb>
			<min-lb>140</min-lb>
		</weight>
		<weight n="1">
			<name>Pax</name>
			<weight-lb>0</weight-lb>
			<max-lb>240</max-lb>
			<min-lb>0</min-lb>
		</weight>
		<weight n="2">
			<name>Baggage</name>
			<weight-lb>0</weight-lb>
			<max-lb>20</max-lb>
			<min-lb>0</min-lb>
		</weight>
		<menubar>
			<default>
				<menu n="10">
					<label>Zenith Aircraft CH750 STOL</label>
					<enabled type="bool">true</enabled>
					<item>
						<label>Autostart</label>
						<binding>
							<command>property-toggle</command>
							<property>sim/model/start-idling</property>
						</binding>
					</item>
					<item>
						<label>Select Livery</label>
						<binding>
							<command>nasal</command>
							<script>aircraft.livery.dialog.toggle()</script>
						</binding>
					</item>
					<item>
						<label>Options</label>
						<binding>
							<command>dialog-show</command>
							<dialog-name>options_dialog_ch750</dialog-name>
						</binding>
					</item>
				</menu>
			</default>
		</menubar>
		
		<chase-distance-m type="double" archive="y"> -10 </chase-distance-m>

		<view n="100">
			<name>Passenger Seat View</name>
			<internal archive="y">true</internal>
			<type>lookfrom</type>
			<config>
				<from-model type="bool">true</from-model>
				<ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
				<dynamic-view type="bool">true</dynamic-view>
				<x-offset-m archive="y"> 0.29359</x-offset-m>	<!-- Right -->
				<y-offset-m archive="y">  0.3972 </y-offset-m>	<!-- Up    -->
				<z-offset-m archive="y"> 0.72797</z-offset-m>	<!-- Back  -->
				<pitch-offset-deg> -11 </pitch-offset-deg>
				<default-field-of-view-deg> 70 </default-field-of-view-deg>
			</config>
		</view>

		<view n="101">
			<name>Tail Camera View</name>
			<type>lookfrom</type>
			<internal archive="y">true</internal>
			<config>
				<from-model type="bool">true</from-model>
				<from-model-idx type="int">0</from-model-idx>
				<ground-level-nearplane-m type="double">0.01f</ground-level-nearplane-m>
				<dynamic-view type="bool">false</dynamic-view>
				<x-offset-m archive="y"> 0.000 </x-offset-m> <!--Right-->
				<y-offset-m archive="y"> 1.61083 </y-offset-m> <!--Up-->
				<z-offset-m archive="y"> 5.04172 </z-offset-m> <!--Back-->
				<pitch-offset-deg> -15 </pitch-offset-deg>
				<default-field-of-view-deg type="double"> 90 </default-field-of-view-deg>
			</config>
		</view>
		
		<view n="102">
			<name>Right Wing Camera View</name>
			<internal archive="y">true</internal>
			<type>lookfrom</type>
			<config>
				<from-model type="bool">true</from-model>
				<ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
				<dynamic-view type="bool">false</dynamic-view>
				<x-offset-m archive="y"> 4.45</x-offset-m>	<!-- Right -->
				<y-offset-m archive="y">  0.59 </y-offset-m>	<!-- Up    -->
				<z-offset-m archive="y"> 0.72797</z-offset-m>	<!-- Back  -->
				<pitch-offset-deg> -11 </pitch-offset-deg>
				<heading-offset-deg>91</heading-offset-deg>
				<default-field-of-view-deg> 80 </default-field-of-view-deg>
			</config>
		</view>

		<view n="0">
			<internal archive="y">true</internal>
			<config>
				<x-offset-m archive="y"> -0.29359</x-offset-m>	<!-- Right -->
				<y-offset-m archive="y">  0.3972 </y-offset-m>	<!-- Up    -->
				<z-offset-m archive="y"> 0.72797</z-offset-m>	<!-- Back  -->
				<pitch-offset-deg> -2 </pitch-offset-deg>
				<default-field-of-view-deg> 70 </default-field-of-view-deg>
			</config>
		</view>
	</sim>
	<ch750stol>
		<human-enabled type="bool">1</human-enabled>
		<human-always-enabled type="bool">0</human-always-enabled>
		<shadow type="bool">1</shadow>
		<door-left-cmd type="bool">0</door-left-cmd>
		<door-right-cmd type="bool">0</door-right-cmd>
	</ch750stol>
	<instrumentation>
		<dynon-efis>
			<loading-screen>1</loading-screen>
		</dynon-efis>
	</instrumentation>
	<input>
		<keyboard include="Nasal/keyboard.xml"/>
	</input>
	<engines>
		<engine>
			<rpm type="float">0</rpm>
		</engine>
	</engines>
	<controls>
		<circuit-breakers>
			<nav-lights type="bool"/>
			<strobe-lights type="bool"/>
			<radio1 type="bool"/>
			<radio2 type="bool"/>
			<gps type="bool"/>
			<efis1 type="bool"/>
			<efis2 type="bool"/>
			<landing-light type="bool"/>
			<fuel-pump type="bool"/>
			<accy type="bool"/> <!--?-->
			<transponder type="bool"/>
			<audio type="bool"/>
			<flaps type="bool"/>
			<trim type="bool"/>
		</circuit-breakers>
		<electric>
			<battery-switch type="bool">0</battery-switch>
		</electric>
		<engines>
			<engine>
				<master-alt type="bool">0</master-alt>
			</engine>
		</engines>
		<flight>
			<flaps-anim type="int">0</flaps-anim>
		</flight>
		<switches>
			<radio-master type="bool" />
			<landing-light type="bool" />
			<strobe-lights type="bool" />
			<nav-lights type="bool" />
			<fuel-pump type="bool" />
		</switches>
	</controls>
	<payload>
		<weight>
			<name type="string">Pilot</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[0]"/>
			<arm-in alias="/fdm/jsbsim/inertia/pointmass-location-X-inches[0]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">300.0</max-lb>
		</weight>
		<weight>
			<name type="string">Copilot/Passenger</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[1]"/>
			<arm-in alias="/fdm/jsbsim/inertia/pointmass-location-X-inches[1]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">300.0</max-lb>
		</weight>
		<weight>
			<name type="string">Baggage</name>
			<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[2]"/>
			<arm-in alias="/fdm/jsbsim/inertia/pointmass-location-X-inches[2]"/>
			<min-lb type="double">0.0</min-lb>
			<max-lb type="double">60.0</max-lb>
		</weight>
	</payload>
	<position>
		<gear-agl-ft type="double">0.0</gear-agl-ft> <!--for light-manager.nas-->
	</position>
	<nasal>
		<ch750>
			<file>Nasal/electrical.nas</file>
			<file>Nasal/systems.nas</file>
			<file>Nasal/light-manager.nas</file>
		</ch750>
		<canvas_d180>
			<file>Models/Interior/Panel/Dynon_D180/d180.nas</file>
		</canvas_d180>
		<gtx327>
			<file>Nasal/gtx-327.nas</file>
		</gtx327>
	</nasal>
</PropertyList>
