Jump to content
Sign in to follow this  
dachevs

Ammo Box Config

Recommended Posts

Does anyone know the content of the config for an ammobox. I am trying to make an ammobox addon that is a magazine, but don't know how to make it a magazine. any help? sad_o.gif

Share this post


Link to post
Share on other sites

Have you looked at the config for the BIS ammocrate? That should give you a clue, I would think.

Share this post


Link to post
Share on other sites

class cfgvehicles

{

class strategic;

class reammobox : strategic {};

class weaponholder : reammobox {};

class ammoboxwest : reammobox {};

class ammoboxeast : reammobox {};

class ammoboxguer : reammobox {};

class URAMMOBOXCLASS: reammobox

{

displayname = "NAME";

model="\URADDONFOLDER\MODELNAME";

scope = 2;

accuracy = 1000;

transportmaxmagazines = 2.000000;

transportmaxweapons = 0.000000;

class transportmagazines

{

class _xx_200rnd_556x45_m249

{

magazine = "50rnd_762x51_drum";

count = 2;

};

};

class transportweapons

{

class _xx_ak74

{

weapon = "ak74";

count = 0;

};

};

};

};

AT xmas_o.gif

Share this post


Link to post
Share on other sites

Thank you notworthy.gifwink_o.gif

*EDIT*

This works perfect, but I can't find it anywhere. Tried it as a magazine. confused_o.gif

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  

×