Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Note problem
TheDavenia Offline
Member

Posts: 223
Threads: 38
Joined: Jun 2011
Reputation: 0
#1
Note problem

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

Current Project: Nightmare's End(Project Director, Scripter, boss >:D)
06-27-2011, 06:58 PM
Find
DamnNoHtml Offline
Senior Member

Posts: 469
Threads: 34
Joined: Sep 2010
Reputation: 16
#2
RE: Note problem

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:

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);
}

Creator of Wake, Through the Portal, Insomnia, and Cycles What to do with HPL3....
06-27-2011, 07:43 PM
Find




Users browsing this thread: 1 Guest(s)