conclusius
Chieftain
- Joined
- May 3, 2022
- Messages
- 1
Hello everyone,
is anyone else deep into civ5 modding and can help me further?
I'm currently creating a complete mod in which I'm trying to fix all the small remaining bugs from the last official patch. (What would actually have been Fireaxis task :-D).
I've already fixed a lot (from negative diplo relationship count on Epic/Marathon to wrong calculation of city production per turn in the economic overview).
But I'm still stuck on the item "Income from diplomacy" in the economic overview:
Only the total balance is shown here (If + then for income, if - then for expenses).
But I think it was probably meant to show the diplomatic income and expenditure separately.
However, in the to the economic overview related file EconomicGeneralInfo.lua, only a total Diplo value is loaded. I haven't found the source yet though. Or do I maybe have to go down into the deeper DLL areas?
-> So there is still a source file in which the income and expenses are merged.
Anyone know where to find this?
is anyone else deep into civ5 modding and can help me further?
I'm currently creating a complete mod in which I'm trying to fix all the small remaining bugs from the last official patch. (What would actually have been Fireaxis task :-D).
I've already fixed a lot (from negative diplo relationship count on Epic/Marathon to wrong calculation of city production per turn in the economic overview).
But I'm still stuck on the item "Income from diplomacy" in the economic overview:
Only the total balance is shown here (If + then for income, if - then for expenses).
But I think it was probably meant to show the diplomatic income and expenditure separately.
However, in the to the economic overview related file EconomicGeneralInfo.lua, only a total Diplo value is loaded. I haven't found the source yet though. Or do I maybe have to go down into the deeper DLL areas?
Code:
C:\...\Assets\DLC\Expansion2\UI\InGame\Popups\EconomicGeneralInfo.lua
-- Diplomacy
local diploGPT = pPlayer:GetGoldPerTurnFromDiplomacy();
if( diploGPT > 0 ) then
...
local diploGPT = pPlayer:GetGoldPerTurnFromDiplomacy();
if( diploGPT < 0 ) then
...
Anyone know where to find this?