CTFRobotDestructionLogic: Difference between revisions

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


'''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 : [https://developer.valvesoftware.com/wiki/tf_logic_robot_destruction tf_logic_robot_destruction]'''
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
**'''CTFRobotDestructionLogic'''
== SendProps ==
{| 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%;" |'''m_nMaxPoints'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nBlueScore'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nRedScore'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nBlueTargetPoints'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nRedTargetPoints'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flBlueTeamRespawnScale'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flRedTeamRespawnScale'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flBlueFinaleEndTime'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flRedFinaleEndTime'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFinaleLength'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_szResFile'''
| style="width: 15%;" |String
| 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_eWinningMethod
|-
| style="width: 50%;" |'''000'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''001'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''002'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''003'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|}
|-
| style="width: 50%;" |'''m_flCountdownEndTime'''
| 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%;" |
|}

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