strHelpText = strHelpText .. "[NEWLINE]" .. Locale.ConvertTextKey("TXT_KEY_PRODUCTION_UNIT_MAINTENANCE", pUnitInfo.ExtraMaintenanceCost);
if pUnitInfo.ExtraMaintenanceCost > 0 then
strHelpText = strHelpText .. "[NEWLINE]" .. Locale.ConvertTextKey("TXT_KEY_PRODUCTION_UNIT_MAINTENANCE", pUnitInfo.ExtraMaintenanceCost);
end
@Seek
Changing those lines of code would only affect newly-captured cities.
The bonus info from citystate capture should display as an alert like this at the center of the screen:
I've uploaded a new beta experimenting with some more distinct leader personalities. It's very difficult to know if these values are actually even doing anything though, the file might not be loading at all without much way to tell. If you download the beta and play a while, feedback would be greatly helpful to see if these changes are having any more effect.
In particular, each leader should have a clear attitude towards warmongers, and should have a more distinct citystate strategy they pursue (conquest, alliance, or protection).
Should work fine with WWGD. Sneaks is focusing on AI strategy/diplomacy, this alters personalities, and there's no crossover between the files.I will try this right away. Any leaders in particular you'd like me to play with, for comparative purposes? And will there be any muddying of the waters with WWGD?
However, one thing I was planning on was to try and add this to a center-screen box that pops up when the city is conquered. These have no compatibility issues I know of, but take more work.
Does the version of liberation boost I've attached work any better for you?
Eventually I'll sit down and set things up so it works properly. Seeks and I were waiting for permission to do so from the mod creator, but it seems the creator might not be active anymore.
Had a runtime error CTD. Tuner says:
"CityView: AdvisorControl could not be found
ProductionPopup: AdvisorControl could not be found"
a bunch of times. I never tried to access the advisors, I just hit end-turn.
function CloseAdvisorTutorialPopup (TutorialPopupType)
if (TutorialPopupType ~= TutorialButtonPopupTypes.NUM_TUTORIALBUTTONPOPUP_TYPES) then
--@was: --pAdvisorControl = ContextPtr:LookUpControl( "/InGame/WorldView/Advisors" );
pAdvisorControl = pAdvisorControl or ContextPtr:LookUpControl( "/InGame/WorldView/Advisors" );
if (pAdvisorControl) then
UIManager:PopModal(pAdvisorControl);
--print("Found AdvisorControl");
else
print("AdvisorControl could not be found");
end
Events.AdvisorDisplayHide();
end
end
Still playing .23. I'm allied with Rio. Greece is at war with Rio. Greece has infantry on Rio tile. I attack Greek infantry on Rio tile and they get a 25% bonus for being in friendly lands from Himeji Castle. Clearly they're not in friendly lands as they are at war with Rio. I assume this is probably a vanilla bug. Any chance we can fix it?