AI Player colors

For topics that do not fit in another sub-forum.

Moderators: Oberlus, Oberlus

Post Reply
Message
Author
User avatar
EricF
Space Dragon
Posts: 354
Joined: Fri Jul 29, 2016 10:12 am

AI Player colors

#1 Post by EricF » Sat Nov 04, 2017 3:20 pm

I would like to change some of the colors that the game assigns to the AIs.
Specifically, I would like the computer to not use that dark blue color for
an AI player because I find it difficult to see.
Which file do I edit to accomplish this, if possible?

User avatar
Dilvish
AI Lead, Programmer
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: AI Player colors

#2 Post by Dilvish » Sat Nov 04, 2017 3:53 pm

default/empire_colors.xml

I believe it should be fine for you to just delete the lines for the colors you don't like.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
EricF
Space Dragon
Posts: 354
Joined: Fri Jul 29, 2016 10:12 am

Re: AI Player colors

#3 Post by EricF » Sat Nov 04, 2017 9:05 pm

Cool, thanks. I can't believe I missed that file. I was looking in all the
folders and missed it right there in /default. :oops:

I just switched around the colors I like and it works fine.

Thinker55
Krill Swarm
Posts: 10
Joined: Sat Jan 12, 2019 7:25 pm

Re: AI Player colors

#4 Post by Thinker55 » Tue Mar 19, 2019 7:05 pm

I just posted an issue for this . The red is too dark and dull -- I find it unreadable. I'm colorblind, and although I see color, if there is not enough contrast, it can be difficult. I would like to see this in the options somewhere. In the meantime, at least I know where to change things...

Thinker55
Krill Swarm
Posts: 10
Joined: Sat Jan 12, 2019 7:25 pm

Re: AI Player colors

#5 Post by Thinker55 » Tue Mar 19, 2019 7:55 pm

I have edited that file until I am blue in the face -- to no effect! I still get the same colors, including one that is positively unreadable, even for my wife! Is there anywhere ELSE this is controlled? I emptied the XML file and STILL get those same colors!

User avatar
EricF
Space Dragon
Posts: 354
Joined: Fri Jul 29, 2016 10:12 am

Re: AI Player colors

#6 Post by EricF » Wed Mar 20, 2019 12:33 am

That's odd because I do it everytime I install the game and it works fine.
Here is the file I use.
empire_colors.xml
(864 Bytes) Downloaded 221 times
Oh, I see you are using Linux. The /Default is for windows.
I don't know where it goes on Linux.

User avatar
EricF
Space Dragon
Posts: 354
Joined: Fri Jul 29, 2016 10:12 am

Re: AI Player colors

#7 Post by EricF » Wed Mar 20, 2019 2:22 am

Thinker55 wrote:
Tue Mar 19, 2019 7:55 pm
I have edited that file until I am blue in the face -- to no effect! I still get the same colors, including one that is positively unreadable, even for my wife! Is there anywhere ELSE this is controlled? I emptied the XML file and STILL get those same colors!
It might be a permissions issue.

Post Reply