ambient music

Locked
rbottoms
Posts: 27
Joined: Wed Jan 11, 2006 4:00 am

ambient music

Post by rbottoms »

Having some trouble adding ambient music that should startup when the word spawns. I used trigger_always but not sure if I implemented it properly.

The music plays fine if I start it from the console so I know the path is correct and the .wav file is there.

Here's what is in the map file:

// entity 1
{
"classname" "trigger_always"
"origin" "-1288 255 3"
"noise" "music/moderns.wav"
}


Any help is appreciated.
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post by ^misantropia^ »

Add the "noise" key to the "worldspawn" entity.
rbottoms
Posts: 27
Joined: Wed Jan 11, 2006 4:00 am

Post by rbottoms »

thx
Locked