Glass which breaks -solved-
I want a panel, which breaks:
a. When an exploding futbol is shot at it
b. When it is shot multiple times by a turret
NOT, when you throw physic objects at it.
I know how to make physboxes or prop_dynamics for the glass. My main problem is more to find out, whether this is possible and which trigger I should use for this.
Func_brush as the visible wall. Call it ex. "brush"
Func_breakable as the invisible wall (With invisible texture)
Make the breakable the same place as the func_brush.
Then give the breakable the outputs: OnBreak; brush; kill
Experiment with the settings on the breakable
http://developer.valvesoftware.com/wiki/Breakable_Glass
Try here, it may be for hl2 but same concept
beecake wrote:
Then give the breakable the outputs: OnBreak; brush; kill
for extra fun, you could spawn a few glass shards (prop_dynamic), there are a few models available, and although they don't look exactly the same as the non-broken glass, it might look reasonably convincing. I'm currently working on a map where i do exactly that.
spongylover123 wrote:
http://developer.valvesoftware.com/wiki/Breakable_Glass
Try here, it may be for hl2 but same concept
Yes I was going to say that there was a func_breakable_surf that made glass looked like it breaks. Is it in portal?
chickenmobile wrote:
spongylover123 wrote:http://developer.valvesoftware.com/wiki/Breakable_Glass
Try here, it may be for hl2 but same conceptYes I was going to say that there was a func_breakable_surf that made glass looked like it breaks. Is it in portal?
Technically portal uses hl2 so I guess it is, maybe
I could submit the vmf if someone wants it. The glass doesn't break with phyisic subjects, but with turret bullets and bombs.
Spam Nugget wrote:
thats kinda awesome, and just saying but you know theres actually a valve instance for this?
Yes but it breaks if a cube, Ball etc. Hits it
Spam Nugget wrote:
yeah but it aint that hard to open it up, change the flags on the trigger and save under a new name?
No you are right 