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

Env tilt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Replacing {{base point}} with {{this is a}}. This operation was performed by a bot.)
(-added class hierarchy, cleanup, nofgd)
Line 1: Line 1:
{{lang|Env tilt}}
{{lang|Env tilt}}
{{obsolete|entity=1}}
{{obsolete|entity=1}}
{{Ent not in fgd}}
{{CD|CEnvTilt|file1=EnvShake.cpp}}
{{this is a|point entity|name=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.
{{this is a|point entity|name=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}}


==Flags==
==Flags==
Line 12: Line 13:
{{KV|Duration (seconds)|intn=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)|intn=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}}


==Inputs==
==Inputs==
{{IO|StartTilt|Start the tilt.}}
{{IO|StartTilt|Start the tilt.}}
{{IO|StopTilt|Stop the tilt.}}
{{IO|StopTilt|Stop the tilt.}}
{{I BaseEntity}}
==Outputs==
{{O BaseEntity}}

Revision as of 07:52, 18 February 2024

English (en)Translate (Translate)
Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
Icon-NotInFGD.png
This entity is not in the Left 4 Dead 2 FGD by default.
See below for instructions on making it available.
C++ Class hierarchy
CEnvTilt
CPointEntity
CBaseEntity
C++ 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.