meade95 0 Posted May 26, 2010 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
Militant1006 11 Posted May 26, 2010 :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!!! Share this post Link to post Share on other sites
meade95 0 Posted May 26, 2010 :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!!! 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
Militant1006 11 Posted May 27, 2010 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
meade95 0 Posted June 1, 2010 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
CarlGustaffa 3 Posted June 1, 2010 Look for the classnames sticky in the top part of this editing forum. Share this post Link to post Share on other sites