Classes:FSwordMissile

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.
Quietus missile
Actor type Explosive Game MiniHexenLogoIcon.png (Hexen)
DoomEd Number None Class Name FSwordMissile


Classes: FSwordMissile

The powerful green projectile fired by the fighter's ultimate weapon, the Quietus. The weapon fires five of these in a spread.

DECORATE definition

ACTOR FSwordMissile native
{
  Speed 30
  Radius 16
  Height 8
  Damage 8
  Projectile
  +EXTREMEDEATH
  RenderStyle Add
  DeathSound "FighterSwordExplode"
  Obituary "$OB_MPFWEAPQUIETUS"

  action native A_FSwordFlames();

  States
  {
  Spawn:
    FSFX ABC 3 Bright
    Loop
  Death:
    FSFX D 4 Bright
    FSFX E 3 Bright A_FSwordFlames
    FSFX F 4 Bright A_Explode(64, 128, 0)
    FSFX G 3 Bright
    FSFX H 4 Bright
    FSFX I 3 Bright
    FSFX J 4 Bright
    FSFX KLM 3 Bright
    Stop
  }
}