www.tombraiderforums.com  

Go Back   www.tombraiderforums.com > Tomb Raider Series > Tomb Raider II

Reply
 
Thread Tools
Old 25-10-20, 12:25   #1
TwilightQueen
Hobbyist
 
TwilightQueen's Avatar
 
Join Date: Oct 2020
Posts: 21
Default [DATA] Numbers behind fall damage

In this thread, I will show you all the possible damage Lara can suffer from a fall in Tomb Raider II.
Might be applicable to TR1, TR3, TR4 and TR5 but it's only speculative.

For the purpose of this thread, fall damage implies that Lara doesn’t reach into water which would allow her to survive ridiculously high drops.

Fall damage chart:




Keep in mind drop height values were taken from tests in free fall conditions, the like of which you get when Lara falls through a collapsible floor or when a trapdoor opens below her feet.
Drop height values are prone to increases when external forces act on Lara, for example when she hits a ceiling or a wall.

To convert from units to sectors, simply divide by 1024. I chose the pushable block as a metric, since this object is a cube with an edge length of 1 sector/4 clicks/1024 units, and I think people visualize how high blocks/sectors are better than they would in-game units.

For a given range, minimal drop height and fall damage both have a formula associated to them:





The variable n is the range number.
I derived both formulas empirically, rather than looking at ASM.
For the damage formula, a floor is applied to the result.

Notes:

While Lara won’t take any damage at all from any fall below 2611 units high, I chose a drop height value of 2471 for range 0 for the sake of obtaining a viable threshold formula, as well as to synchronize the range variable for both formulas.

Any fall 4522 units high or more will technically kill Lara, but if her HP is set above 1000 she will survive a drop up to 4675 units high, the exact end of range 14. This is proof that range 14 actually uses the damage formula to apply the fall damage.

For range 15, the threshold formula predicts (correctly) a minimal drop height of 4676 units while the damage formula predicts 1147 HP damage. However the damage formula is no longer applicable beginning with range 15, and that’s because 4676 units is also where Lara reaches the point of no return (the scream) and any fall that high or more will ALWAYS KILL even if her current HP is set to 32767, its maximum value.

Last edited by TwilightQueen; 26-10-20 at 09:07. Reason: small clarification about testing conditions
TwilightQueen is offline   Reply With Quote
Old 25-10-20, 13:45   #2
Chamayoo
Relic Hunter
 
Chamayoo's Avatar
 
Join Date: Dec 2014
Location: The 90s museum
Posts: 6,583
Default

This is excellent ! Especially important for custom TR engines. For instance I worked on a Tomb Raider level on the game Dreams and I succeed to create fall damage, but it's even better with the real numbers.
Thank you very much !
__________________
Laura Crotch returns home to inherit Crotch Industries

Last edited by Chamayoo; 25-10-20 at 13:47.
Chamayoo is online now   Reply With Quote
Old 25-10-20, 16:26   #3
Woops
Archaeologist
 
Join Date: Oct 2017
Location: TX
Posts: 1,126
Default

this function decompiled from TR5 might interest you.
Woops is offline   Reply With Quote
Old 26-10-20, 09:00   #4
TwilightQueen
Hobbyist
 
TwilightQueen's Avatar
 
Join Date: Oct 2020
Posts: 21
Default

Quote:
Originally Posted by Woops View Post
this function decompiled from TR5 might interest you.
Code:
item->hit_points += -1000 * landspeed * landspeed / 196
Nice to see the damage formula is valid after all, also it pretty much unofficially confirms TR3 and TR4 use the same formula as well by proxy.
TwilightQueen is offline   Reply With Quote
Old 26-10-20, 17:02   #5
The Great Chi
The Inscrutable One
 
The Great Chi's Avatar
 
Join Date: Apr 2006
Location: Beyond the Floating Islands
Posts: 9,493
Talking

__________________
Humble words by The Great Chi
The Great Chi is online now   Reply With Quote
Old 26-10-20, 17:41   #6
tlr online
Administrator
 
tlr online's Avatar
 
Join Date: Jun 2000
Posts: 58,697
Default

Quote:
Originally Posted by The Great Chi View Post


TwilightQueen, welcome to the forum. Very nice research.
tlr online is online now   Reply With Quote
Old 27-10-20, 17:59   #7
_KC_
Historian
 
_KC_'s Avatar
 
Join Date: Oct 2011
Location: England.
Posts: 309
Default

Fall damage has often appeared random to me, so it's nice to have some numbers. Thought I'd say thanks for the effort, and thank you for sharing with the community.
__________________
"From this moment, your every breath is a gift from me"
_KC_ is offline   Reply With Quote
Old 28-10-20, 05:56   #8
bollweevil
Hobbyist
 
bollweevil's Avatar
 
Join Date: Jun 2019
Location: USA
Posts: 36
Default

Great stuff! Also nice one Chi
bollweevil is offline   Reply With Quote
Old 28-10-20, 22:54   #9
The Great Chi
The Inscrutable One
 
The Great Chi's Avatar
 
Join Date: Apr 2006
Location: Beyond the Floating Islands
Posts: 9,493
Default

One of the most controversial things about falling in TR2 was this....

Does dropping and rolling reduce damage?

I used to think it did as it was mentioned a lot on this forum, and so I did the 'drop and roll' move occasionally when hitting the ground. Maybe just because it made Lara look cool by doing a fancy move

But this guy below proves it never did reduce damage. I still wonder.
We need mathematical proof

__________________
Humble words by The Great Chi
The Great Chi is online now   Reply With Quote
Reply

Thread Tools

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



All times are GMT. The time now is 01:11.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.