See this very old zandronum ticket here (yeah, I'm not sure to know why the reporter didn't make a bug report here at that time...).
Load zdoom with the provided example wad, move the player on the edge of the sector (which is in an higher place than the rest) and make sure the player's center is not inside the sector. Then the script will change the sector into instakill, but the player doesn't die.
Is this intentional?
[very old]Instakill sector and player on edge survives
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
-
- Posts: 1774
- Joined: Sat Oct 17, 2009 9:40 am
Re: [very old]Instakill sector and player on edge survives
Not so much intentional but an artifact of sector properties. You sector effect is that of your exact center, and thus only one is ever applied at a time, and has been the case since vanilla. A compatibility flag would likely need to be introduced for anything to change about it.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49230
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [very old]Instakill sector and player on edge survives
The sector damaging stuff has always worked so that it only apples if the CENTER of the player touches the floor. For obvious reasons this is not going to be changed, even if it makes little sense in this particular case. This is the stuff compatibility nightmares with older maps are made of.
Re: [very old]Instakill sector and player on edge survives
Related suggestion: would an alternative "actor hits floor" sector action type that detects players on edges be doable? That'd allow the OP's suggestion to be done via a small script and allow for tons of other possibilities (bouncing scripts with ThrustThingZ is my current headache).
[if "sure", will make a new thread of course.]
[if "sure", will make a new thread of course.]