Page 1 of 1
Particles on Death
Posted: May 30th, 2012, 8:02 pm
by donnelly517
I made a car and I want to have it explode on death. Is this possible in rpg mode?
Re: Particles on Death
Posted: May 30th, 2012, 10:20 pm
by chocolatepie33
I hate to do this, but I'm going to suggest you look into either Sauerbraten or Red Eclipse, as both have weapon-based explosions, which could help you in your search. Last I checked, Sandbox doesn't have support for triggering particles. You could edit the source code that controls the death sequence to do something, but I don't know what else you could do.
Re: Particles on Death
Posted: May 31st, 2012, 9:17 am
by jSoftApps
Well, you CAN trigger the particles, but it has to be in C++. I recommend looking at the lava code because sandbox has flame particles emit when you contact lava.
Re: Particles on Death
Posted: May 31st, 2012, 12:58 pm
by Mike
Yeah I believe the death code is in that area too so it should be pretty easy

I'd just do a text search for the lava code, or death, and go from there since I can't remember offhand which file it is in. Chocolate please don't say something isn't possible if you are unsure. Take care.
-mike
Re: Particles on Death
Posted: May 31st, 2012, 4:26 pm
by chocolatepie33
@mike: sorry about that, I was referring to using FPS level triggers to somehow make it, say, start raining when you walk out of a building or something. Which would be cool, but I was told it wasn't possible in the current Sandbox version.
@jSoft: completely forgot about the fire.
Re: Particles on Death
Posted: May 31st, 2012, 6:50 pm
by donnelly517
I'll try it. Need some c++ practice anyway.
Re: Particles on Death
Posted: June 1st, 2012, 1:19 pm
by Mike
I might be doing some splash effects for when someone goes down in Watergun Wars so you can use that if you are unable to figure it out yourself
