env_zoom
		
		
		
		Jump to navigation
		Jump to search
		
This article needs more 
 links to other articles to help 
 integrate it into the encyclopedia. Please help improve this article by adding links 
 that are relevant to the context within the existing text.
January 2024
January 2024
| CEnvZoom | 
env_zoom  is a   point entity  available in all 
 Source games. 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.
Since Half-Life 2 20th Anniversary Update, this entity is used on all background maps, locking the viewer's FOV to 75.
Keyvalues
- Name (targetname) <string>[ Edit ]
 - The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. 
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities 
- Target FOV (FOV) <integer>
 - FOV that this entity should set the player's FOV to when active.
 
- Seconds to reach target (Rate) <float>
 - Amount of time it should take to zoom to the specified FOV.
 
Flags
- Allow Suit Zoom : [1]
 
Inputs
- Zoom
 - Start controlling the player's FOV.
 
- UnZoom
 - Stop controlling the player's FOV.