Game Development Community

Making explosions match up with damage radius?

by eedok - Cody Hollis-Perdue · in Torque Game Engine · 04/09/2008 (1:05 pm) · 1 replies

Sorry for the flurry of questions, but here's another, it seems the size of the explosion from the crossbow doesn't match the damage radius I changed the crossbow bolt to

Now my problem is I can't see where the size of the resulting explosion is defined,, as my end goal would be just to make the size of the explosion based on the projectile's damage radius.

So where would I make changes to make the size of the explosion the same size as the damage radius?
Thanks

#1
04/09/2008 (1:28 pm)
You would need to make changes to the explosion particle effects for the crossbow. Their datablocks begin at around line 374 in crossbow.cs. The explosion effect is actually the combination of about 3 or 4 different particles, and there are alternate ones for firing into/under water.