Hexen lava does not damage you when you land on it.
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.
Hexen lava does not damage you when you land on it.
I am using GZDoom 2.4.2.4.2.4.
In vanilla/chocolate Hexen, whenever you land on the lava, you take damage. This prevents "cheesing" the timed damage like what is possible in the version of GZDoom I'm currently using, as it doesn't currently seem to include this behavior.
I provided a pig projectile spawner in the example map because it quickly illustrates the difference. In the original Hexen, you constantly bounce as a pig due to taking damage from landing on the lava. However, this does not occur in the version of GZDoom that I am currently using.
edit:corrected version number.
In vanilla/chocolate Hexen, whenever you land on the lava, you take damage. This prevents "cheesing" the timed damage like what is possible in the version of GZDoom I'm currently using, as it doesn't currently seem to include this behavior.
I provided a pig projectile spawner in the example map because it quickly illustrates the difference. In the original Hexen, you constantly bounce as a pig due to taking damage from landing on the lava. However, this does not occur in the version of GZDoom that I am currently using.
edit:corrected version number.
- Attachments
-
- LavaStep.wad
- Contains quick access to lava to step and jump on for testing.
- (2.2 KiB) Downloaded 30 times
Last edited by Alper002 on Thu Nov 28, 2019 2:42 pm, edited 1 time in total.
- drfrag
- Vintage GZDoom Developer
- Posts: 3141
- Joined: Fri Apr 23, 2004 3:51 am
- Location: Spain
- Contact:
Re: Hexen lava does not damage you when you land on it.
That version doesn't exist AFAIK, try the latest version.
Re: Hexen lava does not damage you when you land on it.
Sorry, I made a mistake, I meant 4.2.4drfrag wrote:That version doesn't exist AFAIK, try the latest version.
My bad.
Re: Hexen lava does not damage you when you land on it.
The difference is caused by a lacking of this code. It's an open question how to incorporate that thing properly.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Hexen lava does not damage you when you land on it.
Make it a terrain property. That way it won't retroactively affect custom definitions. Since it needs to check the terrain for the splash anyway this is the cleanest and most versatile approach.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Hexen lava does not damage you when you land on it.
Yes, something like that. I'll have a closer look later when I'm back home.
Re: Hexen lava does not damage you when you land on it.
I don't get it:_mental_ wrote:The difference is caused by a lacking of this code. It's an open question how to incorporate that thing properly.
Code: Select all
if (thing->player && leveltime & 31)
{
P_DamageMobj(thing, &LavaInflictor, NULL, 5);
}
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Hexen lava does not damage you when you land on it.
The mask here is the inverse of the regular one, this triggers only in those frames where the main one does not!