CTFRagdoll: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 2: | Line 2: | ||
Ragdolls in TF2 are instances of this class. | Ragdolls in TF2 are instances of this class. | ||
'''Source location : | '''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/server/tf/tf_player.cpp /game/server/tf/tf_player.cpp]''' | ||
'''Linked entity : [https://developer.valvesoftware.com/wiki/Tf_ragdoll tf_ragdoll]''' | '''Linked entity : [https://developer.valvesoftware.com/wiki/Tf_ragdoll tf_ragdoll]''' | ||
Revision as of 04:17, 19 February 2022
Overview
Ragdolls in TF2 are instances of this class.
Source location : /game/server/tf/tf_player.cpp
Linked entity : tf_ragdoll
Class Structure
- CBaseEntity
- CBaseAnimating
- CBaseAnimatingOverlay
- CTFRagdoll
- CBaseAnimatingOverlay
- CBaseAnimating
SendProps
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| m_vecRagdollOrigin | Vector | |||||||||||||||||||||||||||||||||||||
| m_iPlayerIndex | Integer | |||||||||||||||||||||||||||||||||||||
| m_vecForce | Vector | |||||||||||||||||||||||||||||||||||||
| m_vecRagdollVelocity | Vector | |||||||||||||||||||||||||||||||||||||
| m_nForceBone | Integer | |||||||||||||||||||||||||||||||||||||
| m_bGib | Boolean | |||||||||||||||||||||||||||||||||||||
| m_bBurning | Boolean | |||||||||||||||||||||||||||||||||||||
| m_bElectrocuted | Boolean | |||||||||||||||||||||||||||||||||||||
| m_bFeignDeath | Boolean | |||||||||||||||||||||||||||||||||||||
| m_bWasDisguised | Boolean | |||||||||||||||||||||||||||||||||||||
| m_bBecomeAsh | Boolean | |||||||||||||||||||||||||||||||||||||
| m_bOnGround | Boolean | |||||||||||||||||||||||||||||||||||||
| m_bCloaked | Boolean | |||||||||||||||||||||||||||||||||||||
| m_iDamageCustom | Integer | |||||||||||||||||||||||||||||||||||||
| m_iTeam | Integer | |||||||||||||||||||||||||||||||||||||
| m_iClass | Integer | |||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| m_bGoldRagdoll | Boolean | |||||||||||||||||||||||||||||||||||||
| m_bIceRagdoll | Boolean | |||||||||||||||||||||||||||||||||||||
| m_bCritOnHardHit | Boolean | |||||||||||||||||||||||||||||||||||||
| m_flHeadScale | Float | |||||||||||||||||||||||||||||||||||||
| m_flTorsoScale | Float | |||||||||||||||||||||||||||||||||||||
| m_flHandScale | Float | |||||||||||||||||||||||||||||||||||||