CTFPlayerDestructionLogic: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (3 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 | '''Linked Entity : [https://developer.valvesoftware.com/wiki/tf_logic_player_destruction tf_logic_player_destruction]''' | ||
==[[Classes|Class Structure]]== | ==[[Classes|Class Structure]]== | ||
*'''[[CBaseEntity]]''' | *'''[[CBaseEntity]]''' | ||
**'''[[ | **'''[[CTFRobotDestructionLogic]]''' | ||
***''' | ***'''CTFPlayerDestructionLogic''' | ||
== SendProps == | == SendProps == | ||
{| class="wikitable sortable {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; | {| 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%;" |'''m_hRedTeamLeader''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_hBlueTeamLeader''' | |||
| style="width: 15%;" |Integer | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_iszCountdownImage''' | |||
| style="width: 15%;" |String | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_bUsingCountdownImage''' | |||
| 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 | |+CTFPlayerDestructionLogic | ||
! style="width: 50%; background-color: #303030; color: white" |Name | ! style="width: 50%; background-color: #303030; color: white" |Name | ||
| Line 92: | Line 112: | ||
| style="width: 50%;" |'''m_nPointsPerPlayer''' | | style="width: 50%;" |'''m_nPointsPerPlayer''' | ||
| style="width: 15%;" | | | style="width: 15%;" | | ||
| style="width: 35%;" | | | style="width: 35%;" | | ||
|} | |} | ||
Latest revision as of 15:56, 10 July 2022
Overview
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
- CBaseEntity
- CTFRobotDestructionLogic
- CTFPlayerDestructionLogic
- CTFRobotDestructionLogic
SendProps
| Name | Type | Description |
|---|---|---|
| m_hRedTeamLeader | Integer | |
| m_hBlueTeamLeader | Integer | |
| m_iszCountdownImage | String | |
| m_bUsingCountdownImage | Boolean |
Entity DataMaps
| 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 |