CCaptureFlag: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
. | A flag which can be carried by players used 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]''' | ||
Revision as of 23:01, 10 August 2022
Overview
A flag which can be carried by players used 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
- CBaseEntity
- CBaseAnimating
- CBaseProp
- CBreakableProp
- CDynamicProp
- CTFItem
- CCaptureFlag
- CTFItem
- CDynamicProp
- CBreakableProp
- CBaseProp
- CBaseAnimating
SendProps
| 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
| 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 |