$contents
From Valve Developer Community
The QC command $contents specifies a list of the content_types to use for SolidMask tests during non-hitbox traces.
- This feature was specifically added to allow us to make things like fences out of props instead of brush models.
- See also $jointcontents.
[edit]
Example
$contents "monster" "grate"
- Available content_types are:
-
grate - Makes it a grate
- Grates are not solid to bullets or Line of Sight, solid to everything else)
-
monster - Marks it as an NPC
-
notsolid - Makes it not solid to anything
-
solid - Makes it solid
- Solid is the default value, so this parameter is usually used only for the $jointcontents command, to make a solid child of a non-solid parent.
-
ladder - Make it a ladder
[edit]
