Using Imagespace Modifier in a scene

Post » Mon Feb 04, 2013 5:00 am

I want to fade to black at the beginning of a scene, and stay black for the duration of the scene, and fade back in at the end of the scene. The scene starts correctly and the fade to black runs as well, but it doesn't stay black but only for the duration of the modifier itself. After it has run it's animation or whatever, it pops back to normal. Is there a way I can fade to black, stay black and fade in at the end? I'm using an ISM that I duplicated and edited the fade out time a little.

In the beginning fragment I have: BalokFadeToBlackScene.Apply()
In the end fragment I have: BalokFadeToBlackScene.Remove()
User avatar
katie TWAVA
 
Posts: 3452
Joined: Tue Jul 04, 2006 3:32 am

Post » Mon Feb 04, 2013 2:31 pm

I think you need an imagespace modifier that should hold the screen black (has no animation/whatever duration). I'm currently using a script that fades to black, holds it there while my script does its work, and then fades back when its done. Here's the part of my script that does this. These IMS are ones that are already in the CK.

Function imgmod()	FadeToBlackImod.Apply() ;fades to black	Utility.Wait(2.5) ;the fade to black actually lasts 3 seconds, but I add the hold IMS early to prevent getting a flash of regular screen	FadeToBlackHoldImod.Apply() ;holds blackendFunction

Function imgremove()	 FadeToBlackBackImod.Apply() ;fades back to normal	 FadeToBlackHoldImod.Remove() ;dont forget to remove the hold blackendFunction
User avatar
Kate Schofield
 
Posts: 3556
Joined: Mon Sep 18, 2006 11:58 am

Post » Mon Feb 04, 2013 3:44 am

Beautiful! Couldn't use the functions I guess because it was in a fragment, but removed those, filled the properties, and it worked the first time! Thank you! :foodndrink:
User avatar
Katie Samuel
 
Posts: 3384
Joined: Tue Oct 10, 2006 5:20 am


Return to V - Skyrim