Jump to content
Sign in to follow this  
dmarkwick

Sound not playing.

Recommended Posts

OK, I've done the search, and I've seen threads identical to this, but as far as I can tell I'm following what everyone else has done but - no sound. I get a "Sound JTDBirds1Sound not found" error.

cfg:

class CfgSounds
{
sounds[] = {};
 class JTDBirds1Sound
 {
  name = "JTDBirds1Sound";
  sound[] = {"\JTD_FireAndSmoke\Sounds\Birds1.ogg", 10, 1};
  titles[] = {};
 };
};

implementation:

_BirdsFlock say ["JTDBirds1Sound",10];

Birds1.ogg in indeed at the location suggested in the cfg. The sound file itself is a file that has previously worked in ArmA1.

---------- Post added at 03:20 PM ---------- Previous post was at 03:15 PM ----------

OK, wrong forum, but close ;)

Share this post


Link to post
Share on other sites

You need to add JTDBirds1Sound in sounds[]:

sounds[] = {JTDBirds1Sound};

Share this post


Link to post
Share on other sites

Thanks saok. I'm sure I've tried that (having scoured the forum for this problem :)) but I will try it again.

---------- Post added at 04:17 PM ---------- Previous post was at 03:50 PM ----------

Didn't change the error unfortunately.

Share this post


Link to post
Share on other sites
sounds[] = {JTDBirds1Sound};

It's optional

sound[] = {"\JTD_FireAndSmoke\Sounds\Birds1.ogg", 10, 1};

Writte like that, it means that your sound file is located in :

AddOns\JTD_FireAndSmoke\Sounds\Birds1.ogg

For a sound in the mission folder, you've to remove the first \

sound[] = {"JTD_FireAndSmoke\Sounds\Birds1.ogg", 10, 1};

Share this post


Link to post
Share on other sites

Are you sure that the root ("\JTD_FireAndSmoke\Sounds\Birds1.ogg") is right?

I have sound-folder in my mission-folder and I have it like this (and its working):

class CfgSounds
{
sounds[] = {PSFX_RINGING};

class PSFX_RINGING
{
	name = "PSFX_RINGING";
	sound[] = {\sound\PSFX_RINGING.ogg, db + 0, 1.0};
	titles[] = {0, ""};
};
};

Share this post


Link to post
Share on other sites
Are you sure that the root ("\JTD_FireAndSmoke\Sounds\Birds1.ogg") is right?

As much as I can be :)

snap0234.jpg

Share this post


Link to post
Share on other sites

Hi there!

I have a similar problem, "sound "X" not found".

After reading through a few topics I edited my description file a hundred times, but it still doesn't wanna work.

Here's the situation:

I have a mission: "testmiss2", in it's folder (documents/arma2 other profiles/myuser/missions/testmiss2.utes) I have the SQM file, the description and a folder named "sound".

In the sound folder I put the OGG file, "radiocheck.ogg". (I recorded this via Audacity)

Here is the descriptions content:

//Mission Header

class Header

{

gameType = Coop;

};

onLoadMission = "testmiss2";

onLoadMissionTime = FALSE;

class Cfgsound

{

sounds[] = {radiocheck};

class radiocheck

{

name = "radiocheck";

sound[] = {sound\radiocheck.ogg, 1.0, 1.0};

titles[] =

{

};

};

};

In the editor I created a radio alpha-activated trigger and I typed this to the "on act." part: playSound "radiocheck".

When I activate that trigger it sends me an error massage: "Sound radiocheck not found".

What am I doing wrong?:confused:

Thanks for the help!

EDIT: Semms like it's working now.:)I edited the followings:

- sounds[] = {radiocheck}; >> sounds[] = {};

- name = "radiocheck"; >> name = "";

- sound[] = {sound\radiocheck.ogg, 1.0, 1.0}; >> sound[] = {"sound\radiocheck.ogg", 1.0, 1.0};

Edited by Sir Beaver

Share this post


Link to post
Share on other sites

and always remember you have to at least save the mission every time you make a change to the description.ext or else the changes will not show.

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  

×