info_observer_point
info_observer_point
is a point entity available in Team Fortress 2.
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:Certain game entities, such as the
func_tracktrain
used for payloads, will also count as observer cameras.Bug:Failure to include spectator cameras will lead to dedicated servers crashing if all players on a team die at the same time. [todo tested in?]
Bug:Spectator cameras with a roll will taint the view of other spectatable objects (like players) that doesn't set the roll. [todo tested in?]
Keyvalues
- Name
(targetname)
<string> - The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- 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.
TeamNum:
- Initial Team
(TeamNum)
<choices> - Which Team the entity belongs / is assigned to on spawn
- 0: None
- 1: Spectator/Halloween Souls
- 2: RED
- 3: BLU/Robots
- 5: Halloween Bosses (only in ) !FGD
Tip:Use this for cameras located inside team bases (particularly respawn areas and flag rooms) so that players cannot use them to spy on their opponents.
- Start Disabled
(StartDisabled)
<boolean> - Stay dormant until activated (with the
Enable
input).
Inputs
TFTeam:
SetTeam
<integer>- Changes the entity's Team keyvalue.
EnableDisable:
Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Toggle:
Toggle
- Toggle the enabled/disabled status of this entity.