OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: SaintPier on 07 Jul 2012, 12:43:23
-
Hello all you Armed Assault addicts :D
I am writing a mission and want to add a weapon to my players.
This normally is easy with "this addweapon ....."
The weapon i want to add is the Mk12 SPR.
But i can not find the name for it, to enter in the init field.
When i enter "Mk12 SPR" i get the error message "No Entry bin\config.bin/CfgWeapons.Mk12 SPR"
Where can i find the name for that weapon?
Thanks,
Peter
-
The name of the weapon is 'M4SPR'
You can find the weapon and magazine names here:
http://www.ofpec.com/COMREF/index.php?action=read&id=68
-
Hi Gruntage,
Thanks a lot.
Very strange that the names are different.
M4 = Mk12. hmmm
Is there a reason for the difference in the names?
greets,
SaintPier (Peter)
-
These names are taken from the one of the many config files that are shipped with ARMA2. So if there's a deeper reason behind the different names we don't know it. :dunno:
Btw, you can extract all these configs with this script (http://www.ofpec.com/forum/index.php?topic=35236.0).
-
Great.
Thanks.