Game Development Community

Particle Emitters, Quick easy question

by Tim Heldna · in Torque Game Engine · 04/19/2005 (1:59 am) · 5 replies

I put this resource in www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2884 and it works great. What it does is give the ability for different explosions when a projectile hits a player object.

What i want to do now is turn off the smoke puff partilce you see when you shoot another player and only have the new blood puff particle display. At the moment it is playing both of these particles on shooting a player.
I still wanna keep the smoke puff when the ground or a wall etc is hit, just not when the player is hit.

Can anyone tell me what i need to do please?

Thank You
-Tim

#1
04/20/2005 (12:28 am)
Random guess: Check to see what the projectile hit, and don't spawn an explosion if you hit a player?
#2
04/20/2005 (12:39 am)
Or use a different explosion if you hit a player?
#3
04/20/2005 (2:55 am)
@ Josh

Quote:Or use a different explosion if you hit a player?

This is the quesion i'm asking, how do you do this?
#4
04/20/2005 (3:31 pm)
Find code where projectile spawns explosion, check type of collided object, switch between different explosions depending on type.
#5
04/21/2005 (3:58 am)
Exactly what Ben said. You might want to have different explosions for terrain, interiors, and players.