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
Annoying Credits Problem
phatdoggi Offline
Junior Member

Posts: 17
Threads: 4
Joined: Jun 2013
Reputation: 0
#1
Annoying Credits Problem

You know when you start rolling credits after seeing a monster, like a scare cliffhanger, and throughout the entire credits screen you get that terror sound that's super loud? I want to fade that out, and play a song of my own (credits.ogg) which works fine, except for the fact that the terror sound won't fade out. It's getting really annoying...

Here's my ending function:
void end(string &in asEntity)
{
    SetEntityActive("lastBrute", false);
    FadeGlobalSoundVolume(0, 0.5);
    SetPlayerActive(false);
    FadeOut(1);
    PlaySoundAtEntity("", "door_large_castle_open.ogg", "Player", 0, false);
    StartCredits("credits.ogg", false, "CustomStoryMain", "Credits", 3);
}

Any help is appreciated. Thanks!

"Just drink it. How bad could it be?"
Madness - http://www.moddb.com/mods/phatdoggi-madness
(This post was last modified: 06-03-2013, 09:14 PM by phatdoggi.)
06-02-2013, 07:15 PM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#2
RE: Annoying Credits Problem

Sorry, but that always happens. It seems like a bug. This bug also appeared on Library of Alexandria by Acies.

"Veni, vidi, vici."
"I came, I saw, I conquered."
06-03-2013, 01:57 AM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#3
RE: Annoying Credits Problem

Try any of these functions to stop the terror noise:

SetEnemyDisableTriggers
SetEnemyIsHallucination


If making the grunt passive won't stop the noise, maybe it will when he comes to attack you and disappears.

Or teleport the player away from the grunt.
And make it timed after the fade out, so player won't notice it.


06-03-2013, 07:07 AM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#4
RE: Annoying Credits Problem

SetEntityActive("Monster", false);

Use that when you call the credits... It shouldn't be harder

Trying is the first step to success.
06-03-2013, 10:50 AM
Find
phatdoggi Offline
Junior Member

Posts: 17
Threads: 4
Joined: Jun 2013
Reputation: 0
#5
RE: Annoying Credits Problem

(06-03-2013, 07:07 AM)Amn Wrote: Or teleport the player away from the grunt.

Aha! Teleport to new map, stops noise and works fine! Thanks for the help Big Grin

"Just drink it. How bad could it be?"
Madness - http://www.moddb.com/mods/phatdoggi-madness
06-03-2013, 09:02 PM
Find




Users browsing this thread: 1 Guest(s)