Env bubbles: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
Bug:Doesn't work in Template:Game link with any tool texture. Tying a toolstrigger brush to this entity will result in the entity being rendered in-game as a raw brush of said material.  [todo tested in ?]
		
	
 (→Keyvalues:  brush entity!)  | 
				 (Added Portal 2 bug)  | 
				||
| Line 6: | Line 6: | ||
{{code class|CBubbling|effects.cpp}}  | {{code class|CBubbling|effects.cpp}}  | ||
{{bug|Doesn't work in {{Game link|Portal 2}} with any [[tool texture]]. 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.}}  | |||
==Flags==  | ==Flags==  | ||
Revision as of 20:48, 12 August 2020
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.