Jump to content
Sign in to follow this  
meade95

Using weapon addon mods??

Recommended Posts

Say I download one of the weapons addons...Like the RH-416 mods...

How do I make these weapons avaliable to my solidiers within the editor? Do I have to write a script for each individual weapon (and a magazine) within these addon mods????

Thanks for any help

Share this post


Link to post
Share on other sites

:681:even though this has been answered 100 times before, i will answer it again. you have to use scripts to do this

use

use this to remove their current weapons and magazines

removeAllWeapons this;

use this to add magazines (note that one line = one mag)

this addMagazine "30rnd_556x45_STANAG";

to add the weapon which ALWAYS goes second use

this addWeapon "m16a4";

that would have added a m16a4 one one mag, to add multiple mags quickly use

{this addMagazine "30rnd_556x45_STANAG"} foreach [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];

that just added 10 mags

make sure you use quotation marks on mags and weapons.

to add downloaded weapons find the readme file in the download, it should have all the classnames there

enjoy ArmA 2!!!:woot:

Share this post


Link to post
Share on other sites
:681:even though this has been answered 100 times before, i will answer it again. you have to use scripts to do this

use

use this to remove their current weapons and magazines

use this to add magazines (note that one line = one mag)

to add the weapon which ALWAYS goes second use

that would have added a m16a4 one one mag, to add multiple mags quickly use

that just added 10 mags

make sure you use quotation marks on mags and weapons.

to add downloaded weapons find the readme file in the download, it should have all the classnames there

enjoy ArmA 2!!!:woot:

Thank you very much -

So it would look something like the following; (within each soldiers script line that I place on the map within the editor).

removeAllWeapons this;  
this addMagazine "30rnd_556x45_STANAG";  
this addWeapon "m16a4";  
{this addMagazine "30rnd_556x45_STANAG"} foreach [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];  

Correct?

Share this post


Link to post
Share on other sites
Thank you very much -

So it would look something like the following; (within each soldiers script line that I place on the map within the editor).

removeAllWeapons this;  
this addMagazine "30rnd_556x45_STANAG";  
this addWeapon "m16a4";  
{this addMagazine "30rnd_556x45_STANAG"} foreach [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];  

Correct?

yes that is right, on a side note you can add magazine and weapon cargo to vehicles and ammo crates by using this line

this addMagazineCargo ["30rnd_556x45_STANAG", 10];

that adds 10 magazines, same with weapons except it's

addWeaponCargo
.:cool:

Share this post


Link to post
Share on other sites

Ok...This has taught me how to add weapons (custom ones) to my unit -

However, what is the basic script for adding the other essetnials.

Such as Binoculars, frag, smoke, map, Night Vision Goggles??

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  

×