|
Back to Tutorials Page
Creating Glass
By Matrixfan Last changed
Sep 09, 2006
This tutorial will walk you through the process of creating
three different types of glass: unbreakable,
shatterable, and breakable.
The completed map
can be downloaded from
here.
Unbreakable Glass
The process of creating
unbreakable glass
in Counter-Strike: Source is much easier than in 1.6, involving only
textures and no entities.
Create a brush that will serve as your pane of glass, apply the "toolsnodraw"
texture to all sides. To make the glass transparent, open the
Texture Application tool and apply a glass texture to all sides that
you can see; for this tutorial I used "offwndwb". Click the
"Fit" button so that the texture will fit appropriately.
In game:
Shatterable Glass
Shatterable glass
involves textures and entities.
Create the glass brush,
applying the "toolsnodraw" texture to all sides. This time, instead
of applying the glass texture to all visible sides, apply it only to
one visible side. Fit the texture as needed.
Select the brush, right
click and "Tie to entity". From the drop down menu select "func_breakable_surf".
Click apply and the glass will be complete.

In game:
Breakable Glass
Follow the steps for
creating unbreakable glass, be sure you apply the glass texture to
both sides. Select the brush, right click and "Tie to entity".
Choose "func_breakable" from the drop down menu. The default
Strength of 1is too weak, so change it to something higher like 30.
Click apply and your breakable glass is done.

In game:
Final Result
Congratulations, you have successfully added glass to your map!
I hope this tutorial was easy to understand, if you have any
questions or comments, I can be reached at
matrixfan@countermap2.com
Back to Tutorials Page
|