Jump to content

High Jump Boots


obake

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...