Brush entities are one of the two types of
entity. A brush entity is comprised of one or more
brushes, and thus are entities that either define an area or make up some part of the level geometry. This includes doors, elevators, trains, buttons and more, as well as areas that trigger some element of game logic, such as causing damage to the player or activating other entities when the player enters them.
Brush entities have a few properties of interest that are only defined geometrically (not through entity keyvalues):
- The origin defines the center of rotation of some entities. Also the center of targeting entities like
env_beam
, and entity effects. Defaulting to the world origin (0 0 0), it can be configured by including the origin brush.
-
BOUNDINGBOX
The bounding box describes a cuboid that contains all solid geometry of the entity. It is the center of movement for func_trains
, and also the total volume entities like func_button
or func_door
translates to when opening (the lip is subtracted from this). Likewise can be customized with the BOUNDINGBOX brush.
- Clip hulls, which defines collision. If removed via
zhlt_noclip
keyvalue, players will not collide with it in any way, and this effect is not limited to func_illusionary
. Brush triggers without clip hulls will not work for the respective hulls that are missing. Conversely, clip hulls can be added [back] with CLIP brushes or its respective hull-specific variants. zhlt_noclip
+ CLIP brushes is a useful strategy to simplify clipnodes on otherwise very detailed brushwork.
Some other properties applicable to brush entities in common (via various means):
- Render FX/Mode/Amount: Sets how entities would render in game. Not applicable to triggers.
- Effects: Another, seldom-documented effect property that mostly emits light or other effects from the entity's origin.
- Contents: Describes the content of the volume inside the entity. Mostly only relevant to
func_water
, but can theoretically apply such properties to any brush entity.