Jump to content
Sign in to follow this  
archbishop lazarus

sounds.scope error message

Recommended Posts

Hi!

I made an addon which use the new features of Arma2's sound engine, but when I start the game, I got the following error message in the main menu:

-no entry: 'bin\config.bin/cfgvehicles/sounds.scope'

I also get this message when I select the vehicle in the editor. Otherwise, the addon is fully playable, the souds are working too.

I cant get rid of this message, its quite annoying.

What did I miss out from the config?

Share this post


Link to post
Share on other sites

Try this:

http://pastebin.jonasscholz.de/208

1) Wrong bracket before class sounds. sound defs were outside the class

2) Your inheritance does not look that good. you should make it base on BI unit classes like T34.

3) You should only redefine different values. Making it based on unit classes will help you for that. Makes configs less long too.

4) Definition at the start does not seem to be optimal (turret, optics etc).

5) Use Notepad++ or editpadpro and format your configs for better readability.

CfgConvert, part of binarize/binMake, can help you.

Share this post


Link to post
Share on other sites
1) Wrong bracket before class sounds. sound defs were outside the class

Thanks, but which class souds? There are several.

The config otherwise works perfectly, no need to change that. The only problem is this error message.

BTW, I use notepad++, I just copied and pasted from that.

Share this post


Link to post
Share on other sites
class Damage {

};

};//<-- badddddd

Sound replacements wont work for example.

Share this post


Link to post
Share on other sites

That was my mistake when I deleted the damage section. In the original config its OK, and sound replacements are working.

Maybe I didnt define sound scope? It seems that something is missing from the config.

Edited by Archbishop Lazarus

Share this post


Link to post
Share on other sites

That means there is some bracket problem yet.Check closing brackets with notepad++,click on the left side of opening bracket and it is turning red as is it's closing counterpart.;)

Share this post


Link to post
Share on other sites
That means there is some bracket problem yet.Check closing brackets with notepad++,click on the left side of opening bracket and it is turning red as is it's closing counterpart.;)

Hey Hamis,

Come across your post, and i didnt know that there was a program to use to help with scripting and debugging code for Arma2. Ive downloaded it,

but is there any setting changes needed so it will recognise and properly point out errors. Like what programming language would i need to choose?

Thanks

Daza

Share this post


Link to post
Share on other sites

I use it as default(ansi),don't know about other formats/features.It isn't error correcting/finding feature in fact.But you can find out if you are missing some closing brackets.Too bad there is no error finding tools for configs,now it's like a guessing game for us non-professionals.

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  

×