The Game Modding Community - Since 2001

TF2 Console Commands, Part 3

A Tutorial for Team Fortress 2


Version 11 BETA 3
  • Addition Added func_capturezone explanation.
  • Addition Added func_upgradestation explanation.
Maybe Soon, I will add a explanation of a entity and that is a suprise.

Welcome To the Third Part of TF2 Console Commands!


Here's The First Part And Second Part of this tutorial:

  1. TF2 Console Commands
  2. TF2 Console Commands, Part 2


Let's Continue!

Now, info_observer_point.

info_observer_point?, Lemme Explain.

Marks a camera location for Team Fortress 2 players. Any spectating players (due to selecting the Spectator team or being unable to respawn at the time) have the ability to select this camera location to observe.
 Note: used for payloads, will also count as observer cameras.Certain game entities, such as the func_tracktrain used for payloads, will also count as observer cameras.
Failure to include spectator cameras will lead to dedicated servers crashing if all players on a team die at the same time.

Spectator cameras with a roll will taint the view of other spectatable objects (like players) that doesn't set the roll.

For Example:

  1. ent_create info_observer_point fov 70 targetname observer01 - Creates a info_observer_point with FOV 70.

Here how it looks like in-game.

A info_observer_point in action. I attached it to a prop_ragdoll's Eyes.

info_observer_point's Keyvalues:

Associated Team Entity (associated_team_entity) <targetname>
An entity associated with this point that can be owned by a team (such as a flag or control point). Players will only be able to use this observer point if their team owns the associated team entity.
Welcome Point (defaultwelcome) <boolean>
Set whether this camera is among the ones players may see when they first join the server. If no cameras have this set to "No", the game will pick from all cameras that are not team-bound.
FOV (fov) <integer>
Specifies the field-of-view angle. Larger numbers allow the camera to see more of the playing field. Default is 70.

Now, func_regenerate.

func_regenerate?, Lemme Explain.

Designates a resupply area for a team. This is the functional part of a resupply cabinet; it restores full health and ammunition to all players on its team who cross into its bounds.

 Note:Does not function in Arena mode.

For Example:

  1. ent_create func_regenerate model *1 targetname regenerate01 - Creates a func_regenerate with model *1.

Here how it looks like in-game.

A func_regenerate in action. If any player touches it, their health and ammo will be refiled.

func_regenerate's Keyvalues:

Team (teamnum) <choices>
  • 0 : Any
  • 2 : Red
  • 3 : Blue
Start Disabled (start_disabled) <boolean>
If set, entity spawns disabled.
Associated Model (associatedmodel) <targetname>
The prop_dynamic that represents this zone in the world. The associated model should have appropriate open and close animations for when players interact with the zone.

Now, func_upgradestation.

func_upgradestation?, Lemme Explain.

An upgrade station for the Mann vs. Machine gamemode.

For Example:

  1. ent_create func_upgradestation model *1 targetname upgrade01 - Creates a func_upgradestation with model *1

Here how it looks like in-game.

A func_upgrastation in action. If a player touches it, the upgrade station menu will appear.

Now, func_capturezone.

func_capturezone?, Lemme Explain.

This entity is used in conjunction with item_teamflag for Capture the Flag maps. (For capture points in CP maps, use a trigger_capture_area)

It should be placed where it can be touched by the player so that when they are carrying the enemy intelligence, it can be captured. You only need to specify which team the capture zone belongs to (set Team to 'any' for Territory Control maps).

For Example:

  1. ent_create func_capturezone model *1 targetname capturezone01 - Creates a func_capturezone with model *1

Here how it looks like in-game.

A func_capturezone in action. If any player that is carrying a item_teamflag and touch that func entity, The item_teamflag will be captured and score the player and the team.

func_capturezone's Keyvalues:


Team <choices>
  • 0 : Any
  • 2 : Red
  • 3 : Blue
Capture Point <integer>
Used for Attack/Defend and Territory Control maps ONLY. This is ignored for CTF maps. Set this value to the Capture Point number for this entity.

Now... (finally)


trigger_add_or_remove_tf_player_attributes?, Lemme Explain..

Adds/Removes attributes to/from players.

For Example:

  1. ent_create trigger_add_or_remove_tf_player_attributes spawnflags 1 add_or_remove 0 model *1 targetname attr1 attribute_name "turn to gold" value 1.0 duration 999999 - Creates a trigger_add_or_remove_tf_player_attributes that gives the player who touches the trigger the attribute "Imbued with an ancient power (turn to gold)"

More Examples Might come soon!

Here how it looks like in-game.

A trigger_add_or_remove_tf_player_attributes in action. In this screenshot, I created more trigger_add_or_remove_tf_player_attributes at the same place so it could give me more attributes at the same time.

trigger_add_or_remove_tf_player_attributes's Keyvalues:

Add or Remove (add_or_remove) <boolean>
Sets whether this entity should add or remove attributes from a player.
 Note:Adding or Removing attributes may or may not work without resorting to:
  • Respawning players inside the trigger(s) with the desired effect
  • Removing players weapons using the kill input and refreshing their loadout using Func_Regenerate entity after they have touched the trigger(s)

Attribute (attribute) <choices>
The attribute to add or remove.
Duration (duration) <integer>
How long the chosen condition lasts. -1 makes it last until it's cleared by other means.

trigger_add_or_remove_tf_player_attributes's Reminders:

  1. It is recommended to draw your melee and then touch the trigger to give the attribute correctly. (kinda)
  2. Sometimes the entity doesnt give the player attributes for some weapons.
  3. You will have to switch classes if you want that your attribute that you got by this trigger entity be gone.
  4. The entity doesnt give the attribute at the weapon that the player is holding, it gives to the class itself (like blast resistance, health regen and stuff, you know.)
  5. Remember, that the entity has duration so you might use duration 999999 or even more higher.

List of attributes

And That's it!

But Don't Worry..

I will put more Commands and Explanations on this Tutorial!

(If i have free time to put more commands and explanations..)



Version 11 (Minor Update)

  • -Added trigger_add_or_remove_tf_player_attributes entity explanation.

Version 11 BETA 3 (Minor Update)

  • -Added func_capturezone explanation.
  • -Added func_upgradestation explanation.
  • -Added a entity that the explanation come soon on the tutorial.

Promotional Content


Outputs explanation..
Add The Suprise Entity Explanation..


  • 8dEdited 8d
    Really good! I would recommend changing your headers once in a while. also please add the thing that gives what seems to be gaben's powers.

    also! If I were to remove or teleport the func_capturezone to out of the map what would the bots do? and would the game crash?

    I mean it is possible to delete yourself (ent_remove_all player) and to crash the game by removing the timers on a KoTH map (ent_remove_all team_round_timer). so i'm just curious!


    • Thanks x 1
    TF2 Hud & Script creator


Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:


Lukaswbrr avatar
Creator of this Tutorial.
Special Thanks
Team Fortress 2 Wiki
For the console commands wiki.
Valve Developer Community
For the inputs, entities and outputs list.


Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!



Difficulty Level
Beginner Difficulty



  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+


  • 3 Posts
  • 13d Submitted
  • 2min Modified
  • 8d Updated


83 bScore
9.3 Rating

1 voter

Sign up to access this!

Attention Gamer! Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Vote: Help your favorite modders win monthly awards.
  • Rate: Rate mods and help them stand out.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Resistance is futile... Sign up now!

Already a Bananite? Login tracking pixel