CBaseCombatCharacter: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 269: | Line 269: | ||
|- | |- | ||
| style="width: 50%;" |'''m_bPreventWeaponPickup''' | | style="width: 50%;" |'''m_bPreventWeaponPickup''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Boolean | ||
| style="width: 35%;" | | | style="width: 35%;" |Is this entity allowed to acquire weapons? For players this doesn't just include picking up weapons off the ground, but also prevents weapons from being assigned on spawn or resupply. | ||
|- | |- | ||
| style="width: 50%;" |'''m_bloodColor''' | | style="width: 50%;" |'''m_bloodColor''' | ||
Line 289: | Line 289: | ||
|- | |- | ||
| style="width: 50%;" |'''m_flNextAttack''' | | style="width: 50%;" |'''m_flNextAttack''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Float | ||
| style="width: 35%;" | | | style="width: 35%;" |A timestamp for when this entity is ready to attack. (Weapon switches modify this time.) | ||
|- | |- | ||
| style="width: 50%;" |'''m_hActiveWeapon''' | | style="width: 50%;" |'''m_hActiveWeapon''' | ||
Line 305: | Line 305: | ||
|- | |- | ||
| style="width: 50%;" |'''m_iDamageCount''' | | style="width: 50%;" |'''m_iDamageCount''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Integer | ||
| style="width: 35%;" | | | style="width: 35%;" |How many times this entity has taken damage | ||
|- | |- | ||
| style="width: 50%;" |'''m_impactEnergyScale''' | | style="width: 50%;" |'''m_impactEnergyScale''' |
Revision as of 06:02, 23 March 2023
Overview
Contains functionality common between NPCs and players.
Source Location : /game/server/basecombatcharacter.h
Class Structure
- CBaseEntity
- CBaseAnimating
- CBaseAnimatingOverlay
- CBaseFlex
- CBaseCombatCharacter
- CBaseFlex
- CBaseAnimatingOverlay
- CBaseAnimating
SendProps
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
m_bGlowEnabled | Boolean | Whether or not to render a team colored outline around this entity. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
m_hActiveWeapon | Integer | The weapon this entity is currently using. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Entity DataMaps
Name | Type | Description |
---|---|---|
InputKilledNPC | ||
m_CurrentWeaponProficiency | ||
m_HackedGunPos | ||
m_LastHitGroup | ||
m_Relationship | ||
m_RelationshipString | ||
m_bForceServerRagdoll | ||
m_bPreventWeaponPickup | Boolean | Is this entity allowed to acquire weapons? For players this doesn't just include picking up weapons off the ground, but also prevents weapons from being assigned on spawn or resupply. |
m_bloodColor | ||
m_eHull | ||
m_flDamageAccumulator | ||
m_flFieldOfView | ||
m_flNextAttack | Float | A timestamp for when this entity is ready to attack. (Weapon switches modify this time.) |
m_hActiveWeapon | Handle | The weapon this entity currently has equipped |
m_hMyWeapons | Array (Handle) | An array of weapons this entity possesses |
m_iAmmo | ||
m_iDamageCount | Integer | How many times this entity has taken damage |
m_impactEnergyScale |