local function joinTbl(orig, to, from)
	for i, value in ipairs(orig) do
		to[i] = value
	end
	for i, value in ipairs(from) do 
		table.insert(to, value)
	end
	return to
end

dofile(current_mod_path..'/Datalinks/AddProp.lua')       

local midAdapterAddMass = -79.8
local midPylonAddMass = 131.1

local tips		= {		-- 1,9
	{ CLSID = "{9BFD8C90-F7AE-4e90-833B-BFD0CED0E536}",	Cx_gain = 0.796 },						-- AIM-9P
	{ CLSID = "{AIM-9P3}",								Cx_gain = 0.796 },						-- AIM-9P3
	{ CLSID = "{AIM-9P5}",								Cx_gain = 0.796 },						-- AIM-9P5
	{ CLSID = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",	Cx_gain = 0.796 },						-- AIM-9M
	{ CLSID = "{AIM-9L}",								Cx_gain = 0.796 },						-- AIM-9L
	{ CLSID = "{5CE2FF2A-645A-4197-B48D-8720AC69394F}",	Cx_gain = 0.796 },						-- AIM-9X
	{ CLSID = "CATM-9M",								Cx_gain = 0.796 },						-- CATM-9M
	{ CLSID = "{AIS_ASQ_T50}", attach_point_position = {0.25,  0.0,  0.0}, Cx_gain = 0.796 },	-- ACMI pod
		
	{ CLSID = "Single_AIM-120B",						Cx_gain = 0.328 },						-- AIM-120B  {C8E06185-7CD6-4C90-959F-044679E90751}
	{ CLSID = "Single_AIM-120C",						Cx_gain = 0.328 },						-- AIM-120C   {40EF17B7-F508-45de-8566-6FFECC0C1AB8} 						-- CATM-9M
	{ CLSID = "{CATM-9X}",								Cx_gain = 0.436 },						-- CATM-9X
	{ CLSID = "{CATM-120C}",							Cx_gain = 0.436 },						-- CATM-120C			

	--------------------------
	-- Smoke Mod -------------
	--------------------------
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E741}" },
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E742}" },  
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E743}" },
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E744}" },  
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E745}" }, 
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E746}" },
	--------------------------
	-- Smoke Mod -------------
	--------------------------
	
}

local outer		= {		-- 2,8
	{ CLSID = "{9BFD8C90-F7AE-4e90-833B-BFD0CED0E536}",	Cx_gain = 0.995 },						-- AIM-9P
	{ CLSID = "{AIM-9P3}",								Cx_gain = 0.995 },						-- AIM-9P3
	{ CLSID = "{AIM-9P5}",								Cx_gain = 0.995 },						-- AIM-9P5
	{ CLSID = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",	Cx_gain = 0.995	},						-- AIM-9M
	{ CLSID = "{AIM-9L}",								Cx_gain = 0.995	},						-- AIM-9L
	{ CLSID = "{5CE2FF2A-645A-4197-B48D-8720AC69394F}",	Cx_gain = 0.995	},						-- AIM-9X
	{ CLSID = "CATM-9M",								Cx_gain = 0.995	},						-- CATM-9M
	
	{ CLSID = "Single_AIM-120B",						Cx_gain = 0.328	},						-- AIM-120B
	{ CLSID = "Single_AIM-120C",						Cx_gain = 0.328	},						-- AIM-120C
	{ CLSID = "{CATM-9X}",								Cx_gain = 0.545	},						-- CATM-9X
	{ CLSID = "{CATM-120C}",							Cx_gain = 0.545	},						-- CATM-120C	
		
	{ CLSID = "{AIS_ASQ_T50}", attach_point_position = {0.25,  0.0,  0.0},	Cx_gain = 0.995 },	-- ACMI pod
	{ CLSID = "<CLEAN>",								arg_value = 1, add_mass = -51.3 },						-- Clean
	

	--------------------------
	-- Smoke Mod -------------
	--------------------------
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E741}" },
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E742}" },  
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E743}" },
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E744}" },  
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E745}" }, 
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E746}" },
	--------------------------
	-- Smoke Mod -------------
	--------------------------

}

local middle	= {		-- 3,7
	-- Adapter similar to 2,8 is needed
	{ CLSID = "{9BFD8C90-F7AE-4e90-833B-BFD0CED0E536}",						Cx_gain = 0.995, arg_value = 0.5, add_mass = midAdapterAddMass },	-- AIM-9P
	{ CLSID = "{AIM-9P3}",													Cx_gain = 0.995, arg_value = 0.5, add_mass = midAdapterAddMass },	-- AIM-9P3
	{ CLSID = "{AIM-9P5}",													Cx_gain = 0.995, arg_value = 0.5, add_mass = midAdapterAddMass },	-- AIM-9P5
	{ CLSID = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}",						Cx_gain = 0.995, arg_value = 0.5, add_mass = midAdapterAddMass },	-- AIM-9M
	{ CLSID = "{AIM-9L}",													Cx_gain = 0.995, arg_value = 0.5, add_mass = midAdapterAddMass },	-- AIM-9L
	{ CLSID = "{5CE2FF2A-645A-4197-B48D-8720AC69394F}",						Cx_gain = 0.995, arg_value = 0.5, add_mass = midAdapterAddMass },	-- AIM-9X
	{ CLSID = "CATM-9M",													Cx_gain = 0.995, arg_value = 0.5, add_mass = midAdapterAddMass },	-- CATM-9M
	{ CLSID = "{AIS_ASQ_T50}", attach_point_position = {0.25,  0.0,  0.0},	Cx_gain = 0.995, arg_value = 0.5, add_mass = midAdapterAddMass },	-- ACMI pod
	
	{ CLSID = "Single_AIM-120B",											Cx_gain = 0.328, arg_value = 0.5, add_mass = midAdapterAddMass },	-- AIM-120B
	{ CLSID = "Single_AIM-120C",											Cx_gain = 0.328, arg_value = 0.5, add_mass = midAdapterAddMass },	-- AIM-120C
	{ CLSID = "{CATM-9X}",								Cx_gain = 0.545, arg_value = 0.5, add_mass = midAdapterAddMass },						-- CATM-9X
	{ CLSID = "{CATM-120C}",							Cx_gain = 0.545, arg_value = 0.5, add_mass = midAdapterAddMass },						-- CATM-120C	
	
	{ CLSID = "LAU_88_AIM-120C",						Cx_gain_empty = 0.371,                                        Cx_gain_item = 0.328 }, 	-- LAU_88_AIM-120C
	{ CLSID = "LAU_88_AIM-120B",						Cx_gain_empty = 0.371,                                        Cx_gain_item = 0.328 }, 	-- LAU_88_AIM-120B	
	
	{ CLSID = "LAU_117_TGM_65D",											  Cx_gain_item = 0.41	},		-- LAU-117 + TGM-65D	--NIGHTSTORM
	{ CLSID = "LAU_117_TGM_65E",											  Cx_gain_item = 0.41	},		-- LAU-117 + TGM-65E	--NIGHTSTORM	
	{ CLSID = "LAU_117_TGM_65F",											  Cx_gain_item = 0.41	},		-- LAU-117 + TGM-65F	--NIGHTSTORM	
	{ CLSID = "LAU_117_TGM_65G",											  Cx_gain_item = 0.41	},		-- LAU-117 + TGM-65G	--NIGHTSTORM
	{ CLSID = "LAU_117_TGM_65H",											  Cx_gain_item = 0.41	},		-- LAU-117 + TGM-65H	--NIGHTSTORM
	{ CLSID = "LAU_117_CATM_65K",											  Cx_gain_item = 0.41	},		-- LAU-117 + CATM-65K	--NIGHTSTORM 	
	
	{ CLSID = "{CATM-88}",							Cx_gain_item = 0.4 },     -- CATM-88		
		
	
	-- Normal wing pylon
	{ CLSID = "LAU3_WP156",								Cx_gain_empty = 0.478 },										--
	{ CLSID = "LAU3_WP1B",								Cx_gain_empty = 0.478 },										--
	{ CLSID = "LAU3_WP61",								Cx_gain_empty = 0.478 },										--
	{ CLSID = "LAU3_HE5",								Cx_gain_empty = 0.478 },										--
	{ CLSID = "LAU3_HE151",								Cx_gain_empty = 0.478 },										--

	{ CLSID = "{BDU-50LD}",								Cx_gain = 1.388},				--BDU-50LD
	{ CLSID = "{BDU-50LGB}",							Cx_gain = 1.667 },				--BDU-50LGB
	{ CLSID = "{BDU-50HD}",								Cx_gain = 1.668 },				--BDU-50HD

	{ CLSID = "{BCE4E030-38E9-423E-98ED-24BE3DA87C32}", Cx_gain = 1.563 },				-- Mk-82
	{ CLSID	= "{Mk82SNAKEYE}",							Cx_gain = 1.882 },				-- Mk-82 SNAKEYE   
	{ CLSID	= "{Mk82AIR}",								Cx_gain = 1.882 },				-- Mk-82 AIR
	{ CLSID	= "{AB8B8299-F1CC-4359-89B5-2172E0CF4A5A}", Cx_gain = 1.260 },				-- Mk-84
	{ CLSID	= "{Mk_84AIR_GP}",							Cx_gain = 1.400 },				-- Mk-84 AIR
	{ CLSID	= "{Mk_84AIR_TP}",							Cx_gain = 1.400 },				-- Mk-84 AIR Training 
	{ CLSID	= "{51F9AAE5-964F-4D21-83FB-502E3BFE5F8A}", Cx_gain = 1.673 },			-- GBU-10
	{ CLSID	= "{DB769D48-67D7-42ED-A2BE-108D566C8B1E}", Cx_gain = 0.959 },			-- GBU-12
	{ CLSID = "{34759BBC-AF1E-4AEE-A581-498FF7A6EBCE}", Cx_gain = 3.040 },			-- GBU-24
	
	{ CLSID = "{CBU-87}",								Cx_gain = 3.398 },			-- CBU-87
	{ CLSID = "{5335D97A-35A5-4643-9D9B-026C75961E52}",	Cx_gain = 3.398 },			-- CBU-97
	{ CLSID = "{CBU_105}",								Cx_gain = 3.396 },			-- CBU-105
	{ CLSID = "{BRU57_2*CBU-105}",						Cx_gain_empty = 0.347, Cx_gain_item = 4.151 },
	{ CLSID = "{CBU_103}",								Cx_gain = 3.396 },			-- CBU-103
	{ CLSID = "{BRU57_2*CBU-103}",						Cx_gain_empty = 0.347, Cx_gain_item = 4.151 },

	{ CLSID = "{TER_9A_3*MK-82}",						Cx_gain_empty = 0.625, Cx_gain_item = 2.813 },		-- TER-9A + 3*MK-82
	{ CLSID = "{TER_9A_3*MK-82_Snakeye}",				Cx_gain_empty = 0.478, Cx_gain_item = 2.957 },		-- TER-9A + 3*MK-82 SNAKEYE
	{ CLSID = "{TER_9A_3*MK-82AIR}",					Cx_gain_empty = 0.478, Cx_gain_item = 2.957 },		-- TER-9A + 3*MK-82 AIR
	{ CLSID = "{TER_9A_3*BDU-33}",						Cx_gain_empty = 0.389, Cx_gain_item = 3.45 },		-- TER-9A + 3*BDU-33
	{ CLSID = "{TER_9A_3*BDU-50LD}",					Cx_gain_empty = 0.682, Cx_gain_item = 2.5 },		-- TER_9A_3*BDU-50LD
	{ CLSID = "{TER_9A_3*BDU-50HD}",					Cx_gain_empty = 0.517, Cx_gain_item = 2.143 },		-- TER_9A_3*BDU-50HD

	{ CLSID = "{444BA8AE-82A7-4345-842E-76154EFCCA46}",	Cx_gain_empty = 1.923, Cx_gain_item = 0.965 },		-- LAU-117 + AGM-65D
	{ CLSID = "LAU_117_AGM_65G",						Cx_gain_empty = 1.923, Cx_gain_item = 0.965 },		-- LAU-117 + AGM-65G
	{ CLSID = "LAU_117_AGM_65H",						Cx_gain_empty = 1.923, Cx_gain_item = 0.965 },		-- LAU-117 + AGM-65H
	{ CLSID = "{69DC8AE7-8F77-427B-B8AA-B19D3F478B66}",	Cx_gain_empty = 1.923, Cx_gain_item = 0.965 },		-- LAU-117 + AGM-65K
	{ CLSID = "LAU_88_AGM_65D_ONE",						Cx_gain_empty = 0.500, Cx_gain_item = 1.566 },		-- LAU-88 AGM-65D*1
	{ CLSID = "{DAC53A2F-79CA-42FF-A77A-F5649B601308}",	Cx_gain_empty = 0.500, Cx_gain_item = 1.566 },		-- LAU-88 AGM-65D*3
	{ CLSID = "LAU_88_AGM_65H",							Cx_gain_empty = 0.500, Cx_gain_item = 1.566 },		-- LAU-88 AGM-65H*1
	{ CLSID = "LAU_88_AGM_65H_3",						Cx_gain_empty = 0.500, Cx_gain_item = 1.566 },		-- LAU-88 AGM-65H*3

	{ CLSID = "{CATM-65}",							Cx_gain_item = 0.41 },		-- LAU-117 + CATM-65K  

	{ CLSID = "{B06DD79A-F21E-4EB9-BD9D-AB3844618C93}",							Cx_gain_item = 0.4 },	-- LAU-118 + AGM-88
	{ CLSID = "{GBU-31}",								Cx_gain = 0.170							 },		-- USAF GBU-31 (Mk-84 warhead)	GB31A
	{ CLSID = "{GBU-31V3B}",							Cx_gain = 0.265							 },		-- USAF GBU-31 (BLU-109 warhead) GB31B
	{ CLSID = "{GBU-38}",								Cx_gain = 0.473							 },		-- GBU-38
	{ CLSID = "{BRU57_2*GBU-38}",						Cx_gain_empty = 1,						Cx_gain_empty = 0.572					 },		-- BRU-57 * GBU-38


	{ CLSID = "{C_BRU657_3*GBU-12}",						Cx_gain_empty = 0.824, Cx_gain_item = 0.959 },	-- {BRU-42A_3*GBU-12} 	

	--{ CLSID = "{BRU57_2*AGM-154A}",	Type = 1, Cx_gain_empty = 0.445, Cx_gain_item = 0.6657											  },		-- BRU-57 * AGM-154A 
	{ CLSID = "{BRU57_2*AGM-154A}",	Type = 1, Cx_gain_empty = 0.445, Cx_gain_item = 0.6657, attach_point_position = {-0.3, -0.12, 0.0}},		-- BRU-57 * AGM-154A  
	
	
	{ CLSID = "{AGM-154A}",			Type = 1, Cx_gain = 0.486, },		-- AGM-154A    	
	{ CLSID = "{ 2xAGM-154A}",			Type = 1, Cx_gain = 0.486, },		-- AGM-154A     
       
    
	{ CLSID = "MXU-648-TP",												},							--MXU-648 Travel Pod
	-- ECM Pods
	--{ CLSID	= "ALQ_184",								Cx_gain = 1.281 },							-- ALQ-184 ECM pod
	--{ CLSID	= "ALQ_184_Long", DrawArgs = {{57, 1}},		Cx_gain = 1.281 },							-- ALQ-184 Long ECM pod
	--{ CLSID	= "{6D21ECEA-F85B-4E8D-9D51-31DC9B8AA4EF}",	Cx_gain = 0.955 },							-- ALQ-131 ECM pod
	{ CLSID = "<CLEAN>",								arg_value = 1, add_mass = -131.1 },		-- Clean


	--------------------------
	-- Smoke Mod -------------
	--------------------------
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E741}" },
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E742}" },  
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E743}" },
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E744}" },  
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E745}" }, 
	{ CLSID = "{A4BCC903-06C8-47bb-9937-A30FEDB4E746}" },
	--------------------------
	-- Smoke Mod -------------
	--------------------------


}
local middleLeft = {}	-- 3 left
joinTbl(middle, middleLeft,{
	{ CLSID = "{TER_9A_2L*MK-82}",						Cx_gain_empty = 0.714, Cx_gain_item = 2.813 },			-- TER-9A + 2*MK-82
	{ CLSID = "{TER_9A_2L*MK-82_Snakeye}",				Cx_gain_empty = 0.578, Cx_gain_item = 2.957 },			-- TER-9A + 2*MK-82 SNAKEYE
	{ CLSID = "{TER_9A_2L*MK-82AIR}",					Cx_gain_empty = 0.578, Cx_gain_item = 2.957 },			-- TER-9A + 2*MK-82 AIR
	{ CLSID = "{TER_9A_2L*GBU-12}",						Cx_gain_empty = 0.824, Cx_gain_item = 1.370 },			-- TER-9A + 2*GBU-12

	{ CLSID = "{TER_9A_2L*CBU-87}",						Cx_gain_empty = 0.164, Cx_gain_item = 4.152 },			-- TER-9A + 2*CBU-87
	{ CLSID = "{TER_9A_2L*CBU-97}",						Cx_gain_empty = 0.164, Cx_gain_item = 4.152 },			-- TER-9A + 2*CBU-97

	{ CLSID = "{E6A6262A-CA08-4B3D-B030-E1A993B98452}",	Cx_gain_empty = 0.500, Cx_gain_item = 1.566 },			-- LAU-88 AGM-65D*2
	{ CLSID = "LAU_88_AGM_65H_2_L",						Cx_gain_empty = 0.500, Cx_gain_item = 1.566 },			-- LAU-88 AGM-65H*2

	{ CLSID = "{TER_9A_2L*LAU-68_MK5}",					Cx_gain = 0.399, },		-- TER-9A + 2*LAU-68_MK5
	{ CLSID = "{TER_9A_2L*LAU-68_M151}",				Cx_gain = 0.399, },		-- TER-9A + 2*LAU-68_M151
	{ CLSID = "{TER_9A_2L*LAU-68_M156}",				Cx_gain = 0.399, },		-- TER-9A + 2*LAU-68_M156
	{ CLSID = "{TER_9A_2L*LAU-68_MK61}",				Cx_gain = 0.399, },		-- TER-9A + 2*LAU-68_MK61
	{ CLSID = "{TER_9A_2L*LAU-68_WTU-1/B}",				Cx_gain = 0.399, },		-- TER-9A + 2*LAU-68_WTU-1/B

	{ CLSID = "{TER_9A_2L*LAU-131_MK5}",				Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_MK5
	{ CLSID = "{TER_9A_2L*LAU-131_M151}",				Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_M151
	{ CLSID = "{TER_9A_2L*LAU-131_M156}",				Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_M156
	{ CLSID = "{TER_9A_2L*LAU-131_MK61}",				Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_MK61
	{ CLSID = "{TER_9A_2L*LAU-131_WTU-1/B}",			Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_WTU-1/B


	{ CLSID = "{TER_9A_1L*LAU-131_M151_Viper_1}",			Cx_gain = 0.299 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_2L*LAU-131_M151_Viper_2}",			Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_3L*LAU-131_M151_Viper_3}",			Cx_gain = 0.499 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_1L*LAU-282_M151_Viper_1}",			Cx_gain = 0.299 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_2L*LAU-282_M151_Viper_2}",			Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_3L*LAU-282_M151_Viper_3}",			Cx_gain = 0.499 },		-- TER-9A + 2*LAU-131_WTU-1/B



--NIGHTSTORM
	{ CLSID = "{C_BRUL657_2*GBU-31}",						Cx_gain_item = 0.473			 },		-- GBU-38 Pylon 7,6
	{ CLSID = "{C_BRUL657_2*GBU-38}",						Cx_gain_item = 0.170			 },		-- GBU-31 Pylon 7,6
	{ CLSID = "{C_BRUL657_2*GBU-12}",						Cx_gain_item = 0.959			 },		-- GBU-12 Pylon 7,6
	
	--{ CLSID = "{C_BRUL657_3*GBU-38}",						Cx_gain_empty = 0,						Cx_gain_empty = 0.572					 },		-- GBU-38 Pylon 3,4
	--{ CLSID = "{C_BRUL657_3*GBU-31}",						Cx_gain_empty = 0,						Cx_gain_empty = 0.572					 },		-- GBU-38 Pylon 3,4
	{ CLSID = "{C_BRUL657_3*GBU-12}",						Cx_gain_item = 0.959			 },		-- GBU-38 Pylon 7,6

	--{ CLSID = "{C_BRUL657_32*GBU-38}",						Cx_gain_empty = 0,						Cx_gain_empty = 0.572					 },		-- GBU-38 Pylon 3,4	
	{ CLSID = "{C_BRUL657_32*GBU-12}",						Cx_gain_empty = 0.824,	Cx_gain_item = 1.370	 },		-- GBU-38 Pylon 3,4	
	
	--{ CLSID = "{C_BRUL657_42*GBU-12}",						Cx_gain_empty = 0,						Cx_gain_empty = 0.572					 },		-- GBU-38 Pylon 3,4	

	--{ CLSID = "{C_BRUL657_4*GBU-12}",						Cx_gain_empty = 0,						Cx_gain_empty = 0.572					 },		-- GBU-38 Pylon 3,4
	--{ CLSID = "{C_BRUL657_4*GBU-38}",						Cx_gain_empty = 0,						Cx_gain_empty = 0.572					 },		-- GBU-38 Pylon 3,4	
	
	--{ CLSID = "{C_BRUL657_5*GBU-12}",						Cx_gain_empty = 0,						Cx_gain_empty = 0.572					 },		-- GBU-38 Pylon 3,4
--NIGHTSTORM	    

  

	{ CLSID = "{TER_9A_2L*BDU-50LGB}",					Cx_gain_empty = 0.526, Cx_gain_item = 2.143 },		-- TER_9A_2L*BDU-50LGB
	
	{ CLSID = "LAU_88_AIM-120C_LEFT",					Cx_gain_empty = 0.371, Cx_gain_item = 0.328 },		-- LAU_88_AIM-120C_LEFT
	{ CLSID = "LAU_88_AIM-120B_LEFT",					Cx_gain_empty = 0.371, Cx_gain_item = 0.328 },		-- LAU_88_AIM-120B_LEFT	
	
})
local middleRight = {}	-- 7 right
joinTbl(middle, middleRight,{
	{ CLSID = "{TER_9A_2R*MK-82}",						Cx_gain_empty = 0.714, Cx_gain_item = 2.813 },			-- TER-9A + 2*MK-82
	{ CLSID = "{TER_9A_2R*MK-82_Snakeye}",				Cx_gain_empty = 0.578, Cx_gain_item = 2.957 },			-- TER-9A + 2*MK-82 SNAKEYE
	{ CLSID = "{TER_9A_2R*MK-82AIR}",					Cx_gain_empty = 0.578, Cx_gain_item = 2.957 },			-- TER-9A + 2*MK-82 AIR
	{ CLSID = "{TER_9A_2R*GBU-12}",						Cx_gain_empty = 0.824, Cx_gain_item = 1.370 },			-- TER-9A + 2*GBU-12

	{ CLSID = "{TER_9A_2R*CBU-87}",						Cx_gain_empty = 0.164, Cx_gain_item = 4.152 },			-- TER-9A + 2*CBU-87
	{ CLSID = "{TER_9A_2R*CBU-97}",						Cx_gain_empty = 0.164, Cx_gain_item = 4.152 },			-- TER-9A + 2*CBU-97

	{ CLSID = "{E6A6262A-CA08-4B3D-B030-E1A993B98453}",	Cx_gain_empty = 0.500, Cx_gain_item = 1.566 },			-- LAU-88 AGM-65D*2
	{ CLSID = "LAU_88_AGM_65H_2_R",						Cx_gain_empty = 0.500, Cx_gain_item = 1.566 },			-- LAU-88 AGM-65H*2

	{ CLSID = "{TER_9A_2R*LAU-68_MK5}",					Cx_gain = 0.399 },		-- TER-9A + 2*LAU-68_MK5
	{ CLSID = "{TER_9A_2R*LAU-68_M151}",				Cx_gain = 0.399 },		-- TER-9A + 2*LAU-68_M151
	{ CLSID = "{TER_9A_2R*LAU-68_M156}",				Cx_gain = 0.399 },		-- TER-9A + 2*LAU-68_M156
	{ CLSID = "{TER_9A_2R*LAU-68_MK61}",				Cx_gain = 0.399 },		-- TER-9A + 2*LAU-68_MK61
	{ CLSID = "{TER_9A_2R*LAU-68_WTU-1/B}",				Cx_gain = 0.399 },		-- TER-9A + 2*LAU-68_WTU-1/B

	{ CLSID = "{TER_9A_2R*LAU-131_MK5}",				Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_MK5
	{ CLSID = "{TER_9A_2R*LAU-131_M151}",				Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_M151
	{ CLSID = "{TER_9A_2R*LAU-131_M156}",				Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_M156
	{ CLSID = "{TER_9A_2R*LAU-131_MK61}",				Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_MK61
	{ CLSID = "{TER_9A_2R*LAU-131_WTU-1/B}",			Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_WTU-1/B


	{ CLSID = "{TER_9A_1R*LAU-131_M151_Viper_1}",			Cx_gain = 0.299 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_2R*LAU-131_M151_Viper_2}",			Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_3R*LAU-131_M151_Viper_3}",			Cx_gain = 0.499 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_1R*LAU-282_M151_Viper_1}",			Cx_gain = 0.299 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_2R*LAU-282_M151_Viper_2}",			Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_3R*LAU-282_M151_Viper_3}",			Cx_gain = 0.499 },		-- TER-9A + 2*LAU-131_WTU-1/B


 
--NIGHTSTORM 
	{ CLSID = "{C_BRUR657_2*GBU-38}",						Cx_gain_item = 0.473			 },		-- GBU-38 Pylon 7,6
	{ CLSID = "{C_BRUR657_2*GBU-31}",						Cx_gain_item = 0.170			 },		-- GBU-31 Pylon 7,6
	{ CLSID = "{C_BRUR657_2*GBU-12}",						Cx_gain_item = 0.959			 },		-- GBU-12 Pylon 7,6
	
	--{ CLSID = "{C_BRUR657_3*GBU-38}",						Cx_gain = 0.959			 },		-- GBU-38 Pylon 7,6
	--{ CLSID = "{C_BRUR657_3*GBU-31}",						Cx_gain = 0.959			 },		-- GBU-38 Pylon 7,6
	{ CLSID = "{C_BRUR657_3*GBU-12}",						Cx_gain_item = 0.959			 },		-- GBU-38 Pylon 7,6

	--{ CLSID = "{C_BRUR657_32*GBU-38}",					Cx_gain = 0.959			 },		-- GBU-38 Pylon 7,6
	{ CLSID = "{C_BRUR657_32*GBU-12}",						Cx_gain_empty = 0.824,	Cx_gain_item = 1.370	},		-- GBU-38 Pylon 7,6

	--{ CLSID = "{C_BRUR657_42*GBU-12}",					Cx_gain = 0.959			 },		-- GBU-38 Pylon 7,6
	
	--{ CLSID = "{C_BRUR657_4*GBU-12}",						Cx_gain = 0.959			 },		-- GBU-38 Pylon 7,6
	--{ CLSID = "{C_BRUR657_4*GBU-38}",						Cx_gain = 0.959			 },		-- GBU-38 Pylon 7,6
	   
	--{ CLSID = "{C_BRUR657_5*GBU-12}",						Cx_gain = 0.959			 },		-- GBU-38 Pylon 7,6	       
--NIGHTSTORM         

  

	{ CLSID = "{TER_9A_2R*BDU-50LGB}",					Cx_gain_empty = 0.526, Cx_gain_item = 2.143 },		-- TER_9A_2R*BDU-50LGB
		
	{ CLSID = "LAU_88_AIM-120C_RIGHT",					Cx_gain_empty = 0.371, Cx_gain_item = 0.328 },		-- LAU_88_AIM-120C_RIGHT
	{ CLSID = "LAU_88_AIM-120B_RIGHT",					Cx_gain_empty = 0.371, Cx_gain_item = 0.328 },		-- LAU_88_AIM-120B_RIGHT	
	
})       

local inner		= {		-- 4,6
	{ CLSID = "LAU3_WP156",								Cx_gain_empty = 0.478,	arg_value = 0.5, add_mass = midPylonAddMass },					--
	{ CLSID = "LAU3_WP1B",								Cx_gain_empty = 0.478,	arg_value = 0.5, add_mass = midPylonAddMass },					--
	{ CLSID = "LAU3_WP61",								Cx_gain_empty = 0.478,	arg_value = 0.5, add_mass = midPylonAddMass },					--
	{ CLSID = "LAU3_HE5",								Cx_gain_empty = 0.478,	arg_value = 0.5, add_mass = midPylonAddMass },					--
	{ CLSID = "LAU3_HE151",								Cx_gain_empty = 0.478,	arg_value = 0.5, add_mass = midPylonAddMass },					--

	{ CLSID = "{BDU-50LD}",								Cx_gain = 1.388,		arg_value = 0.5, add_mass = midPylonAddMass},		-- BDU-50LD
	{ CLSID = "{BDU-50LGB}",							Cx_gain = 1.667,		arg_value = 0.5, add_mass = midPylonAddMass },		-- BDU-50LGB
	{ CLSID = "{BDU-50HD}",								Cx_gain = 1.668,		arg_value = 0.5, add_mass = midPylonAddMass },		-- BDU-50HD

	{ CLSID = "{BCE4E030-38E9-423E-98ED-24BE3DA87C32}", Cx_gain = 1.563,		arg_value = 0.5, add_mass = midPylonAddMass },		-- Mk-82
	{ CLSID	= "{Mk82SNAKEYE}",							Cx_gain = 1.882,		arg_value = 0.5, add_mass = midPylonAddMass },		-- Mk-82 SNAKEYE
	{ CLSID	= "{Mk82AIR}",								Cx_gain = 1.882,		arg_value = 0.5, add_mass = midPylonAddMass },		-- Mk-82 AIR
	{ CLSID	= "{AB8B8299-F1CC-4359-89B5-2172E0CF4A5A}",	Cx_gain = 1.260,		arg_value = 0.5, add_mass = midPylonAddMass },		-- Mk-84
	{ CLSID	= "{Mk_84AIR_GP}",							Cx_gain = 1.400,		arg_value = 0.5, add_mass = midPylonAddMass },		-- Mk-84 AIR
	{ CLSID	= "{Mk_84AIR_TP}",							Cx_gain = 1.400,		arg_value = 0.5, add_mass = midPylonAddMass },		-- Mk-84 AIR Training
	{ CLSID	= "{51F9AAE5-964F-4D21-83FB-502E3BFE5F8A}", Cx_gain = 1.673,		arg_value = 0.5, add_mass = midPylonAddMass },		-- GBU-10
	{ CLSID	= "{DB769D48-67D7-42ED-A2BE-108D566C8B1E}", Cx_gain = 0.959,		arg_value = 0.5, add_mass = midPylonAddMass },		-- GBU-12
	{ CLSID = "{34759BBC-AF1E-4AEE-A581-498FF7A6EBCE}", Cx_gain = 3.040,		arg_value = 0.5, add_mass = midPylonAddMass },		-- GBU-24


	{ CLSID = "{C_BRU657_3*GBU-12}",						Cx_gain_empty = 0.824, Cx_gain_item = 0.959 },	-- {BRU-42A_3*GBU-12} 	

 
	{ CLSID = "{CBU-87}",								Cx_gain = 3.398,		arg_value = 0.5, add_mass = midPylonAddMass },			-- CBU-87
	{ CLSID = "{5335D97A-35A5-4643-9D9B-026C75961E52}",	Cx_gain = 3.398,		arg_value = 0.5, add_mass = midPylonAddMass },			-- CBU-97

	{ CLSID = "{TER_9A_3*MK-82}",						Cx_gain_empty = 0.625, Cx_gain_item = 2.813,	arg_value = 0.5, add_mass = midPylonAddMass },		-- TER-9A + 3*MK-82
	{ CLSID = "{TER_9A_3*MK-82_Snakeye}",				Cx_gain_empty = 0.478, Cx_gain_item = 2.957,	arg_value = 0.5, add_mass = midPylonAddMass },		-- TER-9A + 3*MK-82 SNAKEYE
	{ CLSID = "{TER_9A_3*MK-82AIR}",					Cx_gain_empty = 0.478, Cx_gain_item = 2.957,	arg_value = 0.5, add_mass = midPylonAddMass },		-- TER-9A + 3*MK-82 AIR
	{ CLSID = "{TER_9A_3*BDU-33}",						Cx_gain_empty = 0.389, Cx_gain_item = 3.45,		arg_value = 0.5, add_mass = midPylonAddMass },			-- TER-9A + 3*BDU-33
	{ CLSID = "{TER_9A_3*CBU-87}",						Cx_gain_empty = 0.156, Cx_gain_item = 4.152,	arg_value = 0.5, add_mass = midPylonAddMass },			-- TER-9A + 3*CBU-87
	{ CLSID = "{TER_9A_3*CBU-97}",						Cx_gain_empty = 0.156, Cx_gain_item = 4.152,	arg_value = 0.5, add_mass = midPylonAddMass },			-- TER-9A + 3*CBU-97
	{ CLSID = "{TER_9A_3*BDU-50LD}",					Cx_gain_empty = 0.682, Cx_gain_item = 2.5,		arg_value = 0.5, add_mass = midPylonAddMass	},		-- TER_9A_3*BDU-50LD
	{ CLSID = "{TER_9A_3*BDU-50HD}",					Cx_gain_empty = 0.517, Cx_gain_item = 2.143,	arg_value = 0.5, add_mass = midPylonAddMass	},		-- TER_9A_3*BDU-50HD

	{ CLSID = "{B06DD79A-F21E-4EB9-BD9D-AB3844618C93}",	Cx_gain_item = 0.4,		arg_value = 0.5, add_mass = midPylonAddMass },		-- LAU-118 + AGM-88

	{ CLSID = "{F376DBEE-4CAE-41BA-ADD9-B2910AC95DEC}", DrawArgs = {{57, 1}},	arg_value = 0.3, add_mass = 133.8 },			-- 370 gallon Fuel tank
	{ CLSID = "MXU-648-TP",														arg_value = 0.5, add_mass = midPylonAddMass },			--MXU-648 Travel Pod
	{ CLSID = "<CLEAN>",														arg_value = 1},--	add_mass = -133.8},					-- Clean
}
local innerLeft = {}	-- 4 left
joinTbl(inner, innerLeft,{
	{ CLSID = "{TER_9A_2L*MK-82}",						Cx_gain_empty = 0.714, Cx_gain_item = 2.813,	arg_value = 0.5, add_mass = midPylonAddMass },		-- TER-9A + 2*MK-82
	{ CLSID = "{TER_9A_2L*MK-82_Snakeye}",				Cx_gain_empty = 0.578, Cx_gain_item = 2.957,	arg_value = 0.5, add_mass = midPylonAddMass },		-- TER-9A + 2*MK-82 SNAKEYE
	{ CLSID = "{TER_9A_2L*MK-82AIR}",					Cx_gain_empty = 0.578, Cx_gain_item = 2.957,	arg_value = 0.5, add_mass = midPylonAddMass },		-- TER-9A + 2*MK-82 AIR

    { CLSID = "{TER_9A_2L*GBU-12}",						Cx_gain_empty = 0.824, Cx_gain_item = 1.370,	arg_value = 0.5, add_mass = midPylonAddMass },		-- TER-9A + 2*GBU-12

	{ CLSID = "{TER_9A_2L*CBU-87}",						Cx_gain_empty = 0.164, Cx_gain_item = 4.152,	arg_value = 0.5, add_mass = midPylonAddMass },		-- TER-9A + 2*CBU-87
	{ CLSID = "{TER_9A_2L*CBU-97}",						Cx_gain_empty = 0.164, Cx_gain_item = 4.152,	arg_value = 0.5, add_mass = midPylonAddMass },		-- TER-9A + 2*CBU-97


	{ CLSID = "{TER_9A_1L*LAU-131_M151_Viper_1}",			Cx_gain = 0.299 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_2L*LAU-131_M151_Viper_2}",			Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_3L*LAU-131_M151_Viper_3}",			Cx_gain = 0.499 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_1L*LAU-131_M282_Viper_1}",			Cx_gain = 0.299 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_2L*LAU-131_M282_Viper_2}",			Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_3L*LAU-131_M282_Viper_3}",			Cx_gain = 0.499 },		-- TER-9A + 2*LAU-131_WTU-1/B


	--{ CLSID = "{C_BRUL657_26*GBU-12}",						Cx_gain_item = 0.959			 },		-- GBU-12 Pylon 7,6
	--{ CLSID = "{C_BRUL657_36*GBU-12}",						Cx_gain_empty = 0.824,	Cx_gain_item = 1.370	 },		-- GBU-38 Pylon 3,4	
  
 
	
	{ CLSID = "{CFT_Left}", arg_value = 0.5, use_full_connector_position = false, connector = "disable",  attach_point_position = {0.0, 0.0, 0.0}, 					
	required = 		 {
						{station = 13, loadout = {"{CFT}"} },
						{station = 6, loadout = {"{CFT_Right}"} },
					},},	--NIGHTSTORM CFT Mod Left tank gives full fuel ammount 225 gallon  
	{ CLSID = "{CFT_370_Left}", DrawArgs = {{57, 1}},	arg_value = 0.3, add_mass = 133.8,  
	required = 		 {
						{station = 13, loadout = {"{CFT}"} },
						{station = 6, loadout = {"{CFT_370_Right}"} },						
					},},														--NIGHTSTORM CFT Mod Fuel tank 370 gal + CFT 225 gal gives full fuel ammount 595 gallons
	{ CLSID = "{370_Empty}", DrawArgs = {{57, 1}},	arg_value = 0.3, add_mass = 133.8 },										--NIGHTSTORM 370 gallon Fuel tank *EMPTY*		
	
	})
local innerRight = {}	-- 6 right 
joinTbl(inner, innerRight,{
	{ CLSID = "{TER_9A_2R*MK-82}",						Cx_gain_empty = 0.714, Cx_gain_item = 2.813,	arg_value = 0.5, add_mass = midPylonAddMass },		-- TER-9A + 2*MK-82
	{ CLSID = "{TER_9A_2R*MK-82_Snakeye}",				Cx_gain_empty = 0.578, Cx_gain_item = 2.957,	arg_value = 0.5, add_mass = midPylonAddMass },		-- TER-9A + 2*MK-82 SNAKEYE
	{ CLSID = "{TER_9A_2R*MK-82AIR}",					Cx_gain_empty = 0.578, Cx_gain_item = 2.957,	arg_value = 0.5, add_mass = midPylonAddMass },		-- TER-9A + 2*MK-82 AIR

    { CLSID = "{TER_9A_2R*GBU-12}",						Cx_gain_empty = 0.824, Cx_gain_item = 1.370,	arg_value = 0.5, add_mass = midPylonAddMass },		-- TER-9A + 2*GBU-12
	
	{ CLSID = "{TER_9A_2R*CBU-87}",						Cx_gain_empty = 0.164, Cx_gain_item = 4.152,	arg_value = 0.5, add_mass = midPylonAddMass },		-- TER-9A + 2*CBU-87
	{ CLSID = "{TER_9A_2R*CBU-97}",						Cx_gain_empty = 0.164, Cx_gain_item = 4.152,	arg_value = 0.5, add_mass = midPylonAddMass },		-- TER-9A + 2*CBU-97
	
	
	{ CLSID = "{TER_9A_1R*LAU-131_M151_Viper_1}",			Cx_gain = 0.299 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_2R*LAU-131_M151_Viper_2}",			Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_3R*LAU-131_M151_Viper_3}",			Cx_gain = 0.499 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_1R*LAU-282_M151_Viper_1}",			Cx_gain = 0.299 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_2R*LAU-282_M151_Viper_2}",			Cx_gain = 0.399 },		-- TER-9A + 2*LAU-131_WTU-1/B
	{ CLSID = "{TER_9A_3R*LAU-282_M151_Viper_3}",			Cx_gain = 0.499 },		-- TER-9A + 2*LAU-131_WTU-1/B
	
	 
	
	--{ CLSID = "{CFT_Fuel_6}", arg_value = 0.5,  attach_point_position = {1.053, 0.519, -1.813000}, 	 --1.053, 0.519, -1.813000	 			
	--required = 		 {
	--					{station = 13, loadout = {"{CFT}"} },
	--				},},	--NIGHTSTORM CFT Mod gives full fuel ammount 450 gallon   	
	
	{ CLSID = "{CFT_Right}", arg_value = 0.5, use_full_connector_position = false, connector = "disable",  attach_point_position = {0.0, 0.0, 0.0}, 					
	required = 		 {
						{station = 13, loadout = {"{CFT}"} },
						{station = 4, loadout = {"{CFT_Left}"} },
					},},	--NIGHTSTORM CFT Mod Left tank gives full fuel ammount 225 gallon    
					
	{ CLSID = "{CFT_370_Right}", DrawArgs = {{57, 1}},	arg_value = 0.3, add_mass = 133.8,  
	required = 		 {
						{station = 13, loadout = {"{CFT}"} },
						{station = 4, loadout = {"{CFT_370_Left}"} },						
					},},														--NIGHTSTORM CFT Mod Fuel tank 370 gal + CFT 225 gal gives full fuel ammount 595 gallons
	
	{ CLSID = "{370_Empty}", DrawArgs = {{57, 1}},	arg_value = 0.3, add_mass = 133.8 },										--NIGHTSTORM 370 gallon Fuel tank *EMPTY*		
	
}) 

local fuselageLeft	= {		-- 5L

	{ CLSID = "{AN_AAQ_13}",arg_increment = 0.0, attach_point_position = {-0.35, -0.07, -0.07}},	--NIGHTSTORM Lantirn Pod (Y,Z,X) --NIGHTSTORM Stock version	
	{ CLSID = "{AN_ASQ_213}" },															--HTS
}

local fuselageRight	= {		-- 5R
	{ CLSID = "{A111396E-D3E8-4b9c-8AC9-2432489304D5}",	Cx_gain = 4.872 ,		arg_value = 0.0 },			--Litening
	{ CLSID = "{AN_AAQ_33}",	DrawArgs = {{3, 0.4}},	Cx_gain = 1.500 ,		arg_value = 0.0 },			--AN/AAQ-33 Advanced Targeting Pod	
}

local centerline	= {		-- 5
	{ CLSID = "{8A0BE8AE-58D4-4572-9263-3144C0D06364}" },			-- 300 gallon Fuel tank
	{ CLSID = "MXU-648-TP",												},								-- MXU-648 Travel Pod
	-- ECM Pods
	--{ CLSID	= "ALQ_184",														Cx_gain = 1.281 },										-- ALQ-184 ECM pod
	--{ CLSID	= "ALQ_184_Long",							DrawArgs = {{57, 1}},	Cx_gain = 1.281 },										-- ALQ-184 Long ECM pod
	--{ CLSID	= "{6D21ECEA-F85B-4E8D-9D51-31DC9B8AA4EF}", DrawArgs = {{57, 1}},	Cx_gain = 0.955, arg_value = 0.5, add_mass = -59.4 },	-- ALQ-131 ECM pod
	
	{ CLSID = "{300_Empty}" },																								--NIGHTSTORM 300 gallon Fuel tank	*EMPTY*		
	
	{ CLSID = "<CLEAN>",								arg_value = 1,			add_mass = -78.9 },			-- Clean
}

local F_16C = {
	Name				= 'F-16C_50', 

	shape_table_data	=
	{
		{
			file		= "f-16c_bl50";
			username	= "F-16C_50";
			index		= WSTYPE_PLACEHOLDER;
			life		= 20;
			vis			= 3;
			desrt		= "F-16C_destr";
			fire		= { 300, 2};
			classname	= "lLandPlane";
			positioning	= "BYNORMAL";
		},
		{
			name	= "F-16C_destr";
			file	= "f-16c-oblomok";
			fire	= { 0, 1};
		}
	},

	country_of_origin = "USA",

	Picture = "F-16C.png",
	DisplayName			=	_("F-16V Block 70"),
	mapclasskey			=	"P0091000024",
	WorldID				=	WSTYPE_PLACEHOLDER,
	attribute			=	{wsType_Air, wsType_Airplane, wsType_Fighter, WSTYPE_PLACEHOLDER, "Multirole fighters", "Refuelable", "Datalink", "Link16"},
	Categories			=	{"{78EFB7A2-FD52-4b57-A6A6-3BF0E1D6555F}", "Interceptor",},
	CanopyGeometry		=	makeAirplaneCanopyGeometry(LOOK_AVERAGE, LOOK_AVERAGE, LOOK_GOOD),
	Rate				=	50,

	-- Countermeasures,
	passivCounterm = {
		CMDS_Edit = true,
		SingleChargeTotal = 120,
		chaff = {default = 60, increment = 30, chargeSz = 1},
		flare = {default = 60, increment = 30, chargeSz = 1},
		preferred_flare_kind = 2,
	},
	Sensors = {
		RADAR = "AN/APG-68",
		RWR = "Abstract RWR"
	},
	EPLRS = true,

	HumanRadio = {
		frequency		= 305.0,
		editable		= true,
		minFrequency	=  30.000,
		maxFrequency	= 399.975,
		rangeFrequency = {
			{min =  30.0, max =  87.975, modulation	= MODULATION_FM},
			{min = 116.0, max = 155.975, modulation	= MODULATION_AM},
			{min = 225.0, max = 399.975, modulation	= MODULATION_AM}
		},
		modulation	= MODULATION_AM,
	},
	panelRadio	= {
		[1] = {
			name = _("COMM 1 (UHF) AN/ARC-164"),
			range = {
				{min = 225.0, max = 399.975, modulation	= MODULATION_AM}
			},
			channels = {
				[1] = { name = _("Channel 1"),		default = 305.0, connect = true}, -- default
				[2] = { name = _("Channel 2"),		default = 264.0},	-- min. water : 135.0, 264.0
				[3] = { name = _("Channel 3"),		default = 265.0},	-- nalchik : 136.0, 265.0
				[4] = { name = _("Channel 4"),		default = 256.0},	-- sochi : 127.0, 256.0
				[5] = { name = _("Channel 5"),		default = 254.0},	-- maykop : 125.0, 254.0
				[6] = { name = _("Channel 6"),		default = 250.0},	-- anapa : 121.0, 250.0
				[7] = { name = _("Channel 7"),		default = 270.0},	-- beslan : 141.0, 270.0
				[8] = { name = _("Channel 8"),		default = 257.0},	-- krasnodar-pashk. : 128.0, 257.0
				[9] = { name = _("Channel 9"),		default = 255.0},	-- gelenjik : 126.0, 255.0
				[10] = { name = _("Channel 10"),	default = 262.0},	-- kabuleti : 133.0, 262.0
				[11] = { name = _("Channel 11"),	default = 259.0},	-- gudauta : 130.0, 259.0
				[12] = { name = _("Channel 12"),	default = 268.0},	-- soginlug : 139.0, 268.0
				[13] = { name = _("Channel 13"),	default = 269.0},	-- vaziani : 140.0, 269.0
				[14] = { name = _("Channel 14"),	default = 260.0},	-- batumi : 131.0, 260.0
				[15] = { name = _("Channel 15"),	default = 263.0},	-- kutaisi : 134.0, 263.0
				[16] = { name = _("Channel 16"),	default = 261.0},	-- senaki : 132.0, 261.0
				[17] = { name = _("Channel 17"),	default = 267.0},	-- lochini : 138.0, 267.0
				[18] = { name = _("Channel 18"),	default = 251.0},	-- krasnodar-center : 122.0, 251.0
				[19] = { name = _("Channel 19"),	default = 253.0},	-- krymsk : 124.0, 253.0
				[20] = { name = _("Channel 20"),	default = 266.0},	-- mozdok : 137.0, 266.0
			}
		},
		[2] = {
			name = _("COMM 2 (VHF) AN/ARC-222"),
			range = {
				{min =  30.0, max =  87.975, modulation	= MODULATION_FM},	-- FM
				{min = 116.0, max = 155.975, modulation	= MODULATION_AM}	-- AM
			},
			channels = {
				[1] = { name = _("Channel 1"),		default = 127.0, connect = true},	-- default
				[2] = { name = _("Channel 2"),		default = 135.0},	-- min. water : 135.0, 264.0
				[3] = { name = _("Channel 3"),		default = 136.0},	-- nalchik : 136.0, 265.0
				[4] = { name = _("Channel 4"),		default = 127.0},	-- sochi : 127.0, 256.0
				[5] = { name = _("Channel 5"),		default = 125.0},	-- maykop : 125.0, 254.0
				[6] = { name = _("Channel 6"),		default = 121.0},	-- anapa : 121.0, 250.0
				[7] = { name = _("Channel 7"),		default = 141.0},	-- beslan : 141.0, 270.0
				[8] = { name = _("Channel 8"),		default = 128.0},	-- krasnodar-pashk. : 128.0, 257.0
				[9] = { name = _("Channel 9"),		default = 126.0},	-- gelenjik : 126.0, 255.0
				[10] = { name = _("Channel 10"),	default = 133.0},	-- kabuleti : 133.0, 262.0
				[11] = { name = _("Channel 11"),	default = 130.0},	-- gudauta : 130.0, 259.0
				[12] = { name = _("Channel 12"),	default = 139.0},	-- soginlug : 139.0, 268.0
				[13] = { name = _("Channel 13"),	default = 140.0},	-- vaziani : 140.0, 269.0
				[14] = { name = _("Channel 14"),	default = 131.0},	-- batumi : 131.0, 260.0
				[15] = { name = _("Channel 15"),	default = 134.0},	-- kutaisi : 134.0, 263.0
				[16] = { name = _("Channel 16"),	default = 132.0},	-- senaki : 132.0, 261.0
				[17] = { name = _("Channel 17"),	default = 138.0},	-- lochini : 138.0, 267.0
				[18] = { name = _("Channel 18"),	default = 122.0},	-- krasnodar-center : 122.0, 251.0
				[19] = { name = _("Channel 19"),	default = 124.0},	-- krymsk : 124.0, 253.0
				[20] = { name = _("Channel 20"),	default = 137.0},	-- mozdok : 137.0, 266.0
			}
		},
	},
	TACAN_AA = true,

	Pylons = {
		pylon(1, 0, -2.2, 0.002, -4.739,
			{
				arg = 308,
				arg_value = 0,
				use_full_connector_position = true,
				connector = "Pylon1",
			},
			tips, 1
		),
		pylon(2, 0, -1.918, -0.454, -3.948000,
			{
				arg = 309,
				arg_value = 0,
				use_full_connector_position = true,
				connector = "Pylon2",
				mass = 51.3,
			},
			outer, 2
		),
		pylon(3, 0, -2.05, -0.505, -3.050000,
			{
				arg = 310,
				arg_value = 0,
				use_full_connector_position = true,
				connector = "Pylon3",
				mass = 131.1,
			},
			middleLeft, 3
		),
		pylon(4, 0, -1.053, -0.519, -1.813000,
			{
				arg = 311,
				arg_value = 0.5,
				use_full_connector_position = true,
				connector = "Pylon4",
			},
			innerLeft, 4
		),
		pylon(5, 0, -0.704, -1.173, 0.000000,
			{
				arg = 312,
				arg_value = 0,
				use_full_connector_position = true,
				connector = "Pylon5",
				DisplayName = _("5"),
				mass = 78.9,
			},
			centerline, 6
		),
		pylon(6, 0, -1.053, -0.519, 1.813000,
			{
				arg = 313,
				arg_value = 0.5,
				use_full_connector_position = true, 
				connector = "Pylon6",
				DisplayName = _("6"),
			},
			innerRight, 8
		),
		pylon(7, 0, -2.05, -0.505, 3.050000,
			{
				arg = 314,
				arg_value = 0,
				use_full_connector_position = true,
				connector = "Pylon7",
				DisplayName = _("7"),
				mass = 131.1,
			},
			middleRight, 9
		),
		pylon(8, 0, -1.918, -0.454, 3.948000,
			{
				arg = 315,
				arg_value = 0,
				use_full_connector_position = true,
				connector = "Pylon8",
				DisplayName = _("8"),
				mass = 51.3,
			},
			outer, 10
		),
		pylon(9, 0, -2.2, 0.002, 4.739,
			{
				arg = 316,
				arg_value = 0,
				use_full_connector_position = true,
				connector = "Pylon9",
				DisplayName = _("9"),
			},
			tips, 11
		),
		pylon(10, 0, 2.700000, -0.550000, 0.550000,
			{
				use_full_connector_position = true,
				connector = "Pylon10",
				DisplayName = _("5L")
			},
			fuselageLeft, 5
		),
		pylon(11, 0, 2.700000, -0.550000, -0.550000,
			{
				arg = 318,
				arg_value = 1,
				use_full_connector_position = true,
				connector = "Pylon11",
				DisplayName = _("5R")
			},
			fuselageRight, 7
		),
		pylon(
			12,
			2,-- make it "hatch" station , it will be invisible until hatch is closed , it is always closed on hornet
			-7.1, 0.1, -0.2,
			{
				connector = "disable",
				DisplayName = _("SMK")
			},
			{
				{CLSID = "{INV-SMOKE-RED}"},	--Smoke Generator - red
				{CLSID = "{INV-SMOKE-GREEN}"},	--Smoke Generator - green
				{CLSID = "{INV-SMOKE-BLUE}"},	--Smoke Generator - blue
				{CLSID = "{INV-SMOKE-WHITE}"},	--Smoke Generator - white
				{CLSID = "{INV-SMOKE-YELLOW}"},	--Smoke Generator - yellow
				{CLSID = "{INV-SMOKE-ORANGE}"},	--Smoke Generator - orange
			}
		),
		
		
		
--NIGHTSTORM CFT Mod Pylon added as station 13 for tanks, 14 for tail extensions, 15 for ECM, 16 for ground equipment. 
		pylon(13, 0, 0, 0, 0,
            {
                DisplayName = _("CFT"),
            },
			
            {
				{ CLSID = "{CFT}", arg_value = 0.0, required ={{station =13, loadout={"{CFT}"}}}},										--NIGHTSTORM
            }, 13
		),
		pylon(14, 0, 0, 0, 0,
            {
				DisplayName = _("AUX"),  
            },
            {
				{ CLSID = "{TAIL_0}", arg_value = 0.0, required ={{station =14, loadout={"{TAIL_0}"}}}},									--NIGHTSTORM
				{ CLSID = "{TAIL_1}", arg_value = 0.0, required ={{station =14, loadout={"{TAIL_1}"}}}},									--NIGHTSTORM
				{ CLSID = "{TAIL_2}", arg_value = 0.0, required ={{station =14, loadout={"{TAIL_2}"}}}},									--NIGHTSTORM
				{ CLSID = "{TAIL_3}", arg_value = 0.0, required ={{station =14, loadout={"{TAIL_3}"}}}},									--NIGHTSTORM	
				{ CLSID = "{TAIL_4}", arg_value = 0.0, required ={{station =14, loadout={"{TAIL_4}"}}}},									--NIGHTSTORM
				}, 14
		),		
		pylon(15, 0, 0, 0, 0,
            {
                DisplayName = _("ECM"),   
            },
            {
				{ CLSID	= "{6D21ECEA-F85B-4E8D-9D51-31DC9B8AA4EF}", add_mass = -305, arg_value = 0.0, required ={{station =15, loadout={"{6D21ECEA-F85B-4E8D-9D51-31DC9B8AA4EF}"}}}},			--NIGHTSTORM BUILT IN ECM Equipment
				{ CLSID	= "ALQ_184", add_mass = -215,  arg_value = 0.0, required ={{station =15, loadout={"ALQ_184"}}}},									--NIGHTSTORM BUILT IN ECM Equipment
				{ CLSID	= "ALQ_184_Long", add_mass = -286,  arg_value = 0.0, required ={{station =15, loadout={"ALQ_184_Long"}}}},						--NIGHTSTORM BUILT IN ECM Equipment
            }, 15
		),				
				
		pylon(16, 0, 0, 0, 0,  
            {
                DisplayName = _("GND"),
            },
            {
				{ CLSID = "{Crew_Ladder}", arg_value = 0.0, required ={{station =16, loadout={"{Crew_Ladder}"}}}},						--NIGHTSTORM				
				{ CLSID = "{RampStart}", arg_value = 0.0, required ={{station =16, loadout={"{RampStart}"}}}},							--NIGHTSTORM				
				{ CLSID = "{Parked}", arg_value = 0.0, required ={{station =16, loadout={"{Parked}"}}}},								--NIGHTSTORM	
            }, 16
		),				
--NIGHTSTORM CFT Mod Pylon added as station 13 for tanks, 14 for tail extensions, 15 for ECM, 16 for ground equipment.				
		
		
		
	},

	Guns = {
		gun_mount("M_61",
		{
			mixes = {
				{1},		-- XM242 HEI-T
				{2},		-- M56 HEI
				{3},		-- M53 API
				{4,5},		-- M55 + M220 TP
				{6},		-- PGU-28/B SAPHEI
				{7,8},		-- PGU-27/B TP with tracers
			},
			count = 510
		},
		{
			supply_position			= {0.4, 0.55, 0.0},		-- approx
			effects = {gatling_effect(351, 6), fire_effect(350), smoke_effect()},
		})
	},
	ammo_type_default = 5, -- interface to set desired ammunition mix in ME (DCSCORE-1104)
	ammo_type ={
			_("HEI-T High Explosive Incendiary-Tracer"),
			_("HEI High Explosive Incendiary"),
			_("AP Armor Piercing"),
			_("TP Target Practice-Tracer"),
			_("SAPHEI High Explosive Armor Piercing PGU"),
			_("TP Target Practice-Tracer PGU"),
	},

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

	-------------------------
	M_empty						=	9979,--8853,
	M_nominal					=	11000,
	M_max						=	20865,
	M_fuel_max					=	3249,--3249,  
	H_max						=	15240,
	CAS_min						=	60,
	V_opt						=	220,
	V_take_off					=	87,--65,			-- for 33k lbs
	V_land						=	72,--68,			-- for 25k lbs touchdown 
	V_max_sea_level				=	408,
	V_max_h						=	588.9,
	Mach_max					=	2,
	Vy_max						=	250,
	Ny_min						=	-3,
	Ny_max						=	8,
	Ny_max_e					=	8,
	bank_angle_max				=	60,
	AOA_take_off				=	0.16,
	range						=	1500,
	average_fuel_consumption	=	0.274,
	thrust_sum_max				=	8618,	--8054		--F110-GE-129 Intermediate power: 	17,155 lbf (76.31 kN) 	7781 kgf  Maximum Dry Thrust:  8054 kgf	
	thrust_sum_ab				=	14742,	--13160		--F110-GE-129 Full afterburner: 	29,400 lbf (131 kN)		13360 kgf 

	wing_area	=	28,
	wing_span	=	9.45,
	length		=	14.52,
	height		=	5.02,

	flaps_maneuver				=	1,
	stores_number				=	10,
	has_afteburner				=	true,
	has_speedbrake				=	true,
	brakeshute_name				=	0,
	radar_can_see_ground		=	true,
	RCS							=	4,
	detection_range_max			=	160,
	IR_emission_coeff			=	0.6,
	IR_emission_coeff_ab		=	3.0,
	air_refuel_receptacle_pos	=	{-0.051, 0.911, 0.0},
	tanker_type					=	1,

	wing_tip_pos				=	{-2.704, 0.307, 4.649},

	tand_gear_max								=	0.62487,
	nose_gear_pos								=	{2.268, -2.021, 0},	-- calc:{2.2,	-1.84,	0}	design:{2.268,	-2.025,	0}
	nose_gear_amortizer_direct_stroke			=	0.0,		-- down from nose_gear_pos !!!
	nose_gear_amortizer_reversal_stroke			=	-0.244,		-- up
	nose_gear_amortizer_normal_weight_stroke	=	-0.146,		-- down from nose_gear_pos
	nose_gear_wheel_diameter					=	0.4572,

	main_gear_pos								=	{-1.803, -1.990, 1.094},	-- calc:{-1.79,	-1.89,	1.19}	design:{-1.803,	-1.971,	1.094}
	main_gear_amortizer_direct_stroke			=	0.0,		-- down from main_gear_pos !!!
	main_gear_amortizer_reversal_stroke			=	-0.240,		-- up
	main_gear_amortizer_normal_weight_stroke	=	-0.144,		-- down from main_gear_pos
	main_gear_wheel_diameter					=	0.70485,
	nose_gear_door_close_after_retract			=	false,
	main_gear_door_close_after_retract			=	false,

	engines_count	=	1,
	engines_nozzles	=
	{
			[1] =
			{
				pos					=	{-6.003,	0.261,	0},
				elevation			=	0,
				diameter			=	1.1,
				exhaust_length_ab	=	12,
				exhaust_length_ab_K	=	0.76,
				smokiness_level		=	0.05,
				afterburner_circles_count = 11,
				afterburner_circles_pos = {0.2, 0.8},
				afterburner_circles_scale = 1.0,
				afterburner_effect_texture = "afterburner_f-16c",
			}, -- end of [1]
	}, -- end of engines_nozzles

	InheriteCommonCallnames = true,
	SpecificCallnames = {
		["USA"] = {
					{_('Viper'),		'Viper'},
					{_('Venom'),		'Venom'},
					{_('Lobo'),			'Lobo'},
					{_('Cowboy'),		'Cowboy'},
					{_('Python'),		'Python'},
					{_('Rattler'),		'Rattler'},
					{_('Panther'),		'Panther'},
					{_('Wolf'),			'Wolf'},
					{_('Weasel'),		'Weasel'},
					{_('Wild'),			'Wild'},
					{_('Ninja'),		'Ninja'},
					{_('Jedi'),			'Jedi'}
		}
	},

	crew_members =
	{
		[1] =
		{
			ejection_seat_name	= "pilot_f16_seat",
			pilot_name	 	= "pilot_f16",
			drop_canopy_name	= "f-16c_bl50_fonar",
			canopy_pos		= {0,0,0},
			pos			= {3.32,	0.27,	0},
			g_suit			= 1.02,
		}, -- end of [1]
	}, -- end of crew_members

	mechanimations = "Default",

	-- add model draw args for network transmitting to this draw_args table (16 limit)
	net_animation =
	{
		25,			-- hook
		78,			-- ECS inlet scoops
		274,		-- JFS doors
		275,		-- Gun Gas Purge door
		799,		-- canopy tint

		39, 99,							-- PLT head turn
		533,							-- PLT head roll

		459,							-- died/alive

		500, 501, 502, 503, 504, 505,	-- hands on stick, throttle; pedals control
		395, 396, 420,					-- controls: stick, throttle, pedals
		506, 507, 508, 509,				-- PLT helmet kit
		530, 531, 532,					-- PLT body deflections
		534, 535, 536,					--
	},

	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},
	}, -- end of fires_pos

	effects_presets = {
		{effect = "OVERWING_VAPOR", file = current_mod_path.."/Effects/F-16C_bl50_overwingVapor.lua"},
	},

	chaff_flare_dispenser =
	{
		[1] =
		{
			dir =	{0,	-1,	0},
			pos =	{-3.65, -0.5, -0.93},
		}, -- end of [1]
		[2] =
		{
			dir =	{0,	-1,	0},
			pos =	{-3.91, -0.5, -0.93},
		}, -- end of [2]
		[3] =
		{
			dir =	{0,	-1,	0},
			pos =	{-4.73, -0.5, -0.93},
		}, -- end of [3]
		[4] =
		{
			dir =	{0,	-1,	0},
			pos =	{-4.73, -0.5,	0.93},
		}, -- end of [4]
	}, -- end of chaff_flare_dispenser

	Damage = verbose_to_dmg_properties({
		["NOSE_CENTER"]				= {args = {146},	critical_damage = 3},
		["NOSE_BOTTOM"]				= {args = {148},	critical_damage = 3},	-- Inlet	-- arg?

		["COCKPIT"]					= {args = {65},		critical_damage = 6},	-- arg?
		["CABIN_LEFT_SIDE"]			= {args = {298},	critical_damage = 3},	-- arg?
		["CABIN_RIGHT_SIDE"]		= {args = {299},	critical_damage = 3},	-- arg?
		["CABIN_BOTTOM"]			= {args = {152},	critical_damage = 3},	-- arg?
		["WHEEL_F"]					= {args = {135},	critical_damage = 3},	-- arg?

		["FUSELAGE_LEFT_SIDE"]		= {args = {154},	critical_damage = 3},	-- arg?
		["FUSELAGE_RIGHT_SIDE"]		= {args = {153},	critical_damage = 3},	-- arg?
		["FUSELAGE_BOTTOM"]			= {args = {152},	critical_damage = 4},	-- arg?
		["WHEEL_L"]					= {args = {137},	critical_damage = 3},	-- arg?
		["WHEEL_R"]					= {args = {136},	critical_damage = 3},	-- arg?

		["TAIL_LEFT_SIDE"]			= {args = {158},	critical_damage = 3},	-- arg?
		["TAIL_RIGHT_SIDE"]			= {args = {157},	critical_damage = 3},	-- arg?
		["TAIL_BOTTOM"]				= {args = {156},	critical_damage = 3},	-- arg?

		["ENGINE_R"]				= {args = {160},	critical_damage = 2},	-- arg?

		["AIR_BRAKE_L"]				= {args = {183}, critical_damage = 1},		-- arg?
		["AIR_BRAKE_R"]				= {args = {185}, critical_damage = 1},		-- arg?

		["WING_L_IN"]				= {args = {225},	critical_damage = 5, deps_cells = {"WING_L_CENTER", "WING_L_OUT", "WING_L_PART_IN", "AILERON_L"}},
		["WING_L_CENTER"]			= {args = {224},	critical_damage = 4, deps_cells = {"WING_L_OUT", "WING_L_PART_IN", "AILERON_L"}},
		["WING_L_OUT"]				= {args = {223},	critical_damage = 2, deps_cells = {"WING_L_PART_IN"}},
		["AILERON_L"]				= {args = {226},	critical_damage = 3},
		["WING_L_PART_IN"]			= {args = {230},	critical_damage = 2},

		["WING_R_IN"]				= {args = {215},	critical_damage = 5, deps_cells = {"WING_R_CENTER", "WING_R_OUT", "WING_R_PART_IN", "AILERON_R"}},
		["WING_R_CENTER"]			= {args = {214},	critical_damage = 4, deps_cells = {"WING_R_OUT", "WING_R_PART_IN", "AILERON_R"}},
		["WING_R_OUT"]				= {args = {213},	critical_damage = 2, deps_cells = {"WING_R_PART_IN"}},
		["AILERON_R"]				= {args = {216},	critical_damage = 3},
		["WING_R_PART_IN"]			= {args = {220},	critical_damage = 2},

		["ELEVATOR_L_IN"]			= {args = {240},	critical_damage = 2, deps_cells = {"ELEVATOR_L_OUT"}},
		["ELEVATOR_L_OUT"]			= {args = {239},	critical_damage = 1},
		["ELEVATOR_R_IN"]			= {args = {238},	critical_damage = 2, deps_cells = {"ELEVATOR_R_OUT"}},
		["ELEVATOR_R_OUT"]			= {args = {237},	critical_damage = 1},

		["FIN_R_BOTTOM"]			= {args = {243},	critical_damage = 4, deps_cells = {"FIN_R_TOP"}, {"FIN_R_CENTER"}, {"RUDDER_R"}},
		["FIN_R_CENTER"]			= {args = {242},	critical_damage = 3, deps_cells = {"FIN_R_TOP"}, {"RUDDER_R"}},
		["FIN_R_TOP"]				= {args = {241},	critical_damage = 2, deps_cells = {"RUDDER_R"}},
		["RUDDER_R"]				= {args = {247},	critical_damage = 1},

		["HOOK"]					= {critical_damage = 2},
	}),-- end of Damage

	DamageParts	=
	{
		[1] = "f-16c_bl50_oblomok_wing_R",
		[2] = "f-16c_bl50_oblomok_wing_L",
	},

	SFM_Data = {
		aerodynamics =
		{
			Cy0	=	0,
			Mzalfa	=	4.355,
			Mzalfadt	=	0.8,
			kjx	=	2.75,
			kjz	=	0.00125,
			Czbe	=	-0.016,
			cx_gear	=	0.0268,
			cx_flap	=	0.05,
			cy_flap	=	0.52,
			cx_brk	=	0.06,
			table_data =
			{
				[1] =	{0,		0.0165,	0.07,	0.132,	0.025,	0.5,	30,	1.45},
				[2] =	{0.2,	0.0165,	0.07,	0.132,	0.025,	1.5,	30,	1.45},
				[3] =	{0.4,	0.0165,	0.07,	0.133,	0.028,	2.5,	30,	1.45},
				[4] =	{0.6,	0.0196,	0.073,	0.133,	0.032,	3.5,	30,	1.45},
				[5] =	{0.7,	0.0228,	0.076,	0.134,	0.034,	3.5,	28.666666666667,	1.45},
				[6] =	{0.8,	0.0314,	0.079,	0.137,	0.036,	3.5,	27.333333333333,	1.35},
				[7] =	{0.9,	0.0542,	0.083,	0.1327,	0.042,	3.5,	26,	1.3},
				[8] =	{1,		0.0707,	0.085,	0.1634,	0.1,	3.5,	24.666666666667,	1.12},
				[9] =	{1.05,	0.07,	0.0855,	0.1975,	0.095,	3.5,	24,	1.11},
				[10] =	{1.1,	0.0699,	0.086,	0.215,	0.09,	3.15,	18,	1.1},
				[11] =	{1.2,	0.0652,	0.083,	0.228,	0.12,	2.45,	17,	1.05},
				[12] =	{1.3,	0.0605,	0.077,	0.237,	0.17,	1.75,	16,	1},
				[13] =	{1.49,	0.05,	0.062,	0.241,	0.2,	1.5125,	13.15,	0.905},
				[14] =	{1.5,	0.0542,	0.061483870967742,	0.241,	0.2058064516129,	1.5,	13,	0.9},
				[15] =	{1.7,	0.05,	0.051161290322581,	0.24354838709677,	0.32193548387097,	0.9,	12,	0.7},
				[16] =	{1.8,	0.05,	0.046,	0.24,	0.38,	0.86,	11.4,	0.64},
				[17] =	{2,		0.0471,	0.039,	0.222,	2.5,	0.78,	10.2,	0.52},
				[18] =	{2.2,	0.0455,	0.034,	0.227,	3.2,	0.7,	9,	0.4},
				[19] =	{2.5,	0.039,	0.033,	0.25,	4.5,	0.7,	9,	0.4},
				[20] =	{3.9,	0.035,	0.033,	0.35,	6,	0.7,	9,	0.4},
			}, -- end of table_data
		}, -- end of aerodynamics
		engine =
		{
			type	=	"TurboFan",
			Nmg		=	67.5,
			Nominal_RPM		= 14710.0,
			Nominal_Fan_RPM	= 8215.0,
			Startup_Prework = 10.0,
			Startup_Duration = 35.0,
			Shutdown_Duration = 19.0,
			MinRUD	=	0,
			MaxRUD	=	1,
			MaksRUD	=	0.85,
			ForsRUD	=	0.91,
			hMaxEng	=	19,
			dcx_eng	=	0.0144,
			cemax	=	1.24,
			cefor	=	2.56,
			dpdh_m	=	6200,
			dpdh_f	=	13000,
			table_data =
			{
				[1] =	{0,		77000,	108313.6},
				[2] =	{0.2,	74000,	109850},
				[3] =	{0.4,	74000,	122000},
				[4] =	{0.6,	82000,	142000},
				[5] =	{0.7,	85000,	156000},
				[6] =	{0.8,	92000,	177000},
				[7] =	{0.9,	100000,	202000},
				[8] =	{1,		109000,	218000},
				[9] =	{1.096,	99000,	222000},
				[10] =	{1.2,	86000,	228000},
				[11] =	{1.3,	68000,	231000},
				[12] =	{1.4,	55000,	230000},
				[13] =	{1.6,	56000,	229000},
				[14] =	{1.8,	56000,	227000},
				[15] =	{2.2,	52000,	234000},
				[16] =	{2.35,	43000,	224000},
				[17] =	{3.9,	25000,	120636.4},
			}, -- end of table_data
		}, -- end of engine
	},

	lights_data = {
		typename = "collection",
		lights = {
			-- STROBES
			[WOLALIGHT_STROBES] = {
				typename = "collection",
				lights = {
					{ typename = "argnatostrobelight", argument = 193,
						controller = "VariablePatternStrobe", mode = "1 Flash", period = 0.500, exposure = {{241, 0.245, 0.255, 1, 0}}, },
					{ typename = "Spot", connector = "WHITE_BEACON", dir_correction = {azimuth = math.rad(-90.0)}, argument = 193,
						proto = lamp_prototypes.MPS_1, range = 64, angle_max = math.rad(110.0), angle_min = math.rad(80.0),
						controller = "VariablePatternStrobe", mode = "1 Flash", period = 0.500, exposure = {{241, 0.245, 0.255, 1, 0}}, },
					{ typename = "Spot", connector = "WHITE_BEACON", dir_correction = {azimuth = math.rad(90.0)}, argument = 193,
						proto = lamp_prototypes.MPS_1, range = 64, angle_max = math.rad(110.0), angle_min = math.rad(80.0),
						controller = "VariablePatternStrobe", mode = "1 Flash", period = 0.500, exposure = {{241, 0.245, 0.255, 1, 0}}, },
				},
			},
			-- SPOTS
			[WOLALIGHT_LANDING_LIGHTS] = {
				typename = "collection",
				lights = {
					-- 0 -- landing
					{ typename = "argumentlight", argument = 208, exposure = {{117, 0.9, 1.0}}, movable = true, },
					-- 1 -- aux light
					{ typename = "argumentlight", argument = 210, exposure = {{117, 0.9, 1.0}}, movable = true, },
				},
			},
			[WOLALIGHT_TAXI_LIGHTS] = {
				typename = "collection",
				lights = {
					-- 0 -- taxi
					{ typename = "argumentlight", argument = 209, exposure = {{117, 0.9, 1.0}}, movable = true, },
					-- 1 -- aux light
					{ typename = "argumentlight", argument = 210, exposure = {{117, 0.9, 1.0}}, movable = true, },
				},
			},
			-- NAVLIGHTS
			[WOLALIGHT_NAVLIGHTS] = {
				typename = "collection",
				lights = {
					-- 0 -- wing tips
					{ typename = "argumentlight", argument = 190,
						controller = "Strobe", period = 0.73, reduced_flash_time = 0.5, power_up_t = 0.25, cool_down_t = 0.5, mode = 0, },
					-- 1 -- intake & tail
					{ typename = "argumentlight", argument = 191,
						controller = "Strobe", period = 0.73, reduced_flash_time = 0.5, power_up_t = 0.25, cool_down_t = 0.5, mode = 0, },
				},
			},
			-- FORMATION
			[WOLALIGHT_FORMATION_LIGHTS] = {
				typename = "collection",
				lights = {
					-- 0 -- fuselage upper formation
					{ typename = "argumentlight", argument = 200, },
					-- 1 -- fuselage lower formation
					{ typename = "argumentlight", argument = 201, },
					-- 2 -- fuselage formation/position
					{ typename = "argumentlight", argument = 202, },
				},
			},
			-- REFUEL
			[WOLALIGHT_REFUEL_LIGHTS] = {
				typename = "collection",
				lights = {
					-- 0 -- AR light, tail-mounted flood
					{ typename = "argumentlight", argument = 207, },
				},
			},
			-- STROBE / ANTI-COLLISION
			[WOLALIGHT_BEACONS] = {
				typename = "collection",
				lights = {
					-- 0 -- Anti-collision strobe
					{ typename = "argnatostrobelight", argument = 192, period = 0.4, flash_time = 0.1, },
				},
			},
		}, -- end of lights
	},-- end of lights_data

	-- Aircraft Additional Properties
	AddPropAircraft = {
		{ id = "LAU3ROF",			control = 'comboList', label = _('LAU-3 Rate of Fire'),
			values = {
				{id = 0, dispName = _("Single")},
				{id = 1, dispName = _("Ripple")},
			},
			defValue	= 0,
			wCtrl		= 150,
			playerOnly	= true
		},
		{ id = "HelmetMountedDevice",			control = 'comboList', label = _('Helmet Mounted Device'),
			values = {
				{id = 0, dispName = _("Not installed"),	value = 0.5},
				{id = 1, dispName = _("JHMCS"),			value = 0.0},
				{id = 2, dispName = _("NVG"),			value = 1.0},
			},
			defValue	= 1,
			wCtrl		= 150,
			playerOnly	= true,
			arg			= 509,
		},
				---------DATALINK--------------------------------------------------------------------------
		{ id = "datalink_Label", control = 'label', label = _('DATALINK'), xLbl = 150, playerOnly = false},
		{ id = "VoiceCallsignLabel" , control = 'editbox', label = _('Voice Callsign Label'), getDefault = getCallsignLabel, onChange = onChange_VoiceCallsignLabel, playerOnly = false},
		{ id = "VoiceCallsignNumber" , control = 'editbox', label = _('Voice Callsign Number'), getDefault = getCallsignNumber, onChange = onChange_VoiceCallsignNumber, playerOnly = false},
		{ id = "STN_L16" , control = 'editbox', label = _('STN'), getDefault = getSTN, onChange = onChange_STN, onFocus = onFocus_STN, playerOnly = false},
	},

	connectDatalinks = {
		"Link16",
	},

	datalinks = {
		--IDM = "Datalinks\\IDM.lua",
		Link16 = "Datalinks\\Link16.lua",
		--Link4
		--SADL
	},

	DTC = true,

}

add_aircraft(F_16C)  