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

No edit summary |
(updates. E's finished) |
||
Line 1: | Line 1: | ||
{{base point|env_zoom}} | {{lang|Env zoom}} | ||
{{base point|env_zoom}} 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. | |||
{{code class|CEnvZoom|env_zoom.cpp}} | |||
== | ==Flags== | ||
*1: Allow Suit Zoom | |||
== | ==Keyvalues== | ||
{{KV|Target FOV (FOV)|integer|FOV that this entity should set the player's FOV to when active.}} | |||
{{KV|Seconds to reach target (Rate)|float|Amount of time it should take to zoom to the specified FOV.}} | |||
{{KV BaseEntity}} | |||
== Inputs == | ==Inputs== | ||
{{IO|Zoom|Start controlling the player's FOV.}} | {{IO|Zoom|Start controlling the player's FOV.}} | ||
{{IO|UnZoom|Stop controlling the player's FOV.}} | {{IO|UnZoom|Stop controlling the player's FOV.}} | ||
{{I | {{I BaseEntity}} | ||
== Outputs == | ==Outputs== | ||
{{O | {{O BaseEntity|l4d=1}} | ||
[[Category:GUI Entities]] | [[Category:GUI Entities]] |
Revision as of 02:07, 3 October 2018


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.