Classes:PhoenixFX1

From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
  1. You do NOT need to copy that actor, since it is already defined.
  2. In fact, it's not just useless, it will cause problems.
  3. If you want to modify it, or use a modified version, using inheritance is the way to go.
  4. The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
Phoenix rod projectile
Actor type Explosive Game MiniHereticLogoIcon.png (Heretic)
DoomEd Number None Class Name PhoenixFX1
Spawn ID 163 Identifier T_PHOENIXSHOT


Classes: PhoenixFX1

The exploding projectile from the phoenix rod. On a direct impact, D'Sparil has a 37.5% chance of avoiding any damage and attempting teleportation; the damage is avoided even if the attempted teleportation fails. The native action A_PhoenixPuff spawns two PhoenixPuff actors and sends them moving to either sides of the projectile.

DECORATE definition

ACTOR PhoenixFX1 native
{
  Radius 11
  Height 8
  Speed 20
  Damage 20
  DamageType Fire
  Projectile
  +THRUGHOST
  +SPECIALFIREDAMAGE
  SeeSound "weapons/phoenixshoot"
  DeathSound "weapons/phoenixhit"
  Obituary "$OB_MPPHOENIXROD"

  action native A_PhoenixPuff();

  States
  {
  Spawn:
    FX04 A 4 Bright A_PhoenixPuff
    Loop
  Death:
    FX08 A 6 Bright A_Explode
    FX08 BC 5 Bright
    FX08 DEFGH 4 Bright
    Stop
  }
}