CCaptureFlag: Difference between revisions
Jump to navigation
Jump to search
(Created blank page) |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== 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]''' | |||
'''Linked Entity : [https://developer.valvesoftware.com/wiki/item_teamflag item_teamflag]''' | |||
==[[Classes|Class Structure]]== | |||
*'''[[CBaseEntity]]''' | |||
**'''[[CBaseAnimating]]''' | |||
***'''[[CBaseProp]]''' | |||
****'''[[CBreakableProp]]''' | |||
*****'''[[CDynamicProp]]''' | |||
******'''[[CTFItem]]''' | |||
*******'''CCaptureFlag''' | |||
== SendProps == | |||
{| 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%;" |'''m_bDisabled''' | |||
| style="width: 15%;" |Boolean | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_bVisibleWhenDisabled''' | |||
| style="width: 15%;" |Boolean | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nType''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nFlagStatus''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flResetTime''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flNeutralTime''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flMaxResetTime''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_hPrevOwner''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_szModel''' | |||
| style="width: 15%;" |String | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_szHudIcon''' | |||
| style="width: 15%;" |String | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_szPaperEffect''' | |||
| style="width: 15%;" |String | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_szTrailEffect''' | |||
| style="width: 15%;" |String | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nUseTrailEffect''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_nPointValue''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flAutoCapTime''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_bGlowEnabled''' | |||
| style="width: 15%;" |Boolean | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flTimeToSetPoisonous''' | |||
| 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%;" | | |||
|} |
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]
- CBaseEntity
- CBaseAnimating
- CBaseProp
- CBreakableProp
- CDynamicProp
- CTFItem
- CCaptureFlag
- CTFItem
- CDynamicProp
- CBreakableProp
- CBaseProp
- CBaseAnimating
SendProps[edit | edit source]
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]
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 |