Difference between revisions of "Classes:Mutant"

From ECWolf Wiki
 
Line 58: Line 58:
 
       MTNT L 3.5 [[A_Fall]]
 
       MTNT L 3.5 [[A_Fall]]
 
       MTNT M 3.5 [[A_Scream]]
 
       MTNT M 3.5 [[A_Scream]]
       MTNT MO 3.5
+
       MTNT NO 3.5
 
       MTNT P -1
 
       MTNT P -1
 
       stop
 
       stop
 
   }
 
   }
 
  }
 
  }

Latest revision as of 05:38, 11 June 2013

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.
Mutant
Actor type Monster Game MiniWolf3DLogoIcon.png
DoomEd Number 15 Class Name Mutant


Classes: ActorWolfensteinMonsterMutant
 →GunBat

Overview

A dead soldier brought back to unlife by the serum of Dr. Schabbs. Attacks without warning using a rapid-firing pistol that is fired with the third arm grafted onto their chests.

DECORATE Definition

actor Mutant: WolfensteinMonster 15
{
  Points 700
  Health 45, 55, 55, 65
  Speed 1, 3
  SightTime 1, 6
  DropItem "Clip"
  AttackSound "mutant/attack"
  DeathSound "mutant/death"
  SecretDeathSound "mutant/fart"
  states
  {
    Spawn:
      MTNT A -1 NOP A_Look
      stop
    Path:
      MTNT B 10 NOP A_Chase
      MTNT B 2.5
      MTNT C 7.5 NOP A_Chase
      MTNT D 10 NOP A_Chase
      MTNT D 2.5
      MTNT E 7.5 NOP A_Chase
      loop
    Pain:
      MTNT J 5 A_JumpIf(health & 1, 1)
      goto See
      MTNT K 5
      goto See
    See:
      MTNT B 5 NOP A_Chase
      MTNT B 1.5
      MTNT C 4 NOP A_Chase
      MTNT D 5 NOP A_Chase
      MTNT D 1.5
      MTNT E 4 NOP A_Chase
      loop
    Missile:
      MTNT F 3 A_FaceTarget
      MTNT G 10 bright A_WolfAttack
      MTNT H 5 A_FaceTarget
      MTNT I 10 bright A_WolfAttack
      goto See
    Death:
      MTNT L 3.5 A_Fall
      MTNT M 3.5 A_Scream
      MTNT NO 3.5
      MTNT P -1
      stop
  }
}