func_water
Jump to navigation
Jump to search

Code:Both
Note:All Keyvalues and Spawnflags are the same as func_door.


![]() |
---|
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.Notable keyvalues
- Wave Height (WaveHeight) <float>
- Height of waves on any !-prefixed textures on this entity. Default value is 3.2.
- Contents (skin) <choices>
- What brush contents to use for this entity.
- For entities with no clipnodes (such as using zhlt_noclip), this is purely cosmetic. For other entities, this requires the entity collision to be set to SOLID_NOT for non-cosmetic effect (applied automatically on doors and func_illusionary).
Contents types Expand
