PDA

View Full Version : Probably been answered before, but search is down


dvader28
05-10-2002, 10:59 AM
Hi all

I can't get sounds to work. If i use the "soundset" command for things such as doors and speakers, then it works fine. If i try and use a specific wav or mp3 such as sound/ambience/cp_02_lp.wav then nothing happens. Surely you don't have to extract every sound you want to use in a map? Help!

:vadar:

JeGGoR
05-10-2002, 11:06 AM
Are you using the "target_speaker" entity? This one works fine with me, with paths like the one you wrote.

dvader28
05-10-2002, 11:58 AM
yes, target_speaker

Oz
05-10-2002, 02:07 PM
You're having problems because the soundSet command isn't intended for playing individual .wav's or .mp3's. It's for playing groups of related sounds like ambient sets or the start, middle, and stop sounds for doors. To play a specific .wav or .mp3, use a target_speaker with a "noise" key instead.

dvader28
05-15-2002, 01:46 AM
That doesn't work. I get no console errors, but no sound either...the only thing that works is extracting and putting the sound in the sounds/mapname directory.