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

High Jump Boots

Recommended Posts

I'm not quite getting what the zdoom wiki is saying about how the "HighJump" power up works:

http://zdoom.org/wiki/Classes:PowerHighJump

What I really want is to create a powerup that doubles the players jumping height temporarily. Quadrupling the players jumping height, as the default settings do, is WAY too much.

Is there any way to edit the power up so that it only doubles the jumping height?

Share this post


Link to post

Try this: Make your own powerup with the same definition as the HighJump one, but replace this line:

powerup.type "HighJump"
with this:
Player.JumpZ 12
It should temporarily change the default value of player's jump height while the powerup lasts.

Share this post


Link to post

Thanks for the suggestions, Scifista.

I've tried doing what you've said, but the game fails to load. The message I usually get is along the lines of 12 being an invalid parameter state for "Player.JumpZ". When I change it, the game still doesn't load.

I was wondering if perhaps to get this to work, I have to create an entirely new player class with the desired stat changes, and then have a powerup that temporarily switches to that class?

Share this post


Link to post

^That would work (combined with morphing).

And indeed, sorry, the code I gave you doesn't seem to work with Player.JumpZ. I had successfully made a powerup that temporarily changed player's Speed this way, but it doesn't work for a player-specific property (like Player.JumpZ is) for some reason.

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
×