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
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
Search again![]()
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
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.
Regards
Carl Gustaffa - left this game due becoming Steam Exclusive
Proper search.
Results are plenty.
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?
the very last weapon you're adding should have a ; after it
cheersCode:removeallweapons this; this addmagazine "30Rnd_556x45_StanagSD"; this addmagazine "30Rnd_556x45_StanagSD"; this addmagazine "30Rnd_556x45_StanagSD"; this addweapon "M4A1_AIM_SD_CAMO";