CTesla: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
Generates lightning arcs around it's origin.


'''Source location : ...'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/tesla.h /game/server/tesla.h]'''


'''Linked entity : ...'''
'''Linked Entity : [https://developer.valvesoftware.com/wiki/point_tesla point_tesla]'''


==[[SendProps|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''CTesla'''
***'''[[CBaseAnimatingOverlay]]'''
****'''[[CBaseFlex]]'''
*****'''[[CBaseCombatCharacter]]'''
******'''[[CBasePlayer]]'''
*******'''CTFPlayer'''


== 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;"
|+CTesla  
|+CTesla  
! style="width: 50%; background-color: #303030; color: white" |Name  
! style="width: 50%; background-color: #303030; color: white" |Name  
Line 28: Line 23:
| style="width: 50%;" |'''m_iszSpriteName'''
| style="width: 50%;" |'''m_iszSpriteName'''
| style="width: 15%;" |String
| style="width: 15%;" |String
| style="width: 35%;" |
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CTesla
! 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%;" |'''CTeslaShootArcThink'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputDoSpark'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputTurnOff'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputTurnOn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_Color'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_NumBeams[0]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_NumBeams[1]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_SoundName'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_SourceEntityName'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bOn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flArcInterval[0]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flArcInterval[1]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flRadius'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flThickness[0]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flThickness[1]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flTimeVisible[0]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flTimeVisible[1]'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszSpriteName'''
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}

Latest revision as of 19:11, 10 August 2022

Overview[edit | edit source]

Generates lightning arcs around it's origin.

Source location : /game/server/tesla.h

Linked Entity : point_tesla

Class Structure[edit | edit source]

SendProps[edit | edit source]

CTesla
Name Type Description
m_SoundName String
m_iszSpriteName String

Entity DataMaps[edit | edit source]

CTesla
Name Type Description
CTeslaShootArcThink
InputDoSpark
InputTurnOff
InputTurnOn
m_Color
m_NumBeams[0]
m_NumBeams[1]
m_SoundName
m_SourceEntityName
m_bOn
m_flArcInterval[0]
m_flArcInterval[1]
m_flRadius
m_flThickness[0]
m_flThickness[1]
m_flTimeVisible[0]
m_flTimeVisible[1]
m_iszSpriteName