func_water
Jump to navigation
Jump to search


![]() |
---|
CBaseDoor |
![]() |
func_water
is a brush entity available in all GoldSrc games. A water texture (one prefixed with '!') will act as water (with additional prefixes for other liquid types), but binding it to an entity gives added advantages, namely the ability to move and be translucent.
Note that !-prefixed textures will only appear on the top face of the entity, unlike world brushes.

func_water
and func_door are linked to CBaseDoor C++ class, and can be used interchangeably, setting skin to the appropriate contents. The only difference is when this entity collides with another entity with the same targetname: if the other entity is a "func_door" or "func_door_rotating", then this entity will stop when it hits the other entity.