CTeamTrainWatcher: Difference between revisions

From SigMod
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 ==
...
Tracks the payload progress and displays it on the HUD.


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


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


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


== SendProps ==
== SendProps ==

Latest revision as of 16:33, 9 March 2023

Overview[edit | edit source]

Tracks the payload progress and displays it on the HUD.

Source location : /game/server/team_train_watcher.h

Linked Entity : team_train_watcher

Class Structure[edit | edit source]

SendProps[edit | edit source]

CTeamTrainWatcher
Name Type Description
m_flTotalProgress Float
m_iTrainSpeedLevel Integer
m_flRecedeTime Float
m_nNumCappers Integer
m_hGlowEnt Integer

Entity DataMaps[edit | edit source]

CTeamTrainWatcher
Name Type Description
InputDisable
InputEnable
InputOnStartOvertime
InputRoundActivate
InputSetNumTrainCappers
InputSetSpeedForwardModifier
InputSetTrainCanRecede
InputSetTrainRecedeTime
InputSetTrainRecedeTimeAndUpdate
m_OnTrainStartRecede
m_bDisabled
m_bHandleTrainMovement
m_bTrainCanRecede
m_flSpeedForwardModifier
m_flSpeedLevels[0]
m_flSpeedLevels[1]
m_flSpeedLevels[2]
m_iszGoalNode
m_iszLinkedCPs[0]
m_iszLinkedCPs[1]
m_iszLinkedCPs[2]
m_iszLinkedCPs[3]
m_iszLinkedCPs[4]
m_iszLinkedCPs[5]
m_iszLinkedCPs[6]
m_iszLinkedCPs[7]
m_iszLinkedPathTracks[0]
m_iszLinkedPathTracks[1]
m_iszLinkedPathTracks[2]
m_iszLinkedPathTracks[3]
m_iszLinkedPathTracks[4]
m_iszLinkedPathTracks[5]
m_iszLinkedPathTracks[6]
m_iszLinkedPathTracks[7]
m_iszSparkName
m_iszStartNode
m_iszTrain
m_nTrainRecedeTime