CBaseCombatCharacter: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 41: | Line 41: | ||
| style="width: 50%;" |'''000''' | | style="width: 50%;" |'''000''' | ||
| style="width: 15%;" |Integer | | style="width: 15%;" |Integer | ||
| style="width: 35%;" |An array of weapon handles this entity | | style="width: 35%;" |An array of weapon handles this entity posesses | ||
|- | |- | ||
|'''001''' | |'''001''' | ||
Line 293: | Line 293: | ||
|- | |- | ||
| style="width: 50%;" |'''m_hActiveWeapon''' | | style="width: 50%;" |'''m_hActiveWeapon''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Handle | ||
| style="width: 35%;" | | | style="width: 35%;" |The weapon this entity currently has equipped | ||
|- | |- | ||
| style="width: 50%;" |'''m_hMyWeapons''' | | style="width: 50%;" |'''m_hMyWeapons''' | ||
| style="width: 15%;" | | | style="width: 15%;" |Array (Handle) | ||
| style="width: 35%;" | | | style="width: 35%;" |An array of weapons this entity possesses | ||
|- | |- | ||
| style="width: 50%;" |'''m_iAmmo''' | | style="width: 50%;" |'''m_iAmmo''' |
Revision as of 17:47, 13 November 2022
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 | ||
m_bloodColor | ||
m_eHull | ||
m_flDamageAccumulator | ||
m_flFieldOfView | ||
m_flNextAttack | ||
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 | ||
m_impactEnergyScale |