Jump to content

Wad not working after adding rotations for custom enemy


Recommended Posts

There is a custom enemy in my wad called the "barrel hoppers"

Bassically just fake barrels. The functionality worked, but the sprites were invisible. I tried adding the rotational sprites in, and now the wad doesn't work.

 

If you can help, please do, leaving the wad and the dehacked file in the link

 

https://drive.google.com/drive/folders/1ZkzmNkbAf1nCJLmuRMhPw3pnwti6ViOb?usp=sharing

Share this post


Link to post

The numbers in the sprite names are supposed to correspond to rotation angles, with 1 being head-on and 2-8 being the other angles at 45-degree increments. Multiple numbers in the name are used for sprites that are mirrored when looking from the other side. Your WAD has sprites labeled BHOPA1, BHOPA1A8, BHOPA1A7, BHOPA1A6, BHOPB1, etc. The way you've labeled it, you have multiple sprites for angle 1 but none for 2-5.

 

Since your barrels have the same sprite for all angles, you can use the number 0 instead of 1-8.

 

Reference: https://doomwiki.org/wiki/Sprite

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