CTFRagdoll: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 86: Line 86:
|'''m_hRagWearables'''  
|'''m_hRagWearables'''  
|Array
|Array
|-
|'''lengthproxy'''
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|-
|
|
|
|}
{| class="wikitable sortable mw-collapsible mw-collapsed"
! colspan="3" |m_hRagWearables
|-
|-
|
|
|
|-
|
|
|
|
|-
|-
|
|
|
|-
|
|
|
|
|-
|-
|
|
|
|-
|
|
|
|

Revision as of 17:40, 30 January 2022

Overview

Ragdolls in TF2 will be instances of this class.

Source Location : /game/server/tf/tf_player.cpp

Linked entity : tf_ragdoll

Class Structure

SendProps

CTFRagdoll
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_hRagWearables Array
m_hRagWearables


   m_hRagWearables (CTFRagdoll)

       lengthproxy (m_hRagWearables)

           lengthprop8 (lengthproxy)

               Type: integer

               Description:

               ------------

                   ..?

       000 (m_hRagWearables)

           Type: integer

           Description:

           ------------

               ..?

       001 (m_hRagWearables)

           Type: integer

           Description:

           ------------

               ..?

       002 (m_hRagWearables)

           Type: integer

           Description:

           ------------

               ..?

       003 (m_hRagWearables)

           Type: integer

           Description:

           ------------

               ..?

       004 (m_hRagWearables)

           Type: integer

           Description:

           ------------

               ..?

       005 (m_hRagWearables)

           Type: integer

           Description:

           ------------

               ..?

       006 (m_hRagWearables)

           Type: integer

           Description:

           ------------

               ..?

       007 (m_hRagWearables)

           Type: integer

           Description:

           ------------

               ..?

   m_bGoldRagdoll (CTFRagdoll)

       Type: boolean

       Description:

       ------------

           ..?

   m_bIceRagdoll (CTFRagdoll)

       Type: boolean

       Description:

       ------------

           ..?

   m_bCritOnHardHit (CTFRagdoll)

       Type: boolean

       Description:

       ------------

           ..?

   m_flHeadScale (CTFRagdoll)

       Type: float

       Description:

       ------------

           ..?

   m_flTorsoScale (CTFRagdoll)

       Type: float

       Description:

       ------------

           ..?

   m_flHandScale (CTFRagdoll)

       Type: float

       Description:

       ------------

           ..?