Classes:BlasterFX1

From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
  1. This actor is already defined in GZDoom, there's no reason to define it again.
  2. In fact, trying to define an actor with the same name will cause an error (because it already exists).
  3. If you want to make your own version of this actor, use inheritance.
  4. Definitions for existing actors are put on the wiki for reference purpose only.
Tomed dragon claw projectile
Actor type Explosive Game MiniHereticLogoIcon.png (Heretic)
DoomEd Number None Class Name BlasterFX1


Classes: FastProjectileBlasterFX1

The ultra-fast projectiles from the powered-up dragon claw. They spawn four rippers on impact. The rippers deal less damage to iron liches than to any other enemy (likely 0-1 per rip instead of 1-8).

DECORATE definition

ACTOR BlasterFX1 : FastProjectile native
{
  Radius 12
  Height 8
  Speed 184
  Damage 2
  SeeSound "weapons/blastershoot"
  DeathSound "weapons/blasterhit"
  +SPAWNSOUNDSOURCE
  Obituary "$OB_MPPBLASTER"

  action native A_SpawnRippers();

  States
  {
  Spawn:
    ACLO E 200
    Loop
  Death:
    FX18 A 3 Bright A_SpawnRippers
    FX18 B 3 Bright
    FX18 CDEFG 4 Bright
    Stop
  }
}