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

Bug:Does not function in 
, and possibly most multiplayer games. [todo tested in ?]
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ | {{Source topicon}} | ||
{{ | {{Lang}} | ||
{{Entity|env_zoom|type=e0}} 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. | |||
{{Bug|Does not function in {{tf2}}{{l4d2}}, and possibly most multiplayer games.}} | |||
{{code class|CEnvZoom|env_zoom.cpp}} | {{code class|CEnvZoom|env_zoom.cpp}} | ||
== Keyvalues == | |||
==Keyvalues== | |||
{{KV|Target FOV (FOV)|integer|FOV that this entity should set the player's FOV to when active.}} | {{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|Seconds to reach target (Rate)|float|Amount of time it should take to zoom to the specified FOV.}} | ||
{{KV BaseEntity}} | {{KV BaseEntity}} | ||
==Inputs== | == Outputs == | ||
{{O BaseEntity|l4d=1}} | |||
== 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 BaseEntity}} | {{I BaseEntity}} | ||
== | == Flags == | ||
*1: Allow Suit Zoom | |||
[[Category:GUI Entities]] | [[Category:GUI Entities]] |
Revision as of 05:15, 18 March 2023


Template:Entity 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.



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.
Outputs
Inputs
- Zoom
- Start controlling the player's FOV.
- UnZoom
- Stop controlling the player's FOV.
Flags
- 1: Allow Suit Zoom