Jump to content
Sign in to follow this  
islesfan186

changing soldier starting weapon

Recommended Posts

i tried searching for it but came up empty. how do i change the weapon a unit starts off with (ie i want to have a regular rifleman have a sopmod weapon or something like that)? because id like to download some of the weapons packs

Share this post


Link to post
Share on other sites

yep,would be my answer 2, but I will give some more explaining than just "search again"

Firstoff, this topic have been discussed before and a search would show several questions and solutions about it, anyway, it is possible and easy to be done ones you know the classnames of the weapons and ammo u want to use. then with a code you can change the loadout of a unit,

later

Share this post


Link to post
Share on other sites

Mmm...i'm quite helpful and i usually don't answer "Search", but pretending having searched without finding anything on a topic discussed one zillion times since OFP doesn't deserve any other answer.

Share this post


Link to post
Share on other sites

ok thanks. but when i tried out a script it kept telling me "Missing ;" i was trying to give a regular rifleman the camo M4 SOPMOD. this was the script i put in:

removeallweapons this; this addmagazine "30Rnd_556x45_StanagSD"; this addmagazine "30Rnd_556x45_StanagSD"; this addmagazine "30Rnd_556x45_StanagSD"; this addweapon "M4A1_AIM_SD_CAMO"

and those are directly from the arma 2 weapons wiki. if i changed the M4 to M9 and the magazines to 9x19mm it worked just fine. so what am i doing wrong?

Share this post


Link to post
Share on other sites

the very last weapon you're adding should have a ; after it

removeallweapons this; this addmagazine "30Rnd_556x45_StanagSD"; this addmagazine "30Rnd_556x45_StanagSD"; this addmagazine "30Rnd_556x45_StanagSD"; this addweapon "M4A1_AIM_SD_CAMO"[b];[/b]

cheers

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  

×