I'll just have to check (much further) the code files then.. thanks!
Later on!!
@Infixo ...
Arrrgghh, whatever i try from your detailed comments -- it just doesn't work! See below..
=====
-- Grab icon representing type of class
--
[[ Infixo: not used
if (kPerson.ClassID ~= nil) then
local icon:string = "ICON_" .. classData.GreatPersonClassType;
--print("icon string", icon);
local textureOffsetX:number, textureOffsetY:number, textureSheet:string = IconManager:FindIconAtlas(icon, 50);
--print("icon texture X, Y, Sheet", textureOffsetX, textureOffsetY, textureSheet);
if textureSheet == nil then -- Use default if none found
print("WARNING: Could not find icon atlas entry for the class of Great Person '"..icon.."', using default instead.");
textureOffsetX = 0;
textureOffsetY = 0;
textureSheet = "GreatPeopleClass50";
end
instance.ClassImage:SetTexture( textureOffsetX, textureOffsetY, textureSheet );
-- Infixo
--instance.ClassImage:SetSizeVal(45,45);
end
--]]
=====
I honestly thought simply removing the RED characters would be enough!
Do you mind offering me the correctly edited LUA file (or more!) please .. if that's precisely what it takes?