Frictional Games Forum (read-only)
FadeGlobalSoundVolume not affecting "Terror" sound - 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: FadeGlobalSoundVolume not affecting "Terror" sound (/thread-13079.html)



FadeGlobalSoundVolume not affecting "Terror" sound - tgfcoder - 02-03-2012

Hi guys,

new to the forums here but I'll get right to the point.

I'm using the following code to mute the game volume at the start of my map.


Code:
void OnEnter()
{ FadeGlobalSoundVolume(0, 0); }


However, due to there being an enemy close to the player at the start the terror music starts playing. I want it to be completely silent but still be playing (just at 0 volume.)

Does FadeGlobalSoundVolume not affect music? Any suggestions?

Thanks in advance.


RE: FadeGlobalSoundVolume not affecting "Terror" sound - Kodack - 02-03-2012

You can try adding Custom music and use that to over-play the current one this custom sound can be completely silent if you want.


\\Kodack


RE: FadeGlobalSoundVolume not affecting "Terror" sound - tgfcoder - 02-04-2012

Custom music didn't kill the terror music even with high priority of 0. I just ended up just activating the monster when I needed the music.