World Church big problem

han-solo

Chieftain
Joined
Apr 29, 2002
Messages
8
Location
Poland
Hi!

I'm having a big problem with World Church belief, it basically doesn't work! In the tooltip I see that I have 125 culture from religion, but it doesn't add to my culture. I'm using latest mod versions ( http://my.jetscreenshot.com/1623/20130124-tctr-61kb ). I have original CIV on Steam/Windows 7. I've turned off all the other mods (including GEM - I've left only CIVUP). Here is my savegame: http://soloo.imagomedia.pl/inne/save.zip .

I would appreciate quick fix, I only have 2 days to play civ and I've already spent entire day just to find this bug:(

Anyway - great mod!!!
 
Or I can fix it myself if only someone will point me in direction... I was looking through XML files in Documents.../MODS and found that in the YieldLibrary there is something that looks like the cause of the problem. Basically there is a fragment of the code that says what to count when adding culture, and there was everything mentioned there but not the culture from religion. So maybe that's the cause?
 
Sorry for third post in a row...

I've found something like this in the file MODS\Civ V Unofficial Patch v2.4.1 (GK) (v 1)\2_ModTools_Trunk\YieldLibrary\YieldLibrary.lua:


elseif yieldID == YieldTypes.YIELD_CULTURE then
yield = (yield
+ player:GetJONSCulturePerTurnForFree()
+ player:GetJONSCulturePerTurnFromExcessHappiness()
+ player:GetJONSCulturePerTurnFromMinorCivs()
)
for city in player:Cities() do
yield = yield + City_GetYieldRate(city, YieldTypes.YIELD_CULTURE)
end

I was trying to add:

+ player:GetJONSCulturePerTurnFromReligion()

but it doesn't work:( I never modded anything, and I'm not sure if I even go the right direction, so maybe someone can help me with this?
 
Thanks for bringing this up. You're right that's the place to add it. The function name is actually player:GetCulturePerTurnFromReligion(), without the JONS part (Firaxis does not follow a logical pattern).
 
Unfortunately the last version of the mod made things even worse... Now I cannot do anything, as the top panel says "UI didnt load!" (it shows science, gold, happiness and golden age properly, and then, where there should be culture, it just shows this error repeated to the right). Also I cannot build anything in the cities, as the choose production button doesn't work.

I've removed the cache, the ModUserData, I've even deleted the mods and downloaded them again but its still the same... I've started new game and it worked fine for a while (I've chosen different belief this time), but around 1600 AD it broke the same way, so I'm not sure anymore what is the cause of this and if its related to religion.

What should I do?
 
Back
Top Bottom