Env tilt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed obsolete template)
m (Used Template:Fl and intn parameter of Template:KV.)
Line 1: Line 1:
{{lang|Env tilt}}
{{lang|Env tilt}}
{{obsolete|entity=1}}
{{obsolete|entity=1}}
{{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.
{{base point|env_tilt|since=Left 4 Dead 2}} It is supposed to tilt the screens of [[player]]s but it was never fully implemented and does not work correctly in any game.
 
{{code class|CEnvTilt|EnvShake.cpp}}
{{code class|CEnvTilt|EnvShake.cpp}}


==Flags==
==Flags==
*1: GlobalTilt - Ignore radius and tilt all player screens.
{{fl|1|GlobalTilt|Ignore radius and tilt all player screens.}}
*128: Ease in/out (?)
{{fl|128|Ease in/out|(?)}}


==Keyvalues==
==Keyvalues==
{{KV|Effect Radius (radius)|float|The radius around this entity in which to affect players.}}
{{KV|Effect Radius|intn=radius|float|The radius around this entity in which to affect players.}}
{{KV|Duration (seconds) (duration)|float|The length of time in which to tilt the player's screens.}}
{{KV|Duration (seconds)|intn=duration|float|The length of time in which to tilt the player's screens.}}
{{KV|Tilt time (seconds) (tilttime)|float|How long it takes to reach full tilt.}}
{{KV|Tilt time (seconds)|intn=tilttime|float|How long it takes to reach full tilt.}}
{{KV BaseEntity}}
{{KV BaseEntity}}



Revision as of 14:34, 15 April 2022

English (en)Translate (Translate)
Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.

Template:Base point It is supposed to tilt the screens of players but it was never fully implemented and does not work correctly in any game.

C++ In code, it is represented by theCEnvTiltclass, defined in theEnvShake.cppfile.

Flags

GlobalTilt : [1]
Ignore radius and tilt all player screens.
Ease in/out : [128]
(?)

Keyvalues

Effect Radius (radius) <float>
The radius around this entity in which to affect players.
Duration (seconds) (duration) <float>
The length of time in which to tilt the player's screens.
Tilt time (seconds) (tilttime) <float>
How long it takes to reach full tilt.


Inputs

StartTilt
Start the tilt.
StopTilt
Stop the tilt.


Outputs