See the attached screenshot, I supposed it was normal :S
And of course, if I click on a cell where there is no terrain, BOOM assert() fails and the application crashes :O
I don't know about the EU formula and I don't know if there's anything related in Zombie's + NKF's ufopaedia, but let me give it a wild shot.http://www.sciforums...ead.php?t=53810
Discussion on lethal jump height
How fatal a fall is, is definitely determined by the (de-)acceleration of the body. Large a -> Large F -> Bigger possibility to receive physical damage.
Let's make it simpler and suppose it's just a matter of height. (for the game at least, I guess a soldier will never fall on his head
It seems that a fall from the 4th floor (that would be aprox. 10 meters) is usually fatal. 10 meters, let's say that each xeno block is 2m. That would be 5 blocks.
Let's suppose that the average soldier has 60hp. A factor of 2 seems good, so... Let's say that you don't receive damage from a 1-cell fall (2 meters, that would be lame
). So, there are 4 blocks that can kill our soldier, 60 / 2^4 = 3,75. Let's round it a bit, 4.
if ( number_of_cells_of_the_fall >1 )
hp -= 4 * (number_of_cells_of_the_fall - 1);
In addition, U = mgh, so you could once again say that the whole potential energy is received by our unlucky victim, he starts receiving punishment for falls >2m etc etc etc (another way of thinking)
Very rough and simple, but hey at least I tried
Edited by kafros, 21 January 2008 - 03:03 PM.