PDA

View Full Version : How to play a specific alert sound?


Sloth
08-14-2004, 12:42 AM
I have this line of code in a custom state event

this->A_Play3DSound(characters,cleaner_alert_known_max,"");

The problem is I can't get it to recognize a specific filename of the alert known max sound files. They go from A to H, and I was trying to use F, but the drop downlist only lets me choose the non specific. In game it does work, but it randomly chooses one of the sound files to fire.

Anyone know how to get the editor to recognize the specific sound files?

Uisor
08-14-2004, 04:30 AM
The sounds which are randomly selected are defined in sounds folder and in each specific text file, for example in "AI_Cleaner".

You need to open it, find the cleaner_alert_known_max and delete all wav files it contains, which you don't want to use.

Joonas
08-14-2004, 05:49 AM
And you are not supposed to enter filenames to that message.

Sloth
08-14-2004, 02:36 PM
ok I see what is going on, the filenames in the drop downbox are the titles of each section of sounds in the various txt files.

I figured out how to just copy and paste the entry for the wav file I wanted to the mysounds.txt and just moved the wav file to the mysounds dir.

thanks.

Joonas
08-14-2004, 02:54 PM
Good to hear. http://forums.3drealms.com/ubbthreads/images/graemlins/smile.gif