CONTENTS Enumerations

From Garry's Mod
Jump to: navigation, search

Enumerations used by util.PointContents and as tracer masks.

Warning! Decimal values are for reference only! The actual value may be different between two Garry's Mod versions.
Name Decimal Description
CONTENTS_EMPTY 0 Things that are not solid
CONTENTS_SOLID 1 Things that are solid
CONTENTS_WINDOW 2 Glass
CONTENTS_AUX 4
CONTENTS_GRATE 8 Bullets go through, solids don't
CONTENTS_SLIME 16
CONTENTS_WATER 32 Hits world but not skybox
CONTENTS_BLOCKLOS 64 Things that block line of sight
CONTENTS_OPAQUE 128 Things that block light
CONTENTS_TESTFOGVOLUME 256
CONTENTS_TEAM4 512
CONTENTS_TEAM3 1024
CONTENTS_TEAM1 2048
CONTENTS_TEAM2 4096
CONTENTS_IGNORE_NODRAW_OPAQUE 8192
CONTENTS_MOVEABLE 16384
CONTENTS_AREAPORTAL 32768
CONTENTS_PLAYERCLIP 65536
CONTENTS_MONSTERCLIP 131072
CONTENTS_CURRENT_0 262144
CONTENTS_CURRENT_180 1048576
CONTENTS_CURRENT_270 2097152
CONTENTS_CURRENT_90 524288
CONTENTS_CURRENT_DOWN 8388608
CONTENTS_CURRENT_UP 4194304
CONTENTS_DEBRIS 67108864
CONTENTS_DETAIL 134217728
CONTENTS_HITBOX 1073741824 Hitbox
CONTENTS_LADDER 536870912 Ladder
CONTENTS_MONSTER 33554432 NPCs
CONTENTS_ORIGIN 16777216
CONTENTS_TRANSLUCENT 268435456 Hits world but not skybox
LAST_VISIBLE_CONTENTS 128 Last visible contents enumeration
ALL_VISIBLE_CONTENTS 255 Sum of all the visible contents enumerations
Personal tools
Navigation