Page 1 of 1

"Buddha" sectors - legit to use?

Posted: Wed Feb 01, 2012 1:23 pm
by Enjay
I'm just checking that this is considered to be correct, documented behaviour, and won't break at some point.

In ZDoomHexen mode, if I make a sector type 75 (damaging floor and end level when health is <10 (like the end of E1M8)) and then set the icy/friction flag on the sector, the damage and end level abilities are removed but the sector still confers the "protection from death" effect of that sector. ie it creates a sector (with a non-damaging floor) where the lowest the player's health can go is 1% and the player cannot die.

I would like to use the above effect in a map but because it seems a little hacky, I just want to check that it is considered a feature to be used. IIRC, Graf discovered this effect some years ago and it hasn't been "fixed" so I suspect it is OK.

Re: "Buddha" sectors - legit to use?

Posted: Wed Feb 01, 2012 1:47 pm
by jpalomo
Sounds to me like a bug. There really isn't a need for this method anyways since buddha mode was added to [wiki]SetPlayerProperty[/wiki]

Re: "Buddha" sectors - legit to use?

Posted: Thu Feb 02, 2012 7:59 am
by FDARI
Detecting when an actor/player enters a sector and accurately detecting all possible departures from that sector isn't necessarily ideal -especially not if there is a feature that covers your exact need already. I remember seeing this bug/feature discussed before, and it is my impression that the devs consider this usable (for modders). I think this is by now expected, defined and dependable.

It still sounds like a bug. I just don't think it is one/anymore.

Re: "Buddha" sectors - legit to use?

Posted: Thu Feb 02, 2012 8:12 am
by DaMan
Rocket jumping maps use this so its a feature now.

Re: "Buddha" sectors - legit to use?

Posted: Thu Feb 02, 2012 9:44 am
by randi
When you put any Boom flags on the sector, you also need to use the Boom flags for damage if you want it to damage. So, no, it's not a bug.

Re: "Buddha" sectors - legit to use?

Posted: Thu Feb 02, 2012 11:41 am
by Enjay
OK, that's nice and clear, thanks.

And the reasons cited by FDARI are exactly why I would prefer to use the sector method.

Re: "Buddha" sectors - legit to use?

Posted: Thu Feb 02, 2012 1:02 pm
by disposable_username2
For the record, here's the original topic: http://forum.zdoom.org/viewtopic.php?f=3&t=5778
Note highly original and descriptive thread title that makes it extremely easy to find via search.