Env zoom: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
m (Robot: fixing template case.)
Line 23: Line 23:


== Outputs ==
== Outputs ==
* {{o targetname}}
* {{O Targetname}}

Revision as of 20:07, 19 January 2009

Template:Wrongtitle Template:Base point

Entity description

An entity that can be used to control the player's FOV. Useful for scenes where the player's view is being controlled, or player-usable binoculars/telescopes, etc.

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

  • Rate
<float> Amount of time it should take to reach the specified FOV.
<integer> FOV that this entity should set the player's Target FOV to when active.

Flags

  • 1 : Allow Suit Zoom

Inputs

  • Zoom
Start controlling the player's FOV.
  • UnZoom
Stop controlling the player's FOV.

Outputs