CTFRagdoll: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;"
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;"
|+CTFRagdoll
|+CTFRagdoll
!Name
! style="width: 20%;" |Name
!Type
! style="width: 20%;" |Type
!Description
! style="width: 60%;" |Description
|-
|-
|'''m_vecRagdollOrigin'''
|'''m_vecRagdollOrigin'''
Line 84: Line 84:
|
|
|-
|-
|'''m_hRagWearables'''  
| colspan="3" style="padding: 0; margin: 0" |
|Array
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |m_hRagWearables
|-
| colspan="3" style="padding: 0; margin: 0" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |lengthproxy
|-
| style="width: 20%;" |'''lengthprop8'''
| style="width: 20%;" |Integer
| style="width: 60%;" |
|}
|-
| style="width: 20%;" |'''000'''
| style="width: 20%;" |Integer
| style="width: 60%;" |
|-
|'''001'''
|Integer
|
|-
|'''002'''
|Integer
|
|-
|'''003'''
|Integer
|
|-
|'''004'''
|Integer
|
|
|}
{| class="wikitable sortable mw-collapsible mw-collapsed"
! colspan="3" |m_hRagWearables
|-
|-
|'''005'''
|Integer
|
|
|-
|'''006'''
|Integer
|
|
|-
|'''007'''
|Integer
|
|
|}
|-
|-
|'''m_bGoldRagdoll'''
|Boolean
|
|
|-
|'''m_bIceRagdoll'''
|Boolean
|
|
|-
|'''m_bCritOnHardHit'''
|Boolean
|
|
|-
|-
|'''m_flHeadScale'''
|Float
|
|
|-
|'''m_flTorsoScale'''
|Float
|
|
|-
|'''m_flHandScale'''
|Float
|
|
|}
|}
   '''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:
       ------------
           ..?

Revision as of 18:03, 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
lengthproxy
lengthprop8 Integer
000 Integer
001 Integer
002 Integer
003 Integer
004 Integer
005 Integer
006 Integer
007 Integer
m_bGoldRagdoll Boolean
m_bIceRagdoll Boolean
m_bCritOnHardHit Boolean
m_flHeadScale Float
m_flTorsoScale Float
m_flHandScale Float