Editing CBasePlayer

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 2: Line 2:
The base class for players
The base class for players


'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/server/player.h /game/server/player.h]'''
'''Source location : /game/server/player.h'''
 
'''VScript : [https://developer.valvesoftware.com/wiki/Team_Fortress_2/Scripting/Script_Functions#CBasePlayer Script_Functions#CBasePlayer]'''


==[[Classes|Class Structure]]==
==[[Classes|Class Structure]]==
Line 36: Line 34:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 58: Line 51:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 80: Line 68:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 102: Line 85:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 124: Line 102:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 146: Line 119:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 168: Line 136:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 190: Line 153:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 212: Line 170:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 234: Line 187:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 256: Line 204:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 278: Line 221:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 300: Line 238:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 322: Line 255:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 344: Line 272:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 366: Line 289:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 388: Line 306:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 410: Line 323:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 432: Line 340:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 454: Line 357:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 476: Line 374:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|}
|}
Line 492: Line 385:
| style="width: 15%;" |Boolean
| style="width: 15%;" |Boolean
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 569: Line 457:
| style="width: 50%;" |'''m_szLastPlaceName'''
| style="width: 50%;" |'''m_szLastPlaceName'''
| style="width: 15%;" |String
| style="width: 15%;" |String
| style="width: 35%;" |Name of the last nav place the player has occupied.  Changing this to an invalid nav place will crash.
| style="width: 35%;" |
|-
|-
| colspan="3" style="padding: 0; margin: 0;" |
| colspan="3" style="padding: 0; margin: 0;" |
Line 582: Line 470:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 620: Line 503:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 766: Line 644:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 872: Line 745:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 932: Line 800:
|-
|-
| style="width: 50%;" |'''m_bPoisoned'''
| style="width: 50%;" |'''m_bPoisoned'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bForceLocalPlayerDraw'''
| style="width: 15%;" |Boolean
| style="width: 15%;" |Boolean
| style="width: 35%;" |
| style="width: 35%;" |
Line 1,035: Line 899:
| style="width: 35%;" |
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''m_audio.entIndex'''
| style="width: 50%;" |'''m_audio.ent'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_szScriptOverlayMaterial'''
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 1,071: Line 926:
| style="width: 50%;" |'''000'''
| style="width: 50%;" |'''000'''
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |TF_AMMO_DUMMY
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''001'''
| style="width: 50%;" |'''001'''
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |TF_AMMO_PRIMARY
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''002'''
| style="width: 50%;" |'''002'''
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |TF_AMMO_SECONDARY
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''003'''
| style="width: 50%;" |'''003'''
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |TF_AMMO_METAL
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''004'''
| style="width: 50%;" |'''004'''
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |TF_AMMO_GRENADES1 (Sandman / Wrap Assassin balls)
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''005'''
| style="width: 50%;" |'''005'''
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |TF_AMMO_GRENADES2 (Cleaver
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''006'''
| style="width: 50%;" |'''006'''
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |TF_AMMO_GRENADES3
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''007'''
| style="width: 50%;" |'''007'''
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |TF_AMMO_COUNT
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''008'''
| style="width: 50%;" |'''008'''
Line 1,196: Line 1,051:
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|-
|-
Line 1,270: Line 1,120:
| style="width: 15%;" |Float
| style="width: 15%;" |Float
| style="width: 35%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CBasePlayer
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| style="width: 50%;" |'''CBasePlayerPlayerDeathThink'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputHandleMapEvent'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetFogController'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetHUDVisibility'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetHealth'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_AirFinished'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_ArmorValue'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |m_AttributeList
|-
| 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: 50%;" |'''m_DmgOrigin'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_DmgSave'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_DmgTake'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |m_Local
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |m_PlayerFog
|-
| style="width: 50%;" |'''m_NewColor'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OldColor'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flNewEnd'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flNewStart'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flOldEnd'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flOldStart'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flTransitionTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hCtrl'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |m_audio
|-
| style="width: 50%;" |'''ent'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''localBits'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''localSound'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''soundscapeIndex'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| 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: 50%;" |'''m_bAllowAutoMovement'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bDrawViewmodel'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bDucked'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bDucking'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bInDuckJump'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bPoisoned'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bForceLocalPlayerDraw'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bWearingSuit'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_chAreaBits'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_chAreaPortalBits'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flDuckJumpTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flDucktime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFOVRate'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFallVelocity'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flJumpTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flOldForwardMove'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flStepSize'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |m_fog
|-
| style="width: 50%;" |'''blend'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''colorPrimary'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''colorPrimaryLerpTo'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''colorSecondary'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''colorSecondaryLerpTo'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''dirPrimary'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''duration'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''enable'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''end'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''endLerpTo'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''farz'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''lerptime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''maxdensity'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''start'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''startLerpTo'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| 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: 50%;" |'''m_iHideHUD'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nOldButtons'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nStepside'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |m_skybox3d
|-
| style="width: 50%;" |'''area'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |fog
|-
| style="width: 50%;" |'''blend'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''colorPrimary'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''colorPrimaryLerpTo'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''colorSecondary'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''colorSecondaryLerpTo'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''dirPrimary'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''duration'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''enable'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''end'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''endLerpTo'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''farz'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''lerptime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''maxdensity'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''start'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''startLerpTo'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| 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: 50%;" |'''origin'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''scale'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| 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: 50%;" |'''m_vecOverViewpoint'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecPunchAngle'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecPunchAngleVel'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| 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: 50%;" |'''m_PainFinished'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_StuckLast'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_afButtonDisabled'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_afButtonForced'''
| style="width: 15%;" |
| style="width: 35%;" |Set this netprop to [https://developer.valvesoftware.com/wiki/Team_Fortress_2/Scripting/Script_Functions/Constants#FButtons the corresponding bits] to force player inputs.
|-
| style="width: 50%;" |'''m_afButtonLast'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_afButtonPressed'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_afButtonReleased'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_afPhysicsFlags'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_autoKickDisabled'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bAllowInstantSpawn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bDuckToggled'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bForcedObserverMode'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bLagCompensation'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bPauseBonusProgress'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bPlayerUnderwater'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bPredictWeapons'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bSinglePlayerGameEnding'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bitsDamageType'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bitsHUDDamage'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_fInitHUD'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_fLastPlayerTalkAttemptTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_fLastPlayerTalkTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_fLerpTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flConstraintRadius'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flConstraintSpeedFactor'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flConstraintWidth'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flDeathAnimTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flDeathTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flDuckJumpTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flDuckTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFOVTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFlashTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flForwardMove'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flLaggedMovementValue'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flMaxspeed'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flNextDecalTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flOldPlayerViewOffsetZ'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flOldPlayerZ'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flPlayerTalkAvailableMessagesTier1'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flPlayerTalkAvailableMessagesTier2'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flSideMove'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flStepSoundTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flSuitUpdate'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flSwimSoundTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flSwimTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flVehicleViewFOV'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flWaterJumpTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hConstraintEntity'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hLastWeapon'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hObserverTarget'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hTriggerSoundscapeList'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hUseEntity'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hVehicle'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hViewEntity'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hViewModel'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hZoomOwner'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iBonusChallenge'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iBonusProgress'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iDeaths'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iDefaultFOV'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iFOV'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iFOVStart'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iFrags'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iObserverLastMode'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iObserverMode'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iPlayerLocked'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iRespawnFrames'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iSuicideCustomKillFlags'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iSuitPlayNext'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iTargetVolume'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iTrain'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_idrowndmg'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_idrownrestored'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_lastDamageAmount'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nButtons'''
| style="width: 15%;" |
| style="width: 35%;" |Which buttons player is currently pressing.  Refer to [https://developer.valvesoftware.com/wiki/Team_Fortress_2/Scripting/Script_Functions/Constants this page] for more information
|-
| style="width: 50%;" |'''m_nDrownDmgRate'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nImpulse'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nNumCrateHudHints'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nNumCrouches'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nPoisonDmg'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nPoisonRestored'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nUpdateRate'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_oldOrigin'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_rgItems'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_rgSuitPlayList'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_rgbTimeBasedDamage'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_rgflSuitNoRepeatTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_rgiSuitNoRepeat'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_szAnimExtension'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_szLastPlaceName'''
| style="width: 15%;" |
| style="width: 35%;" |Name of the last nav place the player has occupied.  Changing this to an invalid nav place will crash.
|-
| style="width: 50%;" |'''m_szNetname'''
| style="width: 15%;" |String
| style="width: 35%;" |The display name of the player. (Typically this is their Steam name, but it can be changed for example through SourceMod's sm_rename.)
|-
| style="width: 50%;" |'''m_szNetworkIDString'''
| style="width: 15%;" |String
| style="width: 35%;" |The SteamID3 of the player. (e.g. [U:1:83176584])
|-
| style="width: 50%;" |'''m_tbdPrev'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vNewVPhysicsPosition'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vNewVPhysicsVelocity'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecAdditionalPVSOrigin'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecCameraPVSOrigin'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecConstraintCenter'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecLadderNormal'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecPreviouslyPredictedOrigin'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecSmoothedVelocity'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecWaterJumpVel'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |pl
|-
| style="width: 50%;" |'''deadflag'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |The death state of this player. The player is dead if this is 1, otherwise 0.
|-
| style="width: 50%;" |'''v_angle'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| 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)" |
|}
|}
|}
|}
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)