Jump to content
Sign in to follow this  
zachgibson22

addmagazine not working right!!

Recommended Posts

Okay this is seriously pissing me off. For some reason I can't get any magazines on my guy! for some reason the only magazine that seems to work for me is "30Rnd_556x45_Stanag".

And I can't find out why! I've tried random magazine and they won't work, even a few handgun mags.

I'm on the current Stable Branch build, and only using one mod(Nature Mod). PLEASE, someone help me!

Here's what I'm putting in my INIT.

removeallweapons this;
removeallassigneditems this;
removeuniform this;
removevest this;
removebackpack this;


this addWeapon 'arifle_MXM_SOS_pointer_F';
this addMagazine '30Rnd_65x39_caseless_mag';  //NOT WORKING
this addMagazine '30Rnd_65x39_caseless_mag';
this addMagazine '30Rnd_65x39_caseless_mag';
this addMagazine '30Rnd_65x39_caseless_mag';
this addMagazine '30Rnd_65x39_caseless_mag';
this addPrimaryWeaponItem 'optic_DMS';
this addPrimaryWeaponItem 'acc_pointer_IR';


this addHeadgear 'H_Booniehat_mcamo';
this addVest 'V_TacVest_khk';
this addUniform 'U_B_CombatUniform_mcam';
this addBackPack 'B_Carryall_cbr';
this setFace 'WhiteHead_12';
this addGoggles 'G_Shades_Black';

this additem 'FirstAidKit';
this additem 'FirstAidKit';
this additem 'itemradio';
this additem 'itemgps';
this additem 'itemmap';
this additem 'itemcompass';
this additem 'binocular';

Share this post


Link to post
Share on other sites

a little hint

try to wear something before you put ammo in your pocket..

arma has a gear based inventory system

to add multiple mags you can simply this addMagazines ["name", count];

Share this post


Link to post
Share on other sites

addMagazine has been adding double lately for me. Huge pain in the ass with what I have been working on.

Share this post


Link to post
Share on other sites

Pretty sure you'll need to add the uniform, vest and backpack before adding magazines.

removeallweapons this;
removeallassigneditems this;
removeuniform this;
removevest this;
removebackpack this;

this addHeadgear 'H_Booniehat_mcamo';
this addVest 'V_TacVest_khk';
this addUniform 'U_B_CombatUniform_mcam';
this addBackPack 'B_Carryall_cbr';
this setFace 'WhiteHead_12';
this addGoggles 'G_Shades_Black';

this addWeapon 'arifle_MXM_SOS_pointer_F';
this addMagazine '30Rnd_65x39_caseless_mag';
this addMagazine '30Rnd_65x39_caseless_mag';
this addMagazine '30Rnd_65x39_caseless_mag';
this addMagazine '30Rnd_65x39_caseless_mag';
this addMagazine '30Rnd_65x39_caseless_mag';
this addPrimaryWeaponItem 'optic_DMS';
this addPrimaryWeaponItem 'acc_pointer_IR';

this additem 'FirstAidKit';
this additem 'FirstAidKit';
this additem 'itemradio';
this additem 'itemgps';
this additem 'itemmap';
this additem 'itemcompass';
this additem 'binocular';

Share this post


Link to post
Share on other sites

wouldn't it HAVE to be

this addMagazine ["30Rnd_65x39_caseless_mag", 5];

Share this post


Link to post
Share on other sites

You need to add storage space (ie vests, backpacks) before you add ammunition. Use addMagazines before adding the weapon, otherwise it'll not be loaded when you start the mission.

Share this post


Link to post
Share on other sites
wouldn't it HAVE to be

this addMagazine ["30Rnd_65x39_caseless_mag", 5];

If you want 5 rounds in a magazine, then yes...

Share this post


Link to post
Share on other sites

No no no that is

player setAmmo [handgunWeapon player, 10];

What that dose is it will add 5 Mags of that type. Not 5 rounds....

:dancehead:

Share this post


Link to post
Share on other sites

It's been like that since Operation Arrowhead. What you used in ArmA 3 is probably addMagazines

Share this post


Link to post
Share on other sites

awesome guys thanks! What I actually generally do do add more magazines is this.

(unitBackpack this) addMagazineCargo ["9Rnd_45ACP_Mag",5]; 

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  

×