Jump to content
Coladebote

More load capacity in vehicle

Recommended Posts

// VEHICLES //

_markerstr = createMarker ["VEHICLE_1",[14757.6,16787.5]];
_markerstr setMarkerShape "ICON";
_markerstr setMarkerType "hd_dot";
_height = 0;
_vehicle = createVehicle ["B_MRAP_01_hmg_F", (getMarkerPos "VEHICLE_1"),[],0,"NONE"]; 
_dir = 85; 
_vehicle setDir _dir;

clearMagazineCargoGlobal _vehicle;
clearWeaponCargoGlobal _vehicle;
clearItemCargoGlobal _vehicle;
clearBackpackCargoGlobal _vehicle;

/// WEAPONS ///
_vehicle addweaponcargoGlobal ["srifle_DMR_02_sniper_F",1];
_vehicle addweaponcargoGlobal ["CUP_srifle_m110",1];
_vehicle addweaponcargoGlobal ["CUP_arifle_M16A4_Grip",4];
_vehicle addweaponcargoGlobal ["CUP_arifle_M16A4_GL",2];
_vehicle addweaponcargoGlobal ["CUP_lmg_m249_SQuantoon",1];
_vehicle addweaponcargoGlobal ["launch_MRAWS_green_F",2];

/// AMMUNITION ///
_vehicle addmagazinecargoGlobal ["SatchelCharge_Remote_Mag",6];
_vehicle addmagazinecargoGlobal ["DemoCharge_Remote_Mag",16];
_vehicle addmagazinecargoGlobal ["10Rnd_338_Mag",20];
_vehicle addmagazinecargoGlobal ["10Rnd_338_Mag",20];
_vehicle addmagazinecargoGlobal ["CUP_200Rnd_TE4_Red_Tracer_556x45_M249",6];
_vehicle addmagazinecargoGlobal ["CUP_20Rnd_762x51_B_M110",25];
_vehicle addmagazinecargoGlobal ["1Rnd_HE_Grenade_shell",16];
_vehicle addmagazinecargoGlobal ["HandGrenade",16];
_vehicle addmagazinecargoGlobal ["MiniGrenade",24];
_vehicle additemcargoGlobal ["CUP_MAAWS_HEAT_M",6];
_vehicle additemcargoGlobal ["CUP_MAAWS_HEDP_M",6];

/// EQUIPMENT ///
_vehicle additemcargoGlobal ["cup_bipod_harris_1a2_l",7];
_vehicle additemcargoGlobal ["muzzle_snds_338_sand",1];
_vehicle additemcargoGlobal ["cup_muzzle_snds_m110",1];
_vehicle additemcargoGlobal ["muzzle_snds_m",7];
_vehicle additemcargoGlobal ["ace_optic_lrps_pip",1];
_vehicle additemcargoGlobal ["rhsusf_acc_premier_anpvs27",1];
_vehicle additemcargoGlobal ["rhsusf_acc_su230",8];
_vehicle additemcargoGlobal ["optic_aco",8];
_vehicle additemcargoGlobal ["cup_optic_susat",8];
_vehicle additemcargoGlobal ["ACE_acc_pointer_green",8];
_vehicle additemcargoGlobal ["Rangefinder",2];
_vehicle additemcargoGlobal ["ACE_Vector",1];
_vehicle additemcargoGlobal ["ACE_microDAGR",8];
_vehicle additemcargoGlobal ["ALIVE_Tablet",2];
_vehicle additemcargoGlobal ["ACE_Clacker",2];
_vehicle additemcargoGlobal ["ACE_IR_Strobe_Item",8];
_vehicle additemcargoGlobal ["ACE_Flashlight_MX991",8];
_vehicle additemcargoGlobal ["ACE_EarPlugs",8];
_vehicle additemcargoGlobal ["ACE_ATragMX",1];
_vehicle additemcargoGlobal ["ACE_MapTools",8];
_vehicle additemcargoGlobal ["ACE_Kestrel4500",2];
_vehicle additemcargoGlobal ["B_UavTerminal",2];
_vehicle additemcargoGlobal ["tf_anprc152_1",8];
_vehicle additemcargoGlobal ["SAS_Predator_W",8];
_vehicle additemcargoGlobal ["ToolKit",2];
_vehicle addbackpackcargoGlobal ["B_Carryall_khk",2];
_vehicle addbackpackcargoGlobal ["B_FieldPack_khk",6];

/// MEDICINES ///
_vehicle addItemCargoGlobal ["ACE_personalAidKit",8];
_vehicle addItemCargoGlobal ["ACE_bloodIV_500",16];
_vehicle addItemCargoGlobal ["ACE_epinephrine",16];
_vehicle addItemCargoGlobal ["ACE_tourniquet",32];
_vehicle addItemCargoGlobal ["ACE_morphine",40];
_vehicle addItemCargoGlobal ["ACE_quikclot",120];
_vehicle addItemCargoGlobal ["ACE_packingBandage",120];
_vehicle addItemCargoGlobal ["ACE_elasticBandage",120];
_vehicle addItemCargoGlobal ["ACE_surgicalKit",8];

With this little code I generate a vehicle with some supplies on board.

The problem is that I need to expand the cargo space to be able to store backpacks, launchers, etc. in the vehicle.

Can somebody help me.

Thank you.

Share this post


Link to post
Share on other sites

Short of modding the vehicle to allow more cargo space, can't you add the items to backpacks, and then store them inside the vehicle?
I believe the backpack uses the same amount of space, irrelevant of it's own contents.

Share this post


Link to post
Share on other sites

I think if you add stuff to vehicle cargo by script the actual cargo side doesn't matter. However you can't expand actual cargo size short of modding the vehicle (but it's easy to do then).

Share this post


Link to post
Share on other sites

I give an example. The vehicle must be repaired. I want to leave my backpack inside the vehicle and take another one with the tools. This operation is impossible, since the capacity of the vehicle is fully occupied.

Share this post


Link to post
Share on other sites

Thanks for your contribution.

Does the Bigger Trunks addon act on vehicles created by secrip?

Share this post


Link to post
Share on other sites

Hi, the Bigger Trunks addon doesn't work. the capacity of the vehicle is the same with the addon loaded, which without the addon

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×