Welcome, Guest Sunday 20th April 2014, 19:26:10
   Home   Help Search Login Register  

OFPEC Forum

Author Topic: Can't find weapon  (Read 289 times)
0 Members and 1 Guest are viewing this topic.
SaintPier
*
Offline Offline


« on: 07 Jul 2012, 11:43:23 »

Hello all you Armed Assault addicts  Cheesy

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
Logged
Gruntage
Missions Depot Staff
*****
Offline Offline


How do I get outta this chickensh*t outfit?


« Reply #1 on: 07 Jul 2012, 21:44:21 »

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
Logged

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
SaintPier
*
Offline Offline


« Reply #2 on: 08 Jul 2012, 16: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?

greets,
SaintPier (Peter)
Logged
Worldeater
Editors Depot
Administrator
*****
Offline Offline


Suum cuique


« Reply #3 on: 09 Jul 2012, 22: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.   Don't Know

Btw, you can extract all these configs with this script.
Logged

try { return true; } finally { return false; }
SaintPier
*
Offline Offline


« Reply #4 on: 15 Jul 2012, 13:04:51 »

Great.
Thanks.
Logged
Pages: [1]   Go Up
  Send this topicPrint  
 
Jump to: