Jump to content
Sign in to follow this  
hungrytoheal

Radio sound not found - out of ideas.

Recommended Posts

Hi guys,

I'm trying to make a radio message + sound play in the following script:

p1 action ["EJECT", bird1]
~1
p2 action ["EJECT", bird1]
~1
p3 action ["EJECT", bird1]
~1
p4 action ["EJECT", bird1]
~1
p5 action ["EJECT", bird1]
~1
p6 action ["EJECT", bird1]
~1
p7 action ["EJECT", bird1]
~3
bird1 sideRadio "RadioMsg1"

Using the following description.ext:

class CfgSounds
{
sounds[] = {combat1, distantmortars1, jetflyby1}; 



class combat1
{
name = "combat1";
sound[] = {"\sound\combat1.ogg", db+10, 0.8};
titles[] = {};
};

class distantmortars1
{
name = "distantmortars1";
sound[] = {"\sound\distantmortars1.ogg", db+12, 0.8};
titles[] = {};
};

};

class CfgRadio
{
sounds[] = {RadioMsg1};


 class RadioMsg1
 {
  name = "Deployed";
   sound[] = {"\sound\deployed.ogg", db+0, 1.0};
   title = "This is helo one. Delta squad have been deployed, over.";
 };

};

However whenever I run the script in game I don't get the radio text and get an error saying "radio message RadioMsg1 not found".

Any ideas?

Thanks!

Edited by hungrytoheal

Share this post


Link to post
Share on other sites

I copied this bit and tested it just changing the name of the sound to one I had and it works ok, check the name is correct and in the right place.

class CfgRadio
{
sounds[] = {RadioMsg1};


 class RadioMsg1
 {
  name = "Deployed";
   sound[] = {"\sound\deployed.ogg", db+0, 1.0};
   title = "This is helo one. Delta squad have been deployed, over.";
 };

};

You do have to reload the mission every time you save the description.ext or it won't update it.

Share this post


Link to post
Share on other sites

You can also save after .ext changes.

PS: radio sound is only heard in the same group i think

Share this post


Link to post
Share on other sites

You do have to reload the mission every time you save the description.ext or it won't update it.

Ahhhh, I'm such a numpty. Cheers, mate. Problem solved! :yay:

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  

×