Skip

From Valve Developer Community
Revision as of 21:24, 21 January 2022 by Popcorn (talk | contribs) (Used templates Lang, Back. Added image. Used summary of the paragraphs as their first sentence.)
Jump to navigation Jump to search
English (en)Русский (ru)Translate (Translate)
Tool Textures
Toolsskip.gif

Skip is a tool texture that tells the compiler (VBSP) to skip processing the brush face which is textured with it. It still exists inside the map although the engine ignores it at run-time.

The Skip texture is used especially for Hint brushes. It is applied to the surfaces on brushes with the Hint texture that should not be used to break up visleafs (or leafs in short). Usually, a brush used for hinting has the Hint texture on one or two surfaces and the Skip texture on the rest. The Skip texture does nothing more than make the tools skip the brushsides they are applied to; They owe this property to the %compileskip VMT parameter.

The Skip texture can also be used to help preserve exact grid positions of other objects. Enveloping a group of precisely placed objects, inside a normal brush on par with a larger grid size, and then selecting these components together with the brush, will preserve the exact grid positions of the components when the group is moved according to the gridsize of the enveloping brush. As this brush is merely a tool for the design phase, covering the enveloping brush with the Skip texture will prevent this brush from being processed into the map. For detailed instructions, see the prefab article.

Warning.pngWarning:Never texture the faces of a brush with the Skip texture combined with non-tool textures. Texturing a brush entity with this texture will remove components of it from the map, which not only may result in compile errors like "bmodel 36 has no head node" but may also crash the game engine on load. Texturing a world brush with this is fine as long as the only other textures on the brush are also tool textures. Using anything but tool textures causes bugs in-game.

See also