OpenXcom Forum

Modding => Help => Topic started by: Zeta Reticulan on February 22, 2023, 12:20:41 am

Title: Colors from palette turning invisible
Post by: Zeta Reticulan on February 22, 2023, 12:20:41 am
Hello,
I'm trying to use the shades of orange and red from this palette that I got directly from UFOpedia, but it keeps turning invisible when I convert the pgn to 8bit using this site: https://buscher.eu.pythonanywhere.com/spritepalette (https://buscher.eu.pythonanywhere.com/spritepalette) What's going on?
Title: Re: Colors from palette turning invisible
Post by: bohemond on February 22, 2023, 01:37:00 am
That file is not entirely reliable, the RGB values are slightly offset from the palette used in most of the community tools.
You can simply use the actual palette in the file you get back from the spritepalette tool.

Alternatively, I've attached a BMP file that contains the UFO Battlescape palette. Try using that one. The image is actually only a single transparent pixel, just use the palette information.
Title: Re: Colors from palette turning invisible
Post by: Zeta Reticulan on February 22, 2023, 03:25:39 am
I found a working one. Thanks.
Title: Re: Colors from palette turning invisible
Post by: The Martian on February 22, 2023, 12:59:22 pm
I'll attach these palette charts to this thread, perhaps they can be useful.

Both are for the Battlescape palette.
X-COM: UFO Defense
(https://openxcom.org/forum/index.php?action=dlattach;topic=11119.0;attach=59179)
X-COM: Terror From The Deep
(https://openxcom.org/forum/index.php?action=dlattach;topic=11119.0;attach=59180)