Jump to content
Sign in to follow this  
Snoopy

Adding different weapons to units

Recommended Posts

i was wondering how do you add weapons to some units in the init. field. i know how to add some, but others cannot.

i tried adding a AA rocket to a m2 mg but it doesnt work, and i have seen someone add a AA rocket to a bmp for AA defence. so how do they do that?

Share this post


Link to post
Share on other sites

To add an AA launcher to an M2 use:

this addweapon "AALauncher"; this addmagazine "AALauncher";

this addweapon "9K32Launcher"; this addmagazine "9K32Launcher";

West uses the AALauncher (Stinger) and East uses the 9K32Launcher (Strela). Put the one you want into the initialization field of the unit.

~OR~

Create an AA Soldier for whatever side you want. The create an M2 Machine Gun, but instead of choosing West or East, choose empty, and type a name into it's "name" field (e.g. m2mg). In the AA Soldier's "special" field select In Cargo, and in his initialization field type:

this moveingunner m2mg;

Now you'll have an AA Soldier as an M2 gunner, instead of an M2 gunner with an AA Launcher.

As for putting one on a BMP, thats done by making a new addon, or editing one that already exists.

Share this post


Link to post
Share on other sites

this addweapon "AALauncher"; this addmagazine "AALauncher";

does not work i have tried that before

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  

×