Adding more map theme colors.

So, I went into the colordefalts.xml to add more colors. I made a mod for it. None of the colors added show up in the drop down list. Anyone have any ideas? This seems to be the right .xml because it has almost all of the color choices available for the map outside of the faction specific ones.

12,264 views 10 replies
Reply #1 Top

Nobody has any ideas on this? It effectively limits you to using I think 21 unique colors. After that AI's have to start sharing colors which can be, well, confusing to say the least!

Reply #2 Top

You want to mod FactionMapColorDefs.xml

ColorDefs.xml defines (btw, it's Definitions, not Defaults, AFAIK) the colours in the games - if you want to add new colours, you edit this.

FactionMapColorDefs.xml defines what colours can be used on the map (ie, what you want). If a colour doesn't already exists, you'll need to add it to ColorDefs.xml too. You can check out my Map Colour mods if you want to, it's fairly simple.

Reply #3 Top

Quoting Niedzielan, reply 2

You want to mod FactionMapColorDefs.xml

ColorDefs.xml defines (btw, it's Definitions, not Defaults, AFAIK) the colours in the games - if you want to add new colours, you edit this.

FactionMapColorDefs.xml defines what colours can be used on the map (ie, what you want). If a colour doesn't already exists, you'll need to add it to ColorDefs.xml too. You can check out my Map Colour mods if you want to, it's fairly simple.

Sorry, it isn't colorsdefaults I should have capitalized to make it clear. It's ColorsDefAlts that I was referring to. Thats the file that has all the colors that you can actually select for the map. If you want to give a custom race say the Corn Flower Blue color, it's in THAT file as AltCornFlowerBlue. This is the file I made a mod for and it doesn't seem to work.

I'll try adding those colors to those other files and see if anything sticks though! I'm guessing I was just missing the factionmapcolordefs.xml entries.

Yep, that is what I was missing, thanks for pointing me at it!

Reply #4 Top

Probably a silly question but is there a way of getting the AI players to automatically change colour Mid game if they become adjacent to another player thats colour is the same or similar?

Reply #5 Top

Those 2 know more about color changes than I obviously but mid-game changes cannot be done by xml changes. They are loaded on game creation and saved as a part of the save file. There might be exceptions to this but I am fairly sure this is always the case.

Reply #6 Top

I see, well it's an interesting problem - as soon as I heard that galciv 3 would support up to 100 players my first thought was what about mini-map colours.  Actually thats not true, my first thought was OMG THATS FCUKING IMMENSE!!! - but my second thought was indeed about minimap colours lol

how about a mod that stops the same or similar colours being places adjacent to eachother from the start of the game?

Reply #7 Top

I thought this was already added recently to the game? Or maybe it was just something they said they were going to do..

Reply #9 Top

The minimap colors are a pain in the butt. I went ahead and made like 30 new ones. You can only see like half of them on the drop down bar :(

Reply #10 Top

I've been wanting to add some custom faction colour schemes, similar to how this would work. 

Is the easiest way to copy over the list from GC3AppearanceDefs.xml to a new file in the Mods folder, with more colour options added in, or is there a way to just add in a single colour code block to the existing XML via a mod without altering the original?