• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(27287)

El Kapitän
Mar 29, 2004
923
0
Hello!

Was just wondering if its possible to in an easy way change the color palette of a country (i.e what color it have on the map) or is this hardcoded?

Cheers!
/Johnnie
 
Easy enough to do, but i don't know how, so i'll redirect you to people who will.

*moved
 
Go into the "DB" folder and the country.csv file:

You'll see the list of all countries with the color next to them (amongst other things). Change has you want - carefull, sometimes the names of the color are not exactly the same has you would think they would be. For example, Holland has light yellow color but in the game it's orange. :D
 
Patriotes1837 said:
Go into the "DB" folder and the country.csv file:

You'll see the list of all countries with the color next to them (amongst other things). Change has you want - carefull, sometimes the names of the color are not exactly the same has you would think they would be. For example, Holland has light yellow color but in the game it's orange. :D

Made as said and sure it worked... if only not my HoI went error trying to start it up after :p

Got a "DB error during runtime" message something, what did I do wrong? Only thing I did was opened country.scv with excel, changed France:s color from blue to red, and saved the changes. Then after this Excel said something about there was a risk that some applications maybe wouldn´t be correct if i saved something. Maybe this is the problem, but how do I make the change without getting that confusing save-message?

Cheers!
 
1) Changing France's colour from Blue to Red may be problematic as this is the colour used by Switzerland as well. Since they are neighbours it can be difficult to tell where the border is.

2) It is not a good idea to use Excel. I frequently find that is blows the semicolon seperated format. Just use Notepad instead. It's pretty easy to get a hang of the format. (Some of the documents MUST have an empty line at the bottom. Just one of the things Excel cannot handle).

3) As you may have found out already colours are grouped into discrete groupings. Only the really major powers have a seperate colour. Everybody else "shares" a colour with two or more nations. E.g. Communist China, Netherlands and Yugoslavia shares the colour called LightYellow. Make sure you are aware of that and don't attempt to make up colour names on your own. Also use capital letters in the format HueColour.

4) You can actually change the entire colour scheme for one of the colour groups in /map/colorscales.csv. There are RGB values for the two color extremes as well as selected/deselected and some values to determine the length of the scaling. Rather confusing. If you want to change the colour of France and France alone this is the file you need to tamper with.

5) Always back up the original files before you mess with them.
 
5) Always back up the original files before you mess with them.

You couldn´t posted that a little bit earlier...say before I started modding up my country-file to status "fucked up deluxe" :D

But no probs, was the CORE file so I threw in the original HoI file in its place for now.

Anyway, I tested with Notepad but he started complain something about he couldn´t find the orginal file or the searchpath (?) to it. Then I get the save window as if I should "save as" instead and create a new file. Any suggestions on what to do now?
 
This is a wild guess here, but I think the file might be write-protected. I that case Notepad will refuse to overwrite the original. Simply right-click, select "Properties" and remove the mark in "Read-only" under attributes.
Unfortunately backing up is frequently learned the hard way.
 
maddog said:
This is a wild guess here, but I think the file might be write-protected. I that case Notepad will refuse to overwrite the original. Simply right-click, select "Properties" and remove the mark in "Read-only" under attributes.
Unfortunately backing up is frequently learned the hard way.

Got learnt it the hard way sometimes now, still getting the game to crash after I have modified the files. But I shall see what your suggestion can do.

By the way, if I mod something it shouldn´t be any problems with games (savefiles) started before I made the changes, or would there be?

Cheers!