Difference between revisions of "Env bubbles"
Thunder4ik (talk | contribs) m (→top: clean up, replaced: {{EntityTabs → {{tabs) |
MyGamepedia (talk | contribs) |
||
Line 2: | Line 2: | ||
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang|Env bubbles}}{{tabs|env_bubbles|goldsrc=1|source=1|main=source}} | <!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang|Env bubbles}}{{tabs|env_bubbles|goldsrc=1|source=1|main=source}} | ||
− | [[File:Env bubbles.gif| | + | [[File:Env bubbles.gif|frame|right|280px|<code>env_bubbles</code> in game, with density set to 6 and frequency set to 2.]] |
{{this is a|e2|name=env_bubbles}} It is used to create a volume in which to spawn rising bubbles. The number and frequency of bubbles can be adjusted. | {{this is a|e2|name=env_bubbles}} It is used to create a volume in which to spawn rising bubbles. The number and frequency of bubbles can be adjusted. | ||
Latest revision as of 04:21, 2 March 2024
This article needs more links to other articles to help integrate it into the encyclopedia. Please help improve this article by adding links that are relevant to the context within the existing text.
January 2024
January 2024
env_bubbles
is a brush entity available in all Source games. 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.
Note:Tying a toolstrigger brush to this entity will result in the entity being rendered in-game as a raw brush of said material. It should be set to Nodraw or Invisible instead.
Bug:Doesn't work in Portal 2 with any tool texture.
- Confirm:May be a HammerAddons bug caused by the origin not being set to 0 0 0.
Contents
Keyvalues
- Bubble density
(density)
<integer> - Bubble Count in Volume.
- Bubble frequency
(frequency)
<integer> - Bubble emission frequency, in bubbles per second.
- Speed of Current
(current)
<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.
Flags
- [
1
] : Start Off
See also
env_embers
- A similar entity.