From 096ad7798f65f3a758eb390cc67f14b0774520b7 Mon Sep 17 00:00:00 2001 From: Andreas Brostrom Date: Sun, 10 Oct 2021 17:46:53 +0200 Subject: [PATCH] Updated size of object --- cScripts/functions/vehicle/fn_vehicle_addInventory.sqf | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cScripts/functions/vehicle/fn_vehicle_addInventory.sqf b/cScripts/functions/vehicle/fn_vehicle_addInventory.sqf index 5f9ca43d0..7724883f9 100644 --- a/cScripts/functions/vehicle/fn_vehicle_addInventory.sqf +++ b/cScripts/functions/vehicle/fn_vehicle_addInventory.sqf @@ -33,13 +33,13 @@ if (_vehicle iskindOf "MRAP_01_base_F") then { // Cargo switch (true) do { case (_vehicle iskindOf "rhsusf_m998_w_2dr"): { - [_vehicle, 8, 40, false, false] call FUNC(setCargoAttributes); + [_vehicle, 8, 20, false, false] call FUNC(setCargoAttributes); }; case (_vehicle iskindOf "rhsusf_m1152_base"): { - [_vehicle, 20, 40, false, false] call FUNC(setCargoAttributes); + [_vehicle, 20, 20, false, false] call FUNC(setCargoAttributes); }; default { - [_vehicle, 4, 40, false, false] call FUNC(setCargoAttributes); + [_vehicle, 4, 20, false, false] call FUNC(setCargoAttributes); }; }; @@ -176,7 +176,7 @@ if (_vehicle iskindOf "Truck_01_base_F") then { }; if (_vehicle iskindOf "rhsusf_stryker_base") then { - [_vehicle, 6, 80, false, false] call FUNC(setCargoAttributes); + [_vehicle, 6, 38, false, false] call FUNC(setCargoAttributes); switch (_vehicleType) do { case "MED": { @@ -428,6 +428,8 @@ if (_vehicle iskindOf "NDS_M224_mortar_base") then { }; if (_vehicle iskindOf "RHS_C130J_Base") then { + [_vehicle, 45, -1, false, false] call FUNC(setCargoAttributes); + [_vehicle, []] call FUNC(addCargo); };