News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Coding

Reply
 
Thread Tools Display Modes
Old 10th Jul 2003, 04:01 AM   #1
jlebrech
Registered User
 
jlebrech's Avatar
 
Join Date: Jul. 10th, 2003
Posts: 5
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?
jlebrech is offline   Reply With Quote
Old 10th Jul 2003, 06:32 AM   #2
Mr_Evi1
International arms dealer
 
Mr_Evi1's Avatar
 
Join Date: Jan. 4th, 2003
Location: UK
Posts: 312
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
Mr_Evi1 is offline   Reply With Quote
Old 10th Jul 2003, 08:47 AM   #3
jlebrech
Registered User
 
jlebrech's Avatar
 
Join Date: Jul. 10th, 2003
Posts: 5
Thanks for that, now how do i overide that variable do i do a newpawn derives pawn??
jlebrech is offline   Reply With Quote
Old 10th Jul 2003, 12:42 PM   #4
Wormbo
 
Wormbo's Avatar
 
Join Date: Jun. 4th, 2001
Location: Germany
Posts: 5,781
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/JDN | 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!"
Wormbo is offline   Reply With Quote
Old 11th Jul 2003, 12:42 AM   #5
Konma
Have u ever seen the truth?
 
Konma's Avatar
 
Join Date: May. 22nd, 2002
Location: Germany
Posts: 17
or u can overwrite the takefallingdamage function
__________________
Global Warzone
http://www.globalwarzone.net
Konma is offline   Reply With Quote
Old 11th Jul 2003, 03:07 AM   #6
jlebrech
Registered User
 
jlebrech's Avatar
 
Join Date: Jul. 10th, 2003
Posts: 5
Wow, there's loads of ways.

I also found you can recode preventdeath.

Thanks guys
jlebrech is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:24 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer