User avatar
GlobalExplorer
AGEod Veteran
Posts: 777
Joined: Thu Jun 28, 2007 4:35 pm
Location: Berlin
Contact: Website

MOD question, how to change the faction color

Wed Sep 17, 2014 2:15 pm

Let's say for example I want Germany to have a different specific color, unit backgrounds and such. Can someobody tell me how to do this?

User avatar
PhilThib
Posts: 13705
Joined: Tue Oct 18, 2005 5:21 pm
Location: Meylan (France)

Thu Sep 18, 2014 8:04 am

In the Aliases directory, file for nations color is Colors2_Faction.ini
Back it up before changing. If you want to go fast, you can enter directly the RGB values of the new colour (see examples in the Colours1_Various.ini file)
Image

User avatar
GlobalExplorer
AGEod Veteran
Posts: 777
Joined: Thu Jun 28, 2007 4:35 pm
Location: Berlin
Contact: Website

Thu Sep 18, 2014 11:08 am

Thanks! Did not work as I intended, but from here I know how to go on.
I can change the color of the map overlay and cities, but not the backgrounds of units. Is that a graphic file?

User avatar
GlobalExplorer
AGEod Veteran
Posts: 777
Joined: Thu Jun 28, 2007 4:35 pm
Location: Berlin
Contact: Website

Thu Sep 18, 2014 12:08 pm

I could modify Russia with the Portuguese colors (nice effect is that the conquered region have a different color)

But the units and their backgrounds are still dark green

Image

User avatar
Leibst
Posts: 2581
Joined: Wed Sep 27, 2006 6:06 am
Location: Madrid, Spain
Contact: Website Facebook

Thu Sep 18, 2014 12:22 pm

In the models folder you can see the color of each model defined.
example: Color = $colNACRegular
And in the aliases folder in the colors files you can change all the colors you need. Like these from España.

$colNACMain = 201|188|143|255
$colNACRegular = 204|187|134|255
$colNACElite = 214|214|194|255

the first numbers are the RGB code and the last is used to define the transparency.
Image
Headquarter game designer of Battles For Spain, Ageod English Civil War, España:1936 and Thirty Years War
HQ website

User avatar
GlobalExplorer
AGEod Veteran
Posts: 777
Joined: Thu Jun 28, 2007 4:35 pm
Location: Berlin
Contact: Website

Thu Sep 18, 2014 12:32 pm

You guys are great!!

User avatar
GlobalExplorer
AGEod Veteran
Posts: 777
Joined: Thu Jun 28, 2007 4:35 pm
Location: Berlin
Contact: Website

Thu Sep 18, 2014 12:38 pm

Setting the colors for the map overlay etc was straightforward, but I could not accomplish changing the unit background.

A problem is that $colRUSMain is defined more than once in the file, perhaps that could be causing you problems too.
If someone just changes the definition at the start of the file he might never find out that it is overwritten at the end of the file.

User avatar
GlobalExplorer
AGEod Veteran
Posts: 777
Joined: Thu Jun 28, 2007 4:35 pm
Location: Berlin
Contact: Website

Sun Sep 28, 2014 1:04 pm

With the entrance of Romania this has become a hot issue for me again. I can barely look at the horrible purple without eye pain :)
Colors2_Factions.ini controls the colors for towns and regions, but not the background of unit panels, so I still lack one important piece of information.

Return to “Help improve EAW”

Who is online

Users browsing this forum: No registered users and 4 guests