Blackout Effect?

Post » Fri Dec 14, 2012 8:15 am

I absent mindedly put this in the wrong section. If a Moderator could please rectify that I'd be grateful.


Once again I need the help of a more experienced modder. I am currently trying to find a way for a black screen to come up for several seconds after the PC has fallen through a Trigger Box, after a lengthy fall, so that it does not instantly transition the PC into the next; where they awake in another part of the cave in which they had fallen. Any help will be very much appreciated. Thanks.
User avatar
Steven Hardman
 
Posts: 3323
Joined: Sun Jun 10, 2007 5:12 pm

Post » Fri Dec 14, 2012 10:41 am

There are three imagespace modifiers (defined by the ImageSpaceModifier type in Papyrus) that can be used for fade-to-black transitions: FadeToBlackImod , FadeToBlackHoldImod , and FadeToBlackBackImod.

FadeToBlackImod should be applied first by doing the following:
FadeToBlackImod.apply()Utility.wait(2)

Using wait is necessary to give time for the fade to display before holding a static black screen:
FadeToBlackImod.popTo(FadeToBlackHoldImod)

To fade out of the black screen, use the wait command again for as many seconds as desired (2 seconds will be used for this example):
Utility.wait(2)FadeToBlackHoldImod.popTo(FadeToBlackBackImod)

There is a built-in function that handles fade transitions, but I haven’t figured out how to apply it:
http://www.creationkit.com/FadeOutGame_-_Game

Functions used for above examples:
http://www.creationkit.com/Apply_-_ImageSpaceModifier
http://www.creationkit.com/PopTo_-_ImageSpaceModifier
http://www.creationkit.com/Wait_-_Utility
User avatar
Phoenix Draven
 
Posts: 3443
Joined: Thu Jun 29, 2006 3:50 am


Return to V - Skyrim