Classes:Gift

From ECWolf Wiki
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.
Otto Giftmacher
Actor type Monster Game MiniWolf3DLogoIcon.png
DoomEd Number 21 Class Name Gift


Classes: ActorWolfensteinMonsterGift

Overview

The final boss of episode 4. First boss to fire a projectile.

DECORATE Definition

actor Gift : WolfensteinMonster 21
{
  Points 5000
  Health 850, 950, 1050, 120
  Speed 1, 3
  MissileFrequency 0.04
  AttackSound "missile/fire"
  DeathSound "gift/death"
  SeeSound "gift/sight"
  +AMBUSH
  states
  {
    Spawn:
      GIFT A -1 NOP A_Look(0, 0, 0, 0, 360)
      stop
    See:
      GIFT A 5 NOP A_Chase("*", "*", CHF_BACKOFF)
      GIFT A 1.5
      GIFT B 4 NOP A_Chase("*", "*", CHF_BACKOFF)
      GIFT C 5 NOP A_Chase("*", "*", CHF_BACKOFF)
      GIFT C 1.5
      GIFT D 4 NOP A_Chase("*", "*", CHF_BACKOFF)
      loop
    Missile:
      GIFT E 15 A_FaceTarget
      GIFT F 5 bright A_FaceTarget
      GIFT F 0 bright A_FaceTarget
      GIFT F 0 bright A_CustomMissile("Rocket")
      goto See
    Death:
      GIFT A .5 A_Fall
      GIFT A 70 A_Scream
      GIFT GHI 5
      GIFT J 10
      GIFT J -1 A_BossDeath
      stop
  }
}