• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

Changes to icon colours with recent April patch?

Serp

King
Joined
Apr 1, 2015
Messages
666
The notifications mod I took from hellblazer takes some icons from the game and shows the notifications a bit differnt, see screenshots from the mod page: https://steamcommunity.com/sharedfiles/filedetails/?id=1528566619

But since the latest April patch of the game, I get reports that those icons I took from the game, are almost black. But in patchnotes I see no changes regarding icons.

1) Anyone knows what changed with the icons with last patch?
2) Anyone knows a solution?
3) Or knows how I can extract those icons to transform them into cutom icons (since custom icons still work fine)?
 
Last edited:
I am not a modder but this was posted in the CUI comments b/c they had a lot of blacked out stuff as well...

"They used a new function to set colors and it is being fixed as we speak. I personally wasn't aware of the unit bars, so thanks, you both deserve a "

Don't know if that will help you. I love the mod though.
 
Quote from eudaimonia, author of CUI:
here's some examples for how to set color use new functions:

old version:
1. Controls.instance:SetColor(0xFFFFFFFF);
2. Controls.instance:SetColor("COLOR_RED");
3. Controls.instance:SetColorByName("RED");

new version:
1. Controls.instance:SetColor(UI.GetColorValueFromHexLiteral(0xFFFFFFFF));
2. Controls.instance:SetColor(UI.GetColorValue("COLOR_RED"));
3. Controls.instance:SetColorByName("RED");
 
I notice the mod is working great. Did this get you to your answer? I forgot to follow up on the post but either way, happy to see the mod looking good and awesome job overall on this.
 
Back
Top Bottom