CBubbling (CS)
(Redirected from CBubbling Offset List (Counter-Strike))
Contents
Basic Information
- Classname: CBubbling.
- Inheriting Instance: env_bubbles.
- Description: Creates a rising stream of bubbles.
Class Hierarchy
- CBaseEntity
- CBubbling (env_bubbles)
Entity Data
W = Windows | L = Linux
Name | W. Offset | L. Offset | L. Diff | Type | Description |
---|---|---|---|---|---|
m_density | 34 | 38 | +4 | int | The number of bubbles produced. |
m_frequency | 35 | 39 | +4 | int | The higher the value, the shorter the delay between each set of bubbles being produced. |
m_bubbleModel | 36 | 40 | +4 | int | The amount the bubbles move in the direction specified by the angle.
Default sprite is "sprites/bubble.spr". |
m_state | 37 | 41 | +4 | int | Current state of the entity. ( 0: Off ; 1: On ) |
Entity Attributes
- Name (targetname) - Property used to identify entities.
- Bubble density (density) - The number of bubbles produced.
- Bubble frequency (frequency) - The higher the value, the shorter the delay between each set of bubbles being produced.
- Speed of Current (current) - The amount the bubbles move in the direction specified by the angle.
Entity Flag
#define SF_BUBBLES_STARTOFF 0x0001 // Start Off (1) - It Needs to be triggered to start on.
Notes
- This is the only brush-based env entity.
- The current FGD doesn't say Pitch Yaw Roll is a property, but it must be, since the compass angle corresponds to Yaw.
- Horizontal streams of bubbles cannot be produced with this entity. Use a cycler entity instead, with the 'pipe_bubbles.mdl' model.
HLSDK Reference
- effects.cpp (line 35)