Okay... adding the icons to promotions in Cat_Promotions.sql does work, at least with the Atlas names you already use there.
So I'm able to add an icon of expansion1[...].dds to an promotion by updating it to
IconAtlas = 'EXPANSIONI_ATLAS' .
But how about icons from the promotions128.dds file? E.g I have a new promotion, called PROMOTION_MOUNTAIN , which use
Code:
<PortraitIndex>59</PortraitIndex>
<IconAtlas>PROMOTION_ATLAS</IconAtlas>
at the moment.
How to enable this flagpromotion?
Hmmm, the promotions128.dds contains 16ppi Icons of the standard Vanilla promos (without the expansion promos), you could not link to it on its own.
Is there ingame a standart promo that uses this icon?
If so, use the portraitindex of it, you should find the promos in the game "asset" folder @path "...\Steam\SteamApps\common\Sid Meier's Civilization V\Assets", it should be a xml file. (with notepad ++ you can search whole folders and each file in it, for txt entrys )
It should look similiar to this :
maybe you need to assign it to the "FP_Data.sql" file too, at line 10+
OR
just do your own 16, 32, 45, 64 and 256 atlas.
If you want to do this, you must add the atlas files to the "Thal´s FlagPromotions-CPP Vers.modinfo" file
you must also assign your new created atlas files as such, do it in the "Cep_Icons.xml" file.
Last but not least you need to specify the portraitindex of your new promo from your new atlas in the "Cat_Promotions.sql" file
For the creating of 16ppi Icons from existing promos, i would suppose to magic-cut the 256ppi one , create a new file at 208x208 pixels, paste the cutted image in it, outline it a bit, drop a shadow and a lil blur,
now resize the whole to 16ppi, now you have a single 16ppi icon, in the nxt step you can cut the whole 16ppi Icon and paste it in your new atlas template...( paint.net is a nice freeware to do so)
I hope you understand me, if you speak german sent me a PM and I will describe it in german.