tf_objective_resource

From Valve Developer Community
Revision as of 16:21, 4 September 2024 by Wormsweat (talk | contribs) (Added warning about the game crashing if the entity gets removed)
Jump to navigation Jump to search
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.

tf_objective_resource is a point 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.
C++ In code, it is represented by theCTFObjectiveResourceclass, defined in thetf_objective_resource.cppfile.

(Server side) For the client side entity, the class name is C_TFObjectiveResource located in tf_objective_resource.cpp.

Entity description

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

Keyvalues

Inputs

Outputs