Difference between revisions of "Classes:Spectre"

From ECWolf Wiki
(Created page with "{{Actor| | type = Monster | game = Spear | name = Spectre | class = Spectre | doomednum = 28 }}Classes: {{Class|Actor}} → <u>Spectre</u><br>  →{{Class|Ghoul...")
 
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
 
  actor <u>Spectre</u> 28
 
  actor <u>Spectre</u> 28
 
  {
 
  {
   {{property|damage}} (2)
+
   {{property|Damage}} (2)
   {{property|radius}} 42
+
   {{property|Radius}} 42
   {{property|points}} 200
+
   {{property|Points}} 200
   {{property|health}} 5, 10, 15, 25
+
   {{property|Health}} 5, 10, 15, 25
   {{property|speed}} 1, 1.563
+
   {{property|Speed}} 1, 1.563
   {{property|seesound}} "ghost/sight"
+
   {{property|SeeSound}} "ghost/sight"
   {{property|deathsound}} "ghost/death"
+
   {{property|DeathSound}} "ghost/death"
 
   {{property|MONSTER}}
 
   {{property|MONSTER}}
 
   +{{flag|AMBUSH}}
 
   +{{flag|AMBUSH}}
Line 33: Line 33:
 
       loop
 
       loop
 
     Death:
 
     Death:
       SPCT E 5 A_Fall
+
       SPCT E 5 [[A_Fall]]
 
       SPCT FG 5
 
       SPCT FG 5
 
       SPCT H 155
 
       SPCT H 155
       SPCT H 5 A_Dormant
+
       SPCT H 5 [[A_Dormant]]
 
       wait
 
       wait
 
   }
 
   }
 
  }
 
  }

Latest revision as of 14:17, 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.
Spectre
Actor type Monster Game MiniSpearLogoIcon.png
DoomEd Number 28 Class Name Spectre


Classes: ActorSpectre
 →GhoulishGhost
 →RadioactiveMist

Overview

A white ghost which can be temporarily disabled by shooting it.

DECORATE Definition

actor Spectre 28
{
  Damage (2)
  Radius 42
  Points 200
  Health 5, 10, 15, 25
  Speed 1, 1.563
  SeeSound "ghost/sight"
  DeathSound "ghost/death"
  MONSTER
  +AMBUSH
  states
  {
    Spawn:
      SPCT ABCD 5 NOP A_Look(0, 0, 0, 0, 360)
      loop
    See:
      SPCT ABCD 5 NOP A_Chase("*", "*", CHF_DONTDODGE)
      loop
    Death:
      SPCT E 5 A_Fall
      SPCT FG 5
      SPCT H 155
      SPCT H 5 A_Dormant
      wait
  }
}