Difference between revisions of "CBubbling (CS)"
m (moved CBubbling Offset List (Counter-Strike) to CBubbling (CS)) |
(Added some contents.) |
||
| Line 1: | Line 1: | ||
| − | [[Category:CS | + | [[Category:CS Class List]] |
| − | * [[CBaseEntity | + | == Basic Information == |
| + | |||
| + | * '''Classname''': CBubbling. <br /> | ||
| + | * '''Inheriting Instance''': env_bubbles.<br /> | ||
| + | * '''Description''': Creates a rising stream of bubbles. <br /> | ||
| + | |||
| + | |||
| + | == Class Hierarchy == | ||
| + | |||
| + | * [[CBaseEntity (CS)|CBaseEntity]] | ||
** '''CBubbling''' ''(env_bubbles)'' | ** '''CBubbling''' ''(env_bubbles)'' | ||
| − | <tt> | + | == Entity Data == |
| + | |||
| + | <tt>W = Windows |</tt><tt> L = Linux</tt> | ||
{| cellpadding="4" | {| cellpadding="4" | ||
|- class="t2th" | |- class="t2th" | ||
| Line 13: | Line 24: | ||
| m_density | | m_density | ||
| style="text-align:center" | 34 | | style="text-align:center" | 34 | ||
| − | | style="text-align:center" | | + | | style="text-align:center" | 38 |
| − | | style="text-align:center" | + | + | | style="text-align:center" | +4 |
| style="text-align:center" | int | | style="text-align:center" | int | ||
| − | | | + | | The number of bubbles produced. |
|- class="t2td" | |- class="t2td" | ||
| m_frequency | | m_frequency | ||
| style="text-align:center" | 35 | | style="text-align:center" | 35 | ||
| − | | style="text-align:center" | | + | | style="text-align:center" | 39 |
| − | | style="text-align:center" | + | + | | style="text-align:center" | +4 |
| style="text-align:center" | int | | style="text-align:center" | int | ||
| − | | | + | | The higher the value, the shorter the delay between each set of bubbles being produced. |
|- class="t2td" | |- class="t2td" | ||
| m_bubbleModel | | m_bubbleModel | ||
| style="text-align:center" | 36 | | style="text-align:center" | 36 | ||
| − | | style="text-align:center" | | + | | style="text-align:center" | 40 |
| − | | style="text-align:center" | + | + | | style="text-align:center" | +4 |
| style="text-align:center" | int | | style="text-align:center" | int | ||
| − | | | + | | The amount the bubbles move in the direction specified by the angle. |
| + | Default sprite is "sprites/bubble.spr". | ||
|- class="t2td" | |- class="t2td" | ||
| m_state | | m_state | ||
| style="text-align:center" | 37 | | style="text-align:center" | 37 | ||
| − | | style="text-align:center" | | + | | style="text-align:center" | 41 |
| − | | style="text-align:center" | + | + | | style="text-align:center" | +4 |
| style="text-align:center" | int | | style="text-align:center" | 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 == | ||
| + | |||
| + | <pawn> | ||
| + | #define SF_BUBBLES_STARTOFF 0x0001 // Start Off (1) - It Needs to be triggered to start on. | ||
| + | </pawn> | ||
| + | |||
| + | |||
| + | == 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 == | ||
| + | |||
| + | * [http://svn.tcwonline.org/viewvc.cgi/hlsdk/dlls/effects.cpp?view=markup&root=amxmodx effects.cpp] ''(line 35)'' | ||
| + | |||
| + | |||
| + | == Related Links == | ||
| + | |||
| + | * [http://twhl.co.za/wiki.php?id=13 TWHL] | ||
Latest revision as of 09:31, 29 August 2009
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)