Env bubbles: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Availability: removed dead links)
Line 9: Line 9:
==Availability==
==Availability==
{{in game|brush}} {{game-base}}.
{{in game|brush}} {{game-base}}.
{{in code|class=class_c_bubbling.html CBubbling|file=effects_8cpp-source.html effects.cpp}}
In code it is represented by class CBubbling, defined in effects.cpp.


==Keyvalues==
==Keyvalues==

Revision as of 15:05, 14 December 2008

Template:Wrongtitle Template:Base brush

Entity Description

An entity used to create a volume in which to spawn bubbles.

Availability

Template:In game Template:Game-base. In code it is represented by class CBubbling, defined in effects.cpp.

Keyvalues

<integer> Bubble Count in Volume
  • frequency
<integer> Bubble emission frequency, in bubbles per second.
  • current
<integer> The speed of the water current in the volume, in inches per second. Used to move the bubbles.

Flags

  • 1 : Start Off

Inputs

Activates the bubbles.
  • Deactivate
Deactivates the bubbles.
  • Toggle
Toggles the bubbles on and off.
  • SetDensity <integer>
Sets the bubble density.
  • SetFrequency <integer>
Sets bubble emission rate in bubbles per second.
  • SetCurrent <integer>
Sets current speed in inches per second.

Outputs