CTFPlayerDestructionLogic: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Undo revision 1470 by Mince (talk))
Tag: Undo
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
Handles the logic for the player destruction gamemode.


'''Source location : ...'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/tf/tf_logic_player_destruction.h /game/shared/tf/tf_logic_player_destruction.h]'''


'''Linked entity : ...'''
'''Linked Entity : [https://developer.valvesoftware.com/wiki/tf_logic_player_destruction tf_logic_player_destruction]'''


==[[SendProps|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CTFRobotDestructionLogic]]'''
***'''[[CBaseAnimatingOverlay]]'''
***'''CTFPlayerDestructionLogic'''
****'''[[CBaseFlex]]'''
*****'''[[CBaseCombatCharacter]]'''
******'''[[CBasePlayer]]'''
*******'''CTFPlayer'''


== SendProps ==
== SendProps ==
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;"
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CTFPlayerDestructionLogic  
|+CTFPlayerDestructionLogic  
! style="width: 50%; background-color: #303030; color: white" |Name  
! style="width: 50%; background-color: #303030; color: white" |Name  
Line 36: Line 32:
| style="width: 50%;" |'''m_bUsingCountdownImage'''
| style="width: 50%;" |'''m_bUsingCountdownImage'''
| style="width: 15%;" |Boolean
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CTFPlayerDestructionLogic
! 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%;" |'''InputDisableMaxScoreUpdating'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputEnableMaxScoreUpdating'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputScoreBluePoints'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputScoreRedPoints'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetCountdownImage'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetCountdownTimer'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetFlagResetDelay'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetPointsOnPlayerDeath'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnBlueScoreChanged'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnCountdownTimerExpired'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnRedScoreChanged'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszPropDropSound'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszPropModelName'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszPropPickupSound'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nFlagResetDelay'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nHealDistance'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nMinPoints'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nPointsPerPlayer'''
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}

Latest revision as of 15:56, 10 July 2022

Overview[edit | edit source]

Handles the logic for the player destruction gamemode.

Source location : /game/shared/tf/tf_logic_player_destruction.h

Linked Entity : tf_logic_player_destruction

Class Structure[edit | edit source]

SendProps[edit | edit source]

CTFPlayerDestructionLogic
Name Type Description
m_hRedTeamLeader Integer
m_hBlueTeamLeader Integer
m_iszCountdownImage String
m_bUsingCountdownImage Boolean

Entity DataMaps[edit | edit source]

CTFPlayerDestructionLogic
Name Type Description
InputDisableMaxScoreUpdating
InputEnableMaxScoreUpdating
InputScoreBluePoints
InputScoreRedPoints
InputSetCountdownImage
InputSetCountdownTimer
InputSetFlagResetDelay
InputSetPointsOnPlayerDeath
m_OnBlueScoreChanged
m_OnCountdownTimerExpired
m_OnRedScoreChanged
m_iszPropDropSound
m_iszPropModelName
m_iszPropPickupSound
m_nFlagResetDelay
m_nHealDistance
m_nMinPoints
m_nPointsPerPlayer