Jump to content
Sign in to follow this  
Kupla

Sounds in custom missions

Recommended Posts

Hello everyone

I have a few questions mainly about sounds in custom missions.

Firstly, have all the sound files been listed somewhere, similar to what has been done to weapons and objects in the "Arma 2 classnames" -thread? What I am looking for is a small beep or a radio-like sound to use between sidechat messages with playsoundfile "filename".

Another thing, I have some custom sounds in .wav extension and I've heard that they need to be in .ogg for arma 2. Can I just blatantly change the extension from .wav to .ogg or do I need to use some program? When I have my .ogg file what do I have to do next? (A step-by-step guide would be nice) I'm trying to play the files with the sideradio command.

And as for my last question, can I set a sidechat message to a leader of the group regardless if the leader has changed during the mission? Because currently if I set a message to "soldier1" and that soldier dies earlier in the mission, the chat will not trigger. I want the chat to be activated as long as there's still one person from the group alive.

Thanks in advance, I'm still a bit new when it comes to all this.

Share this post


Link to post
Share on other sites

To get the "radio beep" use sideRadio or groupRadio. The command will automatically add radio sound.

To create .ogg you need a specific programm. Just google ".wav to .ogg" or something like this. If you have the .ogg place it in your mission folder and define the radio message in your description.ext. This or this might help you.

For your last problem: Write in the init line of the commander of the group:

myGroup = group this;

Then execute the sideChat command with:

(leader myGroup) sideChat "Hi, there!";

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  

×