Blast damage

From DoomWiki.org

Revision as of 19:26, 29 October 2006 by Ryan W (talk | contribs) (see also BFG 9000)


In addition to inflicting damage from the direct hit, blast damage (sometimes called splash damage) attacks inflict radius damage in the area surrounding their explosion (for Arch-Vile attacks, 70 units; for barrels and player or Cyberdemon rockets, 128 units). Because of this, the character using the blast attack will also be damaged if the explosion occurs nearby.

An enemy that is hit will receive full blast damage (unless it is immune; see below), because it is at a distance of zero from the blast. Counting both the hit and the blast, a successful rocket launcher attack averages about the same damage as the super shotgun at close range (about three times the regular shotgun), but is equally effective at long range.

Cyberdemons and Spider Masterminds take only direct hit damage, and are immune to all blast damage. Therefore, a greater number of rockets is required to kill these bosses than might be expected.

The Doom engine uses the same code for all blasts, and even the same sound effect. The blast radius is either 70 or 128 units, and all objects within that radius are examined. For each object that can be damaged, the distance to the center of the explosion is calculated as the greater of the x-distance and the y-distance of the centers, less the radius of the object. The line-of-sight is checked, and if the view of the object from the explosion is obstructed, no damage is inflicted. Otherwise, damage (in hit points) is equal to blast radius less the distance.

Explosion blast damage. Here, B and C take the same damage because they are at the same x distance, and the x distance is larger than y for both. Both take 128-80=48 units damage. A and D take no damage since the line of sight is obstructed. (In this illustration, one pixel corresponds to one map unit.)


See also