Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
The Doomist

How to lower a sector, then change it's texture?

Recommended Posts

I know this was possible with vanilla Doom, or at least when a sector raises, but I want to make it look like nukage is being drained into sewer grates. Is there a script command to do so, or do I not see a linedef command?

I use ZDoom in Hexen format, by the way.

EDIT: Am I able to add a key to activate it too?

Share this post

Link to post

Yeah, I know Doom 2 has a "lower floor to lowest surrounding floor and change flat/special to match" special. Maybe find that and see what the XLAT has it correspond to?

Share this post

Link to post

Probably special 241
241:Floor_LowerToLowestTxTy (tag, speed)

or possibly special 250
250:Floor_Donut (ptag, pspeed, sspeed)

The opposite would be
239:Floor_RaiseByValueTxTy (tag, speed, height)

And while you are perusing the ZDoom WIKI you could also have a look at XLAT.

Share this post

Link to post

Looks like I was thinking of vanilla linedef type 37 - I was thinking, specifically, of the far-west room in MAP26 of Doom 2. Just as you walk in, the rocky floor on the side of the lava pool you're on lowers down into the lava pool itself, changing its texture to lava and starting to do damage 5/10% to you.

That'd be Floor_LowerToLowestTxTy(tag, 8), according to xlat/base.txt in gzdoom.pk3 (presumably zdoom.pk3, too).

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now