Game Development Community

Throwing player gibs...

by Maxim Lyulyukin aka "Robomaniac" · in Torque Game Engine · 07/27/2007 (2:41 am) · 4 replies

Hello PPL!!

I have ingame situation, when i must throw gibs of the dead player... how can i do this??
as i found in player.cs there is "debris" section and was trying to use "playerDebris" to drop some gibs after players death but failed...
can anybody show me thread on the forum or just show me the way to solve this?

#1
07/27/2007 (3:21 am)
Sounds like the player debris function is exactly what you're after, pity it doesn't work. I'm using an explosion debris for a wheeled vehicle and that works just fine, I think somewhere along the line the player debris was broken and have never bothered to investigate it as I have no need for such a feature.

Sorry I can't be much help, check out the player source files and perhaps you can find the fault and fix it.
#2
07/27/2007 (3:46 am)
Anybody have more detailed answer?
#3
07/27/2007 (4:39 am)
Hey Max, Im not a coder, but from what I hear AFX is extremely flexible to put fx anywhere at any time, I think that could help you do a lot of gibbage easier. Just an Idea.
#4
07/27/2007 (7:00 am)
Thanks, it seems i must use explosion to throw gibs and a bit blood around