This article's documentation is for the "GoldSrc" engine. Click here for more information.

env_shake

From Valve Developer Community
Jump to: navigation, search

env_shake is a point entity available in all GoldSrc GoldSrc games. it shakes the screens of players for some duration.

Key Values


Targetname:
Name (targetname) <targetname>
The targetname that other entities refer to this entity by.
Amplitude (0-16) (amplitude) <string>
How far away from the normal position the camera will wobble. Should be a range between 0 and 16.
Effect Radius (radius) <string>
The radius around this entity in which to affect players.
Duration (seconds) (duration) <string>
The length of time in which to shake the player's screens.
0.1 = jerk, 255.0 = rumble (frequency) <string>
How many times per second to change the direction of the camera wobble. 40 is generally enough; values higher are hardly distinguishable.

Flags

  •  [1] : GlobalShake