Cleanup is going to take awhile, so the site is back up but editing has been disabled.

Breakable Glass

From HalfLife 2 Knowledge Base

Jump to: navigation, search

by Taz00

In this tutorial we create a breakable window that shatters like the ones found in the map cs_office. We will be using two entities, func_breakable_surf, and env_cubemap.

How to make breakable glass

First we need to make a block brush, then apply the toolsnodraw texture to the whole brush, then apply glass/glasswindowbreak070a to the face you want to be seen.(shift+a)

glass2.jpg

Now select the brush and tie to entity ( CTRL + T ), and scroll down until you find func_breakable_surf hit apply and close the properties window.

glass3.jpg

Now add a env_cubemap (not needed but gives the window a shiny effect) open the properties for the env_cubemap and click the "Pick" button, then click the window. Hit apply and close the properties window.

glass4.jpg

That’s it, now just compile it!

It will look like this when in-game:

glass1.jpg

Personal tools