Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
DynamiteKaitorn

" R_ProjectSprite: invalid sprite frame " error on a 1-frame object

Question

So I'm trying to edit the box of ammo item to have a new texture. The weird thing is, the game crashes and says I need to provide all of the frames, despite the fact that the box of ammo only has ONE frame (Ammo A 0). I have the correct frame provided and it's offsets shouldn't crash DooM (I even tried using the original object's exact frame offsets to no avail).

Share this post


Link to post

7 answers to this question

Recommended Posts

  • 0

And you're sure it crashes on BULBA0, and not on SS_START?

 

I notice you have an S_END before that, and FZNFB0 matches the pattern of a sprite name. Are you having two different sprite namespaces in the same wad, one after the other? If so, it's probably the explanation, as I can see that confusing the merge algorithm. Try deleting those S_END and SS_START lumps that are between FZNFB0 and BULBA0 ; I suppose you have another SS_START lump even before.

Share this post


Link to post
  • 0

engine?

lump listing?

Share this post


Link to post
  • 0
7 hours ago, DynamiteKaitorn said:

No idea what "lump listing" is. :l

The list of lumps. A screenshot of your wad opened in SLADE could have done the trick if there aren't too many lumps.

 

I figure the problem isn't the ammo box lump itself, it's vanilla's inability to have separate sprite namespaces. So, as andrewj said, use -merge.

Share this post


Link to post
  • 0

1181412742_1-Frameproblema.png.47acbe8bab34792e759158df07ff666b.png

 

I've been using -merge for a little while. Same issue. :l

 

Also I decided to test by using the default name of the ammo box. Same result...

Share this post


Link to post
  • 0

You can’t have any more sprites after an S_END lump. In terms of sprites, vanilla ignores everything that comes after S_END. If you’re using custom sprites in a vanilla wad, it’s good form to have SS_START as your first lump, then all your sprites, then S_END. It looks like you have two S_END lumps which will also confuse the vanilla engine iirc.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×