Classes:Hectebus

From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
  1. This actor is already defined in GZDoom, there's no reason to define it again.
  2. In fact, trying to define an actor with the same name will cause an error (because it already exists).
  3. If you want to make your own version of this actor, use inheritance.
  4. Definitions for existing actors are put on the wiki for reference purpose only.
Hectebus
Actor type Monster Game MiniSkulltagLogoIcon.png (Skulltag)
DoomEd Number 5007 Class Name Hectebus
Spawn ID 158 Identifier T_HECTEBUS
Center Warning: This class is a Skulltag-specific actor that is not included in ZDoom!


Classes: FatsoHectebus

A dark gray mancubus, with twice as much health and an absurdly-increased rate of firepower.

DECORATE definition

ACTOR Hectebus : Fatso 5007
{
  SpawnID 158
  Health 1200
  PainChance 20
  Obituary "$OB_HECTEBUS" // "%o was cremated by a hectebus."
  States
  {
  Spawn:
    HECT AB 15 A_Look
    Loop
  See:
    HECT AABBCCDDEEFF 4 A_Chase
    Loop
  Pain:
    HECT J 3
    HECT J 3 A_Pain
    Goto See
  Missile:
    //These Next 2 states replace A_FatRaise and A_HectRaise
    HECT G 0 A_PlaySound("fatso/raiseguns")
    HECT G 20 A_FaceTarget
    HECT H 0 A_CustomMissile("HectShot",28,0,0,1)
    HECT H 0 A_CustomMissile("HectShot",28,0,5.625,1)
    HECT H 0 A_CustomMissile("HectShot",28,0,11.25,1)
    HECT H 0 A_CustomMissile("HectShot",28,0,16.875,1)
    HECT H 10 Bright
    HECT IG 5 A_FaceTarget
    HECT H 0 A_CustomMissile("HectShot",28,0,0,1)
    HECT H 0 A_CustomMissile("HectShot",28,0,-5.625,1)
    HECT H 0 A_CustomMissile("HectShot",28,0,-11.25,1)
    HECT H 0 A_CustomMissile("HectShot",28,0,-16.875,1)
    HECT H 10 Bright
    HECT IG 5 A_FaceTarget
    HECT H 0 A_CustomMissile("HectShot",28,0,-11.25,1)
    HECT H 0 A_CustomMissile("HectShot",28,0,-5.625,1)
    HECT H 0 A_CustomMissile("HectShot",28,0,0,1)
    HECT H 0 A_CustomMissile("HectShot",28,0,5.625,1)
    HECT H 0 A_CustomMissile("HectShot",28,0,11.25,1)
    HECT H 10 Bright
    HECT IG 5 A_FaceTarget
    Goto See
  Death:
    HECT K 6
    HECT L 6 A_Scream
    HECT M 6 A_NoBlocking
    HECT NOPQRS 6
    HECT T -1
    Stop
  Raise:
    HECT RQPONMLK 5
    Goto See
  }
}