env_bubbles
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.
Note:Used bubble sprite:
Note:In order to make it work in
Portal 2 , the bubble sprite material (
![]() |
---|
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.


sprites/bubble.vmt


sprites/bubble.vmt
) and texture (sprites/bubble.vtf
) must be located in the /material/sprites folder and the TeamSpen's Hammer Addons installed, or at least its portal2.fgd located in the /Portal 2/bin folder.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.