CTFObjectiveResource: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Re-added rows for the array of Flags)
No edit summary
 
Line 1: Line 1:
== Overview ==
== Overview ==
...
Manages and networks the state of data pertaining to the Mann vs Machine gamemode.


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

Latest revision as of 23:29, 10 August 2022

Overview[edit | edit source]

Manages and networks the state of data pertaining to the Mann vs Machine gamemode.

Source location : /game/server/tf/tf_objective_resource.h

Linked entity : tf_objective_resource

Class Structure[edit | edit source]

SendProps[edit | edit source]

CTFObjectiveResource
Name Type Description
m_nMannVsMachineMaxWaveCount Integer The max wave count on the wavebar.
m_nMannVsMachineWaveCount Integer The current wave count on the wavebar.
m_nMannVsMachineWaveEnemyCount Integer Total amount of mainwave enemies. Does not update the wavebar's progress bar during a wave if changed, until an icon is added or removed.
m_nMvMWorldMoney Integer Total worth of currency packs that currently exist in the world and can be picked up.
m_flMannVsMachineNextWaveTime Float
m_bMannVsMachineBetweenWaves Boolean
m_nFlagCarrierUpgradeLevel Integer
m_flMvMBaseBombUpgradeTime Float
m_flMvMNextBombUpgradeTime Float
m_iszMvMPopfileName String Name of the popfile. Modifying this with $SetProp causes the server to change to a different map on mission end; use $SetClientProp instead.
m_iChallengeIndex Integer
m_nMvMEventPopfileType Integer
m_nMannVsMachineWaveClassCounts
000 Integer Amount of bots with the first WaveSpawn's icon, as displayed on the wavebar.
001 Integer
002 Integer
003 Integer
004 Integer
005 Integer
006 Integer
007 Integer
008 Integer
009 Integer
010 Integer
011 Integer
m_iszMannVsMachineWaveClassNames String The first wavespawn's bot's ClassIcon name.
m_iszMannVsMachineWaveClassNames Array The selected wavespawn's bot's ClassIcon name.
m_nMannVsMachineWaveClassFlags
0 Integer Flags for the icons on the wavebar. Icon order is based on the order in which they are listed in the popfile.


Removes it from the wavebar.

1 Integer Moves the icon to be part of the main wave.
2 Integer Moves the icon to be part of support.
4 Integer Moves the icon to be part of Mission support, coming after "regular" support.
8 Integer Adds a red background to the icon; only works if it is part of the main wave. Used to indicate giants and tanks.
16 Integer Adds a crit outline to the icon.
000 Integer
001 Integer
002 Integer
003 Integer
004 Integer
005 Integer
006 Integer
007 Integer
008 Integer
009 Integer
010 Integer
011 Integer
m_nMannVsMachineWaveClassCounts2
000 Integer
001 Integer
002 Integer
003 Integer
004 Integer
005 Integer
006 Integer
007 Integer
008 Integer
009 Integer
010 Integer
011 Integer
m_iszMannVsMachineWaveClassNames2 String
m_iszMannVsMachineWaveClassNames2 Array
m_nMannVsMachineWaveClassFlags2
000 Integer
001 Integer
002 Integer
003 Integer
004 Integer
005 Integer
006 Integer
007 Integer
008 Integer
009 Integer
010 Integer
011 Integer
m_bMannVsMachineWaveClassActive
000 Boolean
001 Boolean
002 Boolean
003 Boolean
004 Boolean
005 Boolean
006 Boolean
007 Boolean
008 Boolean
009 Boolean
010 Boolean
011 Boolean
m_bMannVsMachineWaveClassActive2
000 Boolean
001 Boolean
002 Boolean
003 Boolean
004 Boolean
005 Boolean
006 Boolean
007 Boolean
008 Boolean
009 Boolean
010 Boolean
011 Boolean

Entity DataMaps[edit | edit source]

CTFObjectiveResource
Name Type Description
m_bMannVsMachineBetweenWaves
m_bMannVsMachineWaveClassActive
m_bMannVsMachineWaveClassActive2
m_flMannVsMachineNextWaveTime
m_iszMannVsMachineWaveClassNames
m_iszMannVsMachineWaveClassNames2
m_nMannVsMachineMaxWaveCount
m_nMannVsMachineWaveClassCounts
m_nMannVsMachineWaveClassCounts2
m_nMannVsMachineWaveClassFlags
m_nMannVsMachineWaveClassFlags2
m_nMannVsMachineWaveCount
m_nMannVsMachineWaveEnemyCount
m_nMvMWorldMoney