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

Stomping on enemies?

Recommended Posts

Once upon a time, I had a WAD that had a simple, 3-ish line script (in the Player definition, IIRC) that allowed the Player to damage enemies when you jumped on them.

Between then and now, my PC crashed and I havent the faintest idea as to how to remake it.

Does anyone have such a script, or know how to go about doing this?


Share this post

Link to post

Seems to me, you do some kind of check to see if the player is airborne. If he is, it fires custom missiles downward from the player. These missiles would have to be the size of the player, move quickly, and die not long after spawning (a 1/2 second at most). Doesn't seem like it would be too hard in ZDoom, although it would be rather hacky and ugly. Some tweaking would be in order to make it work well, but it's a start I suppose.

In theory.

Share this post

Link to post


I put up a quick bugfixed version a couple of posts down, which might be worth a look (it prevents bouncing on lifts and decorations).

Share this post

Link to post

So you ARE just creating an invisible projectile and continually firing it at the ground. Nice.

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