Classes:SorcererFX1

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.
D'Sparil's mount fireball
Actor type Explosive Game MiniHereticLogoIcon.png (Heretic)
DoomEd Number None Class Name SorcererFX1
Spawn ID 144 Identifier T_SERPENTFIREBALL


Classes: SorcererFX1
The fireball spit by D'Sparil's chaos serpent, faster and twice as damaging as the fireballs from a regular chaos serpent. The sprites used by Heretic and Hexen are the same (except for a very subtle color shift from the different palette), but the spawn sprites are numbered differently: FX14A* corresponds to DMFXC*, FX14B* to DMFXB*, and FX14C* to DMFXA*.

DECORATE definition

ACTOR SorcererFX1
{
  Radius 10
  Height 10
  Speed 20
  FastSpeed 28
  Damage 10
  DamageType Fire
  Projectile
  -ACTIVATEIMPACT
  -ACTIVATEPCROSS
  RenderStyle Add
  States
  {
  Spawn:
    FX14 ABC 6 Bright
    Loop
  Death:
    FX14 DEFGH 5 Bright
    Stop
  }
}