CTFRagdoll: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:


== SendProps ==
== SendProps ==
'''CTFRagdoll'''


===== '''CTFRagdoll''' =====
   '''m_vecRagdollOrigin''' (CTFRagdoll)
   '''m_vecRagdollOrigin''' (CTFRagdoll)



Revision as of 16:11, 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

   m_vecRagdollOrigin (CTFRagdoll)

       Type: vector

       Description:

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

           ..?

   m_iPlayerIndex (CTFRagdoll)

       Type: integer

       Description:

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

           ..?

   m_vecForce (CTFRagdoll)

       Type: vector

       Description:

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

           ..?

   m_vecRagdollVelocity (CTFRagdoll)

       Type: vector

       Description:

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

           ..?

   m_nForceBone (CTFRagdoll)

       Type: integer

       Description:

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

           ..?

   m_bGib (CTFRagdoll)

       Type: boolean

       Description:

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

           ..?

   m_bBurning (CTFRagdoll)

       Type: boolean

       Description:

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

           ..?

   m_bElectrocuted (CTFRagdoll)

       Type: boolean

       Description:

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

           ..?

   m_bFeignDeath (CTFRagdoll)

       Type: boolean

       Description:

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

           ..?

   m_bWasDisguised (CTFRagdoll)

       Type: boolean

       Description:

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

           ..?

   m_bBecomeAsh (CTFRagdoll)

       Type: boolean

       Description:

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

           ..?

   m_bOnGround (CTFRagdoll)

       Type: boolean

       Description:

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

           ..?

   m_bCloaked (CTFRagdoll)

       Type: boolean

       Description:

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

           ..?

   m_iDamageCustom (CTFRagdoll)

       Type: integer

       Description:

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

           ..?

   m_iTeam (CTFRagdoll)

       Type: integer

       Description:

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

           ..?

   m_iClass (CTFRagdoll)

       Type: integer

       Description:

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

           ..?

   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:

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

           ..?