

local MQguns = {
	category = CAT_SHELLS,
	user_name = _("MQguns"),
	model_name    = "tracer_bullet_yellow",
	name = "MQguns",
	v0    = 1025.0,
	Dv0   = 0.0040,
	Da0     = 0.00005,
	Da1     = 0.0,
	mass      = 0.26,
	round_mass = 0.516,
	explosive     = 0.119,
	life_time     = 5,
	caliber     = 27.0,
	s         = 0.0,
	j         = 0.0,
	l         = 0.0,
	charTime    = 0,
	cx        = {1,0.605,0.8,0.22,1.9},
	k1        = 6.3e-09,
	tracer_off    = -1,
	scale_tracer  = 1,
	scale_smoke	= 1.5,
	cartridge = 0,
	};
declare_weapon(MQguns);

local function Pod99(tbl)

    tbl.category = CAT_GUN_MOUNT
    tbl.name      = "Pod99"
    tbl.supply      =
    {
        shells = {"MQguns"},
        --mixes  = {{1,2,1,2,1,3}},   -- 50% HE-i, 25% AP-I, 25% AP-T
        count  = 1000,
    }
    if tbl.mixes then
       tbl.supply.mixes = tbl.mixes
       tbl.mixes        = nil
    end
    tbl.gun =
    {
        max_burst_length    = 1700,
        rates               = {1700},
        recoil_coeff        = 0.7*1.3,
        barrels_count       = 1,
    }
    if tbl.rates then
       tbl.gun.rates        =  tbl.rates
       tbl.rates            = nil
    end
    tbl.ejector_pos             = tbl.ejector_pos or {0, 0, 0}
    tbl.ejector_pos_connector   = tbl.ejector_pos_connector     or  "Gun_point"
    tbl.ejector_dir             = {-1, -6, 0} -- left/right; back/front;?/?
    tbl.supply_position         = tbl.supply_position   or {0,  0.3, -0.3}
    tbl.aft_gun_mount           = false
    --tbl.effective_fire_distance = 20000
	tbl.effective_fire_distance = 3000
    tbl.drop_cartridge          = 204
    tbl.muzzle_pos              = tbl.muzzle_pos            or  {0,0,0}     -- all position from connector
    tbl.muzzle_pos_connector    = tbl.muzzle_pos_connector  or  "Gun_point" -- all position from connector
    tbl.azimuth_initial         = tbl.azimuth_initial       or  0
    tbl.elevation_initial       = tbl.elevation_initial     or  0
    if  tbl.effects == nil then
        tbl.effects = {{ name = "FireEffect"     , arg = tbl.effect_arg_number or 436 },
                       { name = "HeatEffectExt"  , shot_heat = 7.823, barrel_k = 0.462 * 2.7, body_k = 0.462 * 14.3 },
                       { name = "SmokeEffect"}}
    end
    return declare_weapon(tbl)
end

MQ99 =  {
      
		Name 			= 'MQ99',--AG
		DisplayName		= _('MQ-99 UAV'),--AG
        Picture 		= "VSN_UFO.png",
        Rate 			= "50",
        Shape			= "UAV",		
        WorldID			=  MQ99, 
        
	shape_table_data 	= 
	{
		{
			file  	 	= 'UAV';--AG
			life  	 	= 5; -- lifebar
			vis   	 	= 3; -- visibility gain.
			desrt    	= 'F16_destr'; -- Name of destroyed object file name
			fire  	 	= { 300, 2}; -- Fire on the ground after destoyed: 300sec 2m
			username	= 'MQ99';--AG
			index       =  WSTYPE_PLACEHOLDER;
			-- classname   = "lLandPlane";
			-- positioning = "BYNORMAL";
		},
		{
			name  		= "F16_destr";
			file  		= "F16_destr";
			fire  		= { 240, 2};
		},

	},
	
	LandRWCategories = 
        {
        [1] = 
        {
			Name = "AircraftCarrier",
        },
        [2] = 
        {
            Name = "AircraftCarrier With Catapult",
        }, 
        [3] = 
        {
            Name = "AircraftCarrier With Tramplin",
        }, 
    }, -- end of LandRWCategories
        TakeOffRWCategories = 
        {
        [1] = 
        {
			Name = "AircraftCarrier",
        },
        [2] = 
        {
            Name = "AircraftCarrier With Catapult",
        }, 
        [3] = 
        {
            Name = "AircraftCarrier With Tramplin",
        }, 
    }, -- end of TakeOffRWCategories
	
	mapclasskey 		= "P0091000024",
	attribute  			= {wsType_Air, wsType_Airplane, wsType_Fighter, WSTYPE_PLACEHOLDER, "Fighters", "Refuelable",},--AG
	Categories= {"{78EFB7A2-FD52-4b57-A6A6-3BF0E1D6555F}", "Interceptor",},
	
		M_empty						=	5000+126,--8853,
	M_nominal					=	-000+11000,
	M_max						=	-000+13187,
	M_fuel_max					=	2500, -- kg	,--6103,--6103,,--6103,
		H_max						=	30000,--18300,
		average_fuel_consumption	=	0.271,
		CAS_min						=	150,
		V_opt						=	400,
		V_take_off					=	61,
		V_land						=	71,
		has_afteburner				=	true,
		has_speedbrake				=	true,
		radar_can_see_ground		=	true,



		AOA_take_off				=	0.16,	-- AoA in take off (for AI)
		stores_number				=	12,
		bank_angle_max				=	60,		-- Max bank angle (for AI)
		Ny_min						=	-5,		-- Min G (for AI)
		Ny_max						=	10.5,		-- Max G (for AI)
		Ny_max_e					=	10.5,		-- Max G (for AI)
		V_max_sea_level				=	1000,	-- Max speed at sea level in m/s (for AI)
		V_max_h						=	1200.11,	-- Max speed at max altitude in m/s (for AI)
		wing_area					=	56.5,	-- wing area in m2
		thrust_sum_max				=	12000,	-- thrust in kgf (64.3 kN)
		thrust_sum_ab				=	19476,	-- thrust in kgf (95.1 kN)
		Vy_max						=	200,	-- Max climb speed in m/s (for AI)
		flaps_maneuver				=	1,
		Mach_max					=	2.0,	-- Max speed in Mach (for AI)
		range						=	2540,	-- Max range in km (for AI)
		RCS							=	1.0,		-- Radar Cross Section m2
		detection_range_max			=	65000,
		IR_emission_coeff			=	0.91,	-- Normal engine -- IR_emission_coeff = 1 is Su-27 without afterburner. It is reference.
		IR_emission_coeff_ab		=	2.5,		-- With afterburner
		tand_gear_max				=	3.73,--XX  1.732 FA18 3.73, 
		tanker_type					=	0,-- F14=2/S33=4/M29=0/S27=0/F15=1/F16=1/To=0/F18=2/A10A=1/M29K=4/M2000=2/F4=0/F5=0/
		wing_span					=	8,
		wing_type 					= 	0,-- FIXED_WING = 0/VARIABLE_GEOMETRY = 1/FOLDED_WING = 2/ARIABLE_GEOMETRY_FOLDED = 3
		length						=	12.43,
		height						=	3.63,
		crew_size					=	1,
		engines_count				=	2,
		wing_tip_pos 				= 	{-0.500,	-.35,	3.35},
		
			-----------------------------------------------------------------------
	----------------- SUSPENSION CODE BEGINS
	-----------------------------------------------------------------------
   tand_gear_max								=	3.73,
	nose_gear_pos								= 	{3.278,	-1.57,	0},
	nose_gear_amortizer_direct_stroke			= 	0.0,			-- down from nose_gear_pos !!!
	nose_gear_amortizer_reversal_stroke			= 	-0.50293,			-- up
	nose_gear_amortizer_normal_weight_stroke	= 	-0.4,	-- down from nose_gear_pos
	nose_gear_wheel_diameter					=	0.1385,
	nose_gear_door_close_after_retract			=	false,

	main_gear_pos								= 	{-2.808,	-1.7,	3.19},
	main_gear_amortizer_direct_stroke			=	0.0,			-- down from main_gear_pos !!!
	main_gear_amortizer_reversal_stroke			= 	-0.64258,			-- up
	main_gear_amortizer_normal_weight_stroke	= 	-0.50,	-- down from main_gear_pos
	main_gear_wheel_diameter					=	0.18,
	main_gear_door_close_after_retract			=	false,
		
		
		--SOUNDERS Start
		--sounderName= "aircraft/Planes/TIE",
		--Sounders End
	-----------------------------------------------------------------------
	----------------- SUSPENSION CODE ENDS
	-----------------------------------------------------------------------

		
		
		engines_nozzles = 
		{
			[1] = 
			{
				pos = 	{-3.9,	-0.42,	0},
				elevation	=	0,
				diameter	=	0.8,
				exhaust_length_ab	=	3.0,
				exhaust_length_ab_K	=	0.76,
				smokiness_level     = 	0.041, 
			}, -- end of [1]			
		}, -- end of engines_nozzles
		crew_members = 
		{
			--[1] = 
			--{
				--ejection_seat_name	=	17,
				
				--pos = 	{15.0,	1.4,	0},
			--}, -- end of [1]
		}, -- end of crew_members
		brakeshute_name	=	0,
		is_tanker	=	false,
		air_refuel_receptacle_pos = 	{6.731,	0.825,	0.492},
		fires_pos = 
		{
			[1] = 	{-0.707,	0.553,	-0.213},
			[2] = 	{-0.037,	0.285,	1.391},
			[3] = 	{-0.037,	0.285,	-1.391},
			[4] = 	{-0.82,	0.265,	2.774},
			[5] = 	{-0.82,	0.265,	-2.774},
			[6] = 	{-0.82,	0.255,	4.274},
			[7] = 	{-0.82,	0.255,	-4.274},
			[8] = 	{-5.003,	0.261,	0},
			[9] = 	{-5.003,	0.261,	0},
			[10] = 	{-0.707,	0.453,	1.036},
			[11] = 	{-0.707,	0.453,	-1.036},
		}, -- end of fires_pos
		chaff_flare_dispenser = 
		{
			[1] = 
			{
				dir = 	{1,  0, 1.5},
				pos = 	{-6, 0,	0},
			}, -- end of [1]
			[2] = 
			{
				dir = 	{1,  0, -1.5},
				pos = 	{-6, 0,	0},
			}, -- end of [2]
		}, -- end of chaff_flare_dispenser

        -- Countermeasures
passivCounterm 		= {
CMDS_Edit 			= true,
SingleChargeTotal 	= 150,
chaff 				= {default = 75, increment = 75, chargeSz = 1},
flare 				= {default = 75, increment = 75, chargeSz = 1}
 },
	
        CanopyGeometry 	= {
            azimuth 	= {-175.0, 175.0},-- pilot view horizontal (AI)
            elevation 	= {-90.0, 90.0}-- pilot view vertical (AI)
        },

Sensors = {
RADAR 			= "AN/APG-63",--F15
RWR 			= "Abstract RWR"--F15
},
Countermeasures = {
ECM 			= "AN/ALQ-135"--F15
},
	Failures = {
			{ id = 'asc', 		label = _('ASC'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'autopilot', label = _('AUTOPILOT'), enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'hydro',  	label = _('HYDRO'), 	enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'l_engine',  label = _('L-ENGINE'), 	enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'r_engine',  label = _('R-ENGINE'), 	enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'radar',  	label = _('RADAR'), 	enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
--			{ id = 'eos',  		label = _('EOS'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
--			{ id = 'helmet',  	label = _('HELMET'), 	enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'mlws',  	label = _('MLWS'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'rws',  		label = _('RWS'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'ecm',   	label = _('ECM'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'hud',  		label = _('HUD'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
			{ id = 'mfd',  		label = _('MFD'), 		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },		
	},
	HumanRadio = {
		frequency 		= 127.5,  -- Radio Freq
		editable 		= true,
		minFrequency	= 100.000,
		maxFrequency 	= 156.000,
		modulation 		= MODULATION_AM
	},


		
		
		    Guns = {
            Pod99({muzzle_pos_connector = "T1",
                count = {1500},
				rates = {400},
                --mixes = {{2,1,1,1,1,1}},
				
                effect_arg_number = 434,
                supply_position = {0, 0, 0},
                ejector_pos_connector = "GUN_EJECT_1",
                }),

    },

--GSh_30_2
--GSh_30_1
--GAU_8	
--M_61	
--BK_27
--ADEN
--M_230
Pylons = { 
	

              --Bck/Frwrd    Up/Down  -Left/Right
		pylon(1, 0, -1.8,-0.4, -3.0, --1, 0, -1.943000, 0.173000, -7.280000,
            {
			-- arg = 308 ,arg_value = 0,
			-- use_full_connector_position=true,
            },
            {
              { CLSID = "{5CE2FF2A-645A-4197-B48D-8720AC69394F}" },
			  { CLSID = "{FBC29BFE-3D24-4C64-B81D-941239D12249}" },
        
            }
        ),
        pylon  (2, 0, -1.2,-0.6, 1,--2, 0, -2.535000, -0.165000, -6.168000,
		    {
			-- use_full_connector_position=true,		                            
            
            },
            {
                 { CLSID = "{5CE2FF2A-645A-4197-B48D-8720AC69394F}" },
                {CLSID ="{40EF17B7-F508-45de-8566-6FFECC0C1AB8}"},	
				{CLSID ="{C8E06185-7CD6-4C90-959F-044679E90751}"},
				{ CLSID = "{FBC29BFE-3D24-4C64-B81D-941239D12249}" },
            }
        ),       


        pylon  (3, 0, -1.2,-0.6, -1,--2, 0, -2.535000, -0.165000, -6.168000,
		    {
			-- use_full_connector_position=true,		                            
            
            },
            {
               { CLSID = "{5CE2FF2A-645A-4197-B48D-8720AC69394F}" },
                {CLSID ="{40EF17B7-F508-45de-8566-6FFECC0C1AB8}"},
				{CLSID ="{C8E06185-7CD6-4C90-959F-044679E90751}"},
				{ CLSID = "{FBC29BFE-3D24-4C64-B81D-941239D12249}" },
            }
        ), 
		pylon  (4, 0, -1.8,-0.4, 3.0,--2, 0, -2.535000, -0.165000, -6.168000,
		    {
			-- use_full_connector_position=true,		                            
            
            },
            {
               { CLSID = "{5CE2FF2A-645A-4197-B48D-8720AC69394F}" },
               { CLSID = "{FBC29BFE-3D24-4C64-B81D-941239D12249}" }, 					
            }
        ),	
		 
		
},
	

	Tasks = {
        aircraft_task(CAP),
     	aircraft_task(Escort),
      	aircraft_task(FighterSweep),
		aircraft_task(Intercept),
		aircraft_task(Reconnaissance),
		aircraft_task(SEAD),
--  	aircraft_task(GroundAttack),
--     	aircraft_task(CAS),
--      aircraft_task(AFAC),
--	    aircraft_task(RunwayAttack),
--  	aircraft_task(AntishipStrike),
    },	
	DefaultTask = aircraft_task(CAP),

	-- M   - Mach number
			-- Cx0 - Coefficient, drag, profile, of the airplane
			-- Cya - Normal force coefficient of the wing and body of the aircraft in the normal direction to that of flight. Inversely proportional to the available G-loading at any Mach value. (lower the Cya value, higher G available) per 1 degree AOA
			-- B2 - Polar 2nd power coeff
			-- B4 - Polar 4th power coeff
			-- Omxmax - roll rate, rad/s
			-- Aldop - Alfadop Max AOA at current M - departure threshold
			-- Cymax - Coefficient, lift, maximum possible (ignores other calculations if current Cy > Cymax)
		SFM_Data = {
	aerodynamics = --F15
		{	

	Cy0	=	0,
			Mzalfa	=	4.355,
			Mzalfadt	=	2.0,
			kjx	=	2.75,
			kjz	=	0.00125,
			Czbe	=	-0.016,
			cx_gear	=	0.0268,
			cx_flap	=	0.05,
			cy_flap	=	0.52,
			cx_brk	=	0.098,
			table_data = 
			{
			--    M	     Cx0		 Cya		 B		  B4	      Omxmax	Aldop	Cymax
				{0.0,	0.0215,		0.055,		0.08,		0.22,	0.65,	25.0,	1.2 	},
				{0.2,	0.0215,		0.055,		0.08,		0.22,	1.80,	25.0,	1.2     },
				{0.4,	0.0215,		0.055,		0.08,	   	0.22,	3.00,	25.0,	1.2     },
				{0.6,	0.0215,		0.055,		0.05,		0.28,	4.20,	25.0,	1.2     },
				{0.7,	0.0215,		0.055,		0.05,		0.28,	4.20,	23.0,	1.15    },
				{0.8,	0.0215,		0.055,		0.05,		0.28,	4.20,	21.7,	1.1     },
				{0.9,	0.0230,		0.058,		0.09,		0.20,	4.20,	20.1,	1.07    },
				{1.0,	0.0320,		0.062,		0.17,		0.15,	4.20,	18.9,	1.04    },
				{1.1,	0.0430,		0.062,	   	0.235,		0.09,	3.78,	17.4,	1.02    },
				{1.2,	0.0460,		0.062,	   	0.285,		0.08,	2.94,	17.0,	1.00 	},		
				{1.3,	0.0470,		0.06,	   	0.29,		0.10,	2.10,	16.0,	0.92 	},				
				{1.4,	0.0470,		0.056,	   	0.3,		0.136,	1.80,	15.0,	0.80 	},					
				{1.6,	0.0470,		0.052,	   	0.34,		0.21,	1.08,	13.0,	0.7 	},					
				{1.8,	0.0460,		0.042,	   	0.34,		2.43,	0.96,	12.0,	0.55 	},		
				{2.2,	0.0420,		0.037,	   	0.49,		3.5,	0.84,	 10.0,	0.37 	},					
				{2.5,	0.0420,		0.033,		0.6,		4.7,	0.84,	 9.0,	0.3 	},		
				{3.9,	0.0400,		0.023,		0.9,		6.0,	0.84,	 7.0,	0.2		},
			}, -- end of table_data
		}, -- end of aerodynamics
		engine = 
		{
			Nmg	=	67.5,
			MinRUD	=	0,
			MaxRUD	=	1,
			MaksRUD	=	0.85,
			ForsRUD	=	0.91,
			type	=	"TurboJet",
			hMaxEng	=	35.5,
			dcx_eng	=	0.0114,
			cemax	=	1.24,
			cefor	=	2.56,
			dpdh_m	=	6000,
			dpdh_f	=	14000.0,
			table_data = 
			{
				--   M		Pmax	Pfor
				{0.0,	115000,		212000},
				{0.2,	 94000,		200000},
				{0.4,	 92000,		205000},
				{0.6,	103000,		207000},
				{0.7,	105000,		210000},
				{0.8,	105000,		220000},
				{0.9,	105000,		235000},
				{1.0,	107000,		250000},
				{1.1,	103000,		258000},
				{1.2,	 94000,		268000},
				{1.3,	 84000,		285000},
				{1.4,	 71000,		300000},
				{1.6,	 34000,		318000},
				{1.8,	 19000,		337000},
				{2.2,	 17000,		370000},
				{2.5,	 19000,		390000},
				{3.9,	 82000,		310000},
			}, -- end of table_data
		}, -- end of engine
	},


	--damage , index meaning see in  Scripts\Aircrafts\_Common\Damage.lua
	Damage = {
	[0]  = {critical_damage = 1,  args = {146}},--NOSE_CENTER
	[1]  = {critical_damage = 1,  args = {296}},--NOSE_LEFT_SIDE
	[2]  = {critical_damage = 1,  args = {297}},--NOSE_RIGHT_SIDE
	[3]  = {critical_damage = 1,  args = {65}}, --CABINA
	[4]  = {critical_damage = 1,  args = {298}},--CABIN_LEFT_SIDE
	[5]  = {critical_damage = 1,  args = {301}},--CABIN_RIGHT_SIDE
	[7]  = {critical_damage = 1,  args = {249}},--GUN
	[8]  = {critical_damage = 1,  args = {265}},--FRONT_GEAR_BOX
	[9]  = {critical_damage = 1,  args = {154}},--FUSELAGE_LEFT_SIDE
	[10] = {critical_damage = 1,  args = {153}},--FUSELAGE_RIGHT_SIDE
	[11] = {critical_damage = 1,  args = {167}},--ENGINE_L_IN
	[12] = {critical_damage = 1,  args = {161}},--ENGINE_R_IN
	[13] = {critical_damage = 1,  args = {169}},--MTG_L_BOTTOM
	[14] = {critical_damage = 1,  args = {163}},--MTG_R_BOTTOM
	[15] = {critical_damage = 1,  args = {267}},--LEFT_GEAR_BOX
	[16] = {critical_damage = 1,  args = {266}},--RIGHT_GEAR_BOX
	[17] = {critical_damage = 1,  args = {168}},--MTG_L  (ENGINE)
	[18] = {critical_damage = 1,  args = {162}},--MTG_R  (ENGINE)
	[20] = {critical_damage = 1,  args = {183}},--AIR_BRAKE_R
	[23] = {critical_damage = 1,  args = {223}},--WING_L_OUT
	[24] = {critical_damage = 1,  args = {213}},--WING_R_OUT
	[25] = {critical_damage = 1,  args = {226}},--ELERON_L
	[26] = {critical_damage = 1,  args = {216}},--ELERON_R
	[29] = {critical_damage = 1,  args = {224}, deps_cells = {23, 25}},--WING_L_CENTER
	[30] = {critical_damage = 1,  args = {214}, deps_cells = {24, 26}},--WING_R_CENTER
	[35] = {critical_damage = 1,  args = {225}, deps_cells = {23, 29, 25, 37}},--WING_L_IN
	[36] = {critical_damage = 1,  args = {215}, deps_cells = {24, 30, 26, 38}},--WING_R_IN
	[37] = {critical_damage = 1,  args = {228}},--FLAP_L
	[38] = {critical_damage = 1,  args = {218}},--FLAP_R
	[39] = {critical_damage = 1,  args = {244}, deps_cells = {53}},--FIN_L_TOP
	[40] = {critical_damage = 1,  args = {241}, deps_cells = {54}},--FIN_R_TOP
	[43] = {critical_damage = 1,  args = {243}, deps_cells = {39, 53}},--FIN_L_BOTTOM
	[44] = {critical_damage = 1,  args = {242}, deps_cells = {40, 54}},--FIN_R_BOTTOM
	[51] = {critical_damage = 1,  args = {240}},--ELEVATOR_L
	[52] = {critical_damage = 1,  args = {238}},--ELEVATOR_R
	[53] = {critical_damage = 1,  args = {248}},--RUDDER_L
	[54] = {critical_damage = 1,  args = {247}},--RUDDER_R
	[56] = {critical_damage = 1,  args = {158}},--TAIL_LEFT_SIDE
	[57] = {critical_damage = 1,  args = {157}},--TAIL_RIGHT_SIDE
	[59] = {critical_damage = 1,  args = {148}},--NOSE_BOTTOM
	[61] = {critical_damage = 1,  args = {147}},--FUEL_TANK_F
	[82] = {critical_damage = 1,  args = {152}},--FUSELAGE_BOTTOM
	[83] = {critical_damage = 3,  args = {134}},--WHEEL_F
	[84] = {critical_damage = 3,  args = {136}},--WHEEL_L
	[85] = {critical_damage = 3,  args = {135}},--WHEEL_R
	},
	
	DamageParts = 
	{  
		[1] = "Tie_Wing_right_damaged", -- wing R
		[2] = "Tie_Wing_left_damaged", -- wing L
--		
	},
	
-- VSN DCS World\Scripts\Aircrafts\_Common\Lights.lua

	lights_data = { typename = "collection", lights = {
	
    [1] = { typename = "collection", -- WOLALIGHT_STROBES
					lights = {	
						--{typename  = "natostrobelight",	argument_1  = 199, period = 1.2, color = {0.8,0,0}, connector = "RESERV_BANO_1"},--R
						--{typename  = "natostrobelight",	argument_1  = 199, period = 1.2, color = {0.8,0,0}, connector = "RESERV1_BANO_1"},--L
						--{typename  = "natostrobelight",	argument_1  = 199, period = 1.2, color = {0.8,0,0}, connector = "RESERV2_BANO_1"},--H
						--{typename  = "natostrobelight",	argument_1  = 195, period = 1.2, color = {0.8,0,0}, connector = "WHITE_BEACON L"},--195
						--{typename  = "natostrobelight",	argument_1  = 196, period = 1.2, color = {0.8,0,0}, connector = "WHITE_BEACON R"},--196
						--{typename  = "natostrobelight",	argument_1  = 192, period = 1.2, color = {0.8,0,0}, connector = "BANO_0_BACK"},
						{typename  = "natostrobelight",	argument_1  = 195, period = 1.2, color = {0.8,0,0}, connector = "RED_BEACON L"},
						{typename  = "natostrobelight",	argument_1  = 196, period = 1.2, color = {0.8,0,0}, connector = "RED_BEACON R"},
							}
			},
	[2] = { typename = "collection",
					lights = {-- 1=Landing light -- 2=Landing/Taxi light
						{typename = "spotlight", connector = "MAIN_SPOT_PTR", argument = 209, dir_correction = {elevation = math.rad(-1)}},--"MAIN_SPOT_PTR_02","RESERV_SPOT_PTR"
						{typename = "spotlight", connector = "MAIN_SPOT_PTR", argument = 208, dir_correction = {elevation = math.rad(3)}},--"MAIN_SPOT_PTR_01","RESERV_SPOT_PTR","MAIN_SPOT_PTL",
							}
			},
	[3]	= {	typename = "collection",
					lights = {
							-- Left Position Light (red)
						{typename = "omnilight",connector = "BANO_1",color = {0.99, 0.11, 0.3},pos_correction  = {0.1, 0, -0.2},argument  = 190},
							-- Right Position Light (green)
						{typename = "omnilight",connector = "BANO_2",color = {0, 0.894, 0.6},pos_correction = {0.1, 0, 0.2},argument  = 191},
							-- Tail Position Light (white)
						{typename = "omnilight",connector = "BANO_0",color = {1, 1, 1},pos_correction  = {0, 0, 0},argument  = 192}}
			},				
	[4] = { typename = "collection", -- formation_lights_default
					lights = {
						{typename  = "argumentlight" ,argument  = 200,},--formation_lights_tail_1 = 200;
						{typename  = "argumentlight" ,argument  = 201,},--formation_lights_tail_2 = 201;
						{typename  = "argumentlight" ,argument  = 202,},--formation_lights_left   = 202;
						{typename  = "argumentlight" ,argument  = 203,},--formation_lights_right  = 203;
						{typename  = "argumentlight" ,argument  =  88,},--old aircraft arg 
							}
			},
--[[			
	[5] = { typename = "collection", -- strobe_lights_default
					lights = {
						{typename  = "strobelight",connector =  "RED_BEACON"  ,argument = 193, color = {0.8,0,0}},-- Arg 193, 83,
						{typename  = "strobelight",connector =  "RED_BEACON_2",argument = 194, color = {0.8,0,0}},-- (-1"RESERV_RED_BEACON")
						{typename  = "strobelight",connector =  "RED_BEACON"  ,argument =  83, color = {0.8,0,0}},-- Arg 193, 83,
							}
			},
--]]			
	}},
}



add_aircraft(MQ99) --AG
