News:

Come Chat with us live! Learn how HERE!

Main Menu

{SOLVED}Making splash damage for MD

Started by ACKMAN, November 04, 2008, 07:04:47 PM

ACKMAN

Well... I'm making a 'mod' and now i wanna add splash damageknocback. I don't know all tremulous code. So, i just ask.

"what should i do to add splash knockback to MD?"


I 'searched' in the code and i've got an idea about how to make it. But... i'm not sure.


*SPAM*

googles

#1
Splash being within the area of the shot correct? <.< if so..look at trap_EntitiesInBox. This will gather all the entities within a defined bbox. Or for an example of its usage, look for G_RadiusDamage in g_combat.c

ACKMAN


ACKMAN