Exult Studio, GIMP and color cycling troubles
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Exult Studio, GIMP and color cycling troubles
I've been trying to make a new item for the game which uses the blue-white color cycling. I've managed to get it to work otherwise but I can't get the lightest color to cycle. It just appears as unchanging white. It seems as if when saving the image, GIMP doesn't differentiate between colors in palette slots 224 and 232 from plain white at slot 15. They all have the same color value (252, 252, 252). I suspect the same might hold true for the color at slot 248. I have tried editing the image in both .png and .shp form. I guess I'll try altering the color values of these whites in the palette file myself so they won't be identical anymore and see if that would help.
Re: Exult Studio, GIMP and color cycling troubles
Also the blue colors closest to white in the palette cycling portion have the same color values (176, 212, 240) and are treated as the same color when put into the game, i.e. they cycle in step with each other. Other hues of blue in this section of the palette which appear to be same actually have a slight difference in their color values.
Re: Exult Studio, GIMP and color cycling troubles
Until GEGL is finished, GIMP will continue to edit indexed images destructively: that is, it will not preserve the palette index of colors unless the colors are unique. Since Exult imports the shape based on palette index, not the raw color on the palette, you can alter the colors of duplicate palette entries to unique values to prevent this. The shape plug-in for GIMP does this, in a way -- it uses a palette with unique entries for all colors. If you use exported shp files directly, you can take advantage of that.
------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Re: Exult Studio, GIMP and color cycling troubles
Okay, editing the .shp file with an altered palette fixed this. Thank you very much.