Intermission FadeIn question.

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
User avatar
Enjay
 
 
Posts: 26874
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Intermission FadeIn question.

Post by Enjay »

I have defined an intermission sequence.

What I want it to do is fade an image into the screen after an end of cluster message. It does that.

Then I want the image that faded on to screen to be the first image in a reversed bunny-scroller (i.e. the pics scroll from the right). The pictures should scroll and the ending image should be left on screen for a few seconds. It also does that.

Then I want a final picture to fade in over the second scroller image. It kind of does that.

It's the last bit that is mildly problematic. Ideally, I would like the image to fade through the final picture of the scroller, but it doesn't. When the fade section starts, the screen goes blank for an instant (i.e. the previous image disappears) and the fade starts. I'd like the screen to not go blank before the fade. Is this possible?

An acceptable solution that I could do would be to fade the second scroller image to black, and then fade in the final picture, but it would be nicer if the images faded through each other.

Here's what I have at the moment.

Code: Select all

////////////////////////////////////////////////////////////////////////////////
// Intermissions.
////////////////////////////////////////////////////////////////////////////////

//Wombat ending

Intermission EndWombat1
{
	Fader
	{
		Background = "WOMBAT1"
		Music = "N_0010"
		FadeType = FadeIn
		Time = 2
	}
	Link = EndWombat2
}
		

Intermission EndWombat2
{
	Scroller
	{
		ScrollDirection = Right
		Background = "WOMBAT1"
		Background2 = "WOMBAT2"
		Music = "N_0010"
		InitialDelay = -35
		Scrolltime = -320
		Time = -700
	}
	
	Link = LogoFade
}


//Logo fade in

Intermission LogoFade
{
	Fader
	{
		Background = "LogoNarw"
		FadeType = FadeIn
		Time = 4
		//Music = "D_RUNNIN" - No music, keep whatever is playing
	}
}
*Wombat is a type of ugly-looking space ship that resembles a short-legged, muscular quadrupedal marsupial slightly.
**LogoNarw is nothing to do with narwhals. Disappointingly, it's "logo narrow".

Return to “Scripting”