<?xml version="1.0"?>
<!--
************************************************************************
Douglas A4 Skyhawk simulation config. This files ties together
all the components used by FGFS to represent the A4. Components include
the flight data model, instrument panel, and external 3D model.

************************************************************************
-->

<PropertyList>
 <sim>

  <description>Douglas A4 Skyhawk (YASim)</description>
  <author>Lewis Magruder, Dean Baunton, Jim Wilson, Andy Ross</author>
  <long-description>The Douglas A-4 Skyhawk was a light naval attack aircraft,
    originally designed to deliver nuclear bombs from aircraft carriers.  In
    comparison with most other aircraft of the era, it was small and light.
    It served the US Navy in Vietnam, and subsequently was used at TOPGUN, and
    by the Blue Angels.  The A4-F was the final attack variant used by the
    US Navy, with an uprated engine, speedbrakes, ECM suite and various other
    improvements.
  </long-description>
  <rating>
    <FDM type="int">2</FDM>
    <systems type="int">1</systems>
    <cockpit type="int">2</cockpit>
    <model type="int">2</model>
  </rating>

	<tags>
		<tag>bomber</tag>
		<tag>carrier</tag>
		<tag>douglas</tag>
		<tag>1960s</tag>
		<tag>1970s</tag>
		<tag>1980s</tag>
		<tag>coldwar</tag>
		<tag>vietnam</tag>
		<tag>retractable-gear</tag>
		<tag>refuel</tag>
		<tag>tail-hook</tag>
		<tag>tricycle</tag>
		<tag>jet</tag>
		<tag>single-engine</tag>
	</tags>

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

  <flight-model>yasim</flight-model>
  <aero>a4</aero>
  <fuel-fraction>1.0</fuel-fraction>

  <variant-of>a4f</variant-of>

  <sound>
   <path>Aircraft/a4/a4-sound.xml</path>
  </sound>

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

  <model>
   <path>Aircraft/a4/Models/a4-blue.xml</path>
   <fallback-model-index type="int">524</fallback-model-index>
  </model>

  <view n="0">
   <internal archive="y">true</internal>
   <config>
    <x-offset-m archive="y">0</x-offset-m>
    <y-offset-m archive="y">0.82</y-offset-m>
    <z-offset-m archive="y">-2.80</z-offset-m>
    <pitch-offset-deg>-17</pitch-offset-deg>
    <default-field-of-view-deg>60</default-field-of-view-deg>
   </config>
  </view>
  <current-view>
    <field-of-view>60.0</field-of-view>
  </current-view>

  <aoa-indexer>
   <too-slow-deg>15.0</too-slow-deg>
   <slow-deg>14.0</slow-deg>
   <fast-deg>13.0</fast-deg>
   <too-fast-deg>12.0</too-fast-deg>
  </aoa-indexer>

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

  <weight n="0">
   <name>Left Outboard</name>
   <weight-lb>0</weight-lb>
   <max-lb>1000</max-lb>
  </weight>
  <weight n="1">
   <name>Left Inboard</name>
   <weight-lb>0</weight-lb>
   <max-lb>2250</max-lb>
  </weight>
  <weight n="2">
   <name>Center Pylon</name>
   <weight-lb>0</weight-lb>
   <max-lb>3500</max-lb>
  </weight>
  <weight n="3">
   <name>Right Inboard</name>
   <weight-lb>0</weight-lb>
   <max-lb>2250</max-lb>
  </weight>
  <weight n="4">
   <name>Right Outboard</name>
   <weight-lb>0</weight-lb>
   <max-lb>1000</max-lb>
  </weight>

  <help>
   <title>Douglas A4 Skyhawk</title>
   <key>
     <name>C</name>
     <desc>catapult launch command</desc>
   </key>
   <key>
     <name>L</name>
     <desc>carrier launch-bar engage</desc>
   </key>
   <key>
     <name>o/O</name>
     <desc>hook up/down</desc>
   </key>
  </help>

 </sim>

 <autopilot>
   <config>
     <min-climb-speed-kt type="float">200.0</min-climb-speed-kt>
     <best-climb-speed-kt type="float">300.0</best-climb-speed-kt>
     <target-climb-rate-fpm type="float">3000.0</target-climb-rate-fpm>
     <target-descent-rate-fpm type="float">1500.0</target-descent-rate-fpm>
     <elevator-adj-factor type="float">5500.0</elevator-adj-factor>
     <integral-contribution type="float">0.007</integral-contribution>
     <zero-pitch-throttle type="float">0.60</zero-pitch-throttle>
     <zero-pitch-trim-full-throttle type="float">0.14</zero-pitch-trim-full-throttle>
     <max-roll-deg type="float">45</max-roll-deg>
     <max-aileron type="float">0.1</max-aileron>
   </config>
 </autopilot>

 <!-- *************** set properties **********************-->
	<!--parking brake ON -->
	<!-- nosewheel lock OFF -->
	<controls>
		<gear>
			<brake-parking>1</brake-parking>
		</gear>
		<engines>
			<engine>
				<throttle>0</throttle>
			</engine>
		</engines>
	</controls>

 <consumables>
  <fuel>
   <tank n="0">
    <name>Center</name>
    <level-gal_us>250</level-gal_us>
   </tank>
   <tank n="1">
    <name>Left Wing</name>
    <level-gal_us>260</level-gal_us>
   </tank>
   <tank n="2">
    <name>Right Wing</name>
    <level-gal_us>260</level-gal_us>
   </tank>
  </fuel>
 </consumables>

 <input>
   <keyboard include="Input/Keyboard/carrier-bindings.xml"/>
 </input>
</PropertyList>
