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
(L4D2 bug.)
No edit summary
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{base point|env_tilt|since=Left 4 Dead 2}}  
{{LanguageBar}}
{{obsolete|entity=1}}
{{Ent not in fgd}}
{{CD|CEnvTilt|file1=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.


==Entity description==  
==Flags==
It is an entity to control screen tilt on players. {{todo|Add a better description}}
{{fl|1|GlobalTilt|Ignore radius and tilt all player screens.}}
{{fl|128|Ease in/out|(?)}}


{{bug|{{l4d2}} While this entity exists in Left 4 Dead 2, it is not fully implemented and will crash the game when the entity is activated.}}
==Keyvalues==
{{KV|Effect Radius|intn=radius|float|The radius around this entity in which to affect players.}}
{{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.}}


== Keyvalues ==
==Inputs==
{{KV|Effect Radius|float|The radius around this entity in which to affect players.}}
{{I|StartTilt|Start the tilt.}}
{{KV|Duration (seconds)|float|The length of time in which to tilt the player's screens.}}
{{I|StopTilt|Stop the tilt.}}
{{KV|Tilt time (seconds)|float|How long it takes to reach full tilt.}}
{{KV Targetname}}
{{KV Parentname}}
{{KV Angles}}
 
== Flags ==
* 1 : GlobalTilt
* 128 : Ease in/out
 
== Inputs ==
{{IO|StartTilt|Start the tilt.}}
{{IO|StopTilt|Stop the tilt.}}
{{I Targetname}}
{{I Parentname}}
 
== Outputs ==
{{O Targetname}}

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.