One-way glass

Avatar
Zephlon
19 Posts
Posted Jul 17, 2011
For a Portal 2 co-op map I'm working on, I need a see-through floor that everything can fall through except the players. But when viewed from below, it appears as a ceiling.

When I make a brush with a solid texture and then apply tools_playerclip to the top face, you can see through the bottom too. Everything else I try has a similar effect.

Advertisement
Registered users don’t see ads! Register now!
Avatar
Skotty
671 Posts
Posted Jul 17, 2011
Replied 17 minutes later
Make the brush with the player clip and create another brush with the "func_brush" entity. That will be your visible ceiling. Set it's keyvalue Solidity to Never Solid.
Avatar
Zephlon
19 Posts
Posted Jul 17, 2011
Replied 7 minutes later
Thank you. That worked perfectly.
Avatar
Zephlon
19 Posts
Posted Jul 17, 2011
Replied 1 hour later
[s]I have a somewhat related question:[/s]
[s]How can I have a solid brush that you can shoot portals through?[/s]

Nevermind, I figured it out.

btw, the strike-through bbcode doesn't work.

Avatar
iWork925
1,080 Posts
Posted Jul 18, 2011
Replied 1 day later
[s]Maybe it doesn't like you[/s]
Avatar
ChickenMobile
2,460 Posts
Posted Jul 22, 2011
Replied 3 days later
It likes me How ironic!
Avatar
satchmo
415 Posts
Posted Jul 23, 2011
Replied 16 hours later
Actually, this is very easy to do.

Simply texture one surface of a regular brush with a glass or nodraw texture, you automatically get a one-way mirror.

No need for brush entities.

Avatar
Zephlon
19 Posts
Posted Jul 23, 2011
Replied 8 hours later
But will that allow everything except players to fall through?
Advertisement
Registered users don’t see ads! Register now!
Avatar
Skotty
671 Posts
Posted Jul 24, 2011
Replied 5 hours later
No, it will block everything.