Jump to content
Sign in to follow this  
node

WeaponBox "Content"

Recommended Posts

Is there a way you can edit the contents of a box to where it only has weapons of your choice in there?

Share this post


Link to post
Share on other sites

Yes:

In init field of the box type:

singleplayer:

clearWeaponCargo this;

clearmagazineCargo this;

this addWeaponCargo ["weapon name",number];

this addMagazineCargo ["magazine name",number];

multiplayer:

clearWeaponCargo this;

clearmagazineCargo this;

this addWeaponCargoGlobal ["weapon name",number];

this addMagazineCargoGlobal ["magazine name",number];

example: adding CZ805A1 and 3stanag magazines

this addWeaponCargoGlobal ["CZ805_A1_ACR",1];

this addMagazineCargoGlobal ["30Rnd_556x45_Stanag",3];

Weapon classnames source sites:

vanilla DLC weapons

ACE weapons and magazine claasnames

DO NOT FORGET TO USE THE "GLOBAL" EXTNSION IN MULTIPLAYER

Oh and I almost forget: Next time search before asking!!! this thing was discused million times allready.

http://forums.bistudio.com/showthread.php?79285-Custom-Ammo-Crates

http://forums.bistudio.com/showthread.php?153740-Custom-Ammo-Box

http://forums.bistudio.com/showthread.php?79520-Custom-ammo-crate-contents

http://forums.bistudio.com/showthread.php?87280-Ammo-Crates

Edited by Mirek

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  

×