# Intended to become a very fast, pretty unkillable aircraft to be used for
# testing. Acm uses this one to display something when a remote DIS entity
# is not listed in the inventory nor in the objects map.
# Currently basically a very light, MiG 29 with zero fuel consumption,
# super powerful AB, and thrust reverse to hover!

aircraft "UFO" {

	Description "UFO - Unidentified Flying Object"
	Object      "ufo.obv"
	WingArea    400.0   # (wingS) Wing surface area (ft^2)
	WingHalfSpan    18.87   # (wings) Wing half-span (ft)
	WingHeight  0.0     # (wingh) Height of the wing aerodyn. center above CM (ft)
	Chord       9.61    # (c) Mean geometric chord of wing (ft)
	AspectRatio 3.56    # (aspectRatio) aspect ratio
	EmptyWeight 5000    # (emptyWeight) Empty weight (well, actually mass) (lb)

	# Max. wing load (lbf):
	MaxLoadZPositive    273000  # 10*(EmptyWeight+50%*MaxFuel) (+10 g)
	MaxLoadZNegative    137000  # 5*(EmptyWeight+50%*MaxFuel) (-5 g)

	DISEntityType    255:255:255:255:255:255:255
	DISAltEntityType 255:255:255:255:255:255:255

	# (I(x,y,z)) Moments of inertia (lb ft^2):
	Ixx     4000.0
	Iyy     4000.0
	Izz     4000.0

	# (cFlap) Lift due to flaps (yields Clift of 1.0 at max extension)
	CFlap       0.64279
	BetaStall   15.0    # (deg)

	CFlapDrag   0.0467  # (cFlapDrag) Drag due to Flaps
	CGearDrag   0.03    # (cGearDrag) Drag due to Gear
	CSpeedBrake 0.03    # (cSpeedBrake) Drag due to Speed Brake
				# at 90 degrees

	# (CDb) Drag Characteristic equation [Wave+body]
	# independent variable is mach number
	CDb {       # (CDb) Drag Characteristic equation [Wave+body]
				# independent variable is mach number
		0.0,    0.010,
		0.2,    0.010,
		0.95,   0.007,
		1.05,   0.022,
		2.00,   0.015,
		10.0,   0.015
		}

	CLift   {       # (CLift) Lift-slope curve (vs alpha)
		-3.0,   0.0,
		-1.05,  0.0,
		-0.576, -2.199,
		-0.556, -2.23,
		-0.524, -2.199,
		0.524,  2.199,
		0.556,  2.23,
		0.576,  2.199,
		1.05,   0.0,
		2.0,    0.0
		}

	CnBeta  {       # (CnBeta) Yaw due to sideslip equation
		0,  -0.08125,
		0.523540, -0.078125,
		0.785340, -0.0609375,
		1.047198, 0.125,
		1.58,   0.0
		}

	ClBeta  {       # (ClBeta) Roll due to sideslip equation 
		0,  -0.0125,
		0.43633, -0.015,
		0.78540, 0.125,
		1.58,   0.0,
		3.142,  0.125,
		}

	CDBOrigin   0   # (CDBOrigin, CDBFactor) Drag due to sideslip
	CDBFactor   0.5 
	CDBPhase    0   # (CDBPhase) sideslip drag phase (deg)
	CYBeta      -1.4    # (CYbeta) Side-force from side-slip [dCY/dBeta]
	EffElevator 0.60    # (effElevator) Elevator effectiveness
	EffRudder   0.14    # (effRudder) Rudder effectiveness
	MaxRudder   20  # (maxRudder) max Rudder (deg)
	MaxAileron  20  # (maxAileron) max Aileron (deg)
	MaxFlap     20  # (maxFlap) max flap setting (deg)
	# (flapRate) flap extension rate (about 2 secs to fully extend flaps)
	FlapRate    10  # (deg/sec)
	# (gearRate) gear extension rate (about 3 secs to fully extend gear)
	GearRate    30  # (deg/sec)
	MaxSpeedBrake   80  # (maxSpeedBrake) max Speed Brake setting (deg)
	# (speedBrakeRate) rate of speed brake extension (2 secs to full ext)
	SpeedBrakeRate  40  # (deg/sec)
	# (speedBrakeIncr) speed Brake increment per keystroke
	SpeedBrakeIncr  80  # (deg)
	Clda        0.048   # (Clda) roll moment from aileron offset
	Cldr        0.004   # (Cldr) roll moment from rudder offset
	Clp     -0.27   # (Clp) roll damping
	Cmq     -8.0    # (Cmq) pitch damping factor
	Cnr     -0.378  # (Cnr) yaw damping factor
	CmAlpha     -0.40   # (cmSlope) CmAlpha curve slope 
	EngineType "GenericRocketEngine"
	MaxFuel     1       # (maxFuel) maximum internal fuel (lb)
	# engine lag factor (how fast does it respond to throttle changes)
	EngineLag   -3.0
	# Engine data based on updated RD-33K engines cited in [AirI Aug89].
	# (maxThrust) max static thrust, military power (lbf) 
	MaxThrust   5000
	# (maxABThrust) max static thrust, afterburner on  (lbf) 
	MaxABThrust 50000

	Thrust  {       # (Thrust) Mach Number vs. thrust   
		0,  1,
		1.7,    1.5,
		2.0,    0.84,
		5,  0.5
		}
	ABThrust {      # (ABThrust) afterburner thrust table
		0,  1,
		0.5,    1,
		1,  1.21,
		1.7,    1.7,
		5,  1.64
		}
	HasThrustReverser 1  # (hasThrustReverser) 0=no, otherwise yes
	# (spFuelConsump) specific fuel consump(lb fuel/lb T x hr)
	SpFuelConsump   0
	# (spABFuelConsump) AB specific fuel consump(lb fuel/lb T x hr)
	SpABFuelConsump 0
	# (viewPoint) pilot's viewing location wrt CM
	ViewPoint   { 0, 0, -15 }

	# Landing Gear control parameters

	MuStatic    0.08    # (muStatic) static coeff of friction no-brakes 
	MuKinetic   0.05    # (muKinetic) moving coeff of friction no-brakes
	MuBStatic   0.7 # (muBStatic) static brakes-on
	MuBKinetic  0.6 # (muBKinetic) moving brakes-on

	MaxNWDef    90  # (maxNWDef) maximum nosewheel deflection (deg)

	# (rn) location of nose gear attachments vs. CM (ft)
	Rn      { 15, 0, 0 }
	Gn      3.0 # nose strut length with tire (ft)
	CnMax   2 # (cnMax) nose max oleo extension distance (ft)
	Kn      1000   # nose oleo spring factor (lbf/ft)
	Dn      100    # nose oleo damping factor (lbf s/ft)

	# (rm) location of right main gear attachments vs. CM (ft)
	Rm      { -2.0, 9, 0 }
	Gm      3.0 # main strut length with tire (ft)
	CmMax   2 # (cmMax) main max oleo extension distance (ft)
	Km      3000  # main oleo spring factor (lbf/ft)
	Dm      300   # main oleo damping factor (lbf s/ft)

	# (tailExtent) as we rotate, this part may drag 
	TailExtent  { -5,  0.0,  0 }

	# Speed limits at MTOW. Leave undefined or set to 0 if unknown.
	MTOW  10000.0    # maximum takeoff weight (lb)
	#Vs0     42.0    # stall speed, full flaps (KIAS)
	#Vs1     50.0    # stall speed, no flaps (KIAS)
	#Vfe    100.0    # max speed with flaps extended (KIAS)
	#Vno    145.0    # normal operation speed (KIAS)
	#Vne    164.0    # never exceed speed (KIAS)

	StructurePoints 100000  # (structurePts) maximum structural damage 

	# Radar data based on N-019 Pulse Doppler radar cited in [AirI Aug89].

	RadarOutput 15000   # (radarOutput) radar output (watts)
	RadarTRange 38  # (radarTRange) tracking radar range (NM)
	RadarDRange 55  # (radarDRange) detection radar range (NM)
	TEWSThreshold   0   # Radar Warning Receiver threshold (watts)

	# Weapons

	WeaponCount 9

	HardPoint0  { 7.0, -4.0, 0.0 }
	HardPoint1  { 0.357, 15.6, 0.0 }
	HardPoint2  { 0.357, -15.6, 0.0 }
	HardPoint3  { 1.5, 9.0, 2.0 }
	HardPoint4  { 1.5, -9.0, 2.0 }
	HardPoint5  { 1.5, 8.0, 1.5 }
	HardPoint6  { 1.5, -8.0, 1.5 }
	HardPoint7  { 1.5, 10.0, 1.5 }
	HardPoint8  { 1.5, -10.0, 1.5 }

	WeaponStation   0 "M61A1"   5000 0   0
	WeaponStation   1 "MK82"     0   0   0
	WeaponStation   2 "MK82"     0   0   0
	WeaponStation   3 "AIM-9M"   0   0   0
	WeaponStation   4 "AIM-9M"   0   0   0
	WeaponStation   5 "AIM-9M"   0   0   0
	WeaponStation   6 "AIM-9M"   0   0   0
	WeaponStation   7 "AIM-120"  0   0   0
	WeaponStation   8 "AIM-120"  0   0   0
}