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

m (→Entity description: condensed bug templates into one and added Portal 2 to the list of games) |
(updates) |
||
Line 1: | Line 1: | ||
{{base point|env_tilt|since=Left 4 Dead 2}} | {{lang|Env tilt}} | ||
{{obsolete}} | |||
{{base point|env_tilt|since=Left 4 Dead 2}} It tilts the screens of players. It was never fully implemented and does not work correctly in any game. | |||
{{code class|CEnvTilt|EnvShake.cpp}} | |||
==Flags== | |||
*1: GlobalTilt - Ignore radius and tilt all player screens. | |||
*128: Ease in/out (?) | |||
== Keyvalues == | ==Keyvalues== | ||
{{KV|Effect Radius|float|The radius around this entity in which to affect players.}} | {{KV|Effect Radius (radius)|float|The radius around this entity in which to affect players.}} | ||
{{KV|Duration (seconds)|float|The length of time in which to tilt the player's screens.}} | {{KV|Duration (seconds) (duration)|float|The length of time in which to tilt the player's screens.}} | ||
{{KV|Tilt time (seconds)|float|How long it takes to reach full tilt.}} | {{KV|Tilt time (seconds) (tilttime)|float|How long it takes to reach full tilt.}} | ||
{{KV | {{KV BaseEntity}} | ||
==Inputs== | |||
== Inputs == | |||
{{IO|StartTilt|Start the tilt.}} | {{IO|StartTilt|Start the tilt.}} | ||
{{IO|StopTilt|Stop the tilt.}} | {{IO|StopTilt|Stop the tilt.}} | ||
{{I | {{I BaseEntity}} | ||
== Outputs == | ==Outputs== | ||
{{O | {{O BaseEntity}} |
Revision as of 22:01, 2 October 2018



This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
Template:Base point It tilts the screens of players. It was never fully implemented and does not work correctly in any game.
Flags
- 1: GlobalTilt - Ignore radius and tilt all player screens.
- 128: Ease in/out (?)
Keyvalues
- Effect Radius (radius) ([todo internal name (i)]) <float>
- The radius around this entity in which to affect players.
- Duration (seconds) (duration) ([todo internal name (i)]) <float>
- The length of time in which to tilt the player's screens.
- Tilt time (seconds) (tilttime) ([todo internal name (i)]) <float>
- How long it takes to reach full tilt.
Inputs
- StartTilt
- Start the tilt.
- StopTilt
- Stop the tilt.