obake Posted April 22, 2015 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? 0 Quote Share this post Link to post
scifista42 Posted April 22, 2015 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 12It should temporarily change the default value of player's jump height while the powerup lasts. 0 Quote Share this post Link to post
obake Posted April 28, 2015 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? 0 Quote Share this post Link to post
scifista42 Posted April 28, 2015 ^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. 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.