Please or Register to create posts and topics.

Exploding a func_physbox

I am having trouble figuring out how to make an explosion to a func_physbox when it breaks. I've tried adjusting the Explosion damage / Explosion Radius, but that doest work. I've tried parenting an env_explosion to the func_physbox, but the evn_explosion doesn't follow the box, and just stays where I created it. I am spawning the physbox from a point_template / env_entity_maker. Any Ideas?

Maps(Newest to Oldest): Storming the Castle / The Amazing Race / Wreaked / Mental Breakdown / Lost In Transition / Split / Mind Lock
Mapping Since May 21, 2011

You need to make the explosion be part of the point_template which it is spawning, otherwise it will not parent to the physbox when it spawns.

For example I made a beanie parented to a physbox, you have to put all objects you want spawned at the same time in the point_template.
Image

?????????????????????????????TWP Releases | My Workshop

ahh thanks, I had tried making the explosion have its own point_template / env_entity_maker, but that didn't work.
*Edit*
Now i'm actually having a problem where, when the physbox touches anything, it breaks, but it doesn't trigger the explosion. But if I respawn the physbox, before it touches anything, it does trigger the explosion. Weird. It's parented fine, but when the box breaks from touching stuff, it doesn't work.
I feel like the env_explosion is being destroyed when it hits the ground, so it is not triggering. But then that would mean I would have to figure out how to make it trigger before the physbox gets destroyed? grrrr
*edit2*
My getto way of getting this to work, was to make another physbox, surrounding the first physbox, and had that one brake when it touched things, and told the first physbox to break, and then that one told the explosion to trigger...

Maps(Newest to Oldest): Storming the Castle / The Amazing Race / Wreaked / Mental Breakdown / Lost In Transition / Split / Mind Lock
Mapping Since May 21, 2011
baca25 wrote:
My getto way of getting this to work, was to make another physbox, surrounding the first physbox, and had that one brake when it touched things, and told the first physbox to break, and then that one told the explosion to trigger...

That does sound ghetto... cannot think of why that might be happening though.

?????????????????????????????TWP Releases | My Workshop