Clip texture

From Valve Developer Community
Revision as of 19:19, 16 February 2011 by MossyBucket (talk | contribs) (Beware the invisible walls!)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Clip textures are invisible tool textures that limit movement, typically of the player(s). In source, the general dedicated clip texture is Clip, but alternatives are Player Clip, (Player) Control Clip and NPC Clip. However, any unrendered brush or model can fill this role.

There are good techniques and there are bad techniques when it comes to using clip brushes to limit the player's movement.

Good techniques are the ones that keep the player away from possibly getting entagnled and stuck in complicated brushwork such as in between a tree and a hill, or amidst the cracks of several rocks, forcing the player to restart. However, wedge-shaped clip brushes can also be used to prevent the player from getting stuck on small detail brushes like window sills or buttons while trying to run somewhere, and to prevent the player from jumping up on top of an all too narrow fence or window sill.

Bad techniques are known as invisible walls, that block the player from heading into a corridor that he's not "supposed" to be in. Apart from frustrating him, this takes the player out of immersion by making it clear to him that he's playing a game.