Tremulous Forum

Mods => Modding Center => Topic started by: ACKMAN on November 04, 2008, 07:04:47 pm

Title: {SOLVED}Making splash damage for MD
Post by: ACKMAN on November 04, 2008, 07:04:47 pm
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*
Title: Re: Making splash damage for MD
Post by: googles on November 05, 2008, 02:31:32 am
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
Title: Re: Making splash damage for MD
Post by: ACKMAN on November 05, 2008, 02:37:55 pm
Thank you, ill look there :D
Title: Re: Making splash damage for MD
Post by: ACKMAN on November 06, 2008, 07:16:29 pm
Thanks :3

FIXED

Close please