![]() |
|
|
#1 |
|
Disable Landing damage
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? |
|
|
|
|
|
|
#2 |
|
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.
__________________
http://come.to/MrEvil |
|
|
|
|
|
|
#3 |
|
Thanks for that, now how do i overide that variable do i do a newpawn derives pawn??
|
|
|
|
|
|
|
#4 |
|
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.
__________________
Wormbo's UT/UT2004/UT3 mods | YouTube channel | PlanetJailbreak | Unreal Wiki | Liandri Archives Everything you ever wanted to know about replication | UnrealScript security considerations <elmuerte> you shouldn't do all-nighters, it's a waste of time and effort <TNSe> nono <TNSe> its always funny to find code a week later you dont even remember writing <Pfhoenix> what's worse is when you have a Star Wars moment <Pfhoenix> "Luke! I am your code!" "No! Impossible! It can't be!" |
|
|
|
|
|
|
#5 |
|
or u can overwrite the takefallingdamage function
|
|
|
|
|
|
|
#6 |
|
Wow, there's loads of ways.
I also found you can recode preventdeath. Thanks guys
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|