Flashback? - 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: Flashback? (/thread-20699.html) |
Flashback? - mrsomeepicrandomguy - 03-10-2013 Hey, i was wondering how you made like a "flashback". Like thee screen gets a litle white, like in the original game. Is there a script for it? RE: Flashback? - PutraenusAlivius - 03-11-2013 A flashback, but you only want the screen effect? RE: Flashback? - mrsomeepicrandomguy - 03-11-2013 (03-11-2013, 08:59 AM)JustAnotherPlayer Wrote: A flashback, but you only want the screen effect? Yes, the screen effect and then i think i can figure out how to olay the sound by myself. RE: Flashback? - PutraenusAlivius - 03-11-2013 Ah. Here it is. Please note that i haven't test it. PHP Code: void StartEffectFlash(float afFadeIn, float afWhite, float afFadeOut); Fades the screen to white. afFadeIn - time in seconds until screen is white. afWhite - determines to which percentage the screen fades to white (1.0 = completely white) afFadeOut - time in seconds until screen is back to normal again. I think you need another script for the sound. |