Page 1 of 1

ambient music

Posted: Thu Jan 12, 2006 10:35 am
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.

Posted: Thu Jan 12, 2006 12:19 pm
by ^misantropia^
Add the "noise" key to the "worldspawn" entity.

Posted: Thu Jan 12, 2006 6:24 pm
by rbottoms
thx