CCaptureFlag: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (→SendProps) |
||
| Line 36: | Line 36: | ||
| style="width: 50%;" |'''m_nFlagStatus''' | | style="width: 50%;" |'''m_nFlagStatus''' | ||
| style="width: 15%;" |Integer | | style="width: 15%;" |Integer | ||
| style="width: 35%;" | | | style="width: 35%;" |<code>0</code> when the bomb is reset to its default state, <code>1</code> when the bomb is picked up by a player, and <code>2</code> when the bomb is dropped on the ground | ||
|- | |- | ||
| style="width: 50%;" |'''m_flResetTime''' | | style="width: 50%;" |'''m_flResetTime''' | ||
Revision as of 16:54, 24 April 2025
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 : /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 | 0 when the bomb is reset to its default state, 1 when the bomb is picked up by a player, and 2 when the bomb is dropped on the ground
|
| 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 |