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

env_tilt

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)
Obsolete-notext.png
This entity is Obsolete. Its use is discouraged, and it may only exist/function in older engine branches.
Info.png
This entity is not in the Left 4 Dead 2 FGD by default.
See below for instructions on making it available.
Class hierarchy
CEnvTilt
CPointEntity
CBaseEntity
EnvShake.cpp

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.

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.