<?xml version="1.0"?>

<PropertyList>

 <sim>

  <description>Cessna T-37</description>
  <author>Erik Hofman</author>
  <status>beta</status>
 
  <flight-model>jsb</flight-model>
  <aero>T37</aero>

  
  <!--
  <instrumentation>
	  <path>Aircraft/T-37/instrumentation.xml</path>
  </instrumentation>
-->
  <sound>
   <path>Aircraft/T37/T37-sound.xml</path>
  </sound>

  <virtual-cockpit archive="y">true</virtual-cockpit>

  <panel>
    <visibility>false</visibility>
  </panel>

  <model>
   <path>Aircraft/T37/Models/T-37.xml</path>
   <livery>
	   <file type="string">T-37_USAF</file>
   </livery>
   <show-pilot archive="y" type="bool">true</show-pilot>
   <show-instructor archive="y" type="bool">false</show-instructor>
  </model>

  <startup>
	  <splash-texture>Aircraft/T37/T-37-splash.png</splash-texture>
  </startup>
		
  <view n="0">
   <internal archive="y">true</internal>
   <config>
    <pitch-offset-deg>-5.0</pitch-offset-deg>
	<x-offset-m archive="y">-0.39</x-offset-m> <!-- left-right-->
	<y-offset-m archive="y">0.91</y-offset-m> <!-- up-down-->
	<z-offset-m archive="y">-0.65</z-offset-m> <!-- fore-aft-->
    
<!--
	<x-offset-m archive="y">-0.37</x-offset-m>
    <y-offset-m archive="y">0.80</y-offset-m>
    <z-offset-m archive="y">-0.33</z-offset-m>
-->
   </config>
  </view>

  <help>
   <title>Cessna T-37</title>
  </help>

  <menubar>
	  <default>
		  <menu n="10">
			  <label>T-37</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>Toggle pilot model (interior view)</label>
				  <binding>
					  <command>property-toggle</command>
					  <property>sim/model/show-pilot</property>
				  </binding>
			  </item>
			  <item>
				  <label>Toggle instructor model</label>
				  <binding>
					  <command>property-toggle</command>
					  <property>sim/model/show-instructor</property>
				  </binding>
			  </item>

				<item>
				  <label>Select Livery...</label>
				  <binding>
					  <command>nasal</command>
					  <script>aircraft.livery.dialog.toggle()</script>
				  </binding>
				</item>
		  </menu>
	  </default>
    </menubar>
 </sim>

 <engines>
   <engine n="0">
    <running>true</running>
   </engine>
   <engine n="1">
    <running>true</running>
   </engine>
  </engines>

  <consumables>
  <fuel>
   <tank n="0">
    <level-gal_us archive="y">500</level-gal_us>
   </tank>
   <tank n="1">
    <level-gal_us archive="y">500</level-gal_us>
   </tank>
  </fuel>
 </consumables>
 
 <nasal>
	 <T-37>
		 <file>Aircraft/T37/Nasal/systems.nas</file>
		 <file>Aircraft/T37/Nasal/liveries.nas</file>
	 </T-37>
 </nasal>
	
 <hud>
	 <path>Huds/Default/default.xml</path>
	 <visibility>false</visibility>
 </hud>
 
 <input>
	 <keyboard n="0" include="../../Input/Keyboard/carrier-bindings.xml"> 
		 <key n="101">
			 <name>e</name>
			 <desc>Open canopy</desc>
			 <binding>
				 <command>nasal</command>
				 <script>T-37.canopyswitch(2);</script>
			 </binding>
		 </key>
	 </keyboard>
 </input>
 

</PropertyList>
