$contents: Difference between revisions
Jump to navigation
Jump to search
m (→Syntax) |
mNo edit summary |
||
Line 1: | Line 1: | ||
The [[QC command]] [[$contents]] specifies a list of the content_types to use for | The [[QC command]] [[$contents]] specifies a list of the content_types to use for [[CollisionProperty|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. | * This feature was specifically added to allow us to make things like fences out of props instead of brush models. | ||
* See also [[$jointcontents]]. | * See also [[$jointcontents]]. | ||
== | == QC syntax example== | ||
$contents " | $contents "monster" "grate" | ||
* Available content_types are: | * Available content_types are: | ||
Line 14: | Line 14: | ||
: 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. | : 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. | ||
; <code>ladder</code>: Make it a ladder | ; <code>ladder</code>: Make it a ladder | ||
==See Also== | ==See Also== |
Revision as of 08:46, 9 April 2008
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.
QC syntax 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