Tf objective resource: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Line 1: Line 1:
{{tf2 point|tf_objective_resource}}
{{this is a|e0|game=tf2|name=tf_objective_resource}}


{{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>''.
{{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>''.

Revision as of 09:29, 7 January 2024

tf_objective_resource is an e0 available in Team Fortress 2 Team Fortress 2.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{tf2}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Team Fortress 2.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.
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