Env bubbles: Difference between revisions
Jump to navigation
Jump to search
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.
Note:Used bubble sprite:
(-added class hierarchy) |
(-) |
||
Line 1: | Line 1: | ||
<!-- 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}} | ||
{{CD|CBubbling|file1=effects.cpp}} | {{CD|CBubbling|file1=effects.cpp}} | ||
Line 7: | Line 5: | ||
<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>env_bubbles</code> is obviously intended for use in water, but it can be used outside of water if such an effect is desired. | ||
{{note|Tying a [[Triggers#Level design|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.}} | {{note|Tying a [[Triggers#Level design|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 {{Game link|Portal 2}} with any [[tool texture]]. | {{bug|Doesn't work in {{Game link|Portal 2}} with any [[tool texture]]. | ||
:{{confirm|May be a HammerAddons bug caused by the origin not being set to 0 0 0.}} | :{{confirm|May be a HammerAddons bug caused by the origin not being set to 0 0 0.}} | ||
}} | |||
{{Note|Used bubble sprite: <code>sprites/bubble.vmt</code>}} | |||
__NOTOC__ | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Bubble density|intn=density|integer|Bubble Count in Volume.}} | {{KV|Bubble density|intn=density|integer|Bubble Count in Volume.}} |
Revision as of 09:00, 4 July 2024
![]() |
---|
CBubbling |
![]() |
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.



Confirm:May be a HammerAddons bug caused by the origin not being set to 0 0 0.

sprites/bubble.vmt
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
- Start Off : [1]
See also
- env_embers - A similar entity.