Frictional Games Forum (read-only)
Odd Problem with rain Noise - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Odd Problem with rain Noise (/thread-9889.html)



Odd Problem with rain Noise - GreyFox - 08-21-2011

Hey Guys. I've been working on my level and went to play test it and I want this constant raining sound. which is okay, but the weird thing is, if I walk to certain places the rain noise just stops until I leave that area. and it's very akward and annoying having the rain just stop.

I have the rain noise in my script and not through the editor with the sounds option. and i have it set so the noise is around the "Player".

If you want my script I can post it, (it's fairly large)

Thanks

-Grey Fox


RE: Odd Problem with rain Noise - Kyle - 08-21-2011

Have you tried the PlayGuiSound command function? That should work.

PlayGuiSound("RainSound.ogg", 1);


RE: Odd Problem with rain Noise - GreyFox - 08-21-2011

Didn't really work, it worked for about 5 seconds and then my "wind_gust" sound came in and made the rain stop I guess?

Thanks for the reply

-Grey Fox


RE: Odd Problem with rain Noise - Kyle - 08-21-2011

I believe it has something to do with the priority of each sound that is set.


RE: Odd Problem with rain Noise - GreyFox - 08-21-2011

Oh!? So How Do I fix this? Any Suggestions?

Thanks

-Grey Fox


RE: Odd Problem with rain Noise - Juby - 08-21-2011

I used this in one of my maps:

PlaySoundAtEntity("", "general_rain.ogg", "Player", 0, true);

I didn't run into any event where the rain sound would stop Wink


RE: Odd Problem with rain Noise - GreyFox - 08-21-2011

I had it the exact same (Bassically) before and the Rain Sound just stops sometimes and then goes again. It seems like when I'm close to a certain wall or something.

I can make a video to show you guys what I mean.

Thanks
-Grey Fox


RE: Odd Problem with rain Noise - GreyFox - 08-21-2011

I'm not sure if I'm allowed bumping so I'm going to do it once and if I'm not allowed inform me please!

Bump.....

I Still need help my sound problem is still happening

Thanks
-Grey Fox