$contents: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
$contents (list of names of content types) | $contents (list of names of content types) | ||
* Specifies the contents to use for contents-mask 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. | * Specifies the contents to use for contents-mask 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. | |||
* The current contents types you can use are: | * The current contents types you can use are: | ||
: <code>"grate"</code> Makes it be a grate (not solid to bullets, solid to everything else) | |||
: <code>"monster"</code> Makes it be marked as an NPC | |||
: <code>"notsolid"</code> Makes it be not solid to anything | |||
: <code>"solid"</code> Makes it be solid (usually useful only for the [[$jointcontents]] command to make a solid child of a non-solid parent) | |||
: <code>"ladder"</code> Make it be a ladder | |||
* For example: | |||
$contents "monster" "grate" | $contents "monster" "grate" | ||
[[Category:QC Commands]] | [[Category:QC Commands]] |
Revision as of 20:35, 7 November 2007
$contents (list of names of content types)
- Specifies the contents to use for contents-mask 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.
- The current contents types you can use are:
"grate"
Makes it be a grate (not solid to bullets, solid to everything else)"monster"
Makes it be marked as an NPC"notsolid"
Makes it be not solid to anything"solid"
Makes it be solid (usually useful only for the $jointcontents command to make a solid child of a non-solid parent)"ladder"
Make it be a ladder
- For example:
$contents "monster" "grate"