CBaseProp

From Source Entities
Jump to navigation Jump to search

Code classes:

CBaseProp is a class that all other prop entities derive from. This class lets them do things like check if they block LOS based on their size.

ConVars/Commands[edit | edit source]

ConVar/CommandParameters or default valueParameter TypeEffect
prop_debugToggleProp debug mode. If on, props will show color coded bounding boxes. Requires developer 1 in the console before taking effect.
  • Red means ignore all damage completely.
  • White means respond physically to damage but never break.
  • Green means the object will break eventually if damaged, with darker shades meaning health is closer to 0.