Is there a way to change an empire color?

The Galaxy Lives On! Distant Worlds, the critically acclaimed 4X space strategy game is back with a brand new 64-bit engine, 3D graphics and a polished interface to begin an epic new Distant Worlds series with Distant Worlds 2. Distant Worlds 2 is a vast, pausable real-time 4X space strategy game. Experience the full depth and detail of turn-based strategy, but with the simplicity and ease of real-time, and on the scale of a massively-multiplayer online game.

Moderator: MOD_DW2

Post Reply
User avatar
100thMonkey
Posts: 644
Joined: Sat Jul 23, 2016 3:27 pm

Is there a way to change an empire color?

Post by 100thMonkey »

Is there a way to change the color of an empire? And I’m not talking about the flag, but the color of the territory, of the ships and bases icons on the map, everything.

In my current game, there are 3 neighbor empires with similar colors. Which makes things very confusing, especially since I’m on the verge of war with one of them (by the way, it should be "Beta Capola Council" in the screenshot, not "Concul"; text isn't editable in picture, and I didn't want to redo it):

Overview territories.png
Overview territories.png (750.25 KiB) Viewed 2726 times

It’s especially confusing (and annoying) for other empires’ bases and stations established in my territory:

Other empires stations.png
Other empires stations.png (362.85 KiB) Viewed 2726 times

So, does anybody know of a way to change an empire’s colors? I’ve looked in the game editor and didn’t see anything related to colors.
Last edited by 100thMonkey on Tue Sep 06, 2022 3:34 pm, edited 1 time in total.
- Imagine how confusing it is to a new player!
- Tedious is the opposite of fun
- "The welfare of the people…has always been the alibi of tyrants…giving the servants of tyranny a good conscience." – Albert Camus
OrnluWolfjarl
Posts: 341
Joined: Fri Oct 20, 2017 8:36 pm

Re: Is there a way to change an empire color?

Post by OrnluWolfjarl »

As far as I know, no. The save files are also not modifiable.
User avatar
100thMonkey
Posts: 644
Joined: Sat Jul 23, 2016 3:27 pm

Re: Is there a way to change an empire color?

Post by 100thMonkey »

Thanks. I hope it will become possible to do so in the future, ideally from the game editor. Because the color choices made by the game aren't always ideal. They certainly aren't in my current game.

Here's a galaxy view of it. Not only are there three empires with similar colors in the left half of the galaxy, but those colors are also very similar to the general galaxy background color. Part of the upper center region of the galaxy is also in my empire's territory. It doesn't exactly jump at you:

Galaxy view.jpg
Galaxy view.jpg (341.3 KiB) Viewed 2679 times

Of all the colors the human eye and brain can perceive, the ones chosen for those three empires on the left clearly aren't the best. Situations hard to predict and avoid programmatically, but very easy to avoid or correct for a human being... if allowed to by the game.
- Imagine how confusing it is to a new player!
- Tedious is the opposite of fun
- "The welfare of the people…has always been the alibi of tyrants…giving the servants of tyranny a good conscience." – Albert Camus
User avatar
Thineboot
Posts: 523
Joined: Mon Mar 21, 2022 2:19 pm
Location: Earth

Re: Is there a way to change an empire color?

Post by Thineboot »

For a started game, no. At least not until save files can be altered.

For a new game, yes no.
data\Races.xml

Code: Select all

  <Race>
    <RaceId>0</RaceId>
    <BundleName>Human</BundleName>
    <FlagFilename>UserInterface/Flags/Human_1</FlagFilename>
    <AlternateFlagFilenames>
      <!--string>UserInterface/Flags/Human_2</string-->
      <string>UserInterface/Flags/Human_3</string>
    </AlternateFlagFilenames>
    <MainColor>
      <R>0</R>
      <G>0</G>
      <B>176</B>
      <A>255</A>
    </MainColor>
    <SecondaryColor>
      <R>255</R>
      <G>255</G>
      <B>255</B>
      <A>255</A>
    </SecondaryColor>
Uncommenting UserInterface adds the 2nd Human flag and color (white) to the game, see 21 distinguishable Empires: 7 Races x 3 Flags and Colors.
The 7 MainColors seem pretty close to the first color of each race. After that... with decent testing you should be able to come up with 21 distinguishable colors.

Edit: text
Last edited by Thineboot on Tue Sep 06, 2022 9:04 pm, edited 1 time in total.
User avatar
Thineboot
Posts: 523
Joined: Mon Mar 21, 2022 2:19 pm
Location: Earth

Re: Is there a way to change an empire color?

Post by Thineboot »

I've tested a few color changes but it doesn't seem to have any effect at all :(

Looks like colors are hardcoded at the moment.
User avatar
100thMonkey
Posts: 644
Joined: Sat Jul 23, 2016 3:27 pm

Re: Is there a way to change an empire color?

Post by 100thMonkey »

Even if it would be possible to change empire colors at the start of the game, that wouldn't be enough.

Why? Because as the game progresses and some empires engulf others, at one point some empires with similar colors will become neighbors. So even if the colors were "right" at the beginning of the game, they wouldn't anymore at that point. There has to be a way to correct those situations when they occur.

It seems to me that the solution is to allow the player to change the empires' color as needed, through the game editor.
- Imagine how confusing it is to a new player!
- Tedious is the opposite of fun
- "The welfare of the people…has always been the alibi of tyrants…giving the servants of tyranny a good conscience." – Albert Camus
AKicebear
Posts: 670
Joined: Sat Jul 26, 2014 2:11 pm

Re: Is there a way to change an empire color?

Post by AKicebear »

I think another way is to have a primary and secondary color for all empires. The secondary color is the empire border, and the primary is the fill. At least in this case there is a higher chance of having two distinct blobs, even if their fill is similar.

But being able to select the color of opponents, during the game (maybe a drop-down within the diplomacy menu) would be great. Give us the choice.
User avatar
100thMonkey
Posts: 644
Joined: Sat Jul 23, 2016 3:27 pm

Re: Is there a way to change an empire color?

Post by 100thMonkey »

AKicebear wrote: Wed Sep 07, 2022 4:24 pm I think another way is to have a primary and secondary color for all empires. The secondary color is the empire border, and the primary is the fill. At least in this case there is a higher chance of having two distinct blobs, even if their fill is similar.
Agreed. The addition of borders, of a different color than the territory color, would help. But, as you put it, that would increase the chances of having distinct blobs, not guarantee it. So both colors would still need to be editable in the game editor.
- Imagine how confusing it is to a new player!
- Tedious is the opposite of fun
- "The welfare of the people…has always been the alibi of tyrants…giving the servants of tyranny a good conscience." – Albert Camus
User avatar
Thineboot
Posts: 523
Joined: Mon Mar 21, 2022 2:19 pm
Location: Earth

Re: Is there a way to change an empire color?

Post by Thineboot »

Agreed before, see [Suggestion] Game Editor
Thineboot wrote: Mon Jul 11, 2022 12:26 pm How could anyone come up with this:
Image
At least this has been changed, and we don't have to deal with the same colors anymore. But slight differences in hues are not exactly distinguishable by human eyes either...
User avatar
100thMonkey
Posts: 644
Joined: Sat Jul 23, 2016 3:27 pm

Re: Is there a way to change an empire color?

Post by 100thMonkey »

Thineboot wrote: Wed Sep 07, 2022 8:00 pm At least this has been changed, and we don't have to deal with the same colors anymore. But slight differences in hues are not exactly distinguishable by human eyes either...
Slight differences in hues are particularly difficult to distinguish for bases and stations when viewed from the galaxy view, as shown in the second picture in my initial post.
- Imagine how confusing it is to a new player!
- Tedious is the opposite of fun
- "The welfare of the people…has always been the alibi of tyrants…giving the servants of tyranny a good conscience." – Albert Camus
Post Reply

Return to “Distant Worlds 2”