Template:Hl1 kv contents: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Minor clarifications)
Line 5: Line 5:
: '''-1:''' Empty
: '''-1:''' Empty
: '''-2:''' Solid
: '''-2:''' Solid
: '''-3:''' Water
: '''-3:''' Water (also disables backface culling)
: '''-4:''' Slime
: '''-4:''' Slime (like water, but inflicts damage)
: '''-5:''' Lava
: '''-5:''' Lava (like slime, but inflicts double damage)
: '''-6:''' Sky
: '''-6:''' Sky
: '''-7:''' Volumetric Light (same as Water)
: '''-7:''' Volumetric Light (same as water)
: '''-8:''' ???
: '''-8:''' ???
::{{modernConfirm|This is CONTENTS_CLIP, but BSP compilers change it to solid, so it probably has no effect at runtime.}}
::{{confirm|This is CONTENTS_CLIP, but BSP compilers change it to solid, so it probably has no effect at runtime.}}
: '''-9:''' Water with 0° current
: '''-9:''' Water with 0° current
: '''-10:''' Water with 90° current
: '''-10:''' Water with 90° current
Line 20: Line 20:
: '''-15:''' Translucent (like water, but never solid)
: '''-15:''' Translucent (like water, but never solid)
: '''-16:''' Ladder
: '''-16:''' Ladder
:: {{modernConfirm|Allegedly must be tied to an entity with solidity set to {{code|SOLID_NOT}} (such as [[func_illusionary (GoldSrc)|func_illusionary]]).}}
:: {{confirm|Allegedly must be tied to an entity with solidity set to {{code|SOLID_NOT}} (such as [[func_illusionary (GoldSrc)|func_illusionary]]) in order to be climbable.}}
: '''-17:''' Zero Gravity  
: '''-17:''' Zero Gravity  
: '''-18:''' Hover Field
: '''-18:''' Hover Field
: '''-19:''' Fog
: '''-19:''' Fog
}} }}</onlyinclude>
}} }}</onlyinclude>

Revision as of 19:24, 1 September 2024

Contents (skin) <choices>
What brush contents to use for this entity.
For entities with no clipnodes (such as using zhlt_noclip), this is purely cosmetic.
For intrinsically nonsolid entities (such as func_illusionary, only some contents have any non-cosmetic effect (such as ladder).
Contents types
-1: Empty
-2: Solid
-3: Water (also disables backface culling)
-4: Slime (like water, but inflicts damage)
-5: Lava (like slime, but inflicts double damage)
-6: Sky
-7: Volumetric Light (same as water)
-8: ???
Confirm:This is CONTENTS_CLIP, but BSP compilers change it to solid, so it probably has no effect at runtime.
-9: Water with 0° current
-10: Water with 90° current
-11: Water with 180° current
-12: Water with 270° current
-13: Water with upward current
-14: Water with downward current
-15: Translucent (like water, but never solid)
-16: Ladder
Confirm:Allegedly must be tied to an entity with solidity set to SOLID_NOT (such as func_illusionary) in order to be climbable.
-17: Zero Gravity
-18: Hover Field
-19: Fog