Editing
CTFObjectiveResource
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== 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]''' '''Linked entity : [https://developer.valvesoftware.com/wiki/tf_objective_resource tf_objective_resource]''' ==[[Classes|Class Structure]]== *'''[[CBaseEntity]]''' **'''[[CBaseTeamObjectiveResource]]''' ***'''CTFObjectiveResource''' == SendProps == {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" |+CTFObjectiveResource ! 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_nMannVsMachineMaxWaveCount''' | style="width: 15%;" |Integer | style="width: 35%;" |The max wave count on the wavebar. |- | style="width: 50%;" |'''m_nMannVsMachineWaveCount''' | style="width: 15%;" |Integer | style="width: 35%;" |The current wave count on the wavebar. |- | style="width: 50%;" |'''m_nMannVsMachineWaveEnemyCount''' | style="width: 15%;" |Integer | style="width: 35%;" |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. |- | style="width: 50%;" |'''m_nMvMWorldMoney''' | style="width: 15%;" |Integer | style="width: 35%;" |Total worth of currency packs that currently exist in the world and can be picked up. |- | style="width: 50%;" |'''m_flMannVsMachineNextWaveTime''' | style="width: 15%;" |Float | style="width: 35%;" | |- | style="width: 50%;" |'''m_bMannVsMachineBetweenWaves''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''m_nFlagCarrierUpgradeLevel''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''m_flMvMBaseBombUpgradeTime''' | style="width: 15%;" |Float | style="width: 35%;" | |- | style="width: 50%;" |'''m_flMvMNextBombUpgradeTime''' | style="width: 15%;" |Float | style="width: 35%;" | |- | style="width: 50%;" |'''m_iszMvMPopfileName''' | style="width: 15%;" |String | style="width: 35%;" |Name of the popfile. Modifying this with $SetProp causes the server to change to a different map on mission end; use $SetClientProp instead. |- | style="width: 50%;" |'''m_iChallengeIndex''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''m_nMvMEventPopfileType''' | style="width: 15%;" |Integer | 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_nMannVsMachineWaveClassCounts |- | style="width: 50%;" |'''000''' | style="width: 15%;" |Integer | style="width: 35%;" |Amount of bots with the first WaveSpawn's icon, as displayed on the wavebar. |- | 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%;" |'''004''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''005''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''006''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''007''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''008''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''009''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''010''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''011''' | style="width: 15%;" |Integer | style="width: 35%;" | |} |- | style="width: 50%;" |'''m_iszMannVsMachineWaveClassNames''' | style="width: 15%;" |String | style="width: 35%;" |The first wavespawn's bot's ClassIcon name. |- | style="width: 50%;" |'''m_iszMannVsMachineWaveClassNames''' | style="width: 15%;" |Array | style="width: 35%;" |The selected wavespawn's bot's ClassIcon name. |- | 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_nMannVsMachineWaveClassFlags |- | style="width: 50%;" |'''0''' | style="width: 15%;" |Integer | style="width: 35%;" |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. |- | style="width: 50%;" |'''1''' | style="width: 15%;" |Integer | style="width: 35%;" |Moves the icon to be part of the main wave. |- | style="width: 50%;" |'''2''' | style="width: 15%;" |Integer | style="width: 35%;" |Moves the icon to be part of support. |- | style="width: 50%;" |'''4''' | style="width: 15%;" |Integer | style="width: 35%;" |Moves the icon to be part of Mission support, coming after "regular" support. |- | style="width: 50%;" |'''8''' | style="width: 15%;" |Integer | style="width: 35%;" |Adds a red background to the icon; only works if it is part of the main wave. Used to indicate giants and tanks. |- | style="width: 50%;" |'''16''' | style="width: 15%;" |Integer | style="width: 35%;" |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 | |} |- | 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_nMannVsMachineWaveClassCounts2 |- | 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%;" |'''004''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''005''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''006''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''007''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''008''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''009''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''010''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''011''' | style="width: 15%;" |Integer | style="width: 35%;" | |} |- | style="width: 50%;" |'''m_iszMannVsMachineWaveClassNames2''' | style="width: 15%;" |String | style="width: 35%;" | |- | style="width: 50%;" |'''m_iszMannVsMachineWaveClassNames2''' | style="width: 15%;" |Array | 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_nMannVsMachineWaveClassFlags2 |- | 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%;" |'''004''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''005''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''006''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''007''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''008''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''009''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''010''' | style="width: 15%;" |Integer | style="width: 35%;" | |- | style="width: 50%;" |'''011''' | style="width: 15%;" |Integer | 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_bMannVsMachineWaveClassActive |- | style="width: 50%;" |'''000''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''001''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''002''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''003''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''004''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''005''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''006''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''007''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''008''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''009''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''010''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''011''' | style="width: 15%;" |Boolean | 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_bMannVsMachineWaveClassActive2 |- | style="width: 50%;" |'''000''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''001''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''002''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''003''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''004''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''005''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''006''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''007''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''008''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''009''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''010''' | style="width: 15%;" |Boolean | style="width: 35%;" | |- | style="width: 50%;" |'''011''' | style="width: 15%;" |Boolean | style="width: 35%;" | |} |} == Entity DataMaps == {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; |+CTFObjectiveResource ! 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_bMannVsMachineBetweenWaves''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_bMannVsMachineWaveClassActive''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_bMannVsMachineWaveClassActive2''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_flMannVsMachineNextWaveTime''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_iszMannVsMachineWaveClassNames''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_iszMannVsMachineWaveClassNames2''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_nMannVsMachineMaxWaveCount''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_nMannVsMachineWaveClassCounts''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_nMannVsMachineWaveClassCounts2''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_nMannVsMachineWaveClassFlags''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_nMannVsMachineWaveClassFlags2''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_nMannVsMachineWaveCount''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_nMannVsMachineWaveEnemyCount''' | style="width: 15%;" | | style="width: 35%;" | |- | style="width: 50%;" |'''m_nMvMWorldMoney''' | style="width: 15%;" | | style="width: 35%;" | |}
Summary:
Please note that all contributions to SigMod are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
SigMod:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
British English
Views
Read
Edit
Edit source
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information