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
(updates)
No edit summary
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{lang|Env tilt}}
{{LanguageBar}}
{{obsolete}}
{{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.
{{Ent not in fgd}}
 
{{CD|CEnvTilt|file1=EnvShake.cpp}}
{{code class|CEnvTilt|EnvShake.cpp}}
{{this is a|logical 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.


==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}}


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

Latest revision as of 04:30, 29 April 2025

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 logical 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.