Download (direct link):
*3 â–º o 3 I J I
â– r â€”r \ y f
Before you draw your brush, you should locate and select the Nodraw texture. Because all but one side of the brush is going to be textured with the Nodraw texture, it makes sense to start with this one. To find it, load up the Common texture set. This is where you will find the Nodraw texture. It looks like a darker version of the Caulk texture except that it has the word Nodraw written on it, as shown in Figure 10-9.
The Nodraw texture is completely ignored by the game.
120 Part III: Expanding Your Creation
1. With the Nodraw texture loaded, create a brush that fits into the hallway corner.
This brush needs to be large enough to cover the area you plan to split, so in the example map you need to drag out the brush to 192, -384 on the X,Y axis, as in Figure 10-10. Also, make sure that it meets up with your ceiling and floor. This brush needs to meet all four walls of the hallway and create a seal.
Create an oversized brush to clip on the diagonal for your portal brush.
2. Split the brush on a diagonal by using the Clipper tool.
Press X to turn on the Clipper, and then place two cutting points over your portal brush. The easiest way to do this is to place your first point on the tip of the inner corner in the hallway and the other point one grid line down and to the right on the diagonal, as shown in Figure 10-11.
In Figure 10-10, you might be surprised that the second point wasnâ€™t even placed outside of the brush youâ€™re clipping. The clipping line will be created along the points regardless of where you place them. Placing the two points so close together makes it easier to create a 45-degree cut.
If you find that youâ€™re cutting off the wrong half of the brush, then before pressing Enter to activate the cut, press Ctrl+Enter to flip your selection.
With your clipping selection made, press Enter to cut the brush.
3. Texture the portal side of the brush with the Visportal texture.
Deselect everything, and then load the Editor texture set. Select the angled brush face that you just clipped. Then select the Visportal texture. The Visportal texture is colored with two shades of green in the same pattern as the Caulk texture, and it has the words vis portal written on it, as shown in Figure 10-12. The result will be a brush that has the Visportal texture on one side and the Nodraw texture on all other sides.
Chapter 10: Building with Optimization in Mind 121
Your cutting points can be placed anywhere in your map to create the clipping plane.