Classes:IceGuy

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'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.
Wendigo
Actor type Monster Game MiniHexenLogoIcon.png (Hexen)
DoomEd Number 8020 Class Name IceGuy
Spawn ID 20 Identifier T_ICEGOLEM


Classes: IceGuy
The wendigo, or ice golem, is a creature made of solid ice that is able to throw ice projectiles that upon impact explode into a volley of shards. When slain, a wendigo bursts into ice fragments like frozen corpses do.

DECORATE definition

ACTOR IceGuy
{
  Health 120
  PainChance 144
  Speed 14
  Radius 22
  Height 75
  Mass 150
  DamageType "Ice"
  Monster
  +NOBLOOD
  +TELESTOMP
  +NOICEDEATH
  SeeSound "IceGuySight"
  AttackSound "IceGuyAttack"
  ActiveSound "IceGuyActive"
  Obituary "$OB_ICEGUY" // "%o was frozen solid by a Wendigo."

  action native A_IceGuyLook();
  action native A_IceGuyChase();
  action native A_IceGuyAttack();

  States
  {
  Spawn:
    ICEY A 10 A_IceGuyLook
    Loop
  See:
    ICEY A 4 A_Chase
    ICEY B 4 A_IceGuyChase
    ICEY CD 4 A_Chase
    Loop
  Pain:
    ICEY A 1 A_Pain
    Goto See
  Missile:
    ICEY EF 3 A_FaceTarget
    ICEY G 8 Bright A_IceGuyAttack
    ICEY F 4 A_FaceTarget
    Goto See
  Death:
    ICEY A 1 A_IceGuyDie
    Stop
  Inactive:
    ICEY A -1
    Goto See
  }
}