Exploding Brushes. What the hell?

L

Lithium893

Guest
Okay I'm trying to make a brush that explodes and damages the player when you shoot it, I have a brush tied to a func_breakable entity with explosion damage on 100 and explosion radius set to 400. When I play my map the brush just breaks like normal, what am I doing wrong?
 
instead try using a prop_physics entity that has a break model, go into its properties and set it to explode when broken, it should have all the same options, I believe it just needs tweaking + there may be a third option on the list that needs to be enabled to allow it to hurt the player, I managed to get wooden crates to explode and do damage this way :)
 
If its a once off use, you could try this.

Make your func_breakable, set the required fields to what you want, ignore the explosions ones though. Now place an Env_explosion inside the door, give it a name of exp or something, change the settings to what you want.

Now go back to your breakable door, goto the outputs tabs and click add and put this is:

My Output named: OnHealthChanged
Target entities named: exp
Via this input: explode

Put a delay if needed, and click the fire once box. This should make the func_breakable explode once its health has been changed (IE, shot once and boom) You could also change the OnHealthChange to OnBreak so it would explode when the wall breaks.

If you want it to keep hurting people, untick firce once and give your wall a really high health value, then every time it gets shot it will triger an explosion. It would be best to put a delay in in this scenario though.
 
Hmmm, thanks it works. I already tried using a env explosion and it didn't work but I tried it again doing it like you said and it worked, maybe I just missed an option.
 
Back
Top