How to block a laser beam?

Avatar
DaMaGepy
361 Posts
Posted May 26, 2011
I have a room where there is a glass, laser on its left side and turrets on the roghtr. I only use it so the player can see whats on the other side, but I dont want the player to be able to burn them with a laser-redirection-cube. I tried everything, funcdetail, a solid or a solid brush glass dont work. Also tried normal solid textured with noclip, nodraw, invisible, clip, blockbullets, but none of them worked. Only a solid textured with a solid can block it, or is there any way to keep it somehow transparent but to vlock the laser?
Advertisement
Registered users don’t see ads! Register now!
Avatar
p0rtalplayer
1,366 Posts
Posted May 26, 2011
Replied 1 hour later
Hmm...I doubt this is the best way, but perhaps you could try having a func_brush with a solid texture, but with the alpha at 0?
Avatar
msleeper
4,136 Posts
Admin
Posted May 26, 2011
Replied 3 minutes later
Won't a brush with the tools/toolsinvisible texture do this?
Avatar
NocturnalGhost
200 Posts
Posted May 26, 2011
Replied 1 minutes later
The glass models block lasers (eg: glass_192x128_b.mdl), or you could use a non-glass texture on a func_brush, with the "render mode" and "FX amount" fields filled in to make it transparent. FX amount should be lower number for more transparent, and higher for less. I forget the render mode needed for transparency, try "texture" for a start.
Advertisement
Registered users don’t see ads! Register now!
Avatar
DaMaGepy
361 Posts
Posted May 26, 2011
Replied 27 minutes later

msleeper wrote:
Won't a brush with the tools/toolsinvisible texture do this?

no, I tried everything: tools/ invisible, nodraw, clip, etc, also as solid / func_brush (solid) etc.
will try that alpha thing with a non-glass behind a glass block...

...but using a glass prop worked, thanks NocturnalGhost!