Jump to content
Sign in to follow this  
1para{god-father}

Pre Load A vehicle with AMMO ?

Recommended Posts

Is there a way to preload a vehicle with the ammo I need? i.e Jackal can carry ammo but to save some time preload it with the stuff I need.

Cheers

Share this post


Link to post
Share on other sites

Hi,

if you want to put weapons / magazines in the cargospace of a car you can do it this way

put

this execVM "cargo_truck.sqf";

in the initline of the car

cargo_truck.sqf contains

clearWeaponCargo _this;
clearMagazineCargo _this;

_this addWeaponCargo ["SCAR_L_STD_Mk4CQT",4];
_this addWeaponCargo ["SCAR_L_STD_EGLM_RCO",2];
_this addWeaponCargo ["M24_des_EP1",1];

_this addWeaponCargo ["glock17_EP1",8];
_this addMagazineCargo ["17Rnd_9x19_glock17",40];

_this addWeaponcargo ["MAAWS",1];
_this addWeaponCargo ["Laserdesignator",1];
_this addMagazineCargo ["MAAWS_HEAT",2];
_this addMagazineCargo ["MAAWS_HEDP",2];

_this addMagazineCargo ["30Rnd_556x45_Stanag",20];
_this addMagazineCargo ["1Rnd_HE_M203",22];
_this addMagazineCargo ["5Rnd_762x51_M24",20];
_this addMagazineCargo ["20rnd_762x51_B_SCAR",20];

_this addMagazineCargo ["laserbatteries",4];

_this addMagazineCargo ["pipebomb",9];
_this addMagazineCargo ["HandGrenade_West",20];
_this addMagazineCargo ["SmokeShell",20];

the string in the Bracket is the classname of the item and the number is the amount.

classlists

addMagazineCargo

addWeaponCargo

Share this post


Link to post
Share on other sites

Keep in mind that not all vehicles have unlimited cargo space. You can see how much ammo/weapons they carry in this ridiculously sexy chart.

Share this post


Link to post
Share on other sites

What annoys me the most is that the gear dialog doesn't show the amount of storage space for magazines, weapons, and backpacks. Since it's in the config, it should be possible to show, right?

@OP: If using this for multiplayer, consider using the global variants of the commands instead. Will save you a lot of grief :)

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
Sign in to follow this  

×