Info observer point: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (removed {{DISPLAYTITLE}}, covered by the tf2 point template)
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
 
(8 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Tf2 point}}
{{LanguageBar}}{{stub}}
{{stub}}
{{this is a|point entity|name=info_observer_point|game=Team Fortress 2}}


== Entity Description ==
Marks a camera location for {{tf2|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.
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.}}
{{note|Certain game entities, such as the {{ent|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.}}
{{bug|hidetested=1|Failure to include spectator cameras will lead to dedicated servers crashing if all players on a team die at the same time.}}
{{bug|Spectator cameras with a roll will taint the view of other spectatable objects (like players) that doesn't set the roll.}}
{{bug|hidetested=1|Spectator cameras with a roll will taint the view of other spectatable objects (like players) that doesn't set the roll.}}


==Keyvalues==
==Keyvalues==
{{KV|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.}}
{{KV|Welcome Point|bool|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.}}
{{KV|FOV|int|Specifies the field-of-view angle. Larger numbers allow the camera to see more of the playing field. Default is 70.}}
{{KV Targetname}}
{{KV Targetname}}
{{KV TFTeam}}
{{KV|Associated Team Entity |intn=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.}}
:'''Note:''' 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.
{{KV|Welcome Point|intn=defaultwelcome|bool|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.}}
{{KV Angles}}
{{KV|FOV|intn=fov|int|Specifies the field-of-view angle. Larger numbers allow the camera to see more of the playing field. Default is 70.}}
{{KV TeamNum|tf2=1}}
{{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.}}
{{KV EnableDisable}}
{{KV EnableDisable}}
{{KV Parentname}}


== Inputs ==
== Inputs ==
{{I Targetname}}
{{I TFTeam}}
{{I TFTeam}}
{{I EnableDisable}}
{{I EnableDisable}}
{{I Toggle}}
{{I Toggle}}
== Outputs ==
{{O Targetname}}
[[Category:Team Fortress 2 Entities]]

Latest revision as of 07:14, 20 May 2025

English (en)Translate (Translate)

Stub

This article or section is a stub. You can help by expanding it.

info_observer_point is a point entity available in Team Fortress 2 Team Fortress 2.

Marks a camera location for Team Fortress 2 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.pngNote:Certain game entities, such as the func_tracktrain used for payloads, will also count as observer cameras.
Icon-Bug.pngBug:Failure to include spectator cameras will lead to dedicated servers crashing if all players on a team die at the same time.
Icon-Bug.pngBug:Spectator cameras with a roll will taint the view of other spectatable objects (like players) that doesn't set the roll.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
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 Team Fortress 2
  • 2: RED Team Fortress 2
  • 3: BLU/Robots Team Fortress 2
  • 5: Halloween Bosses (only in Team Fortress 2) !FGD
Tip.pngTip: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 theEnableinput).

Inputs

SetTeam <integerRedirectInput/integer>
Changes the entity's team.

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.