Page 1 of 1

The math behind radiusdamage

Posted: Tue Feb 15, 2005 7:32 pm
by Rookie One.pl
Hi,

I need to write up something that would work as similar to radiusdamage as possible and I need to know how to count the amount of damage that should be dealt at specific distance from the centre of an explosion. Anyone knows the logic/math that lies behind this? I just know that the further from the explosion the less damage you get... Some kind of equation maybe?

Thanks in advance,

Rookie One

Posted: Tue Feb 15, 2005 7:36 pm
by Rookie One.pl
That's what I thought at first... I'll give it a try and see.

<EDIT>Yeah... Lol. :P Weird. ;)</EDIT>

Posted: Tue Feb 15, 2005 7:38 pm
by jv_map
It's most likely lineair (max damage at center, reduces to zero at boundary).

Edit: wow I think our posts got mixed up :shock:

Posted: Tue Feb 15, 2005 8:22 pm
by Green Beret
:mrgreen:
wow,some wierd stuff.

Posted: Tue Feb 15, 2005 11:12 pm
by tltrude
radiusdamage $random_explode7_origin 256 384

Well, If jv_map is right, the two number are, max damage at center, and the linear damage radius.

However, I have always thought of them as, the kill radius, and the linear damage radius.

Posted: Tue Feb 15, 2005 11:25 pm
by Elgan
MATHS!!!!!!!!


MATHS!

Maths has a s!