• Civ7 is already available! Happy playing :).

Disabling "nuclear winter"

Joined
Jan 7, 2009
Messages
628
Location
Central Europe
Is there a way to remove it from the game? I always considered global warming and nuclear winter in the form they are in the game as highly unrealistic and mostly just annoying so I was removing GW manually but can't find a way to remove NW.
 
Have you tried adjusting the NUCLEAR_WINTER_PROB variable in GlobalDefinesAlt.xml? It looks to me like that should be the easiest way.
 
I seem to get some "darkness falls" event, greatly reducing crop yeld. How can i see that it is in effect? where i can see all quests and active events list? Is it possible to edit save file? Because i reloaded, did some changes to alter event seed, and this event box didn't appeared, but later i discovered that crop yelds dropped down. So irrigated farm on rice only gives 3 food (with biology)
 
Last edited:
I seem to get some "darkness falls" event, greatly reducing crop yeld. How can i see that it is in effect? where i can see all quests and active events list? Is it possible to edit save file? Because i reloaded, did some changes to alter event seed, and this event box didn't appeared, but later i discovered that crop yelds dropped down. So irrigated farm on rice only gives 3 food (with biology)

You can see it because terrains produces 1 less food and max 3 anyway. Eventually the sun will shine again and food production will return to normal level. Quests are described in the log window, it's just another tab but it's there. No, it's not possible to edit a savegame AFAIK, at least not to avoid such events.
 
No, it's not possible to edit a savegame AFAIK, at least not to avoid such events.
When I looked into the dll other seemed to me, that this event is decided many turns before happening. So you may avoid it if you go back a lot in time. Am I right?
 
Ok, this is global python procedure applyMeteorStrike1 () in ./Assets/Python/EntryPoints/CvRandomEventInterface.py
How it works:
every time darkness event is happening, "iBaseOdds" roll is reduced in "strike number+1" times (starting from 1000) , effectivly decreasing Dakness event start chances:
1663538893051.png


there is a calulated (game speed.growthpercent/100) delay before Darkness start. So this event is predefined turns before.
Event length is calculated same way.
There is also a fixed limit, max length = 75, max delay = 20.

same applies to Volcano applyVolcano1() with roll starting only at 200 and max length limit 60.

Due to triggering delay this event needs a sort of flag in save file with triggerDarkAge() arguments. So yes, it is possible to avoid it by editing save file.

I think it is known bug that event popup window shows only once per game session. It will start silent if you reload save file. But not - if you restart game application.
 
Last edited:
Top Bottom