Classes:StrifeHumanoid

From ZDoom Wiki
Jump to navigation Jump to search
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 will 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.
Strife humanoid
Actor type Internal Game MiniStrifeLogoIcon.png (Strife)
DoomEd Number None Class Name StrifeHumanoid


Classes: ActorStrifeHumanoid
 →Acolyte
 →Beggar
 →Peasant
 →Rebel
 →Zombie

The base class for all Strife NPCs, used to define the burning and the disintegrating death they can undergo. It cannot be used directly in-game. A_DropFire creates fire droplets.

DECORATE definition

ACTOR StrifeHumanoid
{
  MaxStepHeight 16
  MaxDropoffHeight 32
  CrushPainSound "misc/pcrush"
  States
  {
  Burn:
    BURN A 3 Bright A_PlaySoundEx("human/imonfire", "Voice")
    BURN B 3 Bright A_DropFire
    BURN C 3 Bright A_Wander
    BURN D 3 Bright A_NoBlocking
    BURN E 5 Bright A_DropFire
    BURN FGH 5 Bright A_Wander
    BURN I 5 Bright A_DropFire
    BURN JKL 5 Bright A_Wander
    BURN M 5 Bright A_DropFire
    BURN NOPQPQ 5 Bright
    BURN RSTU 7 Bright
    BURN V -1
    Stop
  Disintegrate:
    DISR A 5 A_PlaySoundEx("misc/disruptordeath", "Voice")
    DISR BC 5
    DISR D 5 A_NoBlocking
    DISR EF 5
    DISR GHIJ 4
    MEAT D 700
    Stop
  }
}