Jump to content
Sign in to follow this  
Pixieluna

no entry 'bin\config.bin/CfgWeapons.xxxx'.

Recommended Posts

Hi,

I am trying to make it so my units in my mission spawn with certain weapons and some of the weapons work...

Like "removeAllWeapons this; this addMagazine "15Rnd_9x19_M9"; this addMagazine "15Rnd_9x19_M9"; this addMagazine "15Rnd_9x19_M9"; this addMagazine "15Rnd_9x19_M9"; this addMagazine "15Rnd_9x19_M9"; this addMagazine "15Rnd_9x19_M9"; this addMagazine "15Rnd_9x19_M9"; this addWeapon "m9";"

Like that code works just fine. But when I change the weapon and ammo, depending on the weapon it sometimes comes up with this annoying message "no entry 'bin\config.bin/CfgWeapons.xxxx'."

I have been searching the web for over three hours now and I have tried so many things to fix this and nothing has worked. I'm in serious need of help... If anyone knows why this is happening, please help me out! Also. feel free to add my Skype... my username is: ShannonHadaki "It might be easier to help walk me through this there" haha.

Thanks everyone.

Share this post


Link to post
Share on other sites

This usually points to incorrect weapon classname. Doublecheck if the classname is correct. Maybe telling us would be a good start to get in-depth error analysis. Posting what doesn't work makes more sense than posting what does work.

Share this post


Link to post
Share on other sites
Myke;2166011']This usually points to incorrect weapon classname. Doublecheck if the classname is correct. Maybe telling us would be a good start to get in-depth error analysis. Posting what doesn't work makes more sense than posting what does work.

Okay so I tried to get the M4A1 as one of the weapons so this is the code I made:

removeAllWeapons this; this addMagazine "30Rnd_556x45_Stanag"; this addMagazine "30Rnd_556x45_Stanag"; this addMagazine "30Rnd_556x45_Stanag"; this addMagazine "30Rnd_556x45_Stanag"; this addMagazine "30Rnd_556x45_Stanag"; this addMagazine "30Rnd_556x45_Stanag"; this addMagazine "30Rnd_556x45_Stanag"; this addWeapon "M4A1";

That code does not work... but then once I try to use a weapon like the AK47' date=' it works just fine. It is certain weapons its not letting me use and I'm not sure why. I'm using [b']http://community.bistudio.com/wiki/ArmA:_Weapons[/b] to find the class names and ammo types. I'm not sure what I could possibly be doing wrong but I appreciate the help. If you have any idea what could be going on please help!

Thanks.

Share this post


Link to post
Share on other sites

First, you might wanna clean that up a bit, using something like {this addMagazine "30Rnd_556x45_Stanag"} forEach [1,2,3,4];

Second, the link you use is for Arma classnames, hereare some for Arma 2/OA:

http://community.bistudio.com/wiki/ArmA_2:_Weapons

http://browser.six-projects.net/cfg_weapons/classlist

And third. Well. If you could just post what exactly is the error message you get, and what mods you use. This piece of code above should work just fine in vanilla.

Edited by BlackMamb

Share this post


Link to post
Share on other sites

@Pixieluna

That weapons list you've linked to is for Armed Assault (ArmA 1), not ArmA 2. Although classnames often ore equal, it is not guranteed to be everytime. Use the link provided by BlackMambo. ;)

Second, just to have eliminated the most obvious possible source of error: you do have Combined Ops, not only Operation Arrowhead or only ArmA 2? To prevent confusion: Combined Ops is actually the main Game (ArmA2) and the Expansion (Operation Arrowhead) sticked together.

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  

×