Env bubbles: Difference between revisions
Jump to navigation
Jump to search
("except Portal 2") |
(updates) |
||
Line 1: | Line 1: | ||
[[File:Env bubbles.jpg|thumb|right|280px|env_bubbles in game, with density set to 35 and frequency set to 20]] | {{lang|Env bubbles}} | ||
[[File:Env bubbles.jpg|thumb|right|280px|<code>env_bubbles</code> in game, with density set to 35 and frequency set to 20.]] | |||
{{base brush|env_bubbles}} It is used to create a volume in which to spawn rising bubbles. The number and frequency of bubbles can be adjusted. | |||
<code>env_bubbles</code> is obviously intended for use in water, but it can be used outside of water if such an effect is desired. | |||
{{code class|CBubbling|effects.cpp}} | |||
==Flags== | |||
*1: Start Off | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Bubble density|integer|Bubble Count in Volume}} | {{KV|Bubble density (density)|integer|Bubble Count in Volume.}} | ||
{{KV|Bubble frequency|integer|Bubble emission frequency, in bubbles per second.}} | {{KV|Bubble frequency (frequency)|integer|Bubble emission frequency, in bubbles per second.}} | ||
{{KV|Speed of Current|integer|The speed of the water current in the volume, used to move the bubbles.}} | {{KV|Speed of Current (current)|integer|The speed of the water current in the volume, used to move the bubbles.}} | ||
{{KV | {{KV BaseEntity|css=1}} | ||
==Inputs== | ==Inputs== | ||
Line 24: | Line 23: | ||
{{IO|SetFrequency|Sets bubble emission rate in bubbles per second.|param=integer}} | {{IO|SetFrequency|Sets bubble emission rate in bubbles per second.|param=integer}} | ||
{{IO|SetCurrent|Sets current speed in inches per second.|param=integer}} | {{IO|SetCurrent|Sets current speed in inches per second.|param=integer}} | ||
{{I | {{I BaseEntity|prel4d=1}} | ||
==Outputs== | ==Outputs== | ||
{{O | {{O BaseEntity|l4d=1}} | ||
==See Also== | |||
*{{ent|env_embers}} - A similar entity. | |||
[[category:SFX_Brush_Entities]] |
Revision as of 06:15, 23 September 2018
Template:Base brush It is used to create a volume in which to spawn rising bubbles. The number and frequency of bubbles can be adjusted.
env_bubbles
is obviously intended for use in water, but it can be used outside of water if such an effect is desired.
Flags
- 1: Start Off
Keyvalues
- Bubble frequency (frequency) ([todo internal name (i)]) <integer>
- Bubble emission frequency, in bubbles per second.
- Speed of Current (current) ([todo internal name (i)]) <integer>
- The speed of the water current in the volume, used to move the bubbles.
Inputs
- Activate
- 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
See Also
- env_embers - A similar entity.