Jump to content

How to change the Icon of Sin's Enemy drops and Rates.


Recommended Posts

Hello!

 

Recently, I have been working on a Doom WAD, and want to change the cube that the Icon of Sin drops so that it drops different items and drops them at different rates in DECORATE. I have used the ZDoom wiki to help but I don't know what to change so it will stop throwing this error at me "Class does not define any animation frames
". If you know how to fix this please tell me, and even if you don't and still want to help, speculate in the comments.

 

-fdai

Share this post


Link to post

Like I said before it keeps on giving me this error "Class does not define any animation frames". Am I doing anything wrong? 

 

CODE

 

class{ ICantBelieveItsNotBossEye: BossEye
{
  Default
  {
    DropItem "DoomImp",         255, 50;
    DropItem "Demon",            255, 40;
    DropItem "Spectre",            255, 30;
    DropItem "PainElemental",   255, 10;
    DropItem "Cacodemon",       255, 30;
    DropItem "Archvile",        255,  2;
    DropItem "Revenant",        255, 10;
    DropItem "Arachnotron",     255, 20;
    DropItem "Fatso",           255, 30;
    DropItem "HellKnight",      255, 24;
    DropItem "BaronOfHell",     255, 10;
  }
}
}

Share this post


Link to post

Pretty sure that first { after class needs to go, along with one of the } at the end.

Share this post


Link to post

It's imperative to look at root issues that may seem simple, but just double-check if sprites you're using are correctly defined in the WAD.

 

Maybe try removing the class keyword because in DECORATE, actors are defined using the actor keyword, not class.

Share this post


Link to post
3 minutes ago, bofu said:

Pretty sure that first { after class needs to go, along with one of the } at the end.

 

This also, and add a space between the : in ICantBelieveItsNotBossEye: BossEye
 

So, ICantBelieveItsNotBossEye : BossEye

Share this post


Link to post
40 minutes ago, fdai said:

class{ ICantBelieveItsNotBossEye: BossEye
{
  Default
  {
    DropItem "DoomImp",         255, 50;
    DropItem "Demon",            255, 40;
    DropItem "Spectre",            255, 30;
    DropItem "PainElemental",   255, 10;
    DropItem "Cacodemon",       255, 30;
    DropItem "Archvile",        255,  2;
    DropItem "Revenant",        255, 10;
    DropItem "Arachnotron",     255, 20;
    DropItem "Fatso",           255, 30;
    DropItem "HellKnight",      255, 24;
    DropItem "BaronOfHell",     255, 10;
  }
}
}

This looks like ZScript, rather than DECORATE.

 

...but that's actually correct. You want to be using ZScript to define new stuff, not DECORATE, unless you're targeting Zandronum. Slap it in a ZSCRIPT lump and you're good to go.

Share this post


Link to post

Alright, got it to work! 

Thanks Baron T. Mueriach for the help!!!

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
Reply to this topic...

×   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...