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


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Work in progress Amnesia : Ruined (Quick Update!)
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#11
RE: Amnesia : Ruined [Quick Update]

Untested but:
PHP Code: (Select All)
void OnStart()
{
FadeGlobalSoundVolume(0.01f0.01f);
AddTimer(""2.0f"fix_volume");
}

void fix_volume(string &in asTimer)
{
FadeGlobalSoundVolume(1.0f0.01f); //if 1.0 is not the maximum, try 100.0f


As far as I know, it should work, but may cause issues if you have sounds which play immediately in your map that you need. This should lower the volume of every sound instantly for two seconds, then should bring it back to normal. Adjust the timer if you want Smile

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 04-11-2014, 04:44 AM by Romulator.)
04-11-2014, 04:43 AM
Find


Messages In This Thread
Amnesia : Ruined (Quick Update!) - by Vale - 03-21-2014, 12:22 AM
RE: Amnesia : Ruined - by 7heDubz - 03-21-2014, 01:10 AM
RE: Amnesia : Ruined - by Vale - 03-21-2014, 01:12 AM
RE: Amnesia : Ruined - by Echohalls - 03-21-2014, 01:31 AM
RE: Amnesia : Ruined - by LordOfDragons - 03-21-2014, 08:43 AM
RE: Amnesia : Ruined - by Vale - 03-22-2014, 03:40 AM
RE: Amnesia : Ruined - by AGP - 03-25-2014, 12:34 AM
RE: Amnesia : Ruined - by BeartrixTheStrange - 03-25-2014, 02:17 AM
RE: Amnesia : Ruined - by Vale - 03-28-2014, 01:17 AM
RE: Amnesia : Ruined - by Vale - 04-11-2014, 04:22 AM
RE: Amnesia : Ruined [Quick Update] - by Romulator - 04-11-2014, 04:43 AM
RE: Amnesia : Ruined [Quick Update] - by Vale - 04-11-2014, 04:48 AM
RE: Amnesia : Ruined [Quick Update] - by Vale - 04-12-2014, 01:32 AM
RE: Amnesia : Ruined - by Vale - 04-13-2014, 12:33 AM
RE: Amnesia : Ruined - by PutraenusAlivius - 04-13-2014, 02:33 AM
RE: Amnesia : Ruined - by Vale - 04-13-2014, 02:35 AM
RE: Amnesia : Ruined - by CarnivorousJelly - 04-13-2014, 03:26 AM
RE: Amnesia : Ruined - by Vale - 04-13-2014, 03:59 AM
RE: Amnesia : Ruined - by Vale - 04-22-2014, 08:25 PM
RE: Amnesia : Ruined - by Reminiscity - 05-21-2014, 12:55 AM
RE: Amnesia : Ruined - by Vale - 05-19-2014, 11:39 PM
RE: Amnesia : Ruined - by Vale - 05-29-2014, 03:24 AM
RE: Amnesia : Ruined (Quick Update!) - by Vale - 11-24-2014, 07:15 AM



Users browsing this thread: 1 Guest(s)