Jump to content
n0timet0explain

Sounds not playing on dedicated server

Recommended Posts

Hi,

I am making a custom senario, but I have some problems when uploading them to my dedicated server.

I play on zargabad, and want to have a call to prayer every couple of hours. I followed instructions on this forum post, and got it to work when using eden multiplayer. When i export the pbo to my server, I get this error:

9:00:01 Sound: Error: File: mpmissions\__cur_mp.zargabad\sounds\prayer.ogg not found !!!

I have placed the sound file in a folder called "sounds", and added this to my description.ext:

class CfgSounds
{
	sounds[] = {};
	class prayer
	{
		name = "prayer";
		sound[] = {"sounds\prayer.ogg", 2, 1};
		titles[] = {0,""};
	};
};

 

 

What am I doing wrong?

Thanks



 

Share this post


Link to post
Share on other sites

I did something like this myself. I have a sound in CfgSounds defined like this.

 

class CfgSounds
{
	sounds[] = {MissionCompleteStalker};
	class MissionCompleteStalker
	{
		name = "MissionCompleteStalker";
		sound[] = {"media\sounds\mil_mission_complete.ogg", db+10, 1.0};
		titles[] = {0,""};
	};
};

Then I call it like this.

 

"MissionCompleteStalker" remoteExec ["playSound"];

And it works just fine. So compare what you are using to mine and see if changing the path fixes it at all.

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

×