Editing CTFRagdoll

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 34: Line 34:
|'''m_vecRagdollVelocity'''
|'''m_vecRagdollVelocity'''
|Vector
|Vector
|The velocity of the ragdoll's associated player when they died.
|The velocity of the player when the ragdoll was spawned.
|-
|-
|'''m_nForceBone'''
|'''m_nForceBone'''
Line 58: Line 58:
|'''m_bWasDisguised'''
|'''m_bWasDisguised'''
|Boolean
|Boolean
|Whether or not our player was disguised when they died.
|
|-
|-
|'''m_bBecomeAsh'''
|'''m_bBecomeAsh'''
|Boolean
|Boolean
|Whether or not our player was killed by a weapon with item attribute ragdolls become ash
|
|-
|-
|'''m_bOnGround'''
|'''m_bOnGround'''
Line 161: Line 161:
|'''m_iTeam'''
|'''m_iTeam'''
|Integer
|Integer
|The team the ragdoll's associated player was when they died.
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="1" |Values
|-
|
|
* 0 - None
* 1 - Spectator
* 2 - RED
* 3 - BLU
* 5 - Boss / Neutral
|}
|-
|-
|'''m_iClass'''
|'''m_iClass'''
|Integer
|Integer
|The class the ragdoll's associated player was when they died.
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="1" |Values
|-
|
|
* 0 - TF_CLASS_UNDEFINED
* 1 - TF_CLASS_SCOUT
* 2 - TF_CLASS_SNIPER
* 3 - TF_CLASS_SOLDIER
* 4 - TF_CLASS_DEMOMAN
* 5 - TF_CLASS_MEDIC
* 6 - TF_CLASS_HEAVYWEAPONS
* 7 - TF_CLASS_PYRO
* 8 - TF_CLASS_SPY
* 9 - TF_CLASS_ENGINEER
* 10 - TF_CLASS_CIVILIAN
* 11 - TF_CLASS_COUNT_ALL
* 12 - TF_CLASS_RANDOM
|}
|-
|-
| colspan="3" style="padding: 0; margin: 0" |
| colspan="3" style="padding: 0; margin: 0" |
Line 206: Line 178:
| style="width: 20%;" |Integer
| style="width: 20%;" |Integer
| style="width: 60%;" |
| style="width: 60%;" |
|-
| colspan="3" style="padding: 0 auto; margin: 0 auto;" |
{| class="wikitable" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" style="background-color: rgb(45, 62, 97)" |
|}
|}
|}
|-
|-
| style="width: 20%;" |'''000'''
| style="width: 20%;" |'''000'''
| style="width: 20%;" |Integer
| style="width: 20%;" |Integer
| style="width: 60%;" |CEconWearable Vector. Wearables taken from our player are stored here.
| style="width: 60%;" |
|-
|-
|'''001'''
|'''001'''
Line 244: Line 211:
|Integer
|Integer
|
|
|-
| colspan="3" style="padding: 0 auto; margin: 0 auto;" |
{| class="wikitable" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" style="background-color: rgb(45, 62, 97)" |
|}
|}
|}
|-
|-
|'''m_bGoldRagdoll'''
|'''m_bGoldRagdoll'''
|Boolean
|Boolean
|Whether or not the ragdoll was turned to gold.
|
|-
|-
|'''m_bIceRagdoll'''
|'''m_bIceRagdoll'''
|Boolean
|Boolean
|Whether or not the ragdoll was turned to ice.
|
|-
|-
|'''m_bCritOnHardHit'''
|'''m_bCritOnHardHit'''
|Boolean
|Boolean
|Whether or not the weapon that killed our player have item attribute crit on hard hit
|
|-
|-
|'''m_flHeadScale'''
|'''m_flHeadScale'''
|Float
|Float
|The head scale of the ragdoll.
|
|-
|-
|'''m_flTorsoScale'''
|'''m_flTorsoScale'''
|Float
|Float
|The torso scale of the ragdoll.
|
|-
|-
|'''m_flHandScale'''
|'''m_flHandScale'''
|Float
|Float
|The hand scale of the ragdoll.
|
|}
|}
Please note that all contributions to SigMod are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see SigMod:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)