Mancubus
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Fading out and in
 
Author
All times are GMT. The time now is 21:14. Post New Thread    Post A Reply
NightFallKiller
Warming Up


Posts: 15
Registered: 11-09


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.

Old Post 12-16-09 01:52 #
NightFallKiller is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
TomoAlien
Member


Posts: 320
Registered: 06-08


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.

Old Post 12-16-09 08:57 #
TomoAlien is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
NightFallKiller
Warming Up


Posts: 15
Registered: 11-09


Thanks for that, I had the intensity and speed a bit wrong, but it's fixed now, thanks

Old Post 12-16-09 10:30 #
NightFallKiller is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 21:14. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Fading out and in

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.