* May 25, 2013, 02:11:57 PM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Come Chat with us live! Learn how HERE!
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: {SOLVED}Making splash damage for MD  (Read 1202 times)
ACKMAN


Turrets: +9/-20
Posts: 342


« 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*
« Last Edit: November 06, 2008, 07:16:52 PM by ACKMAN » Logged
googles


Turrets: +30/-19
Posts: 219


« Reply #1 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
« Last Edit: November 05, 2008, 02:34:29 AM by googles » Logged
ACKMAN


Turrets: +9/-20
Posts: 342


« Reply #2 on: November 05, 2008, 02:37:55 PM »

Thank you, ill look there Cheesy
Logged
ACKMAN


Turrets: +9/-20
Posts: 342


« Reply #3 on: November 06, 2008, 07:16:29 PM »

Thanks :3

FIXED

Close please
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
TremPlus theme by Ingar, based on AF316 theme by Fedhog
Valid XHTML 1.0! Valid CSS!