Difference between revisions of "Classes:ProfessorQuarkblitz"

From ECWolf Wiki
(Created page with "{{Actor| | type = Monster | game = Spear | name = Professor Quarkblitz | class = ProfessorQuarkblitz | doomednum = 100 }}Classes: {{Class|Actor}} → {{Class|Wolfenstei...")
 
 
Line 16: Line 16:
 
   {{property|DeathSound}} "professor/death"
 
   {{property|DeathSound}} "professor/death"
 
   {{property|AttackSound}} "professor/attack"
 
   {{property|AttackSound}} "professor/attack"
   {{property|DropItem}} "YellowKey"
+
   {{property|DropItem}} "{{Class|YellowKey}}"
 
   states
 
   states
 
   {
 
   {

Latest revision as of 14:52, 20 February 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.
Professor Quarkblitz
Actor type Monster Game MiniSpearLogoIcon.png
DoomEd Number 100 Class Name ProfessorQuarkblitz


Classes: ActorWolfensteinMonsterWilhelmProfessorQuarkblitz

Overview

Replacement for Barnacle Wilhelm in the Spear of Destiny mission packs.

DECORATE Definition

actor ProfessorQuarkblitz : Wilhelm 100
{
  SeeSound "professor/sight"
  DeathSound "professor/death"
  AttackSound "professor/attack"
  DropItem "YellowKey"
  states
  {
    Spawn:
      PROF A -1 NOP A_Look(0, 0, 0, 0, 360)
      stop
    See:
      PROF A 5 NOP A_Chase("*", "*", CHF_BACKOFF)
      PROF A 1.5
      PROF B 4 NOP A_Chase("*", "*", CHF_BACKOFF)
      PROF C 5 NOP A_Chase("*", "*", CHF_BACKOFF)
      PROF C 1.5
      PROF D 4 NOP A_Chase("*", "*", CHF_BACKOFF)
      loop
    Missile:
      PROF E 15 A_FaceTarget
      PROF F 5 bright A_FaceTarget
      PROF G 0 bright A_FaceTarget
      PROF G 5 bright A_CustomMissile("ChemicalRocket")
      PROF HGH 5 bright A_WolfAttack
      PROF H 0 bright A_WolfAttack
      goto See
    Death:
      PROF A .5 A_Fall
      PROF A 35 A_Scream
      PROF IJK 5
      PROF L -1
      stop
  }
}