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

DeHackEd: Sprite Shows up in top-left corner after switching weapons

Recommended Posts

I was playtesting a WAD edit I recently put out when I found a strange bug (oversight?): if I switch to my melee weapon and then try switching back to my pistol, it doesn't switch back, it instead shows a small pink sprite in the top-left corner. I don't know why that happens, I'm not very knowledgeable on DeHackEd outside of replacing text strings. I tested this in multiple ports as well to see if I got any different results, and so far it only happens in Chocolate Doom and in DOSBox. It works without issue in Crispy, so I'm a bit stumped.

 

Something else I noticed about this phenomenon is that if I do IDKFA, switching weapons works just fine. Picking up other weapons regularly doesn't seem to help either, for some reason.

 

The Dehacked file is SA.DEH (Harmony.deh also produces the same results) and can be found in .\Harmony\src\ in this ZIP. Does anyone have any suggestions as to what could be causing this?

Edited by OpenRift

Share this post


Link to post

For some reason I can't open the .deh in Whacked4. In any case I'm guessing that the knife doesn't have its "lower" frame set properly. Though I'm at a loss as to why it would work in Crispy.

Share this post


Link to post
4 minutes ago, maxmanium said:

For some reason I can't open the .deh in Whacked4. In any case I'm guessing that the knife doesn't have its "lower" frame set properly. Though I'm at a loss as to why it would work in Crispy.

I was having a similar problem with Whacked. It perplexes me as to why that happens. It seems to open fine in DOS DeHackEd tho.

Share this post


Link to post

I opened sa.deh in a text editor. It looks like the knife that replaces the fist has some wrong properties -- leftover from development I assume. Just search for Weapon 7 (Chainsaw), copy the four lines under it, then paste them over the contents under Weapon 0 (Fists). Seems to fix it.

Share this post


Link to post
5 minutes ago, maxmanium said:

I opened sa.deh in a text editor. It looks like the knife that replaces the fists has some wrong properties -- leftover from development I assume. Just search for Weapon 7 (Chainsaw), copy the four lines under it, then paste them over the contents under Weapon 0 (Fists). Seems to fix it.

Awesome, that works!! Thanks a bunch man!

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
×