local wingPylonMass	= 140.6		-- [kg]	SUU-63 (310 lb)
local ctrPylonMass	= 63.1		-- [kg]	SUU-62 (139 lb)
local lau116Mass	= 29.5		-- [kg]	LAU-116 launcher

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 tips 		= {
	{ CLSID = "{6CEB49FC-DED8-4DED-B053-E1F033FF72D3}"	,					Cx_gain = 0.6	},	--AIM-9M		-- 7067
	{ CLSID = "CATM-9M"									,					Cx_gain = 0.6	},	--CATM-9M		-- 7067
	{ CLSID = "{AIM-9L}"								,					Cx_gain = 0.6	},	--AIM-9L		-- 7067
	{ CLSID = "{5CE2FF2A-645A-4197-B48D-8720AC69394F}"	,					Cx_gain = 0.6	},	--AIM-9X		-- 7067
	{ CLSID = "{AIS_ASQ_T50}", attach_point_position = {0.25,  0.0,  0.0},	Cx_gain = 0.6	},	--ACMI pod		-- 7067
}

local outboard 	= {
	{ CLSID = "LAU-115_2*LAU-127_AIM-9M",				Cx_gain_empty = 0.786, Cx_gain_item = 1.576	},	-- 2xAIM-9M
	{ CLSID = "LAU-115_2*LAU-127_CATM-9M",				Cx_gain_empty = 0.786, Cx_gain_item = 1.576	},	-- 2xCATM-9M
	{ CLSID = "LAU-115_2*LAU-127_AIM-9L",				Cx_gain_empty = 0.786, Cx_gain_item = 1.576	},	-- 2xAIM-9L
	{ CLSID = "LAU-115_2*LAU-127_AIM-9X",				Cx_gain_empty = 0.786, Cx_gain_item = 1.576	},	-- 2xAIM-9X
	{ CLSID = "{LAU-115 - AIM-7M}",						Cx_gain_empty = 0.7435,Cx_gain_item = 0.734	},	-- AIM-7M on LAU-115
	{ CLSID = "{LAU-115 - AIM-7F}",						Cx_gain_empty = 0.7435,Cx_gain_item = 0.734	},	-- AIM-7F on LAU-115
	{ CLSID = "{LAU-115 - AIM-7H}",						Cx_gain_empty = 0.7435,Cx_gain_item = 0.734	},	-- AIM-7H on LAU-115
	{ CLSID = "{LAU-115 - AIM-7P}",						Cx_gain_empty = 0.7435,Cx_gain_item = 0.734	},	-- AIM-7P on LAU-115
	{ CLSID = "LAU-115_2*LAU-127_AIM-120B",				Cx_gain_empty = 0.786, Cx_gain_item = 0.543	},	-- 2xAIM-120B
	{ CLSID = "LAU-115_2*LAU-127_AIM-120C",				Cx_gain_empty = 0.786, Cx_gain_item = 0.543	},	-- 2xAIM-120C


	{ CLSID = "LAU-127_AIM-9M",								Cx_gain = 0.436 },						-- AIM-9M Single Rail Seabiscuit Added
	{ CLSID = "LAU-127_AIM-9L",								Cx_gain = 0.436 },						-- AIM-9L Single Rail Seabiscuit Added
	{ CLSID = "LAU-127_AIM-9X",								Cx_gain = 0.436 },						-- AIM-9X Single Rail Seabiscuit Added	
	
	{ CLSID = "LAU-127_AIM-120B",				Cx_gain_empty = 0.328, Cx_gain_item = 0.543	},	-- AIM-120B Single Rail Seabiscuit Added
	{ CLSID = "LAU-127_AIM-120C",				Cx_gain_empty = 0.328, Cx_gain_item = 0.543	},	-- AIM-120C Single Rail Seabiscuit Added


	{ CLSID = "{F16A4DE0-116C-4A71-97F0-2CF85B0313EC}",	Cx_gain_empty = 0.794, Cx_gain_item = 1.593	},	-- AGM-65E on LAU-117
	{ CLSID = "LAU_117_AGM_65F",						Cx_gain_empty = 0.794, Cx_gain_item = 1.593	},	-- AGM-65F on LAU-117
	{ CLSID = "{B06DD79A-F21E-4EB9-BD9D-AB3844618C93}",	Cx_gain_empty = 1.987, Cx_gain_item = 0.621	},	-- AGM-88 on LAU-118

	{ CLSID = "{BCE4E030-38E9-423E-98ED-24BE3DA87C32}",	Cx_gain = 1.240	},	-- Mk-82
	{ CLSID	= "{Mk82SNAKEYE}",							Cx_gain = 1.773	},	-- Mk-82 SNAKEYE
	{ CLSID	= "{Mk_82Y}",								Cx_gain = 0.943	},	-- Mk-82 Y
	{ CLSID	= "{7A44FF09-527C-4B7E-B42B-3F111CFE50FB}",	Cx_gain = 1.466	},	-- Mk-83
	{ CLSID	= "{AB8B8299-F1CC-4359-89B5-2172E0CF4A5A}",	Cx_gain = 1.296	},	-- Mk-84
	{ CLSID	= "{BDU_45}",								Cx_gain = 0.944	},	-- BDU-45
	{ CLSID	= "{BDU_45B}",								Cx_gain = 0.566	},	-- BDU-45B
	{ CLSID = "{51F9AAE5-964F-4D21-83FB-502E3BFE5F8A}",	Cx_gain = 1.951	},	-- GBU-10
	{ CLSID	= "{DB769D48-67D7-42ED-A2BE-108D566C8B1E}",	Cx_gain = 0.996	},	-- GBU-12
	{ CLSID = "{0D33DDAE-524F-4A4E-B5B8-621754FE3ADE}",	Cx_gain = 1.530	},	-- GBU-16
	{ CLSID = "{CBU_99}",								Cx_gain = 1.201	},	-- CBU-99
	{ CLSID	= "{ADD3FAE1-EBF6-4EF9-8EFC-B36B5DDF1E6B}",	Cx_gain = 1.871	},	-- MK-20

	{ CLSID = "{BRU33_2X_MK-82}",						Cx_gain_empty = 0.335, Cx_gain_item = 1.653	},	-- BRU-33 2*Mk-82
	{ CLSID = "{BRU33_2X_MK-82_Snakeye}",				Cx_gain_empty = 0.328, Cx_gain_item = 2.128	},	-- BRU-33 2*Mk-82SE
	{ CLSID = "{BRU33_2X_MK-82Y}",						Cx_gain_empty = 0.379, Cx_gain_item = 1.132	},	-- BRU-33 2*Mk-82Y
	{ CLSID = "{BRU33_2X_MK-83}", 						Cx_gain_empty = 0.339, Cx_gain_item = 1.760	},	-- BRU-33 2*Mk-83
	{ CLSID = "{BRU33_2X_BDU-45}",						Cx_gain_empty = 0.379, Cx_gain_item = 1.132	},	-- BRU-33 2*BDU-45
	{ CLSID = "{BRU33_2X_BDU-45B}",						Cx_gain_empty = 0.398, Cx_gain_item = 0.755	},	-- BRU-33 2*BDU-45B
	{ CLSID = "{BRU33_2X_GBU-12}",						Cx_gain_empty = 0.373, Cx_gain_item = 1.178	},	-- BRU-33 2*GBU-12
	{ CLSID = "{BRU33_2X_CBU-99}",						Cx_gain_empty = 0.325, Cx_gain_item = 1.440	},	-- BRU-33 2*CBU-99
	{ CLSID = "{BRU33_2X_ROCKEYE}",						Cx_gain_empty = 0.341, Cx_gain_item = 1.496	},	-- BRU-33 2*Mk-20

	{ CLSID = "{BRU33_LAU68}",										Cx_gain = 0.406	},	-- BRU-33 1*LAU-68-M151
	{ CLSID = "{BRU33_2*LAU68}",									Cx_gain = 0.443	},	-- BRU-33 2*LAU-68-M151
	{ CLSID = "{BRU33_LAU68_MK5}",									Cx_gain = 0.406	},	-- BRU-33 1*LAU-68-MK5
	{ CLSID = "{BRU33_2*LAU68_MK5}",								Cx_gain = 0.443	},	-- BRU-33 2*LAU-68-MK5
	{ CLSID = "{BRU33_LAU10}",										Cx_gain = 0.589	},	-- BRU-33 1*LAU-10
	{ CLSID = "{BRU33_2*LAU10}",									Cx_gain = 0.699	},	-- BRU-33 2*LAU-10
	{ CLSID = "{BRU33_LAU61}",										Cx_gain = 0.692	},	-- BRU-33 1*LAU-61
	{ CLSID = "{BRU33_2*LAU61}",									Cx_gain = 0.846	},	-- BRU-33 2*LAU-61

	{ CLSID = "{BRU41_6X_BDU-33}",						Cx_gain_empty = 0.5, Cx_gain_item = 0.581	},	-- BRU-41 6*BDU-33



	{ CLSID = "{AGM-154A}",								Type = 1,	Cx_gain = 0.277	},		-- AGM-154A   
	{ CLSID = "{9BCC2A2B-5708-4860-B1F1-053A18442067}",	Type = 1,	Cx_gain = 0.277	},		-- AGM-154C
	{ CLSID = "{BRU55_2*AGM-154A}",						Type = 1,	Cx_gain_empty = 0.371, Cx_gain_item = 0.277,  attach_point_position = {-0.3, -0.12, 0.0} }, -- BRU-55 AGM-154A Changed Seabiscuit        
	{ CLSID = "{BRU55_2*AGM-154C}",						Type = 1,	Cx_gain_empty = 0.371, Cx_gain_item = 0.277 },		-- BRU-55 AGM-154C



	{ CLSID = "{GBU-31}",											Cx_gain = 0.188	},		-- USAF GBU-31 (Mk-84 warhead)
	{ CLSID = "{GBU-31V3B}",										Cx_gain = 0.292	},		-- USAF GBU-31 (BLU-109 warhead)
	{ CLSID = "{GBU_31_V_2B}",										Cx_gain = 0.188	},		-- USN GBU-31 (Mk-84 warhead)
	{ CLSID = "{GBU_31_V_4B}",										Cx_gain = 0.188	},		-- USN GBU-31 (BLU-109 warhead)
	{ CLSID = "{GBU_32_V_2B}",										},		-- USN GBU-32 (Mk-83 warhead)
	{ CLSID = "{GBU-24}",											Cx_gain = 2.073	},		-- GBU-24
	{ CLSID = "{GBU-38}",											Cx_gain = 0.268	},		-- GBU-38
	{ CLSID = "{BRU55_2*GBU-38}",									Cx_gain_empty = 0.477, Cx_gain_item = 0.357	},	-- BRU-55 2*GBU-38
	{ CLSID = "{BRU55_2*GBU-32}",									Cx_gain_empty = 0.477, Cx_gain_item = 0.357	},	-- BRU-55 2*GBU-32
	{ CLSID = "{C40A1E3A-DD05-40D9-85A4-217729E37FAE}",				Cx_gain = 1.175	},		-- WALLEYE II

	{ CLSID = "{BDU_45LG}",											Cx_gain = 0.996	},
	{ CLSID = "{BRU33_2X_BDU_45LG}",								Cx_gain_empty = 0.373, Cx_gain_item = 1.178},

	{ CLSID	= "{AGM_84D}",								Type = 1,	Cx_gain = 0.355	},		-- AGM-84D Harpoon
	{ CLSID = "{AF42E6DF-9A60-46D8-A9A0-1708B241AADB}",	Type = 1,	Cx_gain = 0.519	},		-- AGM-84E SLAM
	{ CLSID = "{AGM_84H}",								Type = 1,	Cx_gain = 0.467	},		-- AGM-84H SLAM-ER
	{ CLSID = "{AWW-13}",	arg_value = 0.1,						Cx_gain = 0.784	},		-- AWW-13

	{ CLSID = "{BRU_42A_x3_ADM_141A}",					Type = 1,	Cx_gain_empty = 0.338, Cx_gain_item = 0.237	},	-- BRU-42A 3*ADM-141A
	{ CLSID = "{BRU_42A_x2_ADM_141A}",					Type = 1,	Cx_gain_empty = 0.338, Cx_gain_item = 0.237	},	-- BRU-42A 2*ADM-141A
	{ CLSID = "{BRU_42A_x1_ADM_141A}",					Type = 1,	Cx_gain_empty = 0.338, Cx_gain_item = 0.237	},	-- BRU-42A ADM-141A


	{ CLSID = "<CLEAN>",	arg_value = 1, add_mass = -wingPylonMass	},						-- Clean
}

local outboardLeft = {}	-- left
joinTbl(outboard, outboardLeft,{
	{ CLSID = "LAU-115_LAU-127_AIM-9X",					Cx_gain_empty = 0.786, Cx_gain_item = 1.576	},	-- AIM-9X
	{ CLSID = "LAU-115_LAU-127_AIM-9L",					Cx_gain_empty = 0.786, Cx_gain_item = 1.576	},	-- AIM-9L
	{ CLSID = "LAU-115_LAU-127_AIM-9M",					Cx_gain_empty = 0.786, Cx_gain_item = 1.576	},	-- AIM-9M
	{ CLSID = "LAU-115_LAU-127_CATM-9M",				Cx_gain_empty = 0.786, Cx_gain_item = 1.576	},	-- CATM-9M
	{ CLSID = "{LAU-115 - AIM-120B}",					Cx_gain_empty = 0.786, Cx_gain_item = 0.543	},	-- AIM-120
	{ CLSID = "{LAU-115 - AIM-120C}",					Cx_gain_empty = 0.786, Cx_gain_item = 0.543	},	-- AIM-120	
})

local outboardRight = {}	-- right
joinTbl(outboard, outboardRight,{
	{ CLSID = "LAU-115_LAU-127_AIM-9X_R",				Cx_gain_empty = 0.786, Cx_gain_item = 1.576	},	-- AIM-9X
	{ CLSID = "LAU-115_LAU-127_AIM-9L_R",				Cx_gain_empty = 0.786, Cx_gain_item = 1.576	},	-- AIM-9L
	{ CLSID = "LAU-115_LAU-127_AIM-9M_R",				Cx_gain_empty = 0.786, Cx_gain_item = 1.576	},	-- AIM-9M
	{ CLSID = "LAU-115_LAU-127_CATM-9M_R",				Cx_gain_empty = 0.786, Cx_gain_item = 1.576	},	-- CATM-9M
	{ CLSID = "{LAU-115 - AIM-120B_R}",					Cx_gain_empty = 0.786, Cx_gain_item = 0.543	},	-- AIM-120B
	{ CLSID = "{LAU-115 - AIM-120C_R}",					Cx_gain_empty = 0.786, Cx_gain_item = 0.543	},	-- AIM-120C	
})

local inboard 	= {
	{ CLSID = "{LAU-115 - AIM-7M}",						Cx_gain_empty = 0.7435,Cx_gain_item = 0.734	},	-- AIM-7M on LAU-115
	{ CLSID = "{LAU-115 - AIM-7F}",						Cx_gain_empty = 0.7435,Cx_gain_item = 0.734	},	-- AIM-7F on LAU-115
	{ CLSID = "{LAU-115 - AIM-7H}",						Cx_gain_empty = 0.7435,Cx_gain_item = 0.734	},	-- AIM-7H on LAU-115
	{ CLSID = "{LAU-115 - AIM-7P}",						Cx_gain_empty = 0.7435,Cx_gain_item = 0.734	},	-- AIM-7P on LAU-115
	{ CLSID = "LAU-115_2*LAU-127_AIM-120B",				Cx_gain_empty = 0.786, Cx_gain_item = 0.543	},	-- 2xAIM-120B
	{ CLSID = "LAU-115_2*LAU-127_AIM-120C",				Cx_gain_empty = 0.786, Cx_gain_item = 0.543	},	-- 2xAIM-120C

	
	{ CLSID = "LAU-127_AIM-120B",				Cx_gain_empty = 0.328, Cx_gain_item = 0.543	},	-- AIM-120B Single Rail Seabiscuit Added
	{ CLSID = "LAU-127_AIM-120C",				Cx_gain_empty = 0.328, Cx_gain_item = 0.543	},	-- AIM-120C Single Rail Seabiscuit Added


	{ CLSID = "{F16A4DE0-116C-4A71-97F0-2CF85B0313EC}",	Cx_gain_empty = 0.794, Cx_gain_item = 1.593	},	-- AGM-65E on LAU-117
	{ CLSID = "LAU_117_AGM_65F",						Cx_gain_empty = 0.794, Cx_gain_item = 1.593	},	-- AGM-65F on LAU-117
	{ CLSID = "{B06DD79A-F21E-4EB9-BD9D-AB3844618C93}",	Cx_gain_empty = 1.987, Cx_gain_item = 0.621	},	-- AGM-88 on LAU-118

	{ CLSID = "{BCE4E030-38E9-423E-98ED-24BE3DA87C32}",	Cx_gain = 1.240	},	-- Mk-82
	{ CLSID	= "{Mk82SNAKEYE}",							Cx_gain = 1.773	},	-- Mk-82 SNAKEYE
	{ CLSID	= "{Mk_82Y}",								Cx_gain = 0.943	},	-- Mk-82 Y
	{ CLSID	= "{7A44FF09-527C-4B7E-B42B-3F111CFE50FB}",	Cx_gain = 1.466	},	-- Mk-83
	{ CLSID	= "{AB8B8299-F1CC-4359-89B5-2172E0CF4A5A}",	Cx_gain = 1.296	},	-- Mk-84
	{ CLSID	= "{BDU_45}",								Cx_gain = 0.944	},	-- BDU-45
	{ CLSID	= "{BDU_45B}",								Cx_gain = 0.566	},	-- BDU-45B
	{ CLSID = "{51F9AAE5-964F-4D21-83FB-502E3BFE5F8A}",	Cx_gain = 1.951	},	-- GBU-10
	{ CLSID	= "{DB769D48-67D7-42ED-A2BE-108D566C8B1E}",	Cx_gain = 0.996	},	-- GBU-12
	{ CLSID = "{0D33DDAE-524F-4A4E-B5B8-621754FE3ADE}",	Cx_gain = 1.530	},	-- GBU-16
	{ CLSID = "{CBU_99}",								Cx_gain = 1.201	},	-- CBU-99
	{ CLSID	= "{ADD3FAE1-EBF6-4EF9-8EFC-B36B5DDF1E6B}",	Cx_gain = 1.871	},	-- MK-20

	{ CLSID = "{BRU33_2X_MK-82}",						Cx_gain_empty = 0.335, Cx_gain_item = 1.653	},	-- BRU-33 2*Mk-82
	{ CLSID = "{BRU33_2X_MK-82_Snakeye}",				Cx_gain_empty = 0.328, Cx_gain_item = 2.128	},	-- BRU-33 2*Mk-82SE
	{ CLSID = "{BRU33_2X_MK-82Y}",						Cx_gain_empty = 0.379, Cx_gain_item = 1.132	},	-- BRU-33 2*Mk-82Y
	{ CLSID = "{BRU33_2X_MK-83}",						Cx_gain_empty = 0.339, Cx_gain_item = 1.760	},	-- BRU-33 2*Mk-83
	{ CLSID = "{BRU33_2X_BDU-45}",						Cx_gain_empty = 0.379, Cx_gain_item = 1.132	},	-- BRU-33 2*BDU-45
	{ CLSID = "{BRU33_2X_BDU-45B}",						Cx_gain_empty = 0.398, Cx_gain_item = 0.755	},	-- BRU-33 2*BDU-45B
	{ CLSID = "{BRU33_2X_GBU-12}",						Cx_gain_empty = 0.373, Cx_gain_item = 1.178	},	-- BRU-33 2*GBU-12
	{ CLSID = "{BRU33_2X_CBU-99}",						Cx_gain_empty = 0.325, Cx_gain_item = 1.440	},	-- BRU-33 2*CBU-99
	{ CLSID = "{BRU33_2X_ROCKEYE}",						Cx_gain_empty = 0.341, Cx_gain_item = 1.496	},	-- BRU-33 2*Mk-20

	{ CLSID = "{BRU33_LAU68}",										Cx_gain = 0.406	},	-- BRU-33 1*LAU-68-M151
	{ CLSID = "{BRU33_2*LAU68}",									Cx_gain = 0.443	},	-- BRU-33 2*LAU-68-M151
	{ CLSID = "{BRU33_LAU68_MK5}",									Cx_gain = 0.406	},	-- BRU-33 1*LAU-68-MK5
	{ CLSID = "{BRU33_2*LAU68_MK5}",								Cx_gain = 0.443	},	-- BRU-33 2*LAU-68-MK5
	{ CLSID = "{BRU33_LAU10}",										Cx_gain = 0.589	},	-- BRU-33 1*LAU-10
	{ CLSID = "{BRU33_2*LAU10}",									Cx_gain = 0.699	},	-- BRU-33 2*LAU-10
	{ CLSID = "{BRU33_LAU61}",										Cx_gain = 0.692	},	-- BRU-33 1*LAU-61
	{ CLSID = "{BRU33_2*LAU61}",									Cx_gain = 0.846	},	-- BRU-33 2*LAU-61

	{ CLSID = "{BRU41_6X_BDU-33}",						Cx_gain_empty = 0.5, Cx_gain_item = 0.581	},	-- BRU-41 6*BDU-33



	{ CLSID = "{AGM-154A}",								Type = 1,	Cx_gain = 0.277	},		-- AGM-154A
	{ CLSID = "{9BCC2A2B-5708-4860-B1F1-053A18442067}",	Type = 1,	Cx_gain = 0.277	},		-- AGM-154C
	{ CLSID = "{BRU55_2*AGM-154A}",						Type = 1,	Cx_gain_empty = 0.371, Cx_gain_item = 0.277, attach_point_position = {-0.3, -0.12, 0.0} },		-- BRU-55 AGM-154A Changed Seabiscuit
	{ CLSID = "{BRU55_2*AGM-154C}",						Type = 1,	Cx_gain_empty = 0.371, Cx_gain_item = 0.277 },		-- BRU-55 AGM-154C



	{ CLSID = "{GBU-31}",											Cx_gain = 0.188	},		-- USAF GBU-31 (Mk-84 warhead)
	{ CLSID = "{GBU-31V3B}",										Cx_gain = 0.292	},		-- USAF GBU-31 (BLU-109 warhead)
	{ CLSID = "{GBU_31_V_2B}",										Cx_gain = 0.188	},		-- USN GBU-31 (Mk-84 warhead)
	{ CLSID = "{GBU_31_V_4B}",										Cx_gain = 0.188	},		-- USN GBU-31 (BLU-109 warhead)
	{ CLSID = "{GBU_32_V_2B}",										},		-- USN GBU-32 (Mk-83 warhead)
	{ CLSID = "{GBU-24}",											Cx_gain = 2.073	},		-- GBU-24
	{ CLSID = "{GBU-38}",											Cx_gain = 0.268	},		-- GBU-38
	{ CLSID = "{BRU55_2*GBU-38}",									Cx_gain_empty = 0.477, Cx_gain_item = 0.357	},	-- BRU-55 2*GBU-38
	{ CLSID = "{BRU55_2*GBU-32}",									Cx_gain_empty = 0.477, Cx_gain_item = 0.357	},	-- BRU-55 2*GBU-32

	{ CLSID = "{BDU_45LG}",											Cx_gain = 0.996	},
	{ CLSID = "{BRU33_2X_BDU_45LG}",								Cx_gain_empty = 0.373, Cx_gain_item = 1.178},

	{ CLSID	= "{AGM_84D}",								Type = 1,	Cx_gain = 0.355	},		-- AGM-84D Harpoon
	{ CLSID = "{AF42E6DF-9A60-46D8-A9A0-1708B241AADB}",	Type = 1,	Cx_gain = 0.519	},		-- AGM-84E SLAM
	{ CLSID = "{AGM_84H}",								Type = 1,	Cx_gain = 0.467	},		-- AGM-84H SLAM-ER
	{ CLSID = "{AWW-13}",	arg_value = 0.1,						Cx_gain = 0.784	},		-- AWW-13

	{ CLSID = "{FPU_8A_FUEL_TANK}"						},	-- Fuel tank

	{ CLSID = "{BRU_42A_x3_ADM_141A}",					Type = 1,	Cx_gain_empty = 0.338, Cx_gain_item = 0.237	},	-- BRU-42A 3*ADM-141A
	{ CLSID = "{BRU_42A_x2_ADM_141A}",					Type = 1,	Cx_gain_empty = 0.338, Cx_gain_item = 0.237	},	-- BRU-42A 2*ADM-141A
	{ CLSID = "{BRU_42A_x1_ADM_141A}",					Type = 1,	Cx_gain_empty = 0.338, Cx_gain_item = 0.237	},	-- BRU-42A ADM-141A

	{ CLSID = "<CLEAN>",	arg_value = 1, add_mass = -wingPylonMass	},						-- Clean
}

local inboardLeft = {}	-- left
joinTbl(inboard, inboardLeft,{
	{ CLSID = "{LAU-115 - AIM-120B}",				Cx_gain_empty = 0.786, Cx_gain_item = 0.543	},	-- AIM-120 
	{ CLSID = "{LAU-115 - AIM-120C}",				Cx_gain_empty = 0.786, Cx_gain_item = 0.543	},	-- AIM-120	
})

local inboardRight = {}	-- right
joinTbl(inboard, inboardRight,{
	{ CLSID = "{LAU-115 - AIM-120B_R}",				Cx_gain_empty = 0.786, Cx_gain_item = 0.543	},	-- AIM-120
	{ CLSID = "{LAU-115 - AIM-120C_R}",				Cx_gain_empty = 0.786, Cx_gain_item = 0.543	},	-- AIM-120	
})

local fuselageLeft	= {
	{ CLSID = "{8D399DDA-FF81-4F14-904D-099B34FE7918}",	Cx_gain = 0.49	},	-- AIM-7M
	{ CLSID = "{AIM-7F}",								Cx_gain = 0.49	},	-- AIM-7F
	{ CLSID = "{AIM-7H}",								Cx_gain = 0.49	},	-- AIM-7H
	{ CLSID = "{AIM-7P}",								Cx_gain = 0.49	},	-- AIM-7P
	{ CLSID = "{C8E06185-7CD6-4C90-959F-044679E90751}",	Cx_gain = 0.435	},	-- AIM-120B
	{ CLSID = "{40EF17B7-F508-45de-8566-6FFECC0C1AB8}",	Cx_gain = 0.435	},	-- AIM-120C

	{ CLSID = "{AAQ-28_LEFT}",		forbidden = {{station = 5,loadout = {"{A111396E-D3E8-4b9c-8AC9-2432489304D5}"}}},	arg_value = 1,	 add_mass = -lau116Mass	},	--Litening
	{ CLSID = "{AN_ASQ_228}",		forbidden = {{station = 5,loadout = {"{A111396E-D3E8-4b9c-8AC9-2432489304D5}"}}},	arg_value = 0.2, add_mass = -lau116Mass	},	--ATFLIR
}

local fuselageRight	= {
	{ CLSID = "{8D399DDA-FF81-4F14-904D-099B34FE7918}",	Cx_gain = 0.49	},	-- AIM-7M
	{ CLSID = "{AIM-7F}",								Cx_gain = 0.49	},	-- AIM-7F
	{ CLSID = "{AIM-7H}",								Cx_gain = 0.49	},	-- AIM-7H
	{ CLSID = "{AIM-7P}",								Cx_gain = 0.49	},	-- AIM-7P
	{ CLSID = "{C8E06185-7CD6-4C90-959F-044679E90751}",	Cx_gain = 0.435	},	-- AIM-120
	{ CLSID = "{40EF17B7-F508-45de-8566-6FFECC0C1AB8}",	Cx_gain = 0.435	},	-- AIM-120C
}

local centerline 	= {
	{ CLSID = "{BCE4E030-38E9-423E-98ED-24BE3DA87C32}",	Cx_gain = 1.240	},	-- Mk-82
	{ CLSID	= "{Mk82SNAKEYE}",							Cx_gain = 1.773	},	-- Mk-82 SNAKEYE
	{ CLSID	= "{Mk_82Y}",								Cx_gain = 0.943	},	-- Mk-82 Y
	{ CLSID	= "{7A44FF09-527C-4B7E-B42B-3F111CFE50FB}",	Cx_gain = 1.466	},	-- Mk-83
	{ CLSID	= "{AB8B8299-F1CC-4359-89B5-2172E0CF4A5A}",	Cx_gain = 1.296	},	-- Mk-84
	{ CLSID	= "{BDU_45}",								Cx_gain = 0.944	},	-- BDU-45
	{ CLSID	= "{BDU_45B}",								Cx_gain = 0.566	},	-- BDU-45B
	{ CLSID = "{CBU_99}",								Cx_gain = 1.201	},	-- CBU-99
	{ CLSID	= "{ADD3FAE1-EBF6-4EF9-8EFC-B36B5DDF1E6B}",	Cx_gain = 1.871	},	-- MK-20

	{ CLSID = "{BRU33_2X_MK-82}",						Cx_gain_empty = 0.335, Cx_gain_item = 1.653	},	-- BRU-33 2*Mk-82
	{ CLSID = "{BRU33_2X_MK-82_Snakeye}",				Cx_gain_empty = 0.328, Cx_gain_item = 2.128	},	-- BRU-33 2*Mk-82SE
	{ CLSID = "{BRU33_2X_MK-82Y}",						Cx_gain_empty = 0.379, Cx_gain_item = 1.132	},	-- BRU-33 2*Mk-82Y
	{ CLSID = "{BRU33_2X_BDU-45}",						Cx_gain_empty = 0.379, Cx_gain_item = 1.132	},	-- BRU-33 2*BDU-45
	{ CLSID = "{BRU33_2X_BDU-45B}",						Cx_gain_empty = 0.398, Cx_gain_item = 0.755	},	-- BRU-33 2*BDU-45B
	{ CLSID = "{BRU33_2X_CBU-99}",						Cx_gain_empty = 0.325, Cx_gain_item = 1.440	},	-- BRU-33 2*CBU-99
	{ CLSID = "{BRU33_2X_ROCKEYE}",						Cx_gain_empty = 0.341, Cx_gain_item = 1.496	},	-- BRU-33 2*Mk-20

	{ CLSID = "{A111396E-D3E8-4b9c-8AC9-2432489304D5}",	forbidden = {{station = 4,loadout = {"{AAQ-28_LEFT}", "{AN_ASQ_228}"}}}, arg_value = 0.1, Cx_gain = 3.559 },	--Litening
	{ CLSID = "{AWW-13}",	arg_value = 0.1,			Cx_gain = 0.784	},				-- AWW-13

	{ CLSID = "{FPU_8A_FUEL_TANK}",						Cx_gain = 0.691	},	-- Fuel tank

	{ CLSID = "<CLEAN>",	arg_value = 1, add_mass = -ctrPylonMass	},						-- Clean
}

local launch_bar_connected_arg_value_	= 0.815

function make_FA_18C_hornet()

local F_18C_hornet =  {
	Name 				=   'FA-18C_hornet',
	Shape				= "fa-18c",

	EmptyWeight			= "11382",
	MaxFuelWeight		= "4900",
	MaxTakeOffWeight	= "23541",
	MaxHeight			= "18200",
	MaxSpeed			= "1920",
	WingSpan			= "11.43",

	shape_table_data 	=
	{
		{
			file  		= "fa-18c";
			username	= "FA-18C_hornet";
			index		= WSTYPE_PLACEHOLDER;
			life		= 20; -- прочность объекта (методом lifebar*) -- The strength of the object (ie. lifebar *)
			vis			= 3; -- множитель видимости (для маленьких объектов лучше ставить поменьше). Visibility factor (For a small objects is better to put lower nr).
			desrt		= "F_A-18C_destr"; --Name of destroyed object file name
			fire		= { 300, 2}; -- Fire on the ground after destoyed: 300sec 4m
			classname	= "lLandPlane";
			positioning	= "BYNORMAL";
		},
		{
			name  = "F_A-18C_destr";
			file  = "f-18c-oblomok";
			fire  = { 0, 1};
		}
	},

	DisplayName			=	_("F/A-18C Lot 20"),
	WorldID				=   WSTYPE_PLACEHOLDER,
	attribute 			= 	{wsType_Air, wsType_Airplane, wsType_Fighter, WSTYPE_PLACEHOLDER, "Multirole fighters", "Refuelable", "Datalink", "Link16", "Link4", "ACLS"},

	-- Countermeasures,
	passivCounterm = {
		CMDS_Edit = true,
		SingleChargeTotal = 120,
		chaff = {default = 60, increment = 10, chargeSz = 1},
		flare = {default = 60, increment = 10, chargeSz = 1},
		preferred_flare_kind = 2,
	},
	Countermeasures = {
		ECM = {"AN/ALQ-165"}
	},
	EPLRS = true,

	Pylons =	{
		pylon(1, 0, -2.218, -0.063, -5.779,
			{
				use_full_connector_position = true,
				connector = "Pylon1",
			},
			tips
		),
		pylon(2, 0, -1.212, -0.487, -3.369,
			{
				arg = 309,
				arg_value = 0,
				use_full_connector_position = true,
				connector = "Pylon2",
				mass = wingPylonMass,
			},
			outboardLeft
		),
		pylon(3, 0, -1.069, -0.42, -2.212,
			{
				arg = 310,
				arg_value = 0,
				use_full_connector_position = true,
				connector = "Pylon3",
				mass = wingPylonMass,
			},
			inboardLeft
		),
		pylon(4, 1, -2.321, -0.654, -1.044,
			{
				arg = 311,
				arg_value = 0,
				use_full_connector_position = true,
				connector = "Pylon4",
				mass = lau116Mass,
				eject_dir = {0,-0.9085,-0.4179}
			},
			fuselageLeft
		),
		pylon(5, 1, 0, -0.652, 0.000000,
			{
				arg = 312,
				arg_value = 0,
				use_full_connector_position = true,
				connector = "Pylon5",
				mass = ctrPylonMass,
			},
			centerline
		),
		pylon(6, 1, -2.321, -0.654, 1.044,
			{
				arg = 313,
				arg_value = 0,
				use_full_connector_position = true,
				connector = "Pylon6",
				mass = lau116Mass,
				eject_dir = {0,-0.9085,0.4179}
			},
			fuselageRight
		),
		pylon(7, 0, -1.069, -0.42, 2.212,
			{
				arg = 314,
				arg_value = 0,
				use_full_connector_position = true,
				connector = "Pylon7",
				mass = wingPylonMass,
			},
			inboardRight
		),
		pylon(8, 0, -1.212, -0.487, 3.369,
			{
				arg = 315,
				arg_value = 0,
				use_full_connector_position = true,
				connector = "Pylon8",
				mass = wingPylonMass,
			},
			outboardRight
		),
		pylon(9, 0, -2.218, -0.063, 5.779,
			{
				use_full_connector_position = true,
				connector = "Pylon9",
			},
			tips
		),
		pylon(
			10,
			2,-- make it "hatch" station , it will be invisible until hatch is closed , it is always closed on F/A-18C
			-8.1, 0.1, -0.49,
			{
				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
			}
		),
	},

	--0043552: F/A-18C: Gun should not have tracers
	--Tracers are an option but not often used. My suggestion is to keep them by default because they look awesome, and make it a load option or a menu option to not use tracers.
	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 = 578
		},
		{
			supply_position		 = {6.0, 0.0, 0.0},		-- approx
			muzzle_pos_connector = "Gun_point_00",
			effects =
			{
				{name = "FireEffect"},
				{name = "SmokeEffect" , sparks_enabled = true}
			}
		})
	},
	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"),
	},
	HumanRadio	= {
		frequency		= 305.0,
		editable		= true,
		minFrequency	=  30.000,
		maxFrequency	= 399.975,
		rangeFrequency = {
			{min =  30.0, max =  87.995, modulation	= MODULATION_FM},
			{min = 118.0, max = 135.995, modulation	= MODULATION_AM},
			{min = 136.0, max = 155.995, modulation	= MODULATION_AM_AND_FM, modulationDef = MODULATION_FM},
			{min = 156.0, max = 173.995, modulation	= MODULATION_FM},
			{min = 225.0, max = 399.975, modulation	= MODULATION_AM_AND_FM, modulationDef = MODULATION_AM}
		},
		modulation	= MODULATION_AM,
	},
	panelRadio	= {
		[1] = {
			name = _("COMM 1: ARC-210"),
			range = {
				{min =  30.0, max =  87.995, modulation	= MODULATION_FM},
				{min = 118.0, max = 135.995, modulation	= MODULATION_AM},
				{min = 136.0, max = 155.995, modulation	= MODULATION_AM_AND_FM, modulationDef = MODULATION_FM},
				{min = 156.0, max = 173.995, modulation	= MODULATION_FM},
				{min = 225.0, max = 399.975, modulation	= MODULATION_AM_AND_FM, modulationDef = 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: ARC-210"),
			range = {
				{min =  30.0, max =  87.995, modulation	= MODULATION_FM},
				{min = 118.0, max = 135.995, modulation	= MODULATION_AM},
				{min = 136.0, max = 155.995, modulation	= MODULATION_AM_AND_FM, modulationDef = MODULATION_FM},
				{min = 156.0, max = 173.995, modulation	= MODULATION_FM},
				{min = 225.0, max = 399.975, modulation	= MODULATION_AM_AND_FM, modulationDef = MODULATION_AM}
			},
			channels = {
				[1] =  { name = _("Channel 1"),		default = 305.0},	-- 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
			}
		},
	},
	TACAN_AA	= true,

	-------------------------
	M_empty					=	11382,			-- [kg] 25094 lb
	M_nominal				=	16651,
	M_max					=	23541,
	M_fuel_max				=	4900,
	H_max					=	18200,
	bank_angle_max			=	78,
	average_fuel_consumption =	0.85,
	thrust_sum_max			=	12000,
	thrust_sum_ab			=	19580,

	flaps_maneuver			=	0.5,
	stores_number			=	10,
	IR_emission_coeff		=	0.75,
	IR_emission_coeff_ab	=	4.0,
	air_refuel_receptacle_pos =	{6.731,	0.825,	0.492},
	tanker_type				=	2,

	wing_tip_pos			= 	{-2.466,	0.115,	5.73},

	tand_gear_max								=	3.73,
	nose_gear_pos								= 	{2.9851,	-2.221,	0},
	nose_gear_amortizer_direct_stroke			= 	0.0,			-- down from nose_gear_pos !!!
	nose_gear_amortizer_reversal_stroke			= 	-0.54,			-- up
	nose_gear_amortizer_normal_weight_stroke	= 	-0.4,	-- down from nose_gear_pos
	nose_gear_wheel_diameter					=	0.5385,
	nose_gear_door_close_after_retract			=	false,

	main_gear_pos								= 	{-2.4378,	-2.383,	1.55},
	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.68,
	main_gear_door_close_after_retract			=	false,

	launch_bar_connected_arg_value	= launch_bar_connected_arg_value_,

	engines_count	=	2,
	engines_nozzles =
	{
		[1] =
		{
			pos = 	{-8.005,	-0.003,	-0.48},
			elevation	=	-1.5,
			diameter	=	0.765,
			exhaust_length_ab	=	4,
			exhaust_length_ab_K	=	0.707,
			smokiness_level		= 	0.05,
			afterburner_effect_texture = "afterburner_f-18c",
		}, -- end of [1]
		[2] =
		{
			pos = 	{-8.005,	-0.003,	0.48},
			elevation	=	-1.5,
			diameter	=	0.765,
			exhaust_length_ab	=	4,
			exhaust_length_ab_K	=	0.707,
			smokiness_level		= 	0.05,
			afterburner_effect_texture = "afterburner_f-18c",
			afterburner_light_color  = {1,1,1},
		}, -- end of [2]
	}, -- end of engines_nozzles

	crew_members =
	{
		[1] =
		{
			ejection_seat_name	= "pilot_f18_seat",
			pilot_name	 	= "pilot_f18",
			drop_canopy_name	= "fa-18c_fonar",
			canopy_pos = {0, 0, 0},
			pos = 	{3.5,	0.578,	0},
			bailout_arg = -1,
			skeleton_crew_class_name = "woCharacterPilot",
			skeleton_crew_unit_name = "Crew FA-18C",
			skeleton_crew_connector = "seat_pilot",
			ejection_seat_connector = "center",
		}, -- end of [1]
	}, -- end of crew_members

	mechanimations = {
		Door0 = {
			{Transition = {"Close", "Open"},  Sequence = {{C = {{"Arg", 38, "to", 0.9, "in", 9.0},},},}, Flags = {"Reversible"},},
			{Transition = {"Open", "Close"},  Sequence = {{C = {{"Arg", 38, "to", 0.0, "in", 6.0},},},}, Flags = {"Reversible", "StepsBackwards"},},
			{Transition = {"Any", "Bailout"}, Sequence = {{C = {{"JettisonCanopy", 0},},},},},
		},
		FoldableWings = {
			{Transition = {"Retract", "Extend"}, Sequence = {
						{C = {{"Arg", 8, "to", 0.0, "in", 5.0}}},
						{C = {{"Arg", 19, "to", 0.0, "in", 0.3}}},
					},
					Flags = {"Reversible"}},
			{Transition = {"Extend", "Retract"}, Sequence = {
						{C = {{"Arg", 8, "to", 1.0, "in", 15.0}}},
						{C = {{"Arg", 19, "to", 1.0, "in", 0.3}}},
					},
					Flags = {"Reversible", "StepsBackwards"}},
		},
		ServiceHatches = {
			{Transition = {"Close", "Open"}, Sequence = {{C = {{"PosType", 3}, {"Sleep", "for", 30.0}}}, {C = {{"Arg", 24, "set", 1.0}}}}},
			{Transition = {"Open", "Close"}, Sequence = {{C = {{"PosType", 6}, {"Sleep", "for", 5.0}}}, {C = {{"Arg", 24, "set", 0.0}}}}},
		},
		CrewLadder = {
			{Transition = {"Dismantle", "Erect"}, Sequence = {
				{C = {{"Arg", 323, "to", 1.0, "in", 3.0}}},
			}},
			{Transition = {"Erect", "Dismantle"}, Sequence = {
				{C = {{"Arg", 323, "to", 0.0, "in", 3.0}}},
			}},
		},
		LaunchBar = {
			{Transition = {"Retract", "Extend"}, Sequence = {{C = {{"ChangeDriveTo", "HydraulicGravityAssisted"}, {"VelType", 3}, {"Arg", 85, "to", 0.881, "in", 4.4}}}}},
			--{Transition = {"Extend", "Retract"}, Sequence = {{C = {{"ChangeDriveTo", "Hydraulic"}, {"VelType", 2}, {"Arg", 85, "to", 0.000, "in", 4.5}}}}},
			{Transition = {"Retract", "Stage"},  Sequence = {{C = {{"ChangeDriveTo", "HydraulicGravityAssisted"}, {"VelType", 3}, {"Arg", 85, "to", 0.815, "in", 4.4}}}}},
			--{Transition = {"Stage", "Retract"},  Sequence = {{C = {{"ChangeDriveTo", "Hydraulic"}, {"VelType", 2}, {"Arg", 85, "to", 0.000, "in", 4.5}}}}},
			{Transition = {"Any", "Retract"},  Sequence = {{C = {{"ChangeDriveTo", "Hydraulic"}, {"VelType", 2}, {"Arg", 85, "to", 0.000, "in", 4.5}}}}},
			{Transition = {"Extend", "Stage"},   Sequence = {
					{C = {{"ChangeDriveTo", "Mechanical"}, {"Sleep", "for", 0.000}}},
					{C = {{"Arg", 85, "from", 0.881, "to", 0.766, "in", 0.600}}},
					{C = {{"Arg", 85, "from", 0.766, "to", 0.753, "in", 0.200}}},
					{C = {{"Sleep", "for", 0.15}}},
					--{C = {{"Sleep", "for", 0.150}}},
					{C = {{"Arg", 85, "from", 0.753, "to", 0.784, "in", 0.1, "sign", 2}}},
					{C = {{"Arg", 85, "from", 0.784, "to", 0.881, "in", 1.0}}},
					--{C = {{"PosType", 6}, {"Sleep", "for", 3.3}}},
					--{C = {{"Arg", 85, "from", 0.854, "to", 0.815, "in", 1.25}}},
				},
			},
			{Transition = {"Stage", "Pull"},  Sequence = {
					{C = {{"ChangeDriveTo", "Mechanical"}, {"VelType", 2}, {"Arg", 85,"from", 0.881, "to", launch_bar_connected_arg_value_, "in", 0.15}}},
					{C = {{"ChangeDriveTo", "Mechanical"}, {"VelType", 2}, {"Arg", 85, "to", 0.78, "speed", 0.1}}},
					{C = {{"ChangeDriveTo", "Mechanical"}, {"VelType", 2}, {"Arg", 85, "to", 0.7792, "speed", 0.02}}},
					}
			},
			{Transition = {"Stage", "Extend"},   Sequence = {{C = {{"ChangeDriveTo", "HydraulicGravityAssisted"}, {"VelType", 3}, {"Arg", 85, "from", 0.815, "to", 0.881, "in", 0.2}}}}},
		},
		Crewman0Gestures = {
			{Transition = {"Any", "GestureSaluteLeft"},
				Sequence = {
					{--step 1 hands and head to 0 position
						C = {
								{"Arg", 39,  "to", 0.0, "speed", 0.50},
								{"Arg", 99,  "to", 0.0, "speed", 0.50},
								{"Arg", 500, "to", 0.0, "speed", 5.0},
								{"Arg", 395, "to", 0.0, "speed", 5.0},
								{"Arg", 501, "to", 0.0, "speed", 5.0},
								{"Arg", 396, "to", 0.0, "speed", 5.0},
								{"Arg", 530, "to", 0.0, "speed", 5.0},
								{"Arg", 531, "to", 0.0, "speed", 5.0},
								{"Arg", 521, "set", 0.01},
							},
					},
					{-- step 2 gesture start
						C = {{"Arg", 521, "from", 0.01, "to", 0.6, "in", 2.0}}
					},
					{-- step 4 gesture end
						C = {{"Arg", 521, "from", 0.6, "to", 1.0, "in", 1.5}}
					},
					{-- step 5 activate 522 arg to remove hands control
						C = {
								{"Arg", 522, "set", 0.01},
							}
					},
				},
			},
			{Transition = {"Any", "GestureSaluteRight"},
				Sequence = {
					{--step 1 hands and head to 0 position
						C = {
								{"Arg", 39,  "to", 0.0, "speed", 0.50},
								{"Arg", 99,  "to", 0.0, "speed", 0.50},
								{"Arg", 500, "to", 0.0, "speed", 5.0},
								{"Arg", 395, "to", 0.0, "speed", 5.0},
								{"Arg", 501, "to", 0.0, "speed", 5.0},
								{"Arg", 396, "to", 0.0, "speed", 5.0},
								{"Arg", 530, "to", 0.0, "speed", 5.0},
								{"Arg", 531, "to", 0.0, "speed", 5.0},
								{"Arg", 520, "set", 0.01},
							},
					},
					{-- step 2 gesture start
						C = {{"Arg", 520, "from", 0.01, "to", 0.55, "in", 2.0}}
					},
					{-- step 5 gesture end
						C = {{"Arg", 520, "from", 0.55, "to", 1.0, "in", 1.7}}
					},
					{-- step 6 activate 522 arg to remove hands control
						C = {
								{"Arg", 522, "set", 0.01},
							}
					},
				},
			},
			{Transition = {"Any", "GestureSaluteTakeOffFinalize"},
				Sequence = {
					{--step 1 head shake, hands moves to propper place
						C = {{"Arg", 522, "to", 1.0, "speed", 0.33},},
					},
					{-- step 2 reset 522 arg, move to normal operation
						C = {
							{"Arg", 522, "set", 0.0},
							{"Arg", 521, "set", 0.0},
							{"Arg", 520, "set", 0.0},
						}
					},
				},
			},
			{Transition = {"Any", "GestureSaluteTaxi"}, -- TEMP! TODO: waiting for special arg with THUMB UP
				Sequence = {
					{--step 1 hands and (head?) to 0 position
						C = {
								--{"Arg", 39,  "to", 0.0, "speed", 0.50},
								{"Arg", 99,  "to", 0.0, "speed", 0.50},
								{"Arg", 500, "to", 0.0, "speed", 5.0},
								{"Arg", 395, "to", 0.0, "speed", 5.0},
								{"Arg", 501, "to", 0.0, "speed", 5.0},
								{"Arg", 396, "to", 0.0, "speed", 5.0},
								{"Arg", 530, "to", 0.0, "speed", 5.0},
								{"Arg", 531, "to", 0.0, "speed", 5.0},
								{"Arg", 520, "set", 0.01},
							},
					},
					{-- step 2 gesture start
						C = {{"Arg", 520, "from", 0.01, "to", 0.55, "in", 2.0}}
					},
					{-- step 3 gesture end (back)
						C = {{"Arg", 520, "from", 0.55, "to", 0.0, "in", 2.0}}
					},
				},
			},
			{Transition = {"Any", "GestureSaluteReset"}, Sequence = {{C = {{"Sleep", "for", 0.0}}}}},

		},
	}, -- end of mechanimations

	InheriteCommonCallnames = true,
	SpecificCallnames = {
		["USA"] = {
					{_('Hornet'),			'Hornet'},
					{_('Squid'),			'Squid'},
					{_('Ragin'),			'Ragin'},
					{_('Roman'),			'Roman'},
					{_('Sting'),			'Sting'},
					{_('Jury'),				'Jury'},
					{_('Joker'),			'Joker'},
					{_('Ram'),				'Ram'},
					{_('Hawk'),				'Hawk'},
					{_('Devil'),			'Devil'},
					{_('Check'),			'Check'},
					{_('Snake'),			'Snake'}
		}
	},
	-- add model draw args for network transmitting to this draw_args table (16 limit)
	net_animation =
	{
		2,--[[nws]]
		13, --[[right LE flap]]
		14, --[[left LE flap]]
		25, --[[hook]]
		84,
		85, --[[launch bar]]
		89,--[[nozzle]]
		90,
		274,
		336,--[[Cabin RAM Air Inlet Door]]

		39, 99,						-- PLT head turn
		506, 507, 508, 509,			-- PLT helmet kit
		459,						-- died/alive
		500, 501, 502, 503,			-- hands on stick, throttle; pedals control
		395, 396, 397, 398, 420,	-- controls: stick, throttle, pedals
		539,						-- hand correction
		520, 521, 522,				-- actions with a catapult
		530, 531, 532,				-- PLT body deflections
		533,						-- PLT head roll
	},

	fires_pos =
	{
		[1] = 	{-0.232,	0.262,	0},
		[2] = 	{-1.938,	0.08,	 1.344},
		[3] = 	{-1.945,	0.056,	-1.359},
		[4] = 	{-2.52,		0.265,	 3.274},
		[5] = 	{-2.52,		0.265,	-3.274},
		[6] = 	{-2.73,		0.255,	 4.634},
		[7] = 	{-2.73,		0.255,	-4.634},
		[8] = 	{-7.128,	0.039,	 0.5},
		[9] = 	{-7.728,	0.039,	-0.5},
		[10] = 	{-7.728,	0.039,	 0.5},
		[11] = 	{-7.728,	0.039,	-0.5},
	}, -- end of fires_pos

	effects_presets = {
		{effect = "APU_STARTUP_BLAST", preset = "F18", ttl = 3.0},
		{effect = "OVERWING_VAPOR", file = current_mod_path.."/Effects/FA-18C_overwingVapor.lua"},
	},
	chaff_flare_dispenser =
	{
		[1] =
		{
			dir = 	{0,	-1,	0},
			pos = 	{-0.94,	-0.71,	-0.843},
		}, -- end of [1]
		[2] =
		{
			dir = 	{0,	-1,	0},
			pos = 	{-1.19,	-0.71,	-0.843},
		}, -- end of [2]
		[3] =
		{
			dir = 	{0,	-1,	0},
			pos = 	{-0.94,	-0.71,	0.843},
		}, -- end of [3]
		[4] =
		{
			dir = 	{0,	-1,	0},
			pos = 	{-1.19,	-0.71,	0.843},
		}, -- end of [4]
	}, -- end of chaff_flare_dispenser

	Failures =
	{
		-- electric system
		{ id = 'Failure_Elec_UtilityBattery',					label = _('Utility Battery FAILURE'), 								enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Elec_EmergencyBattery',					label = _('Emergency Battery FAILURE'), 							enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Elec_LeftGenerator',					label = _('Left Generator FAILURE'),								enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Elec_RightGenerator',					label = _('Right Generator FAILURE'), 								enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Elec_LeftTransformerRectifier',			label = _('Left Transformer-Rectifier FAILURE'), 					enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Elec_RightTransformerRectifier',		label = _('Right Transformer-Rectifier FAILURE'), 					enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		-- hydraulic system
		{ id = 'Failure_Hyd_HYD1A_Leak',						label = _('HYD 1A LEAKAGE'),										enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Hyd_HYD1B_Leak',						label = _('HYD 1B LEAKAGE'), 										enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Hyd_HYD2A_Leak',						label = _('HYD 2A LEAKAGE'), 										enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Hyd_HYD2B_Leak',						label = _('HYD 2B LEAKAGE'), 										enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Hyd_IsolatedHYD2BSystem_Leak',			label = _('Isolated HYD 2B System LEAKAGE'), 						enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		-- power plant
		{ id = 'Failure_PP_EngL_Main_FFCS',						label = _('Left Engine: Main Fuel Flow Control System FAILURE'),	enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_PP_EngR_Main_FFCS',						label = _('Right Engine: Main Fuel Flow Control System FAILURE'),	enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_PP_EngL_AB_FFCS',						label = _('Left Engine: AB Fuel Flow Control System FAILURE'),		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_PP_EngR_AB_FFCS',						label = _('Right Engine: AB Fuel Flow Control System FAILURE'),		enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_PP_EngL_Nozzle_CS',						label = _('Left Engine: Nozzle Control System FAILURE'),			enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_PP_EngR_Nozzle_CS',						label = _('Right Engine: Nozzle Control System FAILURE'),			enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_PP_EngL_OilLeak',						label = _('Left Engine: Oil LEAKAGE'),								enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_PP_EngR_OilLeak',						label = _('Right Engine: Oil LEAKAGE'),								enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_PP_LeftPTS',							label = _('Left PTS FAILURE'),										enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_PP_RightPTS',							label = _('Right PTS FAILURE'),										enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_PP_LeftAMAD_OilLeak',					label = _('Left AMAD Oil LEAKAGE'),									enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_PP_RightAMAD_OilLeak',					label = _('Right AMAD Oil LEAKAGE'),								enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		-- fuel system
		{ id = 'Failure_Fuel_LeftBoostPump',					label = _('Left Boost Pump FAILURE'),								enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Fuel_RightBoostPump',					label = _('Right Boost Pump FAILURE'),								enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Fuel_Tank1Transfer',					label = _('Tank 1 Transfer FAILURE'),								enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Fuel_Tank4Transfer',					label = _('Tank 4 Transfer FAILURE'),								enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Fuel_ExtTankTransferL',					label = _('External Left Wing Tank Transfer FAILURE'),				enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Fuel_ExtTankTransferR',					label = _('External Right Wing Tank Transfer FAILURE'),				enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Fuel_ExtTankTransferC',					label = _('External Centerline Tank Transfer FAILURE'),				enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Fuel_QuantityGaging',					label = _('Fuel Quantity Gaging System FAILURE'),					enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		-- gear system
		{ id = 'Failure_Gear_WOW',								label = _('WOW System FAILURE'),									enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Gear_NWS',								label = _('NWS FAILURE'),											enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		-- ECS
		{ id = 'Failure_ECS_Valve',								label = _('ECS Valve FAILURE'),										enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_ECS_OBOGS',								label = _('OBOGS FAILURE'),											enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		-- control system
		{ id = 'Failure_Ctrl_LEF',								label = _('LEF FAILURE'),											enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Ctrl_Aileron',							label = _('Aileron FAILURE'),										enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Ctrl_FCS_Ch1',							label = _('FCS Channel 1 FAILURE'),									enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Ctrl_FCS_Ch2',							label = _('FCS Channel 2 FAILURE'),									enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Ctrl_FCS_Ch3',							label = _('FCS Channel 3 FAILURE'),									enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Ctrl_FCS_Ch4',							label = _('FCS Channel 4 FAILURE'),									enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		-- computers
		{ id = 'Failure_Comp_ADC',								label = _('ADC FAILURE'),											enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Comp_MC1',								label = _('MC 1 FAILURE'),											enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Comp_MC2',								label = _('MC 2 FAILURE'),											enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		--{ id = 'Failure_Comp_CSC_Mux',							label = _('CSC MUX FAILURE'),										enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		-- sensors
		{ id = 'Failure_Sens_LeftPitotHeater',					label = _('Left PITOT Heater FAILURE'),								enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
		{ id = 'Failure_Sens_RightPitotHeater',					label = _('Right PITOT Heater FAILURE'),							enable = false, hh = 0, mm = 0, mmint = 1, prob = 100 },
	},

	Damage = verbose_to_dmg_properties(
	{
		["NOSE_CENTER"]				= {args = {146}, critical_damage = 3},-- NOSE_CENTER
		["NOSE_BOTTOM"]				= {args = {148}, critical_damage = 3},-- NOSE_BOTTOM
		["NOSE_LEFT_SIDE"]			= {args = {150}, critical_damage = 3},-- NOSE_LEFT_SIDE
		["NOSE_RIGHT_SIDE"]			= {args = {149}, critical_damage = 3},-- NOSE_RIGHT_SIDE

		["COCKPIT"]					= {args = {65},  critical_damage = 8},-- COCKPIT
		["CABIN_BOTTOM"]			= {args = {152}, critical_damage = 3},-- CABIN_BOTTOM
		["CABIN_LEFT_SIDE"]			= {args = {298}, critical_damage = 3},-- CABIN_LEFT_SIDE
		["CABIN_RIGHT_SIDE"]		= {args = {299}, critical_damage = 3},-- CABIN_RIGHT_SIDE
		["FRONT_GEAR_BOX"]			= {args = {265}, critical_damage = 2},
		["WHEEL_F"]					= {args = {135}, critical_damage = 3},-- WHEEL_F

		["FUSELAGE_LEFT_SIDE"]		= {args = {154}, critical_damage = 3},-- FUSELAGE_LEFT_SIDE
		["FUSELAGE_RIGHT_SIDE"]		= {args = {153}, critical_damage = 3},-- FUSELAGE_RIGHT_SIDE
		["FUSELAGE_BOTTOM"]			= {args = {152}, critical_damage = 4},-- FUSELAGE_BOTTOM
		["LEFT_GEAR_BOX"]			= {args = {267}, critical_damage = 3},
		["WHEEL_L"]					= {args = {137}, critical_damage = 3},-- WHEEL_L
		["RIGHT_GEAR_BOX"]			= {args = {266}, critical_damage = 3},
		["WHEEL_R"]					= {args = {136}, critical_damage = 3},-- WHEEL_R

		["TAIL_LEFT_SIDE"]			= {args = {158}, critical_damage = 3},-- TAIL_LEFT_SIDE
		["TAIL_RIGHT_SIDE"]			= {args = {157}, critical_damage = 3},-- TAIL_RIGHT_SIDE
		["TAIL_BOTTOM"]				= {args = {156}, critical_damage = 3},--
		["HOOK"]					= {critical_damage = 2},
		["AIR_BRAKE"]				= {args = {183}, critical_damage = 2},--

		["ENGINE_L"]				= {args = {166}, critical_damage = 2},-- ENGINE_L	-- 167,168
		["ENGINE_R"]				= {args = {160}, critical_damage = 2},-- ENGINE_R	-- 161,162

		["WING_L_IN"]				= {args = {225}, critical_damage = 5, deps_cells = {"WING_L_CENTER", "WING_L_OUT", "WING_L_PART_IN", "WING_L_PART_OUT", "ELERON_L", "FLAP_L_IN"}},-- WING_L_IN
		["WING_L_CENTER"]			= {args = {224}, critical_damage = 4, deps_cells = {"WING_L_OUT", "WING_L_PART_IN", "WING_L_PART_OUT", "ELERON_L", "FLAP_L_IN"}},-- WING_L_CENTER
		["WING_L_OUT"]				= {args = {223}, critical_damage = 3, deps_cells = {"WING_L_PART_OUT", "ELERON_L"}},		-- WING_L_OUT
		["WING_L_PART_IN"]			= {args = {230}, critical_damage = 2},	-- WING_L_PART_IN  -- inboard slat
		["WING_L_PART_OUT"]			= {args = {232}, critical_damage = 2},	-- WING_L_PART_OUT -- outboard slat
		["FLAP_L_IN"]				= {args = {227}, critical_damage = 2},		-- FLAP_L_IN -- flap
		["ELERON_L"]				= {args = {226}, critical_damage = 2},		-- ELERON_L

		["WING_R_IN"]				= {args = {215}, critical_damage = 5, deps_cells = {"WING_R_CENTER", "WING_R_OUT", "WING_R_PART_IN", "WING_R_PART_OUT", "ELERON_R", "FLAP_R_IN"}},-- WING_R_IN
		["WING_R_CENTER"]			= {args = {214}, critical_damage = 4, deps_cells = {"WING_R_OUT", "WING_R_PART_IN", "WING_R_PART_OUT", "ELERON_R", "FLAP_R_IN"}},-- WING_R_CENTER
		["WING_R_OUT"]				= {args = {213}, critical_damage = 3, deps_cells = {"WING_R_PART_OUT", "ELERON_R"}},		-- WING_R_OUT
		["WING_R_PART_IN"]			= {args = {220}, critical_damage = 2},	-- WING_R_PART_IN  -- inboard slat
		["WING_R_PART_OUT"]			= {args = {222}, critical_damage = 2},	-- WING_R_PART_OUT -- outboard slat
		["FLAP_R_IN"]				= {args = {217}, critical_damage = 2},		-- FLAP_R_IN -- flap
		["ELERON_R"]				= {args = {216}, critical_damage = 2},		-- ELERON_R

		["FIN_L_BOTTOM"]			= {args = {245}, critical_damage = 4, deps_cells = {"RUDDER_L"}},
		["FIN_L_CENTER"]			= {args = {245}, critical_damage = 4, deps_cells = {"RUDDER_L"}},	-- ??
		["FIN_L_TOP"]				= {args = {244}, critical_damage = 4},
		["RUDDER_L"]				= {args = {248}, critical_damage = 1},-- RUDDER_L

		["FIN_R_BOTTOM"]			= {args = {242}, critical_damage = 4, deps_cells = {"RUDDER_R"}},
		["FIN_R_CENTER"]			= {args = {242}, critical_damage = 4, deps_cells = {"RUDDER_R"}},	-- ??
		["FIN_R_TOP"]				= {args = {241}, critical_damage = 4},
		["RUDDER_R"]				= {args = {247}, critical_damage = 1},-- RUDDER_R

		["STABILIZER_L_IN"]			= {args = {235}, critical_damage = 2},-- STABILIZER_L_IN
		["STABILIZER_R_IN"]			= {args = {233}, critical_damage = 2},-- STABILIZER_R_IN

		["LAUNCH_BAR"]				= {critical_damage = 2},-- LAUNCH BAR
	}),-- end of Damage

	DamageParts 	=
	{
		[1] = "FA-18C_oblomok_wing_R",
		[2] = "FA-18C_oblomok_wing_L",
	},

	AddPropAircraft = {
		{ id = "OuterBoard",			control = 'comboList', label = _('Outerboard rockets mode'),
			values = {
				{id =  0, dispName = _("Single")},
				{id =  1, dispName = _("Ripple")},
			},
			defValue	= 0,
			wCtrl		= 150,
			playerOnly	= true
		},
		{ id = "InnerBoard",			control = 'comboList', label = _('Innerboard rockets mode'),
			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 = "CoreMods\\aircraft\\AH-64D\\Datalinks\\IDM.lua",
		Link16 = "CoreMods\\aircraft\\FA-18C\\Datalinks\\Link16.lua",
		--Link4 = "CoreMods\\aircraft\\FA-18C\\Datalinks\\Link4.lua",
		--SADL
	},

	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.23,
			cy_flap	=	0.79,
			cx_brk	=	0.08,
			table_data =
			{
				[1] = 	{0,	0.0151,	0.07,	0.134,	0.0567,	0.5,	30,	2.4},
				[2] = 	{0.2,	0.0154,	0.07,	0.134,	0.056,	1.5,	30,	2.4},
				[3] = 	{0.4,	0.0156,	0.07,	0.134,	0.0549,	2.5,	30,	2.4},
				[4] = 	{0.6,	0.0164,	0.073,	0.134,	0.0474,	3.5,	30,	2.4},
				[5] = 	{0.7,	0.0172,	0.076,	0.134,	0.052,	3.5,	28.666666666667,	2.36},
				[6] = 	{0.8,	0.0201,	0.079,	0.144,	0.0607,	3.5,	27.333333333333,	2.32},
				[7] = 	{0.9,	0.0284,	0.083,	0.159,	0.0666,	3.5,	26,	2.28},
				[8] = 	{1,	0.0538,	0.085,	0.219,	0.0812,	3.5,	24.666666666667,	2.24},
				[9] = 	{1.05,	0.053618181818182,	0.085454545454545,	0.24854545454545,	0.080972727272727,	3.5,	24,	2.22},
				[10] = 	{1.1,	0.053436363636364,	0.085909090909091,	0.27809090909091,	0.080745454545455,	3.15,	18,	2.2},
				[11] = 	{1.11,	0.0534,	0.086,	0.284,	0.0807,	3.08,	17.9,	2.19},
				[12] = 	{1.2,	0.0493,	0.083,	0.35,	0.0784,	2.45,	17,	2.1},
				[13] = 	{1.3,	0.04536,	0.077,	0.4,	0.078,	1.75,	16,	2},
				[14] = 	{1.4,	0.0432,	0.062,	0.468,	0.0751,	1.625,	14.5,	1.9},
				[15] = 	{1.5,	0.0429,	0.054,	0.545,	0.0708,	1.5,	13,	1.8},
				[16] = 	{1.6,	0.0426,	0.046,	0.622,	0.0665,	1.2,	12.5,	1.6},
				[17] = 	{1.7,	0.04145,	0.0425,	0.743,	0.0618,	0.9,	12,	1.4},
				[18] = 	{1.8,	0.0403,	0.039,	0.864,	0.0571,	0.86,	11.4,	1.28},
				[19] = 	{2.2,	0.0377,	0.034,	1,	0.048,	0.7,	9,	0.8},
				[20] = 	{2.35,	0.0377,	0.033,	1,	0.0448,	0.7,	9,	0.8},
				[21] = 	{3.9,	0.0377,	0.033,	1,	0.0448,	0.7,	9,	0.8},
			}, -- end of table_data
		}, -- end of aerodynamics
		engine =
		{
			type	=	"TurboFan",
			Nmg	=	64.1,
			Nominal_RPM		= 16810.0,
			Nominal_Fan_RPM	= 13270.0,
			Startup_Duration = 33.0,
			MinRUD	=	0.1,
			MaxRUD	=	1,
			MaksRUD	=	0.85,
			ForsRUD	=	0.91,
			hMaxEng	=	19,
			dcx_eng	=	0.0144,
			cemax	=	1.24,
			cefor	=	2.56,
			dpdh_m	=	3500,
			dpdh_f	=	6500,
			table_data =
			{
				[1] = 	{0,	68000,	140000},
				[2] = 	{0.2,	68000,	140000},
				[3] = 	{0.4,	73000,	140000},
				[4] = 	{0.6,	80000,	137000},
				[5] = 	{0.7,	92000,	140000},
				[6] = 	{0.8,	90000,	145000},
				[7] = 	{0.9,	86000,	143000},
				[8] = 	{1,	60000,	143000},
				[9] = 	{1.11,	27000,	145000},
				[10] = 	{1.2,	13000,	149000},
				[11] = 	{1.3,	7000,	145000},
				[12] = 	{1.4,	5000,	147000},
				[13] = 	{1.6,	3000,	149000},
				[14] = 	{1.8,	2000,	145000},
				[15] = 	{2.2,	1500,	113000},
				[16] = 	{2.35,	1000,	94000},
				[17] = 	{3.9,	0,	30000},
			}, -- end of table_data
		}, -- end of engine
	},

	lights_data =
	{
		typename =	"collection",
		lights 	 =
		{
			[WOLALIGHT_STROBES]	= {
				typename	=	"collection",
				lights 		= {
					{ typename = "argnatostrobelight", argument = 193, period = 1.2},		-- beacon lights
				},
			},--must be collection
			[WOLALIGHT_LANDING_LIGHTS]	= {
				typename	= 	"collection",
				lights		= {
					{ typename  = "argumentlight",	argument  = 210, },
				},
			},--must be collection
			[WOLALIGHT_TAXI_LIGHTS]	= {
				typename	= 	"collection",
				lights		= {
					{ typename  = "argumentlight",	argument  = 210, },
				},
			},--must be collection
			[WOLALIGHT_NAVLIGHTS]	= {
				typename 	= "collection",
				lights 		= {
					{ typename  = "argumentlight", argument  = 190, },				-- red
					{ typename  = "argumentlight", argument  = 191, },				-- green
					{ typename  = "argumentlight", argument  = 192, },				-- white
				},
			},--must be collection
			[WOLALIGHT_FORMATION_LIGHTS] = {
				typename	= "collection",
				lights		= {
					{ typename  = "argumentlight",	argument  = 88, },
				},		-- green bars
			},--must be collection
			-- REFUEL
			[WOLALIGHT_REFUEL_LIGHTS] = {
				typename = "collection",
				lights	 = {
					{ typename = "argumentlight",	argument = 212, },				-- AR light
				},
			},
			[WOLALIGHT_CABIN_NIGHT] = {
				typename = "collection",
				lights = {
					{ typename = "argumentlight", argument = 69, },
				},
			},
		}, -- end of lights
	},-- end of lights_data

	ColdStartDefaultControls = {
		[15] 	= -1.0,		-- [15] = Elevators
		[16] 	= -1.0,		-- [16] = Elevators
		[9]		=  1,		-- [9]  = Flaps
		[10]	=  1,		-- [10] = Flaps
		[17]	=  0.5,		-- [17] = Right rudder
		[18]	= -0.5,		-- [18] = Left rudder
		[11]	= -0.2,		-- [17] = Right aileron
		[12]	= -0.2,		-- [18] = Left aileron
	},
	
	DTC = true,
}	-- local F_18C_hornet
	
	-- Make F/A-18C_hornet
	make_FA_18(F_18C_hornet)

end		--  function make_FA_18C_hornet()

make_FA_18C_hornet()
local function fpu_8a_fuel_tank(clsid, center)
	local data = {
		category	= CAT_FUEL_TANKS,
		CLSID		= clsid,
		attribute	=  {wsType_Air,wsType_Free_Fall,wsType_FuelTank,WSTYPE_PLACEHOLDER},
		Picture		= "PTB.png",
		displayName	= _("FPU-8A Fuel Tank 330 gallons"),
		Weight_Empty	= 132,
		Weight			= 132 + 1018,	-- 330 gallons, 6.8 lb/gal
		Cx_pil		= 0.000956902,
		shape_table_data =
		{
			{
				name	= "FPU_8A";
				file	= "FPU_8A";
				life	= 1;
				fire	= { 0, 1};
				username	= "FPU_8A";
				index	= WSTYPE_PLACEHOLDER;
			},
		},
		Elements	=
		{
			{
				ShapeName	= "FPU_8A",
			},
		},
	}
	declare_loadout(data)
end

fpu_8a_fuel_tank("{FPU_8A_FUEL_TANK}")