Really weird graphics offsets bug

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
VikingBoyBilly
Posts: 2
Joined: Sat Aug 27, 2011 19:18

Really weird graphics offsets bug

Post by VikingBoyBilly »

In one of my player classes, the offsets for the A frame of the sprite isn't right. It makes the sprite go underground, making it invisible. I know it's not the graphics offsets themselves, those are normal. Replacing the A frame of the sprite with any other graphic results in this happening. I have another player class where this problem doesn't occur, so why only this one? My guess is it's a decorate thing, but it must be the most obscure error ever.

I'll be back with more details if there isn't an obvious solution to this.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Really weird graphics offsets bug

Post by Enjay »

I suspect that you haven't given enough information in your post. The best thing would be if you could upload a WAD/PK3 with your player graphics and DECORATE code.
VikingBoyBilly
Posts: 2
Joined: Sat Aug 27, 2011 19:18

Re: Really weird graphics offsets bug

Post by VikingBoyBilly »

I renamed the sprites and everything was good. My guess is the name "SQR_A*" is taken by another thing, that's the sprite name that was giving the problem (seriously, name any sprite that and you'll see what happens).

To save this thread though, I noticed that any player class with a translatable color range gets forced into a 256 color pallette, even when it's a .png. Is there any way to get around this? I'd guess not, except to remove color translation from the player class.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Really weird graphics offsets bug

Post by Enjay »

VikingBoyBilly wrote:My guess is the name "SQR_A*" is taken by another thing, that's the sprite name that was giving the problem (seriously, name any sprite that and you'll see what happens).
I'm not seeing that myself. I made a WAD where I renamed all the "POSS" sprites to "SQR_" and then made a decorate for them to replace the regular Zombieman and the imp and the sprites worked exactly as I would expect them to (ie, all sprites were properly aligned).

[edit] Oh, and from memory, translations require palette indices so they cannot work on true colour images and will force such images into 256 colours. [/edit]

[edit2]

http://forum.drdteam.org/viewtopic.php?f=22&t=4689

[/edit2]
User avatar
Gez
Developer
Developer
Posts: 1399
Joined: Mon Oct 22, 2007 16:47

Re: Really weird graphics offsets bug

Post by Gez »

Closed for lack of follow-up.
Locked

Return to “Closed Bugs”