Tf objective resource: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added description and KVs/IOs. [PLEASE FACT CHECK!])
No edit summary
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{tf2 point|tf_objective_resource}}
{{ent not in fgd|codeonly=1}}
{{CD|CTFObjectiveResource|file1=tf_objective_resource.cpp}}
{{This is a|logical entity|game=Team Fortress 2|name=tf_objective_resource}}
{{warning|removing this entity will likely crash the game quickly after the player joins a team or is already in a team at the time of its removal.}}


{{code class|CTFObjectiveResource|tf_objective_resource.cpp}}<sup>(Server side)</sup> For the client side entity, the class name is ''<code>C_TFObjectiveResource</code>'' located in ''<code>tf_objective_resource.cpp</code>''.
This entity manages many HUD elements in the {{tfwiki|Mann vs. Machine}} gamemode, such as bomb upgrade status, the mission name displayed on the scoreboard, and the wavebar.
==Entity description==
This entity manages the blue [[item_teamflag|team flag]] in the [https://wiki.teamfortress.com/wiki/Mann_vs._Machine Mann vs. Machine] gamemode.
 
==Keyvalues==
{{KV BaseEntity}}
 
==Inputs==
{{I BaseEntity}}
 
==Outputs==
{{O BaseEntity}}

Latest revision as of 17:31, 22 May 2025

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it can only be configured through code.
C++ Class hierarchy
CTFObjectiveResource
CBaseTeamObjectiveResource
CBaseEntity
C++ tf_objective_resource.cpp

tf_objective_resource is a logical entity available in Team Fortress 2 Team Fortress 2.

Warning.pngWarning:removing this entity will likely crash the game quickly after the player joins a team or is already in a team at the time of its removal.

This entity manages many HUD elements in the Tfwiki favicon.png Mann vs. Machine gamemode, such as bomb upgrade status, the mission name displayed on the scoreboard, and the wavebar.