[Request] UI Mod for Great People Screen

CivLuvah

Deity
Joined
May 27, 2008
Messages
2,295
Location
Originally Philippines, now Canada
I totally agree with you. I was thinking about the same thing before viewing the pictures. I hope it will be doable once we will be able to import custom art into the game. For now the only thing we can do is collecting the pictures.

[EDIT]: It seems that Firaxis already thought of that too. Checking the game files revealed this fragments of code.

In Icons_GreatPeople.xml:
Code:
[...]
<!-- TODO: Need assets for individual great people, they all use same asset for now  -->
        <!-- Individial Icons -->
        <Row Name="ICON_GREAT_PERSON_INDIVIDUAL_ARTEMISIA"                            Atlas="ICON_ATLAS_GREAT_PERSON_INDIVIDUAL"    Index="1"    />
        <Row Name="ICON_GREAT_PERSON_INDIVIDUAL_GAIUS_DUILIUS"                    Atlas="ICON_ATLAS_GREAT_PERSON_INDIVIDUAL"    Index="0"    />
[...]

In GreatPeoplePopup.lua:
Code:
-- Grab icon of the great person themselves; first try a specific image, if it doesn't exist
        -- then grab a generic representation based on the class.
        if (kPerson.ClassID ~= nil) and (kPerson.IndividualID ~= nil) then
            local portrait:string = "ICON_" .. individualData.GreatPersonIndividualType;
            textureOffsetX, textureOffsetY, textureSheet = IconManager:FindIconAtlas(portrait, 160);
            if textureSheet == nil then        -- Use a default if none found
                print("WARNING: Could not find icon atlas entry for the individual Great Person '"..portrait.."', using default instead.");
                portrait = "ICON_GENERIC_" .. classData.GreatPersonClassType .. "_" .. individualData.Gender;
                portrait = portrait:gsub("_CLASS","_INDIVIDUAL");
            end
            local isValid = instance.Portrait:SetIcon(portrait);
            if (not isValid) then
                UI.DataError("Could not find icon for "..portrait);
            end
        end

Basically they are officially in progress or they forgot/had to skip them to release the game on time.
 
Last edited:
Note CQUI (a QuickUI fork) among other things, at least fixes the need to scroll back and forth on the GP screen...

EDIT: This seems to me to be a lot like my City States Leaders II mod for Civ5 (read: a complete pain in the ass to make all the art, especially if you're trying to keep a consistent art style). :crazyeye:
 
BUMP.... because I want to know if there are people who are willing to do this...
 
SDK = Software Development Kit: the official mod creation tools.

Mod support in Civ6 is still crippled at the moment. We can't include new icons or modify art defines without copying files manually and causing incompatibility with other mods, and can't add new leaderscreens nor new 3D resources at all. Plus (though it's not a huge value-add to me) Steam Workshop support will only come with a Civ6 version of ModBuddy.

The fact that we have so vibrant a mod community at this stage says much more about the intelligence, persistence, and... impatience? of the modders here than anything else.
 
SDK = Software Development Kit: the official mod creation tools.

Mod support in Civ6 is still crippled at the moment. We can't include new icons or modify art defines without copying files manually and causing incompatibility with other mods, and can't add new leaderscreens nor new 3D resources at all. Plus (though it's not a huge value-add to me) Steam Workshop support will only come with a Civ6 version of ModBuddy.

The fact that we have so vibrant a mod community at this stage says much more about the intelligence, persistence, and... impatience? of the modders here than anything else.

Do you think I could contribute pictures for the UI mod in the mean time?
 
SDK = Software Development Kit: the official mod creation tools.

We can't include new icons or modify art defines without copying files manually and causing incompatibility with other mods
That was mostly fixed with the Winter patch.
 
They're pictures from the Internet though. I don't have any drawing skills. Is that fine for you or do you need someone more skilled?
Of course, that was my expectation. It would be incredibly difficult to do otherwise, there being so many GPs...
 
I've finally completed my research. I wasn't able to find a picture or a likeness of several GPs, so I chose stand-ins that I thought were appropriate considering the time period they lived in. More details are in the notes that came with some of the folders.

Here is the link to the Dropbox folder(s):
https://www.dropbox.com/sh/o11cm1zvwfxzafg/AAC-6Qk40IANxLQ46btUtfJFa?dl=0

@Sun Ce of Wu I've actually found a picture of Haji Hudd. It's in here^
 
I managed to make a quick test mod using a placeholder image (a young Martin Luther) to all prophets, and it worked. I only have to guess the right size of the icons, and possibly move or make the Class Icon (praying hands, gem, etc...) transparent.

Spoiler In-game screen :

PnjGS15.png



I plan to continue the mod this evening, and to deliver it as quick as possible (since the days are devoted to studying çAç )
 
Back
Top Bottom