CKothLogic: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created page with "== Overview == ... '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/tf/tf_gamerules.h /game/shared/tf/tf_gamerules.h]''' '''...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
Handles logic for the KOTH gamemode.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/tf/tf_gamerules.h /game/shared/tf/tf_gamerules.h]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/tf/tf_gamerules.h /game/shared/tf/tf_gamerules.h]'''
Line 10: Line 10:
**'''[[CPointEntity]]'''
**'''[[CPointEntity]]'''
***'''CKothLogic'''
***'''CKothLogic'''
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CKothLogic
! 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%;" |'''InputAddBlueTimer'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputAddRedTimer'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputRoundActivate'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputRoundSpawn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetBlueTimer'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetRedTimer'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nTimeToUnlockPoint'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nTimerInitialLength'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 16:16, 10 July 2022

Overview[edit | edit source]

Handles logic for the KOTH gamemode.

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

Linked Entity : tf_logic_koth

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CKothLogic
Name Type Description
InputAddBlueTimer
InputAddRedTimer
InputRoundActivate
InputRoundSpawn
InputSetBlueTimer
InputSetRedTimer
m_nTimeToUnlockPoint
m_nTimerInitialLength