Skip to content

Commit

Permalink
Added MRAPs for B Troop
Browse files Browse the repository at this point in the history
  • Loading branch information
pool011 committed Feb 1, 2024
1 parent 3677708 commit 35ee603
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cScripts/Loadouts/CfgLoadouts_Alpha_FixedWing.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
};
58 changes: 58 additions & 0 deletions cScripts/functions/vehicle/fn_vehicle_addInventory.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,64 @@ if (_vehicle iskindOf "MRAP_01_base_F") then {
GET_CONTAINER(vehicle_HMMWV)
] 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)
Expand Down

0 comments on commit 35ee603

Please sign in to comment.