Adding ambient soundstreams
Posted: Sun Jul 26, 2009 6:24 pm
I'm trying to add kamino's ambient rain sound to my map. So I've used a few stock levels for ideas on how to get soundstreams to work, and I've found out that you need a SoundStream region with the parameters of your sound in order for the stream to come through, as well as adding your stream file through your lua, and also munging your sounds. However, no matter what I've tried, I can't get the ambient rain sound (kam_amb_rain) to work. I've managed to add the thunderclaps to my map, which work perfectly, but streams are being stubborn.
cl0.req:
cl0.stm:
cl0.snd:
In my lua, I've added the line "ReadDataFile("dc:sound\\cl0.lvl;cl0cw")" this contains the thunderclap sound.
I've also added the line "OpenAudioStream("dc:sound\\cl0.lvl", "cl0")"
I don't think I'm missing anything, but this problem is quite annoying. Can anyone help me out?
EDIT: Nevermind, I've found a decent workaround by using static emitters and a different sound file.
cl0.req:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
I've also added the line "OpenAudioStream("dc:sound\\cl0.lvl", "cl0")"
I don't think I'm missing anything, but this problem is quite annoying. Can anyone help me out?
EDIT: Nevermind, I've found a decent workaround by using static emitters and a different sound file.