Hey guys,
First unexpected issue I am having with the latest update is missing icons for certain units.
I am running a modified version of an old Gedemon mod which changes the formation class of ranged units so that they can be stacked with other unit types.
For some reason after the update, this code is causing the icon above all ranged units to be missing. I can see the unit art in game, but the icon above their head (unit flag?) simply isn't there. Their icons do not seem to be missing anywhere else, such as the production panel.
I have disabled all other mods and simplified this mod to the above code, and the issue persists. Can't find anything that sticks out in the logs.
Does anyone have an idea on why this could be happening?
Thanks in advance
First unexpected issue I am having with the latest update is missing icons for certain units.
I am running a modified version of an old Gedemon mod which changes the formation class of ranged units so that they can be stacked with other unit types.
Code:
/* Create new formation classes */
INSERT INTO Types (Type, Kind) VALUES ('FORMATION_CLASS_LAND_ATTACK_SUPPORT', 'KIND_FORMATION_CLASS');
INSERT INTO UnitFormationClasses (FormationClassType, Name) VALUES ('FORMATION_CLASS_LAND_ATTACK_SUPPORT', 'Attack Support');
/* Apply the new class */
UPDATE Units SET FormationClass = 'FORMATION_CLASS_LAND_ATTACK_SUPPORT' WHERE (RangedCombat > 0 OR Bombard > 0) AND (FormationClass = 'FORMATION_CLASS_LAND_COMBAT');
For some reason after the update, this code is causing the icon above all ranged units to be missing. I can see the unit art in game, but the icon above their head (unit flag?) simply isn't there. Their icons do not seem to be missing anywhere else, such as the production panel.
I have disabled all other mods and simplified this mod to the above code, and the issue persists. Can't find anything that sticks out in the logs.
Does anyone have an idea on why this could be happening?
Thanks in advance