home
about
maps
tutorials
1337 stuff
interviews
links
contact me

top.gif (199 bytes)


Making Shoot-trough-able grate - by Mazy

Here you will learn how to make "shoot-trough-able grate". Let's get ready to rumble!

First we make the gratebrush (256l, 4w, 192h). Let take the "{FENCE" texture. Now make it to an entity by Cntl-T'ing the brush. Now pick func_illusionary from the list, and input this info:

Render mode: Solid
Render Amount: 255

Now you're created the "form" of the grating. It should look like this:


You will notice, that if you compile the map, and walk over to the grating, you will be able to run trough it, this is not the purpose.

To fix this, you need a clipbrush. Clipbrushes are normal brushes, with the "CLIP" texture on all of its sides. What are clipbrush does, is that it make the area you place the clipbrush, unaccesable. You wont be able to step into the area where the brush is, so this is just what we need to fix the grating that we can walk through. What you do, is you copy your current func_illusionary (or make a new brush), and make it to a normal brush, and then add the clip texture. Then you place the brush, exactly where the func_illusionary is.
Now you're created your grating, that you can shoot trough, but yet not walk trough. Cool!

Note: The clipbrush will only work, if it's a normal brush. You will get an error, if you try to make it using an entity.

2001 © Morten "Mazy" Hedegren