Cleanup is going to take awhile, so the site is back up but editing has been disabled.
Func water
From HalfLife 2 Knowledge Base
Contents |
[edit]
func_water
Source(core) Solid Entity
[edit]
description
Liquid
[edit]
properties
- Speed speed(integer) - default: 100
The speed at which the door moves. - Master (Obsolete) master(string)
Legacy support - Start Sound noise1(sound)
Sound to play when the door starts moving. - Stop Sound noise2(sound)
Sound to play when the door stops moving. - Delay Before Reset (-1 stay) wait(integer) - default: 4
Amount of time, in seconds, after the door has opened before it closes. Once it has closed, it can be used again. If the value is set to -1, the door never closes itself. - Lip lip(integer) - default: 0
The amount, in inches, of the button to leave sticking out of the wall it recedes into when pressed. Negative values make the button recede even further into the wall. - Blocking Damage dmg(integer) - default: 0
Amount of damage done to entities that block the movement of this door, per frame. - Force Closed forceclosed(choices) - default: If set, this door will close no matter what. Useful for doors that have to close even if the player tries to block them with objects.
- 0 - No
- 1 - Yes
- Message If Triggered message(string)
- Health (shoot open) health(integer) - default: 0
- Locked Sound locked_sound(sound)
Sound played when the player tries to use the door, and fails because it's locked. - Unlocked Sound unlocked_sound(sound)
Sound played when the button is door. - Locked Sentence locked_sentence(choices) - default: A sentence played when the player tries to use the door, and fails because it's locked.
- 0 - None
- 1 - Gen. Access Denied
- 2 - Security Lockout
- 3 - Blast Door
- 4 - Fire Door
- 5 - Chemical Door
- 6 - Radiation Door
- 7 - Gen. Containment
- 8 - Maintenance Door
- 9 - Broken Shut Door
- Unlocked Sentence unlocked_sentence(choices) - default: A sentence played when the door is unlocked.
- 0 - None
- 1 - Gen. Access Granted
- 2 - Security Disengaged
- 3 - Blast Door
- 4 - Fire Door
- 5 - Chemical Door
- 6 - Radiation Door
- 7 - Gen. Containment
- 8 - Maintenance area
- Minimum Light Level _minlight(string)
The minimum level of ambient light that hits this brush. - Loop Moving Sound? loopmovesound(choices) - default: If set to true, the door's 'Start Sound' will be continually looped until the door finishes moving.
- 0 - No
- 1 - Yes
- Move Direction (Pitch Yaw Roll) movedir(angle) - default: 0 0 0
The direction the water will move when it is told to 'Open'. - Wave Height WaveHeight(string) - default: 3.0
[edit]
spawn flags
- 1: Starts Open - default: OFF
- 4: Non-solid to Player - default: OFF
- 8: Passable - default: OFF
- 32: Toggle - default: OFF
- 256: Use Opens - default: OFF
- 512: NPCs Can't - default: OFF
- 1024: Touch Opens - default: ON
- 2048: Starts locked - default: OFF
- 4096: Door Silent - default: OFF
- 1: Starts Open - default: OFF
- 256: Use Only - default: OFF
[edit]
inputs
- Open(void)
Open the door, if it is not fully open. - Close(void)
Close the door, if it is not fully closed. - Toggle(void)
Toggle the door between open and closed. - Lock(void)
Lock the door. - Unlock(void)
Unlock the door. - SetSpeed(float)
Set the door speed.
[edit]
outputs
- OnClose(void)
Fired when the door starts closing. - OnOpen(void)
Fired when the door starts opening. - OnFullyOpen(void)
Fired when the door reaches the fully open position. - OnFullyClosed(void)
Fired when the door reaches the fully closed position. - OnBlockedClosing(void)
Fired when the door is blocked while closing. - OnBlockedOpening(void)
Fired when the door is blocked while opening. - OnUnblockedClosing(void)
Fired when the door is unblocked while closing. - OnUnblockedOpening(void)
Fired when the door is unblocked while opening.
[edit]
related tutorials
Submit your tutorial for func_water

