Difference between revisions of "Classes:Needle"

From ECWolf Wiki
(Created page with "{{Actor| | type = Explosive | game = Wolf3D | name = Needle | class = Needle }}Classes: {{Class|Actor}} → <u>Needle</u><br> == Overview == Syringe projectile fired by...")
 
m
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
 
| class = Needle
 
| class = Needle
 
}}[[Classes]]: {{Class|Actor}} &rarr; <u>Needle</u><br>
 
}}[[Classes]]: {{Class|Actor}} &rarr; <u>Needle</u><br>
== Overview ==
+
==Overview==
Syringe projectile fired by {{Class|Schabbs|Dr. Schabbs}}. If the player is killed by this projectile they will turn into a mutant (this behavior is currently hard coded to this actor.
+
Syringe projectile fired by {{Class|Schabbs|Dr. Schabbs}}. If the player is killed by this projectile they will turn into a mutant (this behavior is currently hard coded to this actor).
  
== DECORATE Definition ==
+
==DECORATE Definition==
 
  actor Needle
 
  actor Needle
 
  {
 
  {
Line 19: Line 19:
 
   {
 
   {
 
     Spawn:
 
     Spawn:
       HYPO ABCD 3
+
       HYPO A .5
 +
    Loop:
 +
      HYPO BCDA 3
 
       loop
 
       loop
 
   }
 
   }
 
  }
 
  }

Latest revision as of 14:58, 10 June 2018

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.
Needle
Actor type Explosive Game MiniWolf3DLogoIcon.png
DoomEd Number None Class Name Needle


Classes: ActorNeedle

Overview

Syringe projectile fired by Dr. Schabbs. If the player is killed by this projectile they will turn into a mutant (this behavior is currently hard coded to this actor).

DECORATE Definition

actor Needle
{
  Radius 11
  Speed 16
  Damage (random[MissileDamage](20, 51))
  SeeSound "schabbs/throw"
  PROJECTILE
  states
  {
    Spawn:
      HYPO A .5
    Loop:
      HYPO BCDA 3
      loop
  }
}