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, search
English (en)
... Icon-Important.png
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 defined in EnvShake.cpp
CPointEntity
CBaseEntity

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

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

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.