Player Skin Error

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Player Skin Error

Postby Assassin of Purity » Thu Jul 19, 2018 2:03 pm

Hello. There's something wrong with my personal player skin someone fixed for me. When playing Doom, it appears fine. However, when playing Heretic, it looks bugged. Could it be a GZDoom problem?
Attachments
2018-07-19-11-14-04-1.png
How it is in Heretic.
2018-07-19-11-14-04-1.png (24.47 KiB) Viewed 100 times
2018-07-19-15-00-37-1.png
How it appears in Doom 2.
2018-07-19-15-00-37-1.png (20.24 KiB) Viewed 100 times
Last edited by Assassin of Purity on Thu Jul 19, 2018 3:42 pm, edited 1 time in total.
User avatar
Assassin of Purity
 
Joined: 10 May 2018
Discord: Old-School Gaming Pony#5759

Re: Player Skin Error

Postby drfrag » Thu Jul 19, 2018 2:06 pm

No, that's becouse it's using the Doom palette and not the Heretic one. That skin is for Doom.
User avatar
drfrag
I.R developer, I.R smart
Vintage GZDoom Developer
 
Joined: 23 Apr 2004
Location: Spain

Re: Player Skin Error

Postby Assassin of Purity » Thu Jul 19, 2018 2:40 pm

drfrag wrote:No, that's becouse it's using the Doom palette and not the Heretic one. That skin is for Doom.

Thanks.
User avatar
Assassin of Purity
 
Joined: 10 May 2018
Discord: Old-School Gaming Pony#5759

Re: Player Skin Error

Postby Enjay » Thu Jul 19, 2018 3:12 pm

Part of the problem is that the skin sprites are in Doom format. This format does not contain its own palette but, rather, each point in the image is mapped to a location on the game palette. Change the palette and the appearance (colour) of the image displayed will change. That's what happens when you load the skin in Heretic, it's using Doom palette references, but these are being mapped against the Heretic palette and these are mostly not suitable 1 for 1 replacemsnts with regards to palette order etc.

If you convert the sprites to PNG format (Slade can do this reasonably simply), then GZDoom will do a better job of displaying them because it will use the colours in the PNG and try to map them to the game palette*. This can be a bit hit or miss for an image intended for another game but usually it works out quite well. The biggest concern in this situation is that Doom player skins with a lot of green often don't work out very well in Heretic and certain player colour options can look quite bad. However, on this particular skin, the colour-adjustable green area is limited to the narrow bands of colour on the shoulder pads, so it will probably work out reasonably well.

*Non-player PNG sprites do not get mapped at all in GZDoom - they just use their own colours, but the player sprites are handled differently to accommodate the ability to adjust colours.

For illustration - a Doom skin, in Doom graphics format, in Heretic:
Spoiler:


The same skin converted to PNG format, still in Heretic:
Spoiler:


Messing with the colour sliders to make the green problem less obvious (also still in Heretic):
Spoiler:


[edit] Oh, and of course, what it looks like in Doom - it's a very green sprite:
Spoiler:
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: Player Skin Error

Postby Assassin of Purity » Thu Jul 19, 2018 3:38 pm

Thank you so much for that information, Enjay. =D
User avatar
Assassin of Purity
 
Joined: 10 May 2018
Discord: Old-School Gaming Pony#5759


Return to Assets

Who is online

Users browsing this forum: No registered users and 1 guest