Tomb Raider Forums  

Go Back   Tomb Raider Forums > Tomb Raider Series > Tomb Raider II

Reply
 
Thread Tools
Old 25-10-20, 12:25   #1
TwilightQueen
Member
 
TwilightQueen's Avatar
 
Joined: Oct 2020
Posts: 30
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
Member
 
Chamayoo's Avatar
 
Joined: Dec 2014
Posts: 10,492
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 !

Last edited by Chamayoo; 25-10-20 at 13:47.
Chamayoo is offline   Reply With Quote
Old 25-10-20, 16:26   #3
Woops
Member
 
Woops's Avatar
 
Joined: Oct 2017
Posts: 1,502
Default

this function decompiled from TR5 might interest you.
Woops is offline   Reply With Quote
Old 26-10-20, 09:00   #4
TwilightQueen
Member
 
TwilightQueen's Avatar
 
Joined: Oct 2020
Posts: 30
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
 
Joined: Apr 2006
Posts: 9,513
Talking

The Great Chi is offline   Reply With Quote
Old 26-10-20, 17:41   #6
tlr online
Tomb Raider Forums
 
tlr online's Avatar
 
Joined: Jun 2000
Posts: 61,624
Default

Quote:
Originally Posted by The Great Chi View Post


TwilightQueen, welcome to the forum. Very nice research.
tlr online is offline   Reply With Quote
Old 27-10-20, 17:59   #7
_KC_
Member
 
_KC_'s Avatar
 
Joined: Oct 2011
Posts: 311
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.
_KC_ is offline   Reply With Quote
Old 28-10-20, 05:56   #8
bollweevil
Member
 
bollweevil's Avatar
 
Joined: Jun 2019
Posts: 40
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
 
Joined: Apr 2006
Posts: 9,513
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

The Great Chi is offline   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 15:14.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Tomb Raider Forums is not owned or operated by CDE Entertainment Ltd.
Lara Croft and Tomb Raider are trademarks of CDE Entertainment Ltd.