Frictional Games Forum (read-only)

Full Version: Note problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I got this note with a voice of the player reading it but theres a monster in another room and at the start u hear the monster and the war drums start playing but becouse they are to loud i cant hear the voice talk... How do i lower the war drums on the custom story or remove them or higher the volume of the voice?

Thanks,
TheDavenia
The Brute and Grunt music is played at priority 0 (The highest priority, meaning it will play over any and all other music).

So, add an interact callback that stops the music at priority 0.

That being said, the music really isn't that loud so you should look into some sound editing software to raise the volume of the voice.

Here is what the code should look like:

Code:
void OnStart()
{
       SetEntityPlayerInteractCallback("inGameNoteName", "StopTheme", true);
       //Your other OnStart functions, callbacks, etc
}

//Then put this anywhere else, outside of all other functions
void StopTheme(string &in entity)
{
       StopMusic(1.0, 0);
}