env_shake

From Valve Developer Community
Revision as of 16:29, 10 February 2024 by N0one (talk | contribs) (Created page with "{{tabs|env_shake|goldsrc = 1|source = 1|main = source}} {{This is a|name=env_shake|e0|engine=1}} it shakes the screens of players for some duration. ==Key Values=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

env_shake is an e0 available in all Template:1 games.Template:1 topicon

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{1}} template.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

it shakes the screens of players for some duration.

Key Values

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

GlobalShake : [1]