Env zoom: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=env_zoom}}
{{base point|env_zoom}}
{{base_point|env_zoom}}[[Category:GUI Entities]]


== Entity description ==
== Entity description ==
Line 6: Line 5:


== Keyvalues ==
== Keyvalues ==
* {{KV Targetname}}
{{KV|Seconds to reach target|float|Amount of time it should take to reach the specified FOV.}}
* '''Rate'''
{{KV|Target FOV|integer|FOV that this entity should set the player's FOV to when active.}}
: <float> Amount of time it should take to reach the specified [[FOV]].
{{KV Targetname}}
* '''[[FOV]]'''
: <integer> [[FOV]] that this entity should set the player's Target [[FOV]] to when active.


== Flags ==
== Flags ==
Line 16: Line 13:


== Inputs ==
== Inputs ==
* {{I Targetname}}
{{IO|Zoom|Start controlling the player's FOV.}}
* '''Zoom'''
{{IO|UnZoom|Stop controlling the player's FOV.}}
: Start controlling the player's [[FOV]].
{{I Targetname}}
* '''UnZoom'''
: Stop controlling the player's [[FOV]].


== Outputs ==
== Outputs ==
* {{O Targetname}}
{{O Targetname}}
 
[[Category:GUI Entities]]

Revision as of 09:25, 7 June 2011

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

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