diff --git a/cScripts/Loadouts/CfgLoadouts_Alpha_FixedWing.hpp b/cScripts/Loadouts/CfgLoadouts_Alpha_FixedWing.hpp index 9592d808a..2ea54faa5 100644 --- a/cScripts/Loadouts/CfgLoadouts_Alpha_FixedWing.hpp +++ b/cScripts/Loadouts/CfgLoadouts_Alpha_FixedWing.hpp @@ -74,4 +74,4 @@ class Cav_B_A_Plane_Fighter_Pilot_Hog_8_F: Cav_B_A_Plane_Fighter_Pilot_F { class Cav_B_A_Plane_Fighter_Pilot_Hog_9_F: Cav_B_A_Plane_Fighter_Pilot_F { scope = 1; insignia = "cav_insignia_alpha_2_b"; -}; +}; \ No newline at end of file diff --git a/cScripts/functions/vehicle/fn_vehicle_addInventory.sqf b/cScripts/functions/vehicle/fn_vehicle_addInventory.sqf index 1f2310155..446858f7a 100644 --- a/cScripts/functions/vehicle/fn_vehicle_addInventory.sqf +++ b/cScripts/functions/vehicle/fn_vehicle_addInventory.sqf @@ -82,11 +82,6 @@ if (_vehicle iskindOf "I_APC_Wheeled_03_cannon_F") then { _mortar_ammo_82mm, _vehicle, nil, "Ammo for 2x 82mm mortars" ] call FUNC(createCargoCrate); - - ["Box_NATO_WpsLaunch_F", - GET_CONTAINER("crate_stinger"), - _vehicle, nil, "MANPAD" - ] call FUNC(createCargoCrate); }; // Logistical strykers: Have same inventory, but a lot of wheels in cargo. @@ -112,6 +107,12 @@ if (_vehicle iskindOf "I_APC_Wheeled_03_cannon_F") then { _vehicle, nil, "Resupply Crate" ] call FUNC(createCargoCrate); + // 2 Stingers to distribute to 1 section. + ["Box_NATO_WpsLaunch_F", + GET_CONTAINER(crate_stinger), + _vehicle, nil, "MANPAD" + ] call FUNC(createCargoCrate); + ["Box_NATO_WpsLaunch_F", GET_CONTAINER("crate_stinger"), _vehicle, nil, "MANPAD" @@ -145,11 +146,6 @@ if (_vehicle iskindOf "I_APC_Wheeled_03_cannon_F") then { GET_CONTAINER("crate_strykerDragoon_resupply"), _vehicle, nil, "Resupply Crate" ] call FUNC(createCargoCrate); - - ["Box_NATO_WpsLaunch_F", - GET_CONTAINER("crate_stinger"), - _vehicle, nil, "MANPAD" - ] call FUNC(createCargoCrate); }; }; }; @@ -197,6 +193,64 @@ if (_vehicle iskindOf "MRAP_01_base_F") then { GET_CONTAINER("vehicle_HMMWV_Weapons") ] call FUNC(addCargo); }; + case "rhsusf_M1239_socom_d"; + case "rhsusf_M1239_M2_socom_d"; + case "rhsusf_M1239_MK19_socom_d"; + case "rhsusf_M1239_M2_Deploy_socom_d"; + case "rhsusf_M1239_MK19_Deploy_socom_d": { + [_vehicle, 15, 38, false, false] call FUNC(setCargoAttributes); + + // Emergency kit in case of tire damage and fuel loss. + ["ACE_Wheel", _vehicle, true] call ace_cargo_fnc_loadItem; + ["ACE_Wheel", _vehicle, true] call ace_cargo_fnc_loadItem; + ["ACE_Wheel", _vehicle, true] call ace_cargo_fnc_loadItem; + ["ACE_Wheel", _vehicle, true] call ace_cargo_fnc_loadItem; + ["ACE_Wheel", _vehicle, true] call ace_cargo_fnc_loadItem; + ["ACE_Wheel", _vehicle, true] call ace_cargo_fnc_loadItem; + ["FlexibleTank_01_forest_F", _vehicle, true] call ace_cargo_fnc_loadItem; // Emergency Fuel Tank + // Vehicle Inventory + [_vehicle, + GET_CONTAINER(vehicle_strykerDragoon) + ] call FUNC(addCargo); + + // Supply Crate + ["Box_NATO_Equip_F", + GET_CONTAINER(crate_strykerDragoon_resupply), + _vehicle, nil, "Resupply Crate" + ] call FUNC(createCargoCrate); + + // 2 Stingers to distribute to 1 section. + ["Box_NATO_WpsLaunch_F", + GET_CONTAINER(crate_stinger), + _vehicle, nil, "MANPAD" + ] call FUNC(createCargoCrate); + + ["Box_NATO_WpsLaunch_F", + GET_CONTAINER(crate_stinger), + _vehicle, nil, "MANPAD" + ] call FUNC(createCargoCrate); + }; + case "rhsusf_M1238A1_socom_d"; + case "rhsusf_M1238A1_M2_socom_d"; + case "rhsusf_M1238A1_Mk19_socom_d": { + [_vehicle, 15, 38, false, false] call FUNC(setCargoAttributes); + + // Emergency kit in case of tire damage and fuel loss. + ["ACE_Wheel", _vehicle, true] call ace_cargo_fnc_loadItem; + ["ACE_Wheel", _vehicle, true] call ace_cargo_fnc_loadItem; + ["FlexibleTank_01_forest_F", _vehicle, true] call ace_cargo_fnc_loadItem; // Emergency Fuel Tank + + // Vehicle Inventory + [_vehicle, + GET_CONTAINER(vehicle_strykerDragoon) + ] call FUNC(addCargo); + + // Supply Crate + ["Box_NATO_Equip_F", + GET_CONTAINER(crate_strykerDragoon_resupply), + _vehicle, nil, "Resupply Crate" + ] call FUNC(createCargoCrate); + }; default { [_vehicle, GET_CONTAINER("vehicle_HMMWV")