CBeam: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
. | The base class for entities which represent beam effects. (Particularly [[CEnvBeam]] and [[CEnvLaser]]) | ||
'''Source location : ...''' | '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/beam_shared.h /game/shared/beam_shared.h]''' | ||
'''Linked | '''Linked Entity : [https://developer.valvesoftware.com/wiki/beam beam]''' | ||
==[[ | ==[[Classes|Class Structure]]== | ||
*'''[[CBaseEntity]]''' | *'''[[CBaseEntity]]''' | ||
**''' | **'''CBeam''' | ||
== SendProps == | == SendProps == | ||
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;" | {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | ||
|+CBeam | |+CBeam | ||
! style="width: 50%; background-color: #303030; color: white" |Name | ! style="width: 50%; background-color: #303030; color: white" |Name | ||
| Line 210: | Line 205: | ||
| style="width: 50%;" |'''m_bIsPlayerSimulated''' | | style="width: 50%;" |'''m_bIsPlayerSimulated''' | ||
| style="width: 15%;" |Boolean | | style="width: 15%;" |Boolean | ||
| style="width: 35%;" | | |||
|} | |||
|} | |||
== Entity DataMaps == | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; | |||
|+CBeam | |||
! style="width: 50%; background-color: #303030; color: white" |Name | |||
! style="width: 15%; background-color: #303030; color: white" |Type | |||
! style="width: 35%; background-color: #303030; color: white" |Description | |||
|- | |||
| style="width: 50%;" |'''InputColorBlueValue''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputColorGreenValue''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputColorRedValue''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputNoise''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''InputWidth''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fAmplitude''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fEndWidth''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fFadeLength''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fHaloScale''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fSpeed''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fStartFrame''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_fWidth''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flDamage''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flFireTime''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flFrame''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flFrameRate''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flHDRColorScale''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_hAttachEntity''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_hEndEntity''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nAttachIndex''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nBeamFlags''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nBeamType''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nDissolveType''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nHaloIndex''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nMinDXLevel''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nNumBeamEnts''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_vecEndPos''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|} | |} | ||
Latest revision as of 22:20, 29 July 2022
Overview
The base class for entities which represent beam effects. (Particularly CEnvBeam and CEnvLaser)
Source location : /game/shared/beam_shared.h
Linked Entity : beam
Class Structure
- CBaseEntity
- CBeam
SendProps
| Name | Type | Description | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| m_nBeamType | Integer | ||||||||||||||||||||||||||||||||||
| m_nBeamFlags | Integer | ||||||||||||||||||||||||||||||||||
| m_nNumBeamEnts | Integer | ||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| m_nHaloIndex | Integer | ||||||||||||||||||||||||||||||||||
| m_fHaloScale | Float | ||||||||||||||||||||||||||||||||||
| m_fWidth | Float | ||||||||||||||||||||||||||||||||||
| m_fEndWidth | Float | ||||||||||||||||||||||||||||||||||
| m_fFadeLength | Float | ||||||||||||||||||||||||||||||||||
| m_fAmplitude | Float | ||||||||||||||||||||||||||||||||||
| m_fStartFrame | Float | ||||||||||||||||||||||||||||||||||
| m_fSpeed | Float | ||||||||||||||||||||||||||||||||||
| m_nRenderFX | Integer | ||||||||||||||||||||||||||||||||||
| m_nRenderMode | Integer | ||||||||||||||||||||||||||||||||||
| m_flFrameRate | Float | ||||||||||||||||||||||||||||||||||
| m_flHDRColorScale | Float | ||||||||||||||||||||||||||||||||||
| m_flFrame | Float | ||||||||||||||||||||||||||||||||||
| m_clrRender | Integer | ||||||||||||||||||||||||||||||||||
| m_vecEndPos | Vector | ||||||||||||||||||||||||||||||||||
| m_nModelIndex | Integer | ||||||||||||||||||||||||||||||||||
| m_vecOrigin | Vector | ||||||||||||||||||||||||||||||||||
| moveparent | Integer | ||||||||||||||||||||||||||||||||||
| m_nMinDXLevel | Integer | ||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
Entity DataMaps
| Name | Type | Description |
|---|---|---|
| InputColorBlueValue | ||
| InputColorGreenValue | ||
| InputColorRedValue | ||
| InputNoise | ||
| InputWidth | ||
| m_fAmplitude | ||
| m_fEndWidth | ||
| m_fFadeLength | ||
| m_fHaloScale | ||
| m_fSpeed | ||
| m_fStartFrame | ||
| m_fWidth | ||
| m_flDamage | ||
| m_flFireTime | ||
| m_flFrame | ||
| m_flFrameRate | ||
| m_flHDRColorScale | ||
| m_hAttachEntity | ||
| m_hEndEntity | ||
| m_nAttachIndex | ||
| m_nBeamFlags | ||
| m_nBeamType | ||
| m_nDissolveType | ||
| m_nHaloIndex | ||
| m_nMinDXLevel | ||
| m_nNumBeamEnts | ||
| m_vecEndPos |