Env zoom: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:


==Entity Description==
==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.
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==
==Keyvalues==
Line 9: Line 9:


* '''Rate'''
* '''Rate'''
: <float> Amount of time it should take to reach the specified FOV.
: <float> Amount of time it should take to reach the specified [[FOV]].


* '''FOV'''
* '''[[FOV]]'''
: <integer> FOV that this entity should set the player's Target FOV to when active.
: <integer> [[FOV]] that this entity should set the player's Target [[FOV]] to when active.


==Flags==
==Flags==
Line 23: Line 23:


* '''Zoom'''
* '''Zoom'''
: Start controlling the player's FOV.
: Start controlling the player's [[FOV]].


* '''UnZoom'''
* '''UnZoom'''
: Stop controlling the player's FOV.
: Stop controlling the player's [[FOV]].


==Outputs==
==Outputs==

Revision as of 04:00, 13 July 2005

Template:Wrongtitle

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

  • 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