The goal of this tutorial is to make a glass window
(unbreakable for now) where the players can see through it from
one side, but not from the other. It's "tricky" how it works, but
not impossible to do. Here's how.
First Step
Make the general opening where your one way glass will
be. Here is how I've done it in WorldCraft...
Next, make a very thin brush, and texture it on ONE
side with the {BLUE texture, and the OTHER side
with a glass texture. Here are the two views in WorldCraft...
OK, now you're probably wondering what we are going to
do with that brush that's blue on one side, and glass on the other
side. Well, we are going to make it a func_wall
and then we are going to set it to use Render Mode
of solid and FX Amount of 255. What
will this give us? Well, it's' the same rendering you'd set up for
a railing, ladder, or fence. Anything blue is invisible. So what
we end up having is a brush that is "clear" on one side (the blue
side) and "not clear" on the other side!
You could stop right now, but it would not look good.
Why? Well, you would have the glass you can't see through on one
side, and a completely transparent (as in, you see nothing) window
on the other. That wouldn't look right at all. So what do we do?
Easy. Just put a faint brush over the blue side that looks like
glass. You'll see it on the "see through" side and it will give
the illusion of glass.
OK, here's a picture in WorldCraft where I've created the new
brush...
Now, we need to do a "toEntity" on this brush, and make it a
func_wall. Then, set it's Render
Mode to Additive and it's FX
Amount to 150. This will give you a relatively
dense piece of glass, which will fit well with the "look" of a 1
way glass.
I also made an animated GIF image "movie" for of this level.
It's big (about 500K), so don't download it unless you're on a
good connection. You can view it here.
Downloading the map
I've Zip'ed up the RMF, Map, and BSP file for you to
try out. You can You can download it here.
Site design by Mike
Mates of: Urban Influence
Design Studios / Scripting by: Tim "Waldo" Holt / All content,
design, images, and code are the property of it's rightful owner, and
may not be used outside of the
Counter-Strike Network, without written consent of it's owner.
Please send any complaints, in as vulgar a form as possible to our
complaint monkey: vonderek