CTFRagdoll: Difference between revisions

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


==SendProps==
==SendProps==
{| class="wikitable sortable" style="margin: auto; width: 100%;"
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;"
|+CTFRagdoll
|+CTFRagdoll
!Name
!Name
Line 20: Line 20:
!Description
!Description
|-
|-
|'''m_vecRagdollOrigin'''  
|'''m_vecRagdollOrigin'''
|Vector
|Vector
|
|
|-
|-
|'''m_iPlayerIndex'''  
|'''m_iPlayerIndex'''
|Integer
|Integer
|
|
|-
|-
|'''m_vecForce'''  
|'''m_vecForce'''
|Vector
|Vector
|
|
|-
|-
|'''m_vecRagdollVelocity'''  
|'''m_vecRagdollVelocity'''
|Vector
|Vector
|
|
|-
|-
|'''m_nForceBone'''  
|'''m_nForceBone'''
|Integer
|Integer
|
|
|-
|-
|'''m_bGib'''  
|'''m_bGib'''
|Boolean
|Boolean
|
|
|-
|-
|'''m_bBurning'''  
|'''m_bBurning'''
|Boolean
|Boolean
|
|
|-
|-
|'''m_bElectrocuted'''  
|'''m_bElectrocuted'''
|Boolean
|Boolean
|
|
|-
|-
|'''m_bFeignDeath'''  
|'''m_bFeignDeath'''
|Boolean
|Boolean
|
|
|-
|-
|'''m_bWasDisguised'''  
|'''m_bWasDisguised'''
|Boolean
|Boolean
|
|
|-
|-
|'''m_bBecomeAsh'''  
|'''m_bBecomeAsh'''
|Boolean
|Boolean
|
|
|-
|-
|'''m_bOnGround'''  
|'''m_bOnGround'''
|Boolean
|Boolean
|
|
|-
|-
|'''m_bCloaked'''  
|'''m_bCloaked'''
|Boolean
|Boolean
|
|
|-
|-
|'''m_iDamageCustom'''  
|'''m_iDamageCustom'''
|Integer
|Integer
|
|
|-
|-
|'''m_iTeam'''  
|'''m_iTeam'''
|Integer
|Integer
|
|
|-
|-
|'''m_iClass'''  
|'''m_iClass'''
|Integer
|Integer
|
|
|-
|}
|}
{| class="wikitable sortable mw-collapsible mw-collapsed"
{| class="wikitable mw-collapsible mw-collapsed" colspan="3" style="margin: 0 auto; width: 100%; padding: 0;"
!'''m_hRagWearables'''  
!'''m_hRagWearables'''
!Array
!
|-
|-
|
|
Line 101: Line 100:
|
|
|}
|}
   '''m_hRagWearables''' (CTFRagdoll)
   '''m_hRagWearables''' (CTFRagdoll)



Revision as of 17:26, 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

   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:

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

           ..?