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

death jumps

Recommended Posts

Special code tells dying monsters who have been shot by an element below them will have a half chance they'll jump ahead, with a force even greater than them falling back.

Share this post


Link to post

I can assure you it is true.

        // make fall forwards sometimes
        if ( damage < 40
             && damage > target->health
             && target->z - inflictor->z > 64*FRACUNIT
             && (P_Random ()&1) )
        {
            ang += ANG180;
            thrust *= 4;
        }
As for why, let us speculate: when you shoot a guy he always gets pushed backwards, so there's no chance of that kind of amusing "shoot a guy and have him fall forward off a cliff" type of death that are common in certain kinds of action movies. So they put this code in to make that happen sometimes because it looks cool and/or funny.

I imagine the fourfold increase in speed is done to make sure the guy actually goes over the cliff - monsters can't get all the way up to the edges of cliffs and it would look stupid if a guy falls over and doesn't quite make it over the cliffside.

Share this post


Link to post

Yeah I was sure there was some kinda code that allows that to happen. There's no reason for the monsters to do that unless it were so you could comically see them fall down a set of stairs.

Share this post


Link to post
40oz said:

Yeah I was sure there was some kinda code that allows that to happen. There's no reason for the monsters to do that unless it were so you could comically see them fall down a set of stairs.

one of the early memories of doom and going 'hahahahahaha! guy fall down stairs!' by the green armor on The Hangar.

Share this post


Link to post

I actually was wondering about that myself. Had it happen several times recently, which reminded me I wanted to ask about it. It seems like it usually happens if the monster was walking forward at the time they died, so their momentum gets carried over into the "fall off the edge" movement instead of just falling backwards.

Hellbent said:

one of the early memories of doom and going 'hahahahahaha! guy fall down stairs!' by the green armor on The Hangar.


Heh. Now I'm thinking of the landlord from Coming To America:

"Don't be pulling that falling down the stairs shit!"

Share this post


Link to post

ah i had been wondering if it was some sort of some physics glitch or something in skulltag because i really never noticed it in the dos ports.

yeah that is funny, especially if the enemy flies through you... but how come that only happens to me if i use a chaingun or dragon claw?

Share this post


Link to post

I just had that effect with the ethereal crossbow, so...

Share this post


Link to post

I first discovered this "jump forward" action when using a DEH (DeHackEd) patch to set the "hit points" of every monster to "1" and set the "mass" of every monster to "15." Any monster on a ledge is likely to fly across the map if they are hit with any hitscan weapon. Exploding barrels actually had less of an effect on their flight distance.

Share this post


Link to post
40oz said:

There's no reason for the monsters to do that unless it were so you could comically see them fall down a set of stairs.


I'm fairly sure this was a feature request for the engine made by John Romero, for this exact reason.

Share this post


Link to post

Interesting. I don't think I've ever noticed this in Doom, or if I have I just wrote it off as "random glitchy Doom physics," but I have noticed that killing stuff with the dragon claw in Heretic often gets you a face full of corpse. I guess the effect is more pronounced in Heretic as a single shot of a dragon claw is more powerful than one pellet in Doom, so thrust gets multiplied to a higher value. This must be another one of those artifacts of Doom code that really shouldn't be in Heretic.

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
×