CTFRobotDestructionLogic: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
Handles logic for the robot destruction gamemode.


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


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


==[[SendProps|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''CTFRobotDestructionLogic'''
***'''[[CBaseAnimatingOverlay]]'''
****'''[[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;"
|+CTFRobotDestructionLogic  
|+CTFRobotDestructionLogic  
! style="width: 50%; background-color: #303030; color: white" |Name  
! style="width: 50%; background-color: #303030; color: white" |Name  
Line 89: Line 84:
| style="width: 50%;" |'''m_flCountdownEndTime'''
| style="width: 50%;" |'''m_flCountdownEndTime'''
| style="width: 15%;" |Float
| style="width: 15%;" |Float
| style="width: 35%;" |
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CTFRobotDestructionLogic
! 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%;" |'''InputRoundActivate'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnBlueFinalePeriodEnd'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnBlueFirstFlagStolen'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnBlueFlagStolen'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnBlueHasPoints'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnBlueHitMaxPoints'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnBlueHitZeroPoints'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnBlueLastFlagReturned'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnBlueLeaveMaxPoints'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnRedFinalePeriodEnd'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnRedFirstFlagStolen'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnRedFlagStolen'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnRedHasPoints'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnRedHitMaxPoints'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnRedHitZeroPoints'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnRedLastFlagReturned'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnRedLeaveMaxPoints'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFinaleLength'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flLoserRespawnBonusPerBot'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flRobotScoreInterval'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iszResFile'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nMaxPoints'''
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}

Latest revision as of 15:55, 10 July 2022

Overview[edit | edit source]

Handles logic for the robot destruction gamemode.

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

Linked Entity : tf_logic_robot_destruction

Class Structure[edit | edit source]

SendProps[edit | edit source]

CTFRobotDestructionLogic
Name Type Description
m_nMaxPoints Integer
m_nBlueScore Integer
m_nRedScore Integer
m_nBlueTargetPoints Integer
m_nRedTargetPoints Integer
m_flBlueTeamRespawnScale Float
m_flRedTeamRespawnScale Float
m_flBlueFinaleEndTime Float
m_flRedFinaleEndTime Float
m_flFinaleLength Float
m_szResFile String
m_eWinningMethod
000 Integer
001 Integer
002 Integer
003 Integer
m_flCountdownEndTime Float

Entity DataMaps[edit | edit source]

CTFRobotDestructionLogic
Name Type Description
InputRoundActivate
m_OnBlueFinalePeriodEnd
m_OnBlueFirstFlagStolen
m_OnBlueFlagStolen
m_OnBlueHasPoints
m_OnBlueHitMaxPoints
m_OnBlueHitZeroPoints
m_OnBlueLastFlagReturned
m_OnBlueLeaveMaxPoints
m_OnRedFinalePeriodEnd
m_OnRedFirstFlagStolen
m_OnRedFlagStolen
m_OnRedHasPoints
m_OnRedHitMaxPoints
m_OnRedHitZeroPoints
m_OnRedLastFlagReturned
m_OnRedLeaveMaxPoints
m_flFinaleLength
m_flLoserRespawnBonusPerBot
m_flRobotScoreInterval
m_iszResFile
m_nMaxPoints