Camera Fade

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Galaxy_Stranger
Posts: 1326
Joined: Sat Aug 16, 2003 11:42 pm
Location: Shropshire
Contact:

Camera Fade

Post by Galaxy_Stranger »

Is there any way to fade the actual camera's view? I've been just adjusting the light level where the camera is. But that doesn't work if the camera or player is right up against the wall.
User avatar
Sir_Alien
Posts: 863
Joined: Sun Aug 29, 2004 6:15 am
Location: Sydney, Australia
Contact:

Post by Sir_Alien »

Fade in a hud message with a completely black 320x200 image. That's what I do, works the same.
User avatar
Galaxy_Stranger
Posts: 1326
Joined: Sat Aug 16, 2003 11:42 pm
Location: Shropshire
Contact:

Post by Galaxy_Stranger »

Hmmm - interesting idea. I'll try that.

I'm having trouble getting Light_Fade to work. I've used it before just fine in other scripts, but for some reason it's not working for me. Is the Sector Tag the same thing as the Sector# or the Linedef tag or what?

-=[EDIT]=-
Ah - N/M - I had the statement after a DELAY...dumb mistake.
User avatar
Sir_Alien
Posts: 863
Joined: Sun Aug 29, 2004 6:15 am
Location: Sydney, Australia
Contact:

Post by Sir_Alien »

Mmmmm, light_fade is a bit cheap and never has the same effect as fade to or fading in a black hud message.

What project is this for, GS?
User avatar
Galaxy_Stranger
Posts: 1326
Joined: Sat Aug 16, 2003 11:42 pm
Location: Shropshire
Contact:

Post by Galaxy_Stranger »

Get yer ass on ICQ and you'll find out!
User avatar
Sir_Alien
Posts: 863
Joined: Sun Aug 29, 2004 6:15 am
Location: Sydney, Australia
Contact:

Post by Sir_Alien »

Galaxy_Stranger wrote:Get yer ass on ICQ and you'll find out!
For my custom title, I wrote:Get your ass to Mars...
Checkmate.
User avatar
Galaxy_Stranger
Posts: 1326
Joined: Sat Aug 16, 2003 11:42 pm
Location: Shropshire
Contact:

Post by Galaxy_Stranger »

You're on Mars??
User avatar
BetaSword
Posts: 650
Joined: Fri Jul 02, 2004 10:53 am
Location: Doing some stuff.

Post by BetaSword »

Hrmm... I just checked the wiki, and it doesn't say in there how to fade in a picture... Cause I would like a similar effect for something that I'm working on.
User avatar
chaoscentral
Posts: 677
Joined: Sun Feb 27, 2005 4:32 pm
Location: Revere, MA
Contact:

Post by chaoscentral »

I think you just set the font name as the picture name and just use 1 charcter for the message or something along those lines
User avatar
BetaSword
Posts: 650
Joined: Fri Jul 02, 2004 10:53 am
Location: Doing some stuff.

Post by BetaSword »

Oy... Hate to be a pain, but what's the actual syntax of it? The wiki doesn't seem to be very up-to-date on that... The syntax it gives doesn't have any "font type" or anything like that.
User avatar
Galaxy_Stranger
Posts: 1326
Joined: Sat Aug 16, 2003 11:42 pm
Location: Shropshire
Contact:

Post by Galaxy_Stranger »

User avatar
BetaSword
Posts: 650
Joined: Fri Jul 02, 2004 10:53 am
Location: Doing some stuff.

Post by BetaSword »

Yep, that's where I just was. Still can't quite figure it out.

I never really did get too far past semi-simple scripting. No variables or anything, but I guess I'm gonna need to work on that for my current project... Oy.
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $
Contact:

Post by Bio Hazard »

Code: Select all

SetFont("LUMP");
HudMessage(s:"A",otherhudmessagestuff);
User avatar
BetaSword
Posts: 650
Joined: Fri Jul 02, 2004 10:53 am
Location: Doing some stuff.

Post by BetaSword »

Ah... I take it "LUMP" in the SetFont thing would be the name of the picture... Alrighty, I'll check that out.

Edit: Blah. I can't seem to get it to work. Here's my scripty doodah:

Code: Select all

script 998 DEATH
{
	SetMusic("GAMEOVER", 0, 0);
	SetFont("GMEOVER1");
	HudMessage(s:"A"; 2, 0, 0, -1.0, -1.0, 65535, 105, 1);
}
Locked

Return to “Editing (Archive)”