NightFallKiller Posted December 16, 2009 Hey everyone, I was just wondering if there's a script to make the screen slowly fade out to black (kinda like someone is fainting and slowly loosing sight) and then fade in from black in a new map, so it fades out, goes to a new map (I know how to do this) then fades in, i've tried FadeTo but that doesn't really seem to fade slowly, so any help would be appreciated, I'm using Doom In Hexen format btw. 0 Share this post Link to post
TomoAlien Posted December 16, 2009 You can set speed of fading of FadeTo :/. Look at this example: fadeto (0, 0, 0, 1.0, 5.0) This example will fade to black in 5 seconds with maximum intensity. Now let's take a look at template: fadeto (red, green, blue, intensity, speed); Red, green and blue are for setting color of the fade, remember these are numberic vaules and they go from 0 to 255. Intensity is for changing transparency of the effect. So if it's 0.5 it will be half-transparent after it finishes fading, and 1.0 it will be maximum intensity. Speed is how long it takes to fade, like 5.0 makes it fade for 5 seconds, and 2.5 makes it fade for 2 and a half seconds. If you want to fade out, set the intensity to 0.0. 0 Share this post Link to post
NightFallKiller Posted December 16, 2009 Thanks for that, I had the intensity and speed a bit wrong, but it's fixed now, thanks 0 Share this post Link to post