Modifying FontIcons.xml

anansethespider

Warlord
Joined
Oct 27, 2016
Messages
288
In order to get a new font icon to display correctly, changes need to be made to the file UI/FontIcons.xml

But I do not know what sort of Action can make changes to this file. It's not a database file, or a text file, or an icon definition file (at least that command doesn't work for it). It does not open with <GameInfo> or <GameData>. Anyone have any ideas?
 
I've been looking for an answer to this question for months. Basically ever since we were able to use icon definition files.

I was hoping the Australian DLC would shed some light on this since it added gold in a scenario, but it looks like gold was just added (or was already in)? the base game's FontIcons.xml. I haven't found anything that works aside from manually editing the file.
 
Via manual edits to the file, have you been able to import your own font icons? If so, we could simply agree on a "Master FontIcon dds" for the whole modding community, big enough for everyone to add their own unique icons to the registry. That way everyone who wants to play with mods could simply keep up to date with a single master registry of modified FontIcons.xml.
 
No, I didn't try to import. I just reused old FontIcons and that worked. Dunno if importing would work.
 
The only thing I've had access the UI/etc files is the xlps for my custom icons, which are added in the mod's .dep file, which you have to add in an UpdateArt action. Point is, try updating your file as an UpdateArt action instead. Do let me know the results, I'll have to do text icons as well before long.

Also, this thread just popped up on the forum too: https://forums.civfanatics.com/threads/resourceful-mod-new-resources-for-civ-vi.612647/
Doesn't look like the icons on the top info bar are in yet, which is probably the text icons, but you might find something.
 
Back
Top Bottom