Classes:PhasingZorcher

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's actually harmful as it can 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.
  5. There is only one exception: if what you want is changing Ammo capacity, you need to create a new type from Ammo.
Phasing zorcher
Actor type Weapon Game MiniChexLogoIcon.png (Chex)
DoomEd Number 2004 Class Name PhasingZorcher


Classes:ActorInventoryWeaponDoomWeaponPlasmaRiflePhasingZorcher
Chex Quest's equivalent of Doom's Plasma Rifle.
It appears to be a white weapon about the size of its Doom template with large brown cylindrical muzzle and it rapidly fires red Phasing Zorch shots.

DECORATE definition

ACTOR PhasingZorcher : PlasmaRifle
{
  Obituary ""
  Inventory.PickupMessage "$GOTPHASINGZORCHER" // "You got the Phasing Zorcher!"
  Tag "$TAG_PHASINGZORCHER" // "Phasing Zorcher"
  States
  {
  Fire:
    PLSG A 0 A_GunFlash
    PLSG A 3 A_FireCustomMissile("PhaseZorchMissile")
    PLSG B 20 A_ReFire
    Goto Ready
  Flash:
    PLSF A 0 A_Jump(128, "Flash2")
    PLSF A 3 Bright A_Light1
    Goto LightDone
  Flash2:
    PLSF B 3 Bright A_Light1
    Goto LightDone
  }
}