Changes

From DoomWiki.org

Blast damage

20 bytes added, 10:31, 24 April 2008
caps
[[Image:Radius attack.png|thumb|right|'''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.)]]
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 [[Archarch-Vilevile]] attacks, 70 units; for [[barrel]]s and [[player]] or [[Cyberdemoncyberdemon]] [[rocket]]s, 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.
[[Cyberdemon]]s and [[Spider Mastermindspiderdemon]]s are immune to all blast damage (except one caused by which does not include the tracer damage from [[BFG 9000|BFG]] blasts). Therefore, a greater number of rockets is required to kill these [[boss]]es 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 point]]s) is equal to blast radius less minus the distance.
==See also==
* [[Arch-Vilevile]]
* [[Barrel]]
* [[Barrel suicide]]
2,068
edits