Earthquake

From ZDoom Wiki
Jump to: navigation, search

Earthquakes are a feature introduced to the Doom engine by Hexen. However, the implementation in ZDoom predates the release of Raven Software's source code, and as a result the earthquake code in ZDoom is completely different from its equivalent in Hexen.

Earthquakes can be created with the following three functions:

Earthquakes shake the player's camera. Every tic, they inflict 1d8 damage to actors within their damage radius and thrust them in a random direction with a force equal to half their intensity.

Earthquakes also play a continuous sound as long as they are rumbling. By default, this sound is the one defined in SNDINFO as "world/quake"; however both A_Quake and Radius_Quake2 allow to specify a different sound.

Personal tools
Namespaces

Variants
Actions
Navigation
ACS
DECORATE
ZDoom mods
Toolbox