CCaptureFlag: 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 ==
...
A flag (by default the intelligence briefcase) which can be carried by players in various gamemodes such as Capture the Flag or Mann vs. Machine (with a bomb model).


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

Latest revision as of 23:01, 10 August 2022

Overview[edit | edit source]

A flag (by default the intelligence briefcase) which can be carried by players in various gamemodes such as Capture the Flag or Mann vs. Machine (with a bomb model).

Source location : /game/shared/tf/entity_capture_flag.h

Linked Entity : item_teamflag

Class Structure[edit | edit source]

SendProps[edit | edit source]

CCaptureFlag
Name Type Description
m_bDisabled Boolean
m_bVisibleWhenDisabled Boolean
m_nType Integer
m_nFlagStatus Integer
m_flResetTime Float
m_flNeutralTime Float
m_flMaxResetTime Float
m_hPrevOwner Integer
m_szModel String
m_szHudIcon String
m_szPaperEffect String
m_szTrailEffect String
m_nUseTrailEffect Integer
m_nPointValue Integer
m_flAutoCapTime Float
m_bGlowEnabled Boolean
m_flTimeToSetPoisonous Float

Entity DataMaps[edit | edit source]

CCaptureFlag
Name Type Description
InputDisable
InputEnable
InputForceDrop
InputForceGlowDisabled
InputForceReset
InputForceResetAndDisableSilent
InputForceResetSilent
InputRoundActivate
InputSetReturnTime
InputShowTimer
m_OnCapTeam1
m_OnCapTeam2
m_OnTouchSameTeam
m_bReturnBetweenWaves
m_bUseShotClockMode
m_bVisibleWhenDisabled
m_iszHudIcon
m_iszModel
m_iszPaperEffect
m_iszTags
m_iszTrailEffect
m_nNeutralType
m_nPointValue
m_nReturnTime
m_nScoringType
m_nType
m_nUseTrailEffect
m_outputOnCapture
m_outputOnCapture1
m_outputOnDrop
m_outputOnDrop1
m_outputOnPickUp
m_outputOnPickUp1
m_outputOnPickUpTeam1
m_outputOnPickUpTeam2
m_outputOnReturn