Sid Meier's Civilization IV: Beyond the Sword

Sid Meier's Civilization IV: Beyond the Sword

Global Warming
Is there any way to stop global warming? It's really annoying in the end of the game when all the major wars start happening, and I usually don't play with technological victory, therefore the Earth always starts very quickly turning into a desert.
< >
Showing 1-6 of 6 comments
CHE Mar 24, 2019 @ 12:29am 
Originally posted by Sierra 117 The Master Chief:
Is there any way to stop global warming? It's really annoying in the end of the game when all the major wars start happening, and I usually don't play with technological victory, therefore the Earth always starts very quickly turning into a desert.
Aside from making your own cities environmentally friendly, also United Nations resolutions to make Ecology into a global civic might work.
Ville Valste Mar 24, 2019 @ 4:05pm 
Are you running any mods? For example, in Next War, you can stop the globe with a bunch of nukes.
red255 Mar 25, 2019 @ 6:30am 
Global warming is caused mostly by nukes being thrown around. also by having alot of factories on a MUCH smaller scale.

the best thing you can do against global warming is sign non nuclear weapons proliferation treaties to prevent them from being used. and having SDI and whatever to deal with them.

and locating the enemy nuke stockpiles and taking them out before they have a chance to be used.

if you are allowing AI to use nukes in war, you are already screwed. deal with it as a world police force. or build a spaceship and go somewhere else.

you are at the point where you should be winning the game, just win.
Basically, there's no way to stop it. Nukes will make it go faster, but even if the world is peaceful the warming is going to still be hitting you.

One of the most obnoxious game mechanics, in my opinion.
Metamucil Monk Apr 1, 2019 @ 8:09am 
If you care about your file integrity for multiplayer, the easiest way to fix this is to create a mod folder. Personally, I'd just use Next War since it's close enough to original vanilla BtS.

When you browse local files for it from Steam, it's going to drop you in "..\common\Sid Meier's Civilization IV Beyond the Sword".

You'll want to go into the "Beyond the Sword" folder.

Then the "Mods" folder. Now copy the Next War folder and rename the copy something like "Next War no GW".

Go into Next War no GW and rename the "Next War.ini" file to "Next War no GW.ini". If you don't see the ".ini", don't worry. It should be the only non-folder file in the Next War no GW folder.

Edit the Next War no GW.ini file (I like Notepad++). Find the "Name of Mod" section and replace "Name = Next War" with "Name = Next War no GW". This will allow your customization to show up in the list when you go to select a mod to play. Alright, save and close that. Don't actually use the "s unless you actually see them in the file or I make a special note of it. :)

----------
Alright, now for the Global Warming:

Go into Assets, then XML.

Edit: GlobalDefinesAlt.xml

Go down to the last line ("</Civ4Defines>") and go back 1 so that you are at the end of the previous "</Define>. Press enter to start a new line and put in:

<Define> <DefineName>GLOBAL_WARMING_PROB</DefineName> <iDefineIntVal>0</iDefineIntVal> </Define>

This will set Global Warming's probability of firing to 0%.
And if your game is starting on some weird date when making a map (at least I assume that's why I put this here lol), add...

<Define> <DefineName>START_YEAR</DefineName> <iDefineIntVal>-4000</iDefineIntVal> </Define>

Alright, save and close that too. Now, about the world shattering nuke problem in the mod...


----------
Ok, to fix the nukes you need to go back 1 folder to the Assets folder, then go into the Python folder.

Edit: CvEventManager.py

Near the top you will see a bunch of import stuff. Put a # in front of "import pickle" (line 24ish). This will disable part of the script.

Add another # again in front of "g_iNumNukesWarningMessage = 7" and "g_iNumNukesGameOver = 20" on/around lines 36 and 37.

Or change the numbers if you want different values like 40 nukes to end the game.

Search for: self.changeGameNumNukes(1) (line 526ish)
Add a # in front of it too.


Alright, go all the way to the end of this file. Scroll back up until you find the ############# Popups ########## section. Now, I'm not sure if the first segment of this section is part of the nukes or part of Next War's overall scripting...but I haven't had a problem disabling it so far in all the years that I've played it, and of course you can re-enable that specific part if you notice something that I haven't.

Anyway... You can safely add a # to every line all the way to the end of the file From the 1st line below the ### Popups ### line.

You can save and close it now. World shattering and global warming should now be disabled. Enable diplomatic and conquest victory conditions and go to town. >:P


PS Sorry about any incorrect formatting. And feel free to simplify this as much as possible if you know how to disable the nuke script, because I'm pretty much just guessing as far as Python goes. D:


Edit - You probably don't have to worry about the resource depletion scripting stuff if you noticed it and are concerned about it, I've only ever noticed it fire on myself in like 1 in 10 or 20 games on huge marathon maps. I assume it doesn't happen much to the AI either.
Last edited by Metamucil Monk; Apr 1, 2019 @ 8:16am
ulroth Apr 3, 2019 @ 6:04pm 
Wow . . . I think you found the real fix for the nonexistant problem of "global warming"
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Mar 23, 2019 @ 8:22pm
Posts: 6