CTFRobotDestructionLogic: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision 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]'''


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


== SendProps ==
== SendProps ==

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