Author Topic: PALETTE experimenting  (Read 12842 times)

Offline RSSwizard

  • Commander
  • *****
  • Posts: 748
    • View Profile
PALETTE experimenting
« on: August 28, 2017, 05:40:48 am »
So I pulled out my hex editor and consulted the wiki about how the palettes are arranged. And after a couple hours I churned out a modified palette. That pesky red range was the first thing to be changed but I took a bunch of creative license with it so you may not like it as-is (there are some color glitches, but it overall takes on a different kind of style).

To use it, go in your UFO/GEODATA folder, rename your PALETTES.dat to a backup, and unzip this in there. The only palette modified is battlescape.

If anyone has any wishes for custom changes I can take the stock palette and make some modifications (this takes some effort, and I tend to want to edit only the 4 colors on the light/dark ends of the range). I expect everyone is going to want the Red colors changed to include some more saturation. However I am particularly fond of the TFTD silvered/patina color range which has a yellowish-gray appearance.

The screenshots are from x-piratez, the palette image was used as a basis to sample colors from to input in hex so its almost equal to the palette in the .dat.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: PALETTE experimenting
« Reply #1 on: August 28, 2017, 10:59:49 am »
Interesting, but the palette you presented in the picture seems to be the Geoscape palette, whereas the screens are from Battlescape. Can you please clarify?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: PALETTE experimenting
« Reply #2 on: August 28, 2017, 11:07:39 am »
Interesting, but the palette you presented in the picture seems to be the Geoscape palette, whereas the screens are from Battlescape. Can you please clarify?

You mean "newxcomcolors.png" ? That's clearly NOT a geoscape palette.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: PALETTE experimenting
« Reply #3 on: August 28, 2017, 11:12:41 am »
You mean "newxcomcolors.png" ? That's clearly NOT a geoscape palette.

Well, I assumed it was a modified Geoscape, since it doesn't have the bottom blacks... But admittedly I don't understand much.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: PALETTE experimenting
« Reply #4 on: August 28, 2017, 11:42:58 am »
Well, I assumed it was a modified Geoscape, since it doesn't have the bottom blacks... But admittedly I don't understand much.

As far as I know, the palette with pink/purple bottom line is what modders decided to use instead of the BATTLEPEDIA palette (which is similar to BATTLESCAPE palette, with last row changed to support ufopedia text and cursor colors)... so that the colors from the last row are not used at all and thus work both in battlescape and ufopedia.

See attached.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: PALETTE experimenting
« Reply #5 on: August 28, 2017, 01:34:39 pm »
Yes, that is precisely what I meant.

Of course this is pretty much meaningless, since it can be used for anything that fits... But my initial question remains: what is this palette meant for? It just doesn't make sense to me...

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: PALETTE experimenting
« Reply #6 on: August 28, 2017, 01:49:35 pm »
But my initial question remains: what is this palette meant for? It just doesn't make sense to me...

Not sure I understand the question.
It's meant to replace the original battlescape palette...

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: PALETTE experimenting
« Reply #7 on: August 28, 2017, 02:02:22 pm »
Not sure I understand the question.
It's meant to replace the original battlescape palette...

Then why so much pink? What would it be used for? And what about the grayscale?
I just don't understand how this palette is useful, not to mention better.

(And I wouldn't accept a palette which breaks the 1 colour per row rule... It would make it useless for automated recolour. Yes, I know TFTD is like that.)
« Last Edit: August 28, 2017, 02:04:04 pm by Solarius Scorch »

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2159
    • View Profile
Re: PALETTE experimenting
« Reply #8 on: August 28, 2017, 04:08:56 pm »
Then why so much pink? What would it be used for? And what about the grayscale?
I just don't understand how this palette is useful, not to mention better.

(And I wouldn't accept a palette which breaks the 1 colour per row rule... It would make it useless for automated recolour. Yes, I know TFTD is like that.)
The palette is the exact same as the original, just with different hue/saturation for some colors, for players that would prefer stronger colors.
The "magenta row" is just a dummy, as it's replaced with greyscale by the game.

Here's a more accurate comparison:

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: PALETTE experimenting
« Reply #9 on: August 28, 2017, 04:21:32 pm »
Thanks! That explains it.

Offline RSSwizard

  • Commander
  • *****
  • Posts: 748
    • View Profile
Re: PALETTE experimenting
« Reply #10 on: August 28, 2017, 09:48:47 pm »
The last row is indeed a dummy to make sure those colors aren't used, or would only be used for things like projectiles and explosions that wont be displayed in the pedia.

I made a modified version of the palette and stuck it in vanilla UFO setting (on my android phone, so I have no screenshots of that) and it worked pretty well... this version is a little nicer I guess, it jives real well with piratez because IMO it gives things a "rustic" look.

Changes include preserving the top red colors at vanilla levels so they're not too intense, though the stun bar over the health bar is still hard to make out. Turned the last row of blues (range 14?) into the same kind of teal from tftd (I find 3 ranges of blues to be highly redundant). And as I originally did there is no flat gray anymore... the first range is slightly blued, the peach gray in the middle is silver-patina yellow, the Alien Alloys gray range is a stronger blue-gray.

I think im going to leave it as it is. If I tweak anything else about it ill be modifying other game palettes (I intend on editing that geoscape blue range for the ocean to look more aqua and darker).
« Last Edit: August 28, 2017, 09:54:53 pm by RSSwizard »

Offline Dioxine

  • Commander
  • *****
  • Posts: 5412
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: PALETTE experimenting
« Reply #11 on: August 28, 2017, 11:19:09 pm »
This palette simply rocks. The one color I am not fully happy with is the turqoise. I'd prefer a little deeper and a little more blue hue. This one just looks a tad too chemical IMO. I will really need that deep blue/greenish. However, the first green can be made more turqoise to compensate!

Keep tweaking man! This is really awesome work, kudos to you!

I'll bother Meridian some more for an ability to easily replace palettes by ruleset :)
« Last Edit: August 28, 2017, 11:21:57 pm by Dioxine »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8598
    • View Profile
Re: PALETTE experimenting
« Reply #12 on: August 28, 2017, 11:29:13 pm »
I'll bother Meridian some more for an ability to easily replace palettes by ruleset :)

Implemented a year ago: https://openxcom.org/forum/index.php/topic,4935.msg72065.html#msg72065

Already on my to-be-removed list, since no one's interested...
« Last Edit: August 28, 2017, 11:47:43 pm by Meridian »

Offline Dioxine

  • Commander
  • *****
  • Posts: 5412
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: PALETTE experimenting
« Reply #13 on: August 29, 2017, 12:07:46 am »
Hell I never knew you actually implemented it... :/
Lack of documentation is a bitch.

Offline clownagent

  • Colonel
  • ****
  • Posts: 380
    • View Profile
Re: PALETTE experimenting
« Reply #14 on: August 29, 2017, 10:31:18 am »
Implemented a year ago: https://openxcom.org/forum/index.php/topic,4935.msg72065.html#msg72065

Already on my to-be-removed list, since no one's interested...

It is a nice feature. I used it to give the geoscape some more red colors for interception images.

The old geoscape palette had 6 times the same red, and changing these colors does not seem to break anything.
« Last Edit: August 29, 2017, 10:44:12 am by clownagent »