func_water

A func_water is water, slime or lava that moves like a func_door when you trigger it, so the level
of a liquid can rise or fall. It has the keys of a func_door.
Attributes
The entity also has these common keys:
- Naming and triggering: Name, Target, Delay before trigger, KillTarget, Master and Global Entity Name
- Position: Pitch Yaw Roll
- Appearance: all except Model scale and Body
- Compiler keys of brush entities: all of them
locked_soundSets the sound the entity plays when a player tries to use it while its Master locks it. A door also plays it when a player touches it and it only opens when triggered.
- None (0)
- Access Denied (2)
- Small zap (8)
- Buzz (10)
- Buzz Off (11)
- Latch Locked (12)
None (0)unlocked_soundSets the sound the entity plays when it is used while it isn't locked. A button plays it when it is pressed, and a door when it starts to open.The 12 choices
None (0)locked_sentenceSets an announcer sentence group the entity speaks when a player tries to use it while it is locked. Each try plays the next sentence of the group, at most one every few seconds.The 10 choices
None (0)unlocked_sentenceSets an announcer sentence group the entity speaks when it is used while it isn't locked. Each use plays the next sentence of the group.The 9 choices
None (0)Sets a sound file played instead of Locked Sound, and only that file is loaded.
If you leave this key empty, the entity plays Locked Sound.
Sets a sound file played instead of Unlocked Sound, and only that file is loaded.
If you leave this key empty, the entity plays Unlocked Sound.
Sets the name of a sentence group of sound/sentences.txt, such as NA, which the entity speaks instead of Locked Sentence.
If you leave this key empty, the entity speaks Locked Sentence.
Sets the name of a sentence group of sound/sentences.txt, such as EA, which the entity speaks instead of Unlocked Sentence.
If you leave this key empty, the entity speaks Unlocked Sentence.
Shows brackets around the object for players near it. Within Hint Distance, the brackets are faint and in the HUD color. When the player is close enough to use the object and looks at it, the brackets take the color of the choice.
- None (empty) - No brackets
- button - Yellow, and orange while a master locks the object
- charger - Green, and red while the charger is empty
- eyescanner - Yellow
- pickup - Yellow
None (empty)objecthint_distanceSets how far from the player's eyes the faint brackets show, in units, up to 4096. The object must be in front of the player and in sight.
If you leave this key empty or set 0, the distance is 512 units.
Names the parent, an entity that this one moves and turns with. The entity keeps the place and the angles it has on the parent in the editor. If several entities have the name, the first one counts. A name ending in .1 to .4 puts a sprite or a model that isn't solid on that attachment point of the model of the parent. A solid brush on a parent that turns needs its own origin brush. Moving objects explains it all.
If you leave this key empty, the entity doesn't move with anything.
parentflagsKeeps some of the entity's own position or angles instead of following the parent. Add up the values of the axes to keep: 2 for X, 4 for Y, 8 for Z, 16 for pitch, 32 for yaw and 64 for roll. So 112 keeps the entity level. 0 follows the parent on every axis.
0speedSets how fast the door moves, in units per second, or in degrees per second for a door that turns. 0 means 100.
100waitSets how many seconds the door stays open before it closes, and -1 keeps it open.
If you leave this key empty or set 0, the door closes as soon as it is open.
4dmgSets how much damage the door deals to anything that blocks it, each time it is blocked.
0netnameThe door fires this when it is closed.
Sets how the door reacts to the use type of a trigger.
- No (0) - Every trigger opens or closes the door while it stands still, as in Half-Life
- Yes (1) - On opens it, Off closes it and Toggle opens or closes it, and a trigger while the door moves does nothing
- Yes, even when currently moving (2) - Like "Yes", and also while it moves: On turns a closing door back, Off closes an opening door and Toggle does either. An opening door only closes with the flag Toggle, and without it, the door keeps opening
No (0)Sets the use type that the targets of Fire On Start get.
- Off (0)
- On (1)
- Toggle (2)
Off (0)Sets the use type that the targets of Fire On Stop get.
- Off (0)
- On (1)
- Toggle (2)
Off (0)Sets the use type that the targets of Fire On Open Start get.
- Off (0)
- On (1)
- Toggle (2)
Off (0)Sets the use type that the targets of Fire On Close Start get.
- Off (0)
- On (1)
- Toggle (2)
Off (0)Sets the use type that the targets of Fire On Open End get.
- Off (0)
- On (1)
- Toggle (2)
Off (0)Sets the use type that the targets of Fire On Close End get.
- Off (0)
- On (1)
- Toggle (2)
Off (0)Sets how fast the door moves when it closes again.
If you leave this key empty or set 0, it moves back at its Speed.
With Use Only, sets how a player must look at the liquid to use it. A liquid isn't solid, so a look never meets it, and with "Direct only", nobody can use it.
- Default (0) - As for any object
- Direct only (1) - The player must look straight at it
- Not through walls (2) - The player can't use it through a wall
Default (0)Sets whether the door plays its locked sound when a trigger uses it while its master keeps it locked.
- No (0) - It plays no sound
- Yes (1) - It plays the locked sound
No (0)skinPicks what the brush is filled with, and players swim in all three, while slime and lava also hurt players all the time they are in it, lava more.
- Water (-3)
- Slime (-4)
- Lava (-5)
If you leave this key empty, the brush isn't a liquid, but a solid brush that moves like a door.
Water (-3)WaveHeightSets how high the waves on the surface are drawn.
If you leave this key empty, it is 0 and the surface is flat.
3.2Flags
1Starts OpenThe liquid starts in its moved position, and triggering it moves it back
8PassablePlayers and monsters pass through the door
32ToggleThe door stays open until it is triggered again, which closes it
256Use OnlyA player who touches the liquid doesn't move it, only a trigger or a player's use key does
512Monsters Can'tMonsters can't open the door
Notes
- A satchel charge or an armed tripmine that blocks the liquid goes off, the player who placed it gets the kills, and the liquid moves on
See also
func_door- a door that slides, with the keys both share- func_water on TWHL - the Half-Life entity
Changes since 1.38
- You can use the same new keys as on
func_door - A satchel charge or an armed tripmine in the way goes off and the liquid moves on. In SBO 1.38, the liquid turned back from it every time



