herbix / hoi4modutilities

A VSCode extension that contains utilities for Heart of Iron IV mods developers
MIT License
74 stars 9 forks source link

[Feature request] Tag Colouring #31

Closed BrannDeHistoria closed 3 years ago

BrannDeHistoria commented 3 years ago

Could you possibly make it so the map determines country colours based on the RGB code associated with each country in the files so that tags not from the base game have colour on the map? If this is already a feature in some way, could you inform me how to use it?

herbix commented 3 years ago

Country colours are read from common/countries/<country name>.txt and common/countries/colors.txt. Could you please check whether you have edited the files? I have an example:

image

If that doesn't work, try restarting world map preview tab or reloading visual studio code.

BrannDeHistoria commented 3 years ago

It still is not working, are there any other files it relies on?

herbix commented 3 years ago

Did you add a file to common/country_tags/ to map your country tag to country file in common/countries/? image

BrannDeHistoria commented 3 years ago

Thanks! My friend was the one who added the nations for the mod and had it referencing the wrong country folder (the one under history)