Skip: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 3: Line 3:
}}
}}


'''Skip''' is a [[tool texture]] that tells the compiler to completely skip the brush face which is textured with it.
'''Skip''' is a [[tool texture]] that tells the compiler ([[vBSP]]) to completely skip the brush face which is textured with it (it doesn't exist in a built map).


Skip textures are applied to the surfaces on brushes with [[Hint]] textures that should not be used to break up [[visleafs]] (or leafs in short). Usually, a brush used for hinting has a hint texture on one or two surfaces and skip textures on the rest. Skip textures do nothing more than make the tools skip the brushsides they are applied to; they owe this property to the [[%compileskip]] .VMT parameter. For the usage of hints, see the [[hint brush]] section.
Skip textures are applied to the surfaces on brushes with [[Hint]] textures that should not be used to break up [[visleafs]] (or leafs in short). Usually, a brush used for hinting has a hint texture on one or two surfaces and skip textures on the rest. Skip textures do nothing more than make the tools skip the brushsides they are applied to; they owe this property to the [[%compileskip]] .VMT parameter. For the usage of hints, see the [[hint brush]] section.
Line 10: Line 10:


{{warning|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.}}
{{warning|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.}}
{{note|Texturing a world brush with this is fine as long as the only other textures on the brush are tool brushes. Using anything but tool brushes bugs out in-game. Examples:}}
<gallery>
File:Proper_skip.png|Never use normal textures with Skip. Use only tool textures.
File:Proper_skip_ingame.png|Evidence to support that Skip bugs out when using normal textures. Compiled version of the other picture on the left.
</gallery>


[[Category: Glossary]] [[Category: Level Design]]
[[Category: Glossary]] [[Category: Level Design]]

Revision as of 10:40, 3 January 2018

Template:Otherlang2

Skip is a tool texture that tells the compiler (vBSP) to completely skip the brush face which is textured with it (it doesn't exist in a built map).

Skip textures are applied to the surfaces on brushes with Hint textures that should not be used to break up visleafs (or leafs in short). Usually, a brush used for hinting has a hint texture on one or two surfaces and skip textures on the rest. Skip textures do nothing more than make the tools skip the brushsides they are applied to; they owe this property to the %compileskip .VMT parameter. For the usage of hints, see the hint brush section.

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 help 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 in Skip textures will prevent this brush from being compiled into the map (and leaving traces of itself in-game). (For detailed instructions, see the prefab article.)

Warning.pngWarning: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.
Note.pngNote:Texturing a world brush with this is fine as long as the only other textures on the brush are tool brushes. Using anything but tool brushes bugs out in-game. Examples: