View Full Version : Disable Landing damage
10th Jul 2003, 05:01 AM
Is there a way of disabling landing damage? because im doing a jump boot mutator to learn a little.
Do i need to derive the gamerules class, the pawn class or somthing else?
And how do i replace the default pawn for the new derived versions?
10th Jul 2003, 07:32 AM
I don't know if you can disable it completely, but how far a pawn can fall before taking damage is controlled by 'MaxFallSpeed'. Set it to a very high value and fall damage will cease to be a problem.
10th Jul 2003, 09:47 AM
Thanks for that, now how do i overide that variable do i do a newpawn derives pawn??
10th Jul 2003, 01:42 PM
In a mutator it's enough to modify that property in ModifyPlayer(). You can check the QuadJump mutator for an example for a similar problem.
11th Jul 2003, 01:42 AM
or u can overwrite the takefallingdamage function
11th Jul 2003, 04:07 AM
Wow, there's loads of ways.
I also found you can recode preventdeath.
Thanks guys :)
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.