Skip to content

Commit

Permalink
Updated and seperated vehicle inventory for charlie vehicles (#1140)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zarenx authored Mar 2, 2024
1 parent fd8d172 commit d8a5efc
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 19 deletions.
60 changes: 43 additions & 17 deletions cScripts/functions/init/fn_init_logistics.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -1007,50 +1007,76 @@ private _dataArray = [
["rhs_mag_30Rnd_556x45_M855A1_PMAG_Tracer_Red",42],

// MG Ammo
["rhsusf_200Rnd_556x45_mixed_soft_pouch",5],
["rhsusf_100Rnd_762x51_m62_tracer",5],
["rhsusf_200Rnd_556x45_mixed_soft_pouch",8],

// AT
["rhs_weap_fgm148",1],
["rhs_fgm148_magazine_AT",1],
["MRAWS_HE_F",2],
["MRAWS_HEAT_F",2],
["rhs_weap_M136_hedp",2],

// M320 Ammo
["rhsusf_mag_M433_HEDP",20],
["rhs_mag_m714_White",6],
["rhs_mag_m713_Red",4],
["ACE_HuntIR_M203",1],
["ACE_40mm_Flare_ir",2],

// Offensive/Defensive Hand Grenades
["HandGrenade",8],

// Smoke Grenades
["SmokeShell",10],
["SmokeShellBlue",2],
["SmokeShellGreen",2],
["SmokeShellRed",2],

// Chemlights
["ACE_Chemlight_HiGreen",2],
["ACE_Chemlight_HiBlue",2],
["ACE_Chemlight_HiRed",2],
["ACE_Chemlight_IR",4],

// Misc
["ACE_SpareBarrel",1],

// Medical
["kat_AED",1],
["ACE_epinephrine",4],
["ACE_splint",4],
["kat_naloxone",2],
["ACE_tourniquet",8],
["kat_guedel",2],
["kat_ncdKit",2],
["kat_pocketBVM",1],
["kat_accuvac",1],
["kat_chestSeal",4],
["ACE_quikclot",20],
["ACE_packingBandage",20]
["kat_guedel",4],
["kat_chestSeal",6],
["ACE_packingBandage",40]
]],

["vehicle_HMMWV_Weapons", [
// Rifle Ammo
["rhs_mag_30Rnd_556x45_M855A1_PMAG_Tracer_Red",25],

// MG Ammo
["rhsusf_100Rnd_762x51_m62_tracer",18],

// AT
["rhs_weap_fgm148",1],
["rhs_fgm148_magazine_AT",1],
["MRAWS_HE_F",2],
["MRAWS_HEAT_F",6],

// M320 Ammo
["rhs_mag_m713_Red",4],

// Offensive/Defensive Hand Grenades
["HandGrenade",4],

// Smoke Grenades
["SmokeShell",6],
["SmokeShellBlue",1],

// Chemlights
["ACE_Chemlight_HiBlue",2],
["ACE_Chemlight_IR",2],

// Medical
["ACE_splint",4],
["ACE_tourniquet",8],
["kat_guedel",4],
["kat_chestSeal",6],
["ACE_packingBandage",40]
]],

// // // // // //
Expand Down
8 changes: 6 additions & 2 deletions cScripts/functions/vehicle/fn_vehicle_addInventory.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,15 @@ if (_vehicle iskindOf "MRAP_01_base_F") then {
] call FUNC(createCargoCrate);
};
case "rhsusf_m1165a1_gmv_m2_m240_socom_d";
case "rhsusf_m1165a1_gmv_m2_m240_socom_w": {
[_vehicle,
GET_CONTAINER("vehicle_HMMWV")
] call FUNC(addCargo);
};
case "rhsusf_m1165a1_gmv_mk19_m240_socom_d";
case "rhsusf_m1165a1_gmv_m2_m240_socom_w";
case "rhsusf_m1165a1_gmv_mk19_m240_socom_w": {
[_vehicle,
GET_CONTAINER("vehicle_HMMWV")
GET_CONTAINER(vehicle_HMMWV_Weapons)
] call FUNC(addCargo);
};
default {
Expand Down

0 comments on commit d8a5efc

Please sign in to comment.