CTesla: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (One intermediate revision 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 | '''Linked Entity : [https://developer.valvesoftware.com/wiki/point_tesla point_tesla]''' | ||
==[[Classes|Class Structure]]== | ==[[Classes|Class Structure]]== | ||
*'''[[CBaseEntity]]''' | *'''[[CBaseEntity]]''' | ||
**''' | **'''CTesla''' | ||
== SendProps == | == SendProps == | ||
Latest revision as of 19:11, 10 August 2022
Overview
Generates lightning arcs around it's origin.
Source location : /game/server/tesla.h
Linked Entity : point_tesla
Class Structure
- CBaseEntity
- CTesla
SendProps
| Name | Type | Description |
|---|---|---|
| m_SoundName | String | |
| m_iszSpriteName | String |
Entity DataMaps
| 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 |