Cleanup is going to take awhile, so the site is back up but editing has been disabled.

Func water analog

From HalfLife 2 Knowledge Base

Jump to: navigation, search

Contents

func_water_analog

Source(core) Solid Entity


description

A water brush entity that moves linearly along a given distance, in a given direction


properties

  • Name targetname(target_source)
    The name that other entities refer to this entity by.
  • Parent parentname(target_destination)
    The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.
  • Origin (X Y Z) origin(origin)
    The position of this entity's center in the world. Rotating entities typically rotate around their origin.
  • Move Direction (Pitch Yaw Roll) movedir(angle) - default: 0 0 0
    The direction the water will move, when told to 'Open'.
  • Start Position startposition(float) - default: 0
    Position of the water brush when spawned. The range is a value between 0.0 and 1.0, where 0 is the starting position and 1 is the starting position + (move direction * move distance).
  • Speed speed(integer) - default: 100
    The speed that the water brush moves, in inches per second.
  • Move Distance movedistance(float) - default: 100
    The distance from the starting point that the water brush should move, in inches.
  • Sound played when the water brush starts moving. startsound(sound)
  • Sound played when the water brush stops moving. stopsound(sound)
  • Wave Height WaveHeight(string) - default: 3.0


spawn flags

none.


inputs

  • Kill(void)
    Removes this entity from the world.
  • KillHierarchy(void)
    Removes this entity and all its children from the world.
  • AddOutput(string)
    Adds an entity I/O connection to this entity. Format
  • FireUser1(void)
    Causes this entity's OnUser1 output to be fired.
  • FireUser2(void)
    Causes this entity's OnUser2 output to be fired.
  • FireUser3(void)
    Causes this entity's OnUser3 output to be fired.
  • FireUser4(void)
    Causes this entity's OnUser4 output to be fired.
  • SetParent(string)
    Changes the entity's parent in the movement hierarchy.
  • SetParentAttachment(string)
    Change this entity to attach to a specific attachment point on it's parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment.
  • ClearParent(void)
    Removes this entity from the the movement hierarchy, leaving it free to move independently.
  • Open(void)
    Move the water brush to the end position (starting position + (move direction * move distance)).
  • Close(void)
    Move the water brush to the starting position.
  • SetPosition(string)
    Move the water brush to a specific position between 0.0 and 1.0, where 0 is the starting position and 1 is the starting position + (move direction * move distance).

outputs

  • OnUser1(void)
    Fired in response to FireUser1 input.
  • OnUser2(void)
    Fired in response to FireUser2 input.
  • OnUser3(void)
    Fired in response to FireUser3 input.
  • OnUser4(void)
    Fired in response to FireUser4 input.
  • OnFullyOpen(void)
    Fired when the water brush reaches the end position (starting position + (move direction * move distance)).
  • OnFullyClosed(void)
    Fired when the water brush reaches the starting position.

related tutorials

Submit your tutorial for func_water_analog

Personal tools