Template:Hl1 kv contents: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "<onlyinclude>{{KV|Contents|intn=skin|choices| : -1: Empty : -2: Solid : -3: Water : -4: Slime : -5: Lava : -6: Sky : -7: Volumetric Light (same as Water) : -8: ??? : -9: Water...")
 
(don't add transclusions to Category:CONFIRM)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>{{KV|Contents|intn=skin|choices|
Available for any brush entity that inherits [[CBaseAnimating (GoldSrc)|CBaseAnimating]].
: -1: Empty
{{todo|{{param|nofgd}}.}}
: -2: Solid
<onlyinclude>{{KV|Contents|intn=skin|choices|What brush contents to use for this entity.
: -3: Water
: For entities with no [[clipnodes]] (such as using {{code|zhlt_noclip}}), this is purely cosmetic. For other entities, this requires the entity collision to be set to {{code|SOLID_NOT}} for non-cosmetic effect (applied automatically on [[func_door (GoldSrc)|doors]] and {{ent|func_illusionary|engine=goldsrc}}).
: -4: Slime
: {{expand|title=Contents types|
: -5: Lava
: '''-1:''' Empty
: -6: Sky
: '''-2:''' Solid
: -7: Volumetric Light (same as Water)
: '''-3:''' Water (also disables backface culling)
: -8: ???
: '''-4:''' Slime (like water, but inflicts damage)
: -9: Water with 0° current
: '''-5:''' Lava (like slime, but inflicts double damage)
: -10: Water with 90° current
: '''-6:''' Sky
: -11: Water with 180° current
: '''-7:''' Volumetric Light (same as water)
: -12: Water with 270° current
: '''-8:''' ???
: -13: Water with upward current
::{{confirm|This is CONTENTS_CLIP, but BSP compilers change it to solid, so it probably has no effect at runtime.<includeonly>|nocat=1</includeonly>}}
: -14: Water with downward current
: '''-9:''' Water with 0° current
: -15: Translucent (like water, but never solid)
: '''-10:''' Water with 90° current
: -16: Ladder
: '''-11:''' Water with 180° current
: -17: Zero Gravity  
: '''-12:''' Water with 270° current
: -18: Hover Field
: '''-13:''' Water with upward current
: -19: Fog
: '''-14:''' Water with downward current
}}</onlyinclude>
: '''-15:''' Translucent (like water, but never solid)
: '''-16:''' Ladder
: '''-17:''' Zero Gravity  
: '''-18:''' Hover Field
: '''-19:''' Fog
}} }}</onlyinclude>

Latest revision as of 08:29, 1 May 2025

Available for any brush entity that inherits CBaseAnimating.

Todo: {{{nofgd}}}.
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 other entities, this requires the entity collision to be set to SOLID_NOT for non-cosmetic effect (applied automatically on doors and func_illusionary).
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
-17: Zero Gravity
-18: Hover Field
-19: Fog