Env shake (GoldSrc): Difference between revisions
Jump to navigation
Jump to search

m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
(-added class hierarchy) |
||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{ | {{TabsBar|main=gs|base=env_shake}} | ||
{{CD|CShake|goldsrc=1}} | |||
{{This is a|point entity|name=env_shake|engine=GoldSrc}} it shakes the screens of [[player|players]] for some duration. | |||
==Key Values== | ==Key Values== |
Latest revision as of 01:58, 22 September 2024


![]() |
---|
CShake |
![]() |
env_shake
is a point entity available in all GoldSrc games. it shakes the screens of players for some duration.
Key Values
- Name (targetname) <string>
- 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
- GlobalShake : [1]