VileAttack

From Eternity Wiki
Revision as of 09:37, 14 June 2026 by Printz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Type: Monster attack, normal

Purpose: If the object's target is valid and can currently be seen by the object, an Archvile explosion attack will occur. The object will face its target, emit the "barexp" sound, and damage the object directly for 20 points of damage. This attack will also impart an upward velocity to the target of (1000 / mass) units per tic. If the object has a currently spawned VileFire object, that object will emit a blast radius of 70 units, with maximum damage of 70 at the center of the explosion. This explosion can damage the attacking object if it is not immune to blast radius damage.

Thunk: Yes.

Optional parameters

Even though VileAttack is a classic Doom codepointer, it accepts the following optional arguments:

  1. name of sound to play (default "barexp")
  2. direct damage (default 20)
  3. blast damage (default 70)
  4. blast radius (default 70)
  5. thrust factor (default 1.0)
  6. damage type of direct hit (default: actor's MOD)
  7. damage type of blast hit (default: actor's MOD)

See also