May i ask if adding new promotions icon have heavy or small performance impacts? really want to try it in multiplayer since it adds more visibility when you are at war, and can potentially made people avoid some mistakes.
No. Zero performance impact on "adding new promotion icons"
Actually, promotion icons are not
added. When a promotion is created, it gets automatically the yellow "spark Blitz Promo" Icon.
After that, whatever the icon you assign to the promotion, the weigh is the same.
In the exemple above
gave to PROMOTION_KHMER_BOKATOR the icon #13
to avoid the "spark" (xml) :
and we change it again with the icon #45
UPDATE UnitPromotions SET IconAtlas = 'extraPromo_Atlas' WHERE Type = 'PROMOTION_KHMER_BOKATOR'; -- => 45
UPDATE UnitPromotions SET PortraitIndex = '45' WHERE Type = 'PROMOTION_KHMER_BOKATOR';
This process is executed during the Mods Loading sequence. It takes a few ms.
The game runs properly with a nicely updated icons database. No impact
All icons in (7a) follow this mechanics.