Env zoom

From Valve Developer Community
Revision as of 09:22, 3 October 2018 by Ficool2 (talk | contribs)
Jump to navigation Jump to search
English (en)Translate (Translate)

Template:Base point 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.

Icon-Bug.pngBug:Does not function in Team Fortress 2.  [todo tested in ?]
C++ In code, it is represented by theCEnvZoomclass, defined in theenv_zoom.cppfile.

Flags

  • 1: Allow Suit Zoom

Keyvalues

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


Inputs

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


Outputs