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. [todo tested in ?]
(Portal 2 bug might not exist, showing trigger textures is not a bug) |
(-better internal names formatting, concise page) |
||
Line 13: | Line 13: | ||
==Flags== | ==Flags== | ||
{{fl|1|Start Off}} | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Bubble density | {{KV|Bubble density|intn=density|integer|Bubble Count in Volume.}} | ||
{{KV|Bubble frequency | {{KV|Bubble frequency|intn=frequency|integer|Bubble emission frequency, in bubbles per second.}} | ||
{{KV|Speed of Current | {{KV|Speed of Current|intn=current|integer|The speed of the water current in the volume, used to move the bubbles.}} | ||
==Inputs== | ==Inputs== | ||
Line 28: | Line 27: | ||
{{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}} | ||
==See Also== | ==See Also== |
Revision as of 13:01, 30 October 2022
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.



Confirm:May be a HammerAddons bug caused by the origin not being set to 0 0 0.
Flags
- Start Off : [1]
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.
See Also
- env_embers - A similar entity.