Jump to content
Sign in to follow this  
LetJimiTakeOver

How to add weapon from mod?

Recommended Posts

Ok I'm trying to make it so that a soldier in my mission is using a weapon from a mod I downloaded. It's a 9A-91.

I've tried putting the following in the soldier's initialization:

removeallweapons this; this addweapon "9A-91 SD Kobra"; this addmagazine "GROZA MAG (SD)";

Then when I try to preview the mission I get the following error:

"No entry 'bin\config.bin\CfgWeapons.9A-91 SD Kobra'

And I get the same error for the magazine I'm trying to use.

I've had a look in the game's installation folder and can't find the 'bin\config.bin' directory.

Is there a way to fix this? Or am I stuck with the default weapons?

Share this post


Link to post
Share on other sites

You need to find the class-name of the weapon and of the magazine. You've done all the right things except you've used the display-names rather than the class-names. (Well almost all right, if you put the magazine before the weapon, it'll be automatically loaded ;))

I forget what it's called (sorry) but there is a script somewhere on the forums that gives the class-names of the weapon you're using, which you could use to find out the right class-names.

Share this post


Link to post
Share on other sites
You need to find the class-name of the weapon and of the magazine. You've done all the right things except you've used the display-names rather than the class-names. (Well almost all right, if you put the magazine before the weapon, it'll be automatically loaded ;))

I forget what it's called (sorry) but there is a script somewhere on the forums that gives the class-names of the weapon you're using, which you could use to find out the right class-names.

Ah so that's where I was going wrong :rolleyes: I just checked the readme that came with the mod and it has all the weapon class names and magazine names.

Thanks for the quick reply!

Share this post


Link to post
Share on other sites
Ah so that's where I was going wrong :rolleyes: I just checked the readme that came with the mod and it has all the weapon class names and magazine names.

Thanks for the quick reply!

No problem :)

Share this post


Link to post
Share on other sites

put these in a radio trigger set to repeat

hint format ["%1", weapons unitname];

hint format ["%1",magazines unitname];

Edited by cobra4v320

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  

×