Env zoom: Difference between revisions
Jump to navigation
Jump to search

Bug:Does not function in
. [todo tested in ?]
Bug:Causes a memory leak in
! Do not use this entity for that game! [todo tested in ?]
No edit summary |
m (memory leak) |
||
Line 3: | Line 3: | ||
binoculars/telescopes, etc. | binoculars/telescopes, etc. | ||
{{bug|Does not function in {{tf2}}.}} | {{bug|Does not function in {{tf2}}.}} | ||
{{bug|Causes a memory leak in {{l4d2}}! Do not use this entity for that game!}} | |||
{{code class|CEnvZoom|env_zoom.cpp}} | {{code class|CEnvZoom|env_zoom.cpp}} | ||
Revision as of 07:17, 20 July 2021


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.




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.