<?xml version="1.0"?>


<PropertyList include="Models/ksfo-skijump.xml">

 <sim>

  <description>Snow Plow</description>
  <author>Detlef Faber</author>
  <status>alpha</status>
  <aircraft-version>1.0</aircraft-version>
  <flight-model>yasim</flight-model>
  <aero>snowplow-yasim</aero>

  <tags>
    <tag>groundvehicle</tag>    
    <tag>1980s</tag>
    <tag>1990s</tag>
    <tag>2000s</tag>
    <tag>2010s</tag>
    <tag>diesel</tag>
  </tags>

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

  <startup>
    <splash-texture>Aircraft/snowplow/snowplow-splash.rgb</splash-texture>
  </startup>
   
  <sound>
   <!-- <path>Aircraft/Generic/generic-sound.xml</path> -->
   <path>Aircraft/snowplow/snowplow-sound.xml</path>
  </sound>

  <model>
   <path>Aircraft/snowplow/Models/Snowplow.xml</path>
   <crew>
     <pilot>
       <visible type="int">1</visible>
     </pilot>
   </crew>
  </model> 

<!--
  <hud>
   <path n="1">Huds/NTPS.xml</path>
   <visibility n="1">true</visibility>
   <color>
    <transparent type="bool">true</transparent>
    <antialiased type="bool">true</antialiased>
    <brightness type="float">0.85</brightness>
    <alpha type="float">0.85</alpha>
   </color>
   <palette>
    <color n="0">
     <red type="float">0.38</red>
     <green type="float">1.0</green>
     <blue type="float">0.22</blue>
    </color>
    <color n="1">
     <red type="float">1.0</red>
     <green type="float">0.0</green>
     <blue type="float">0.0</blue>
    </color>
   </palette>
  </hud>
-->

  <view n="0">
   <internal archive="y">true</internal>
   <config>
    <x-offset-m archive="y" type="double">-0.45</x-offset-m>
    <y-offset-m archive="y" type="double">1.1</y-offset-m>
    <z-offset-m archive="y" type="double">2.1</z-offset-m>
    <pitch-offset-deg>-15.0</pitch-offset-deg>
   </config>
  </view>

  <view n="1">
   <config>
    <target-z-offset-m archive="y" type="double">3.2</target-z-offset-m>
   </config>
  </view>

  <view n="2">
   <config>
    <target-z-offset-m archive="y" type="double">3.2</target-z-offset-m>
   </config>
  </view>

  <view n="3">
   <config>
    <target-z-offset-m archive="y" type="double">3.26</target-z-offset-m>
   </config>
  </view>

  <view n="4">
   <config>
    <target-z-offset-m archive="y" type="double">3.2</target-z-offset-m>
   </config>
  </view>

  <view n="5">
   <config>
    <target-z-offset-m archive="y" type="double">3.2</target-z-offset-m>
   </config>
  </view>

  <view n="6">
   <config>
    <target-z-offset-m archive="y" type="double">3.2</target-z-offset-m>
   </config>
  </view>

  <hud>
   <enable3d>false</enable3d>
  </hud>

  <help>
    <key>
      <name>,</name>
      <desc>Brakes</desc>
    </key>
    <key>
      <name>.</name>
      <desc>Accelerator</desc>
    </key>
  </help>
<!--
	<menubar>
		<default>
			<menu n="10">
				<label>Extras</label>
					<enabled type="bool">true</enabled>
					<item>
						<label>tilt Windscreen forward</label>
						<binding>
          <command>property-toggle</command>
          <property>/controls/gear/screen</property>
						</binding>
					</item>
					<item>
						<label>put Softroof on</label>
						<binding>
          <command>property-toggle</command>
          <property>/controls/gear/roof</property>
						</binding>
					</item>
			</menu>
		</default>
	</menubar>
-->
  </sim>

  <nasal>
    <snowplow>
      <file>Aircraft/snowplow/Nasal/radar.nas</file>
      <file>Aircraft/snowplow/Nasal/speed.nas</file>
      <file>Aircraft/snowplow/Nasal/curtsteer.nas</file>
      <file>Aircraft/snowplow/Nasal/curtroutemgr.nas</file>
      <file>Aircraft/snowplow/Nasal/truck.nas</file>
    </snowplow>
  </nasal>

  <engines>
    <engine>
      <rpm type="double">700</rpm>
    </engine>
  </engines>

  <controls>
    <engines>
      <engine n="0">
        <magnetos>3</magnetos>
      </engine>
    </engines>
    <gear>
      <screen type="bool">false</screen>
      <roof type="bool">false</roof>
    </gear>
  </controls>

  <instrumentation>
    <radar>
      <range type="int" archive="y">1</range>
      <minimized type="bool" archive="y">false</minimized>
    </radar>
  </instrumentation>

  <input>
    <keyboard>
      <key n="61">
        <name>=</name>
        <desc>Show configuration dialog</desc>
        <binding>
          <command>nasal</command>
          <script>snowplow.dialog.toggle()</script>
        </binding>
      </key>

      <key n="77"> 
        <name>M</name>
        <desc>engage Reverse</desc>
        <binding> 
          <command>property-assign</command>
          <property>controls/engines/engine[0]/mixture</property>
          <value type="double">0.0</value>
        </binding>
      </key>

      <key n="109"> 
        <name>m</name>
        <desc>disengage Reverse</desc>
        <binding> 
          <command>property-assign</command>
          <property>controls/engines/engine[0]/mixture</property>
          <value type="double">1.0</value>
        </binding>
      </key>
    </keyboard>
  </input>

  <!-- load predefined routes -->
  <routes>
    <loadpoint include="Routes/KSFO-28R-loop.xml" omit-node="y"/>
    <loadpoint include="Routes/KSFO-28R-loop.xml" omit-node="y"/>
    <loadpoint include="Routes/KSFO-28R-loop.xml" omit-node="y"/>
  </routes>

</PropertyList>




