Game Development Community

RESOLVED Fix/Alter Falling Damage Request

by Steve Acaster · in Torque 3D Professional · 01/15/2010 (12:37 pm) · 4 replies

Really just duplicating this post here in the 1.0.1 bug forum about "Fall Damage" no longer working.

I've put the resource fix I mention there into my code - but it would be nice to get a ((%damage)x(%per-second-of-falling)) as it would make it easier for the would be game developer to know exactly how much damage a player would take from a certain height. and no, I have no idea of how to accomplish this ...

RESOLVED IN 1.1B2

#1
01/15/2010 (1:21 pm)
I remember that I fixed this for myself:
www.torquepowered.com/community/forums/viewthread/105737
#2
01/15/2010 (2:12 pm)
Actually that might have been the fix that I'm using .... just found Davide's on a search.
#3
01/16/2010 (12:05 am)
After much faffing around with both code and the player's script, I found that player.cs/drag = 1.3 was slowing the player's fall down considerably, and dropping i to 0.3, with MinImpactSpeed=20 and SpeedDamageScale=4 gives a fairly decent balance to fall damage and impulse damage whilst using Ivan's code change.
#4
06/06/2010 (3:09 pm)
Logged as TQA-287.