CCaptureFlag: Difference between revisions

From SigMod
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 ==
...
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 : ...'''
'''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]'''


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


==[[SendProps|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
***'''[[CBaseAnimatingOverlay]]'''
***'''[[CBaseProp]]'''
****'''[[CBaseFlex]]'''
****'''[[CBreakableProp]]'''
*****'''[[CBaseCombatCharacter]]'''
*****'''[[CDynamicProp]]'''
******'''[[CBasePlayer]]'''
******'''[[CTFItem]]'''
*******'''CTFPlayer'''
*******'''CCaptureFlag'''


== 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;"
|+CCaptureFlag  
|+CCaptureFlag  
! style="width: 50%; background-color: #303030; color: white" |Name  
! style="width: 50%; background-color: #303030; color: white" |Name  
Line 88: Line 88:
| style="width: 50%;" |'''m_flTimeToSetPoisonous'''
| style="width: 50%;" |'''m_flTimeToSetPoisonous'''
| style="width: 15%;" |Float
| style="width: 15%;" |Float
| style="width: 35%;" |
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CCaptureFlag
! 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%;" |'''InputDisable'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputEnable'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputForceDrop'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputForceGlowDisabled'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputForceReset'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputForceResetAndDisableSilent'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputForceResetSilent'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputRoundActivate'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetReturnTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputShowTimer'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnCapTeam1'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnCapTeam2'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnTouchSameTeam'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bReturnBetweenWaves'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bUseShotClockMode'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bVisibleWhenDisabled'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszHudIcon'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszModel'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszPaperEffect'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszTags'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszTrailEffect'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nNeutralType'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nPointValue'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nReturnTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nScoringType'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nType'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nUseTrailEffect'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnCapture'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnCapture1'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnDrop'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnDrop1'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnPickUp'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnPickUp1'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnPickUpTeam1'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnPickUpTeam2'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_outputOnReturn'''
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}

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