Changing the colors of the civ symbols

j51

Blue Star Cadet
Joined
Oct 22, 2006
Messages
1,754
Location
Ping Island
Does anyone know how to change the colours of the little round symbols for each civ? I want them to match the colours I've changed the civs to.
 
you must create 2 .xml files:

PlayerColor.xml
<GameData>
<PlayerColors>
<Row>
<Type>PLAYERCOLOR_MYCIVNAME</Type>
<PrimaryColor>COLOR_PLAYER_MYCIVNAME_ICON</PrimaryColor>
<SecondaryColor>COLOR_PLAYER_MYCIVNAME_BACKGROUND</SecondaryColor>
<TextColor>COLOR_PLAYER_WHITE_TEXT</TextColor>
</Row>
</PlayerColors>
</GameData>

Color.xml
<GameData>
<Colors>
<Row>
<Type>COLOR_PLAYER_MYCIVNAME_ICON</Type>
<Red>0.97</Red>
<Green>0.8</Green>
<Blue>0</Blue>
<Alpha>1</Alpha>

</Row>
<Row>
<Type>COLOR_PLAYER_MYCIVNAME_BACKGROUND</Type>
<Red>0.1</Red>
<Green>0.9</Green>
<Blue>0.1</Blue>
<Alpha>1</Alpha>

</Row>
</Colors>
</GameData>

You have to set them with ModModActivated/UpdateDatabase

Have a look there for a color sample, in your CIV5 folder:
Steam/SteamApps/common/sid meier's civilization v/assets/Gameplay/XML/Interface/...
 
No, I've already done that. I mean those shiny round things. When I change the colours in those two xml files, it dosn't effect the round things, only the border and uniform colours. Also what's "ModModActivated/UpdateDatabase"?
 
No, I've already done that. I mean those shiny round things. When I change the colours in those two xml files, it dosn't effect the round things, only the border and uniform colours. Also what's "ModModActivated/UpdateDatabase"?

If by "shiny round things" (and there are many shiny round things in the game) you mean (for want of a better phrase) the civilisation logo (eg the crown in a dark red circle for Elizabeth), those colours are fixed in the graphic .dds files - so you'd need to re-colour the graphics.
 
I cant find the graphic files either. anyone know where they are located?
 
They are in the .fpk files (see the Resource directory in the game install location), Dragon Unpacker can unpack them.

But some of the .dds files are in a non-standard .dds format, you need this tool to convert them to png. After editing you can convert them to standard .dds and include them in your mod with VFS set to true. It's best to use different names than the original files, and create your own icon atlases.
 
Back
Top Bottom