DOOM2.exe colored lighting trick

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
coltermegasxlr
Posts: 52
Joined: Mon Jul 30, 2007 6:09 pm
Location: Wisconsin

DOOM2.exe colored lighting trick

Post by coltermegasxlr »

I have this idea, where you first make a sector using custom textures that are tinted a certain color to create the illusion of colored lighting. I know that this has been and can be done. But is it possible to make the DOOM2.exe engine tint the sprites only when they enter this sector, I mean modify the color tint effects (rad suit, beserk) to tint only sprites and not the entire screen? I know this isn't very specific, but hopefully somebody does understand what I am trying to say here.
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

Re: DOOM2.exe colored lighting trick

Post by Macil »

Without modding the exe? Probably not possible.
User avatar
Risen
Posts: 5263
Joined: Thu Jan 08, 2004 1:02 pm
Location: N44°30' W073°05'

Re: DOOM2.exe colored lighting trick

Post by Risen »

Definitely not possible. Use ZDoom.
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Re: DOOM2.exe colored lighting trick

Post by Cutmanmike »

Could you tell us why you'd want to do that for doom2.exe?
coltermegasxlr
Posts: 52
Joined: Mon Jul 30, 2007 6:09 pm
Location: Wisconsin

Re: DOOM2.exe colored lighting trick

Post by coltermegasxlr »

Because I am drawing levels for a planned WAD project and I think that the old DOOM 2 engine has alot of untapped potential. Take for example espi's Suspended in Dusk, now that pushed the engine to the graphical limit. Or even IC2005, which used some tricks that one would believe used scripting from ZDOOM, but no scripts were used at all.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Re: DOOM2.exe colored lighting trick

Post by HotWax »

While there are certainly ways to "trick" more out of the Doom engine, the renderer has been pretty much tapped out. You can of course make alternate textures and tint those, but you're going to have a lot of trouble getting the engine to selectively switch sprite sets based on where the enemies are, and it certainly is not going to tint them on its own.
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Re: DOOM2.exe colored lighting trick

Post by Cutmanmike »

I still don't get why people have to have it "as retro as humanly possible".
User avatar
esselfortium
Posts: 3862
Joined: Tue Sep 19, 2006 8:43 pm
Contact:

Re: DOOM2.exe colored lighting trick

Post by esselfortium »

HotWax wrote:While there are certainly ways to "trick" more out of the Doom engine, the renderer has been pretty much tapped out.
Lal
Cutmanmike wrote:I still don't get why people have to have it "as retro as humanly possible".
Challenge?

And for the record, IC2005 was a Boom wad. It used voodoo dolls on conveyor belts to accomplish its scripting.
Butts
Posts: 12
Joined: Thu May 08, 2008 9:06 pm

Re: DOOM2.exe colored lighting trick

Post by Butts »

as retro as humanly possible is the way to go for sure. the challenge is fun and exciting, not to mention ridiculously frustrating.
NiGHTMARE
Posts: 3463
Joined: Sat Jul 19, 2003 8:39 am

Re: DOOM2.exe colored lighting trick

Post by NiGHTMARE »

If you want coloured lighting but absolutely refuse to use a port, my advice would be to make your map for Duke 3D or one of the other Build engine games instead :P.
coltermegasxlr
Posts: 52
Joined: Mon Jul 30, 2007 6:09 pm
Location: Wisconsin

Re: DOOM2.exe colored lighting trick

Post by coltermegasxlr »

I know that IC2005 is a Boom engine wad, but I've read on a review that some of its tricks were also done using vanilla DOOM. And I now think that it's just easier to moddify current textures' colors in order to get that colored lighting feel. In fact, the more advanced Quake 1 engine can't do colored lighting without some moddifying, yet when you're near lava, you feel that the lava is giving off its glow amongst the walls.
User avatar
Ichor
Posts: 1784
Joined: Wed Jul 23, 2003 9:22 pm

Re: DOOM2.exe colored lighting trick

Post by Ichor »

The only possible way of doing this is to add tinted sprites and then limit their use and movement to those specific sectors.
User avatar
Isle
Posts: 687
Joined: Fri Nov 21, 2003 1:30 am
Location: Arizona, USA

Re: DOOM2.exe colored lighting trick

Post by Isle »

rape colormap harder
Jonathan
Posts: 44
Joined: Fri Dec 05, 2003 5:35 am

Re: DOOM2.exe colored lighting trick

Post by Jonathan »

To expand on Isle's eloquence, to get coloured lighting on textures and sprites:

Split the colormap into two ranges. Compress the normal light to dark range into a lesser number of steps, say 24, use the vacant 8 to map all colours to a specific hue. Within the maps, use the the brightness range 64 to 248 for normal lighting, and the range 0 to 56 for the coloured areas.

To tint only sprites:

Create a new palette, split it into two sections, one for textures one for tintable sprites. Draw all textures and untintable sprites using the texture range. Draw all tintable sprites using the tint range. Customise the colormap to map the tinted range to your desired colour for a certain brightness value or range. When mapping, use that brightness value in sectors you want the sprites to tint.

Potential hurdles: Bleedthrough between ranges, full bright sprites, replacing the palette means replacing all original Doom graphics, etc. You don't get anything for free. Unless you do the sane thing and use a port that supports coloured lighting properly, but where's the fun in that?
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Re: DOOM2.exe colored lighting trick

Post by Cutmanmike »

That's insane, just do it in ZDoom :ugeek:
Post Reply

Return to “General”