Info observer point: Difference between revisions
Jump to navigation
Jump to search
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 ?]
m (fixed oops) |
Gatelych83 (talk | contribs) m (→Keyvalues) |
||
Line 10: | Line 10: | ||
==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|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.}} | ||
{{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|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|FOV|int|Specifies the field-of-view angle. Larger numbers allow the camera to see more of the playing field. Default is 70.}} | {{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 Targetname}} | {{KV Targetname}} | ||
{{KV TFTeam}} | {{KV TFTeam}} |
Revision as of 09:33, 1 March 2022
info_observer_point
is a point entity available in Team Fortress 2.
Entity Description
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.



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.
- Name (targetname) <string>[ Edit ]
- 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
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
- 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.
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
Parentname:
- Parent (parentname) <targetname>
- Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
Inputs
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.