Jump to content
  • 0

How Do You Make Custom Monsters?


Ghost_Ellis

Question

I'm trying to create a monster, and kind of learn as I go, but I don't really know how to code this.

I currently only have 3 of the great many sprites Ill need, but I'd like to make it so I can spawn my enemy,

even w just the 3 frames, so I can mess w everything, and add sprites as I make them.

Basically I just need to know what I'd need to put in DECORATE to make the enemy show in game.

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

Heres the Doom Imp from ZDoom Wiki in the Decorate format. Heres the Wiki address at ZDoom for the Imp. https://zdoom.org/wiki/Classes:DoomImp

 

ACTOR DoomImp
{
  Health 60
  Radius 20
  Height 56
  Mass 100
  Speed 8
  PainChance 200
  Monster
  +FLOORCLIP
  SeeSound "imp/sight"
  PainSound "imp/pain"
  DeathSound "imp/death"
  ActiveSound "imp/active"
  HitObituary "$OB_IMPHIT"
  Obituary "$OB_IMP"
  States
  {
  Spawn:
    TROO AB 10 A_Look
    Loop
  See:
    TROO AABBCCDD 3 A_Chase
    Loop
  Melee:
  Missile:
    TROO EF 8 A_FaceTarget
    TROO G 6 A_TroopAttack
    Goto See
  Pain:
    TROO H 2
    TROO H 2 A_Pain
    Goto See
  Death:
    TROO I 8
    TROO J 8 A_Scream
    TROO K 6
    TROO L 6 A_NoBlocking
    TROO M -1
    Stop
  XDeath:
    TROO N 5
    TROO O 5 A_XScream
    TROO P 5
    TROO Q 5 A_NoBlocking
    TROO RST 5
    TROO U -1
    Stop
  Raise:
    TROO ML 8
    TROO KJI 6
    Goto See
  }
}

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...