Destroying a vent opening with a laser

Avatar
Jimo
29 Posts
Posted May 07, 2012
Decompiled sp_a2_laser_vs_turret and tried to figure out how they destroyed that vent opening with the laser. However I can't figure it out.

Does anyone know how to do this?

Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted May 07, 2012
Replied 3 hours later
Ever heard of... decompiling?
Avatar
Logic
298 Posts
Posted May 07, 2012
Replied 27 minutes later
If you don't need the actual vent/bars to become a physics object just use break on it when when the turret explodes. You probably need to add a trigger_push to make it fly tough...

If you want a vent to break just from being hit by a laser make a vent-looking prop_physbox and let it have a strength It might look a bit basic though.

Don't know how to make it any other way at the moment...

Avatar
Jimo
29 Posts
Posted May 07, 2012
Replied 3 hours later

chickenmobile wrote:
Ever heard of... decompiling?

Yes, I even said I decompiled it in my first post, it was the first thing I said even.

Quote:
If you don't need the actual vent/bars to become a physics object just use break on it when when the turret explodes. You probably need to add a trigger_push to make it fly tough...

If you want a vent to break just from being hit by a laser make a vent-looking prop_physbox and let it have a strength It might look a bit basic though.

Don't know how to make it any other way at the moment...

Thanks that makes sense now, I will give it a try tonight. Thanks for the tip.

Advertisement
Registered users don’t see ads! Register now!
Avatar
Vordwann
767 Posts
Posted May 07, 2012
Replied 1 hour later
I would personally make it a func_brush and then use a phys_convert on it. In that map it's not the laser that directly kills the panel. The laser kills a turret that most likely has an explosion entity triggered as an output when it is killed, causing the vent to break.