local GALLON_TO_KG = 3.785 * 0.8
local INCHES_TO_M = 0.0254
local POUNDS_TO_KG = 0.453592

declare_loadout({
	category 			= CAT_PODS,
	CLSID	 			= "{AB_MH60J}",
	Picture				= "JH.png",
	Cx_pil 				= 0.001464844,
	displayName			= "MH-60J - Jayhawk",
	Weight				= 0, 
	Weight_Empty		= 0,
	Count				= 0,
	kind_of_shipping	= 0,
	attribute			= {wsType_Weapon, wsType_Bomb, wsType_Container, WSTYPE_PLACEHOLDER},
	wsTypeOfWeapon		= "weapons.bombs.LS_6_100",
	Elements		=
	{
		{
			ShapeName	=	"ANDR0ID_JAYHAWK",
			IsAdapter   =   true,
		},
	},
})

declare_loadout({
	category 			= CAT_PODS,
	CLSID	 			= "{AB_60S_WINGS}",
	Picture				= "SH.png",
	Cx_pil 				= 0.001464844,
	displayName			= "MH-60S - Seahawk (w/ Wing Pylon)",
	Weight				= 0, 
	Weight_Empty		= 0,
	Count				= 0,
	kind_of_shipping	= 0,
	attribute			= {wsType_Weapon, wsType_Bomb, wsType_Container, WSTYPE_PLACEHOLDER},
	wsTypeOfWeapon		= "weapons.bombs.LS_6_100",
	Elements		=
	{
		{
			ShapeName	=	"ANDR0ID_SH60S_PYLON",
			IsAdapter   =   true,
		},
	},
})

declare_loadout({
	category 			= CAT_PODS,
	CLSID	 			= "{AB_60S}",
	Picture				= "SH.png",
	Cx_pil 				= 0.001464844,
	displayName			= "MH-60S - Seahawk",
	Weight				= 0, 
	Weight_Empty		= 0,
	Count				= 0,
	kind_of_shipping	= 0,
	attribute			= {wsType_Weapon, wsType_Bomb, wsType_Container, WSTYPE_PLACEHOLDER},
	wsTypeOfWeapon		= "weapons.bombs.LS_6_100",
	Elements		=
	{
		{
			ShapeName	=	"ANDR0ID_SH60S_NOPYLON",
			IsAdapter   =   true,
		},
	},
})

declare_loadout({
	category 			= CAT_PODS,
	CLSID	 			= "{AB_60R}",
	Picture				= "SH.png",
	Cx_pil 				= 0.001464844,
	displayName			= "MH-60R - Seahawk",
	Weight				= 0, 
	Weight_Empty		= 0,
	Count				= 0,
	kind_of_shipping	= 0,
	attribute			= {wsType_Weapon, wsType_Bomb, wsType_Container, WSTYPE_PLACEHOLDER},
	wsTypeOfWeapon		= "weapons.bombs.LS_6_100",
	Elements		=
	{
		{
			ShapeName	=	"ANDR0ID_SH60R",
			IsAdapter   =   true,
		},
	},

})

declare_loadout({
	category 			= CAT_PODS,
	CLSID	 			= "{AB_60R_CONSOLE}",
	Picture				= "SH.png",
	Cx_pil 				= 0.001464844,
	displayName			= "Seahawk Operator Console",
	Weight				= 10, 
	Weight_Empty		= 10,
	Count				= 0,
	kind_of_shipping	= 0,
	attribute			= {wsType_Weapon, wsType_Bomb, wsType_Container, WSTYPE_PLACEHOLDER},
	wsTypeOfWeapon		= "weapons.bombs.LS_6_100",
	Elements		=
	{
		{
			ShapeName	=	"ANDR0ID_SH60R_Console",
			IsAdapter   =   true,
		},
	},

})

declare_loadout({
	category 			= CAT_PODS,
	CLSID	 			= "{AB_MH60_SOAR_WINGS}",
	Picture				= "MH.png",
	Cx_pil 				= 0.001464844,
	displayName			= "MH60M (w/ Original DAP Wing Pylon)",
	Weight				= 0, 
	Weight_Empty		= 0,
	Count				= 0,
	kind_of_shipping	= 0,
	attribute			= {wsType_Weapon, wsType_Bomb, wsType_Container, WSTYPE_PLACEHOLDER},
	wsTypeOfWeapon		= "weapons.bombs.LS_6_100",
	Elements		=
	{
		{
			ShapeName	=	"ANDR0ID_MH60_SOAR_OldShort",
			IsAdapter   =   true,
		},
	},
})

declare_loadout({
	category 			= CAT_PODS,
	CLSID	 			= "{AB_MH60_RADAR}",
	Picture				= "MH.png",
	Cx_pil 				= 0.001464844,
	displayName			= "MH60M RADAR",
	Weight				= 0, 
	Weight_Empty		= 0,
	Count				= 0,
	kind_of_shipping	= 0,
	attribute			= {wsType_Weapon, wsType_Bomb, wsType_Container, WSTYPE_PLACEHOLDER},
	wsTypeOfWeapon		= "weapons.bombs.LS_6_100",
	Elements		=
	{
		{
			ShapeName	=	"ANDR0ID_MH60M_RADAR",
			IsAdapter   =   true,
		},
	},
})

declare_loadout({
	category 			= CAT_PODS,
	CLSID	 			= "{AB_MH60_NewLong}",
	Picture				= "MH.png",
	Cx_pil 				= 0.001464844,
	displayName			= "MH60M New Full Pylon",
	Weight				= 0, 
	Weight_Empty		= 0,
	Count				= 0,
	kind_of_shipping	= 0,
	attribute			= {wsType_Weapon, wsType_Bomb, wsType_Container, WSTYPE_PLACEHOLDER},
	wsTypeOfWeapon		= "weapons.bombs.LS_6_100",
	Elements		=
	{
		{
			ShapeName	=	"ANDR0ID_MH60M_NewLong",
			IsAdapter   =   true,
		},
	},
})

declare_loadout({
	category 			= CAT_PODS,
	CLSID	 			= "{AB_MH60_NewShort}",
	Picture				= "MH.png",
	Cx_pil 				= 0.001464844,
	displayName			= "MH60M New Short Pylon",
	Weight				= 0, 
	Weight_Empty		= 0,
	Count				= 0,
	kind_of_shipping	= 0,
	attribute			= {wsType_Weapon, wsType_Bomb, wsType_Container, WSTYPE_PLACEHOLDER},
	wsTypeOfWeapon		= "weapons.bombs.LS_6_100",
	Elements		=
	{
		{
			ShapeName	=	"ANDR0ID_MH60M_NewShort",
			IsAdapter   =   true,
		},
	},
})

declare_loadout({
	category 			= CAT_PODS,
	CLSID	 			= "{AB_MH60K}",
	Picture				= "MH.png",
	Cx_pil 				= 0.001464844,
	displayName			= "MH60K",
	Weight				= 0, 
	Weight_Empty		= 0,
	Count				= 0,
	kind_of_shipping	= 0,
	attribute			= {wsType_Weapon, wsType_Bomb, wsType_Container, WSTYPE_PLACEHOLDER},
	wsTypeOfWeapon		= "weapons.bombs.LS_6_100",
	Elements		=
	{
		{
			ShapeName	=	"ANDR0ID_MH60K",
			IsAdapter   =   true,
		},
	},
})

declare_loadout({
	category 			= CAT_PODS,
	CLSID	 			= "{AB_HH60G}",
	Picture				= "PH.png",
	Cx_pil 				= 0.001464844,
	displayName			= "HH-60G",
	Weight				= 0, 
	Weight_Empty		= 0,
	Count				= 0,
	kind_of_shipping	= 0,
	attribute			= {wsType_Weapon, wsType_Bomb, wsType_Container, WSTYPE_PLACEHOLDER},
	wsTypeOfWeapon		= "weapons.bombs.LS_6_100",
	Elements		=
	{
		{
			ShapeName	=	"ANDR0ID_Pavehawk_Old",
			IsAdapter   =   true,
		},
	},
})

declare_loadout({
	category 			= CAT_PODS,
	CLSID	 			= "{AB_MH60G}",
	Picture				= "PH.png",
	Cx_pil 				= 0.001464844,
	displayName			= "MH-60G",
	Weight				= 0, 
	Weight_Empty		= 0,
	Count				= 0,
	kind_of_shipping	= 0,
	attribute			= {wsType_Weapon, wsType_Bomb, wsType_Container, WSTYPE_PLACEHOLDER},
	wsTypeOfWeapon		= "weapons.bombs.LS_6_100",
	Elements		=
	{
		{
			ShapeName	=	"ANDR0ID_Pavehawk_New",
			IsAdapter   =   true,
		},
	},
})

declare_loadout({
	category 			= CAT_PODS,
	CLSID	 			= "{AB_STD_WING}",
	Picture				= "MH.png",
	Cx_pil 				= 0.001464844,
	displayName			= "Standard ESSS",
	Weight				= 0, 
	Weight_Empty		= 0,
	Count				= 0,
	kind_of_shipping	= 0,
	attribute			= {wsType_Weapon, wsType_Bomb, wsType_Container, WSTYPE_PLACEHOLDER},
	wsTypeOfWeapon		= "weapons.bombs.LS_6_100",
	Elements		=
	{
		{
			ShapeName	=	"ANDR0ID_STD_ESSS",
			IsAdapter   =   true,
		},
	},
})
--------------------------------
local ANDR0ID_SONO_ILLUM = {
	category			= CAT_ROCKETS,
	name				= "ANDR0ID_SONO_IL",
	user_name			= "ANDR0ID_SONO_IL",
	wsTypeOfWeapon		= {4, 7, 33, WSTYPE_PLACEHOLDER},
	scheme 				= "nurs-light",
	model 				= "ANDR0ID_SH60R_SONO",

		control = {
			delay = 0.3
		},

		fm = {
			I = 3.024,
			L = 1.8,
			Ma = 0.23322,
			Mw = 2.177036,
			caliber = 0.07,
			cx_coeff = { 1, 1.5, 0.68, 0.7, 1.75 },
			freq = 20,
			mass = 200,--Help to "drop" the bouy... more pleasing visually, does not impact aircraft / stores weight 
			rail_open = false,
			shapeName = "Hydra_M257",
			wind_sigma = 10,
			wind_sigma_z_coeff = 1,
			wind_time = 1.1
		},

		engine = {
			boost_factor = 1,
			boost_tail = 1,
			boost_time = 0,
			fuel_mass = 3.175,
			impulse = 77,
			induced_RPS = 20,
			length = 1.06,
			nozzle_orientationXYZ = { { 0, 0, 0 } },
			nozzle_position = { { -0.65, 0, 0 } },
			smoke_color = { 0.0, 0.0, 0.0 },
			smoke_transparency = 0.0,
			tail_width = 0.001,
			total_mass = 6.2,
			work_tail = 1,
			work_time = 0.01
		},

		launcher = {
			ammunition = {
				I = 0.22816666666667,
				L = 0.74,
				Reflection = 0.001,
				caliber = 0.07,
				client = {
					Ag = -5,
					Reflection = 0.001,
					VyHold = -50,
					anim_constraints = {
						lead_chute_min_arg_val = -1,
						main_chute_min_arg_val = 0.8
					},
					anim_constraints_check_delay = {
						delay_par = 2
					},
					arming_delay = {
						delay_time = 0.1,
						enabled = true
					},
					arming_vane = {
						enabled = false,
						velK = 1
					},
					category = 1,
					class_name = "wAmmunition_viHeavyObject",
					display_name_short = "illum.",
					fm = {
						I = 0.22816666666667,
						L = 0.74,
						Ma = 0.68,
						Mw = 5.6,
						caliber = 0.07,
						chute_Cx = 9,
						chute_Kmx = 1,
						chute_Ma = 5,
						chute_Mw = 20,
						chute_cut_time = 123,
						chute_diam = 0.77,
						chute_open_time = 1,
						cx_coeff = { 1, 0.39, 0.38, 0.236, 1.31 },
						mass = 5,
						release_rnd = 0.3,
						release_rnd_x = 1,
						wind_sigma = 0
					},
					hMax = 5000,
					hMin = 5,
					lead_chute_draw_arg_anim = {
						K_t = 2
					},
					light = {
						duration = 120,
						light_attenuation = 700,
						light_color = { 0.53, 0.53, 0.424 },
						light_position = { 0.903, 0, 0 },
						smoke_color = { 0.952, 0.952, 0.952 },
						smoke_position = { 0.903, 0, 0 },
						smoke_transparency = 0.7843137254902,
						smoke_width = 1,
						start_time = 3
					},
					mass = 5,
					model = "Hydra_M257_Parashute",
					name = "M257_FLARE",
					scheme = "schemes/bombs/bomb-light-2.sch",
					shape_table_data = { {
							file = "Hydra_M257_Parashute",
							username = "M257 Flare"
						} },
					targeting_data = {
						char_time = 20.5
					},
					type = 2,
					user_name = "M257 Flare",
					wsTypeOfWeapon = "weapons.bombs.M257_FLARE"
				},
				cx = { 1, 0.39, 0.38, 0.236, 1.31 },
				display_name = "M257 Flare",
				display_name_short = "illum.",
				mass = 5,
				model = "Hydra_M257_Parashute",
				name = "M257_FLARE",
				server = {
					Ag = -5,
					Reflection = 0.001,
					VyHold = -50,
					anim_constraints = {
						lead_chute_min_arg_val = -1,
						main_chute_min_arg_val = 0.8
					},
					anim_constraints_check_delay = {
						delay_par = 2
					},
					arming_delay = {
						delay_time = 0.1,
						enabled = true
					},
					arming_vane = {
						enabled = false,
						velK = 1
					},
					category = 1,
					class_name = "wAmmunition_viHeavyObject",
					display_name_short = "illum.",
					fm = {
						I = 0.22816666666667,
						L = 0.74,
						Ma = 0.68,
						Mw = 5.6,
						caliber = 0.07,
						chute_Cx = 9,
						chute_Kmx = 1,
						chute_Ma = 5,
						chute_Mw = 20,
						chute_cut_time = 123,
						chute_diam = 0.77,
						chute_open_time = 1,
						cx_coeff = { 1, 0.39, 0.38, 0.236, 1.31 },
						mass = 5,
						release_rnd = 0.3,
						release_rnd_x = 1,
						wind_sigma = 0
					},
					hMax = 5000,
					hMin = 5,
					lead_chute_draw_arg_anim = {
						K_t = 2
					},
					light = {
						duration = 120,
						light_attenuation = 700,
						light_color = { 0.53, 0.53, 0.424 },
						light_position = { 0.903, 0, 0 },
						smoke_color = { 0.952, 0.952, 0.952 },
						smoke_position = { 0.903, 0, 0 },
						smoke_transparency = 0.7843137254902,
						smoke_width = 1,
						start_time = 3
					},
					mass = 5,
					model = "Hydra_M257_Parashute",
					name = "M257_FLARE",
					scheme = "schemes/bombs/bomb-light-2.sch",
					shape_table_data = { {
							file = "Hydra_M257_Parashute",
							username = "M257 Flare"
						} },
					targeting_data = {
						char_time = 20.5
					},
					type = 2,
					user_name = "M257 Flare",
					wsTypeOfWeapon = "weapons.bombs.M257_FLARE"
				},
				sounderName = "Weapons/Bomb",
				targeting_data = {
					char_time = 20.5
				},
				type_name = "bomb",
			},
			ammunition_name = "M257_FLARE"
		},

		properties = {
			dist_max = 4000,
			dist_min = 1000,
			max_TOF = 10.5
		},

	shape_table_data =
	{
		{
			file		 = "ANDR0ID_SH60R_SONO",
			life		 = 1,
			fire		 = {0, 1},
			username = "ANDR0ID_SONO_IL",
			index = WSTYPE_PLACEHOLDER,
		},
	}
}
declare_weapon(ANDR0ID_SONO_ILLUM)

declare_loadout({ 						--ANDR0ID, this loadout allows the mod defined rockets to be in a mixed configuration by assigning them a CLSID for use in a different loadout
	category 			= CAT_ROCKETS, 
	CLSID	 			= "{ANDR0ID_SONOBUOY}",
	Picture				= "l005.png",
	Cx_pil				= 0.001708984375,
	displayName			= "SONOBUOY",
	Weight				= 5,
	Weight_Empty		= 5,
	Count				= 1,
	kind_of_shipping	= 0,
	attribute			= {wsType_Weapon, wsType_NURS, wsType_Container, WSTYPE_PLACEHOLDER},
	wsTypeOfWeapon = 	ANDR0ID_SONO_ILLUM.wsTypeOfWeapon,
	Elements			= {{ ShapeName = "ANDR0ID_SH60R_SONO", },
	}
})

declare_loadout({
	category 			= CAT_BOMBS,
	CLSID	 			= "{ANDR0ID_SONO_LAUNCHER}",
	Picture				= "l005.png",
	Cx_pil				= 0.001,
	displayName			= "SONOBUOY LAUNCHER - 25x Sonobuoys (Illumination - M257)",
	Weight				= (100 + (11.2*25)), 
	Weight_Empty		= 100,
	Count				= 25,
	kind_of_shipping	= 0,
	attribute			= {4, 7, 32, WSTYPE_PLACEHOLDER},
	wsTypeOfWeapon		= "weapons.nurs.HYDRA_70_M257",
	Elements		=
	{
		{
			ShapeName	=	"ANDR0ID_SH60R_Launcher",
			IsAdapter   =   true,
		},
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_01", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_02",
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_03", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_04", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_05", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_06", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_07",
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_08", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_09", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_10", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_11", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_12",
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_13", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_14", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_15", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_16", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_17",
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_18", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_19", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_20", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_21", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_22",
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_23", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_24", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY}",
			connector_name = "Tube_25", 
		}, 		
	},
})
--Alt version 
local ANDR0ID_SONO_LUU2 = {
	category			= CAT_ROCKETS,
	name				= "ANDR0ID_SONO_IL2",
	user_name			= "ANDR0ID_SONO_IL2",
	wsTypeOfWeapon		= {4, 7, 33, WSTYPE_PLACEHOLDER},
	scheme 				= "nurs-light",
	model 				= "ANDR0ID_SH60R_SONO",

		control = {
			delay = 0.3
		},

		fm = {
			I = 3.024,
			L = 1.8,
			Ma = 0.23322,
			Mw = 2.177036,
			caliber = 0.07,
			cx_coeff = { 1, 1.5, 0.68, 0.7, 1.75 },
			freq = 20,
			mass = 200,--Help to "drop" the bouy... more pleasing visually, does not impact aircraft / stores weight 
			rail_open = false,
			shapeName = "luu-2",
			wind_sigma = 10,
			wind_sigma_z_coeff = 1,
			wind_time = 1.1
		},

		engine = {
			boost_factor = 1,
			boost_tail = 1,
			boost_time = 0,
			fuel_mass = 3.175,
			impulse = 77,
			induced_RPS = 20,
			length = 1.06,
			nozzle_orientationXYZ = { { 0, 0, 0 } },
			nozzle_position = { { -0.65, 0, 0 } },
			smoke_color = { 0.0, 0.0, 0.0 },
			smoke_transparency = 0.0,
			tail_width = 0.001,
			total_mass = 6.2,
			work_tail = 1,
			work_time = 0.01
		},

		launcher = {
			ammunition = {
				I = 0.22816666666667,
				L = 0.74,
				Reflection = 0.001,
				caliber = 0.07,
				client = {
					Ag = -5,
		Reflection = 0.005,
		VyHold = -10,
		anim_constraints = {
			lead_chute_min_arg_val = 0,
			main_chute_min_arg_val = 0.4
		},
		anim_constraints_check_delay = {
			delay_par = 10
		},
					arming_delay = {
						delay_time = 1.1,
						enabled = true
					},
					arming_vane = {
						enabled = false,
						velK = 1
					},
					category = 1,
					class_name = "wAmmunition_viHeavyObject",
					display_name_short = "illum.",
					fm = {
						I = 0.22816666666667,
						L = 0.74,
						Ma = 0.68,
						Mw = 5.6,
						caliber = 0.07,
						chute_Cx = 9,
						chute_Kmx = 1,
						chute_Ma = 5,
						chute_Mw = 20,
						chute_cut_time = 123,
						chute_diam = 0.77,
						chute_open_time = 1,
						cx_coeff = { 1, 0.39, 0.38, 0.236, 1.31 },
						mass = 13.6,
						release_rnd = 0.3,
						release_rnd_x = 1,
						wind_sigma = 0
					},
					hMax = 7000,
					hMin = 5,
					lead_chute_draw_arg_anim = {
						K_t = 2
					},
					light = {
						duration = 120,
						light_attenuation = 700,
						light_color = { 0.53, 0.53, 0.424 },
						light_position = { 0.903, 0, 0 },
						smoke_color = { 0.952, 0.952, 0.952 },
						smoke_position = { 0.903, 0, 0 },
						smoke_transparency = 0.7843137254902,
						smoke_width = 1,
						start_time = 3
					},
					mass = 13.6,
					model = "luu-2",
					name = "LUU_2B",
					scheme = "schemes/bombs/bomb-light-2.sch",
					shape_table_data = { {
							file = "luu-2",
							username = "LUU-2B Flare"
						} },
					targeting_data = {
						char_time = 20.5
					},
					type = 2,
					user_name = "LUU-2B Flare",
					wsTypeOfWeapon = "weapons.bombs.LUU_2B"
				},
				
				cx = { 1, 0.39, 0.38, 0.236, 1.31 },
				display_name = "LUU-2B Flare",
				display_name_short = "illum.",
				mass = 13.6,
				model = "luu-2",
				name = "LUU_2B",
				
				server = {
					Ag = -5,
		Reflection = 0.005,
		VyHold = -10,
		anim_constraints = {
			lead_chute_min_arg_val = 0,
			main_chute_min_arg_val = 0.4
		},
		anim_constraints_check_delay = {
			delay_par = 10
		},
					arming_delay = {
						delay_time = 0.1,
						enabled = true
					},
					arming_vane = {
						enabled = false,
						velK = 1
					},
					category = 1,
					class_name = "wAmmunition_viHeavyObject",
					display_name_short = "illum.",
					fm = {
						I = 0.22816666666667,
						L = 0.74,
						Ma = 0.68,
						Mw = 5.6,
						caliber = 0.07,
						chute_Cx = 9,
						chute_Kmx = 1,
						chute_Ma = 5,
						chute_Mw = 20,
						chute_cut_time = 123,
						chute_diam = 0.77,
						chute_open_time = 1,
						cx_coeff = { 1, 0.39, 0.38, 0.236, 1.31 },
						mass = 13.6,
						release_rnd = 0.3,
						release_rnd_x = 1,
						wind_sigma = 0
					},
					hMax = 7000,
					hMin = 5,
					lead_chute_draw_arg_anim = {
						K_t = 1
					},
					light = {
						duration = 240,
						light_attenuation = 900,
						light_color = { 0.53, 0.53, 0.424 },
						light_position = { 0.903, 0, 0 },
						smoke_color = { 0.952, 0.952, 0.952 },
						smoke_position = { 0.903, 0, 0 },
						smoke_transparency = 0.7843137254902,
						smoke_width = 1,
						start_time = 2
					},
					mass = 13.6,
					model = "luu-2",
					name = "LUU_2B",
					scheme = "schemes/bombs/bomb-light-2.sch",
					shape_table_data = { {
							file = "luu-2",
							username = "LUU-2B Flare"
						} },
					targeting_data = {
						char_time = 20.5
					},
					type = 2,
					user_name = "LUU-2B Flare",
					wsTypeOfWeapon = "weapons.bombs.LUU_2B"
				},
				sounderName = "Weapons/Bomb",
				targeting_data = {
					char_time = 20.5
				},
				type_name = "bomb",
			},
			ammunition_name = "LUU_2B"
		},

		properties = {
			dist_max = 4000,
			dist_min = 1000,
			max_TOF = 10.5
		},

	shape_table_data =
	{
		{
			file		 = "ANDR0ID_SH60R_SONO",
			life		 = 1,
			fire		 = {0, 1},
			username = "ANDR0ID_SONO_IL",
			index = WSTYPE_PLACEHOLDER,
		},
	}
}
declare_weapon(ANDR0ID_SONO_LUU2)

declare_loadout({ 						--ANDR0ID, this loadout allows the mod defined rockets to be in a mixed configuration by assigning them a CLSID for use in a different loadout
	category 			= CAT_ROCKETS, 
	CLSID	 			= "{ANDR0ID_SONOBUOY_luu2}",
	Picture				= "l005.png",
	Cx_pil				= 0.001708984375,
	displayName			= "SONOBUOY - LUU2",
	Weight				= 5,
	Weight_Empty		= 5,
	Count				= 1,
	kind_of_shipping	= 0,
	attribute			= {wsType_Weapon, wsType_NURS, wsType_Container, WSTYPE_PLACEHOLDER},
	wsTypeOfWeapon = 	ANDR0ID_SONO_LUU2.wsTypeOfWeapon,
	Elements			= {{ ShapeName = "ANDR0ID_SH60R_SONO", },
	}
})

declare_loadout({
	category 			= CAT_BOMBS,
	CLSID	 			= "{ANDR0ID_SONO_IL2_LAUNCHER}",
	Picture				= "l005.png",
	Cx_pil				= 0.001,
	displayName			= "SONOBUOY LAUNCHER - 25x Sonobuoys (Illumination - LUU2)",
	Weight				= (100 + (14*25)), 
	Weight_Empty		= 100,
	Count				= 25,
	kind_of_shipping	= 0,
	attribute			= {4, 7, 32, WSTYPE_PLACEHOLDER},
	wsTypeOfWeapon		= "weapons.nurs.HYDRA_70_M257",	
	Elements		=
	{
		{
			ShapeName	=	"ANDR0ID_SH60R_Launcher",
			IsAdapter   =   true,
		},
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_01", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_02",
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_03", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_04", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_05", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_06", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_07",
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_08", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_09", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_10", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_11", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_12",
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_13", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_14", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_15", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_16", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_17",
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_18", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_19", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_20", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_21", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_22",
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_23", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_24", 
		}, 
		{
			payload_CLSID	=	"{ANDR0ID_SONOBUOY_luu2}",
			connector_name = "Tube_25", 
		}, 		
	},
})
--------------------------------
local function fuel_tank_120(clsid)
	local data =
	{
		category	= CAT_FUEL_TANKS,
		CLSID		= clsid,
		attribute	=  {wsType_Air,wsType_Free_Fall,wsType_FuelTank,WSTYPE_PLACEHOLDER},
		Picture		= "PTB.png",
		displayName	= _("JAYHAWK 120 Gal Tank"),
		Weight_Empty	= 200 * POUNDS_TO_KG,
		Weight			= ((200 * POUNDS_TO_KG) + (120 * GALLON_TO_KG)),
		Cx_pil		= 0.000956902,
		shape_table_data = 
		{
			{
				name	= "JAYHAWK_FUEL_TANK_120";
				file	= "JAYHAWK_120_Fuel_Tank";
				life	= 1;
				fire	= { 0, 1};
				username	= "JAYHAWK_FUEL_TANK_120";
				index	= WSTYPE_PLACEHOLDER;
			},
		},
		Elements	= 
		{
			{
				ShapeName	= "JAYHAWK_120_Fuel_Tank",
			}, 
		}, 
	}
	declare_loadout(data)
end
fuel_tank_120("{JAYHAWK_FUEL_TANK_120}")

local function fuel_tank_80(clsid)
	local data =
	{
		category	= CAT_FUEL_TANKS,
		CLSID		= clsid,
		attribute	=  {wsType_Air,wsType_Free_Fall,wsType_FuelTank,WSTYPE_PLACEHOLDER},
		Picture		= "PTB.png",
		displayName	= _("JAYHAWK 80 Gal Tank"),
		Weight_Empty	= 180 * POUNDS_TO_KG,
		Weight			= ((180 * POUNDS_TO_KG) + (80 * GALLON_TO_KG)),
		Cx_pil		= 0.000956902,
		shape_table_data = 
		{
			{
				name	= "JAYHAWK_FUEL_TANK_80";
				file	= "JAYHAWK_80gal_Fuel_Tank";
				life	= 1;
				fire	= { 0, 1};
				username	= "JAYHAWK_FUEL_TANK_80";
				index	= WSTYPE_PLACEHOLDER;
			},
		},
		Elements	= 
		{
			{
				ShapeName	= "JAYHAWK_80gal_Fuel_Tank",
			}, 
		}, 
	}
	declare_loadout(data)
end
fuel_tank_80("{JAYHAWK_FUEL_TANK_80}")

local function SH_fuel_tank_120(clsid)
	local data =
	{
		category	= CAT_FUEL_TANKS,
		CLSID		= clsid,
		attribute	=  {wsType_Air,wsType_Free_Fall,wsType_FuelTank,WSTYPE_PLACEHOLDER},
		Picture		= "PTB.png",
		displayName	= _("Seahawk 120 Gal Tank"),
		Weight_Empty	= 200 * POUNDS_TO_KG,
		Weight			= ((200 * POUNDS_TO_KG) + (120 * GALLON_TO_KG)),
		Cx_pil		= 0.000956902,
		shape_table_data = 
		{
			{
				name	= "SEAHAWK_FUEL_TANK_120";
				file	= "SEAHAWK_120_Fuel_Tank";
				life	= 1;
				fire	= { 0, 1};
				username	= "SEAHAWK_FUEL_TANK_120";
				index	= WSTYPE_PLACEHOLDER;
			},
		},
		Elements	= 
		{
			{
				ShapeName	= "SEAHAWK_120_Fuel_Tank",
			}, 
		}, 
	}
	declare_loadout(data)
end
SH_fuel_tank_120("{SEAHAWK_FUEL_TANK_120}")