This article's documentation is for anything that uses the Source engine. Click here for more information.

env_tilt

From Valve Developer Community
Revision as of 23:09, 6 January 2024 by PeeBot (talk | contribs) (Replacing {{base point}} with {{this is a}}. This operation was performed by a bot.)
Jump to navigation Jump to search
English (en)Translate (Translate)
Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.

env_tilt is a point entity available in all Source Source games since Left 4 Dead 2 Left 4 Dead 2. 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