Author Topic: Can't find weapon  (Read 998 times)

0 Members and 1 Guest are viewing this topic.

Offline SaintPier

  • Members
  • *
Can't find weapon
« 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?


Offline Gruntage

  • Missions Depot Staff
  • *****
  • How do I get outta this chickensh*t outfit?
Re: Can't find weapon
« Reply #1 on: 07 Jul 2012, 22:44:21 »
The name of the weapon is 'M4SPR'

You can find the weapon and magazine names here:
Some of the most memorable missions made involve the player doing very little...

"But one thing I can tell you from not just OFP but life in general:  criticism is directly proportional to quality. The more criticism a mission receives, the better the outcome" - macguba

Offline SaintPier

  • Members
  • *
Re: Can't find weapon
« Reply #2 on: 08 Jul 2012, 17:17:35 »
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?

SaintPier (Peter)

Offline Worldeater

  • Former Staff
  • ****
  • Suum cuique
Re: Can't find weapon
« Reply #3 on: 09 Jul 2012, 23:37:36 »
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.
try { return true; } finally { return false; }

Offline SaintPier

  • Members
  • *
Re: Can't find weapon
« Reply #4 on: 15 Jul 2012, 14:04:51 »