Env zoom: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{base point|env_zoom}} It 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.
{{base point|env_zoom}}  
 
==Entity description==
It 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 ==
== Keyvalues ==

Revision as of 10:16, 8 May 2012

Template:Base point

Entity description

It 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

Seconds to reach target ([todo internal name (i)]) <float>
Amount of time it should take to reach the specified FOV.
Target FOV ([todo internal name (i)]) <integer>
FOV that this entity should set the player's FOV to when active.
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

Flags

  • 1 : Allow Suit Zoom

Inputs

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


Outputs