Jump to content
Age of History
Łukasz Jakowski

UI Colors - Tutorial

Recommended Posts

To enable the possibility of changing colors and make the game load them, you need to create an empty text file:
mods/yourModName/UI/colors/loadColors.txt

By having the loadColors.txt file, the game will load all files it can find in mods/yourModName/UI/colors/.

It is possible to change 63 colors.
Each file changes one color.

For example, COLOR_POPULATION.txt changes the population text color in the game.
Each file should contain an RGB color value separated by semicolons, for example:
255;0;255;

You can subscribe to the mod to see all available files that change specific colors in the game along with their names.
 

You don’t need to use all the files. Only include the files for the colors you want to change!



####

UI/topColorsLeft.txt & UI/topColorsRight.txt

In this mod, you can also see usage in UI/topColorsLeft.txt and UI/topColorsRight.txt, which change the in-game colors of the buttons in the top bar.

You can change the button background colors from blue to any color by adding a txt file to:
UI/topColorsLeft.txt
Inside the file, put the RGB color values separated by ;
Example:
140;34;60;
Do the same for UI/topColorsRight.txt, which changes the background color of the date, plus, and minus buttons.

MOD:

https://steamcommunity.com/sharedfiles/filedetails/?id=3680747950

Below is the full list of all colors.

COLOR_FLAG_FRAME.txt -> 255;0;255;
COLOR_TEXT_NUM_OF_PROVINCES.txt -> 255;0;255;
COLOR_HOVER_TITLE.txt -> 255;0;255;
COLOR_CREATE_NEW_GAME_BOX_PLAYERS.txt -> 255;0;255;
COLOR_NEW_GAME_EDGE_LINE.txt -> 255;0;255;

COLOR_BUTTON_GAME_TEXT.txt -> 255;0;255;
COLOR_BUTTON_GAME_TEXT_HOVERED.txt -> 255;0;255;
COLOR_BUTTON_GAME_TEXT_ACTIVE.txt -> 255;0;255;
COLOR_BUTTON_GAME_TEXT_IMPORTANT.txt -> 255;0;255;

COLOR_BTN_M.txt -> 255;0;255;
COLOR_BTN_M_NOT_CLICKABLE.txt -> 255;0;255;

COLOR_GRADIENT_DIPLOMACY.txt -> 255;0;255;
COLOR_BOX_GRADIENT.txt -> 255;0;255;
COLOR_GRADIENT_BLUE.txt -> 255;0;255;
COLOR_GRADIENT_DARK_BLUE.txt -> 255;0;255;
COLOR_GRADIENT_LIGHTER_DARK_BLUE.txt -> 255;0;255;
COLOR_GRADIENT.txt -> 255;0;255;

COLOR_GRADIENT_MENU_BLUE.txt -> 255;0;255;

COLOR_TEXT_CIV_INFO.txt -> 255;0;255;
COLOR_BUTTON_MENU_TEXT.txt -> 255;0;255;
COLOR_BUTTON_MENU_TEXT_HOVERED.txt -> 255;0;255;
COLOR_BUTTON_MENU_TEXT_ACTIVE.txt -> 255;0;255;

COLOR_ECONOMY.txt -> 255;0;255;
COLOR_ECONOMY_HOVER.txt -> 255;0;255;
COLOR_ECONOMY_ACTIVE.txt -> 255;0;255;
COLOR_POPULATION.txt -> 255;0;255;
COLOR_POPULATION_HOVER.txt -> 255;0;255;
COLOR_POPULATION_ACTIVE.txt -> 255;0;255;

COLOR_PROVINCE_VALUE.txt -> 255;0;255;

COLOR_DEVELOPMENT.txt -> 255;0;255;
COLOR_POPULATION_GROWTHRATE_MIN.txt -> 255;0;255;
COLOR_POPULATION_GROWTHRATE_MAX.txt -> 255;0;255;

COLOR_TECHNOLOGY.txt -> 255;0;255;

COLOR_REVOLUTION_MIN.txt -> 255;0;255;
COLOR_REVOLUTION_MIN_0.txt -> 255;0;255;
COLOR_REVOLUTION_MAX.txt -> 255;0;255;

COLOR_PROVINCE_STABILITY_MIN.txt -> 255;0;255;
COLOR_PROVINCE_STABILITY_MAX.txt -> 255;0;255;

COLOR_HAPPINESS_MIN.txt -> 255;0;255;
COLOR_HAPPINESS_MAX.txt -> 255;0;255;

COLOR_GOLD.txt -> 255;0;255;
COLOR_MOVEMENT.txt -> 255;0;255;
COLOR_MOVEMENT_ZERO.txt -> 255;0;255;
COLOR_DIPLOMACY_POINTS.txt -> 255;0;255;

COLOR_NEUTRAL.txt -> 255;0;255;
COLOR_NEUTRAL2.txt -> 255;0;255;

COLOR_NEGATIVE.txt -> 255;0;255;
COLOR_NEGATIVE2.txt -> 255;0;255;

COLOR_POSITIVE.txt -> 255;0;255;

COLOR_ARMY_TEXT.txt -> 255;0;255;
COLOR_ARMY_TEXT_ACTIVE.txt -> 255;0;255;
COLOR_ARMY_TEXT_CAPITAL_ACTIVE.txt -> 255;0;255;
COLOR_ARMY_TEXT_SEA.txt -> 255;0;255;
COLOR_ARMY_TEXT_SEA_ACTIVE.txt -> 255;0;255;

BUTTON_TEXT.txt -> 255;0;255;
BUTTON_TEXT_HOVERED.txt -> 255;0;255;
BUTTON_TEXT_ACTIVE.txt -> 255;0;255;

BUTTON_TEXT_BRIGHT.txt -> 255;0;255;
COLOR_TEXT_GRAY_NS.txt -> 255;0;255;
COLOR_TEXT_GRAY_NS_HOVER.txt -> 255;0;255;
COLOR_TEXT_GRAY_NS_ACTIVE.txt -> 255;0;255;

COLOR_TEXT_GRAY_LEFT_NS.txt -> 255;0;255;
COLOR_TEXT_GRAY_LEFT_NS_HOVER.txt -> 255;0;255;
COLOR_TEXT_GRAY_LEFT_NS_ACTIVE.txt -> 255;0;255;

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games