Sid Meier's Civilization VI

Sid Meier's Civilization VI

74 ratings
How to prevent or at least delay AI from building any wonders.
By sdarkpaladin
This guide is only for people who don't want the AI building any wonders for what ever reasons. It's our kink. Don't judge.
   
Award
Favorite
Favorited
Unfavorite
Introduction
This guide is for people like me who, for whatever reason, want to stop the AI from building wonders in Civ 6. There is manual modding involve as I'm not versed with the creation of a mod. Note that as with all modding, it is best to keep a backup just in case. Also, if there is an update/ you reinstall civ 6/ you verify game cache for civ 6, you will have to re-do this again. Thankfully, it's not that hard. The hardest part is finding the file in question.
Locating the file
First we have to locate the file in question that contains the AI's behavior. The AI in Civ 6 seems to be using trees to determine what to do in what situation. After much searching, I have found the file. It is located at ...\SteamLibrary\steamapps\common\Sid Meier's Civilization VI\Base\Assets\Gameplay\Data

Look for a file called BehaviorTrees.xml. Make a back up of it just in case. It looks like this:
Editing the file
Now we will have to remove the trees that govern the AI's behavior with regards to wonder building. You can delete it out completely or comment it out like me. (Commenting out a code refers to marking a section of code as "comment" instead of real code so that the program/compiler will ignore that section)

I recommend notepad++ or equivalent as it will allow you to see the codes clearly as oppose to just using notepad. Unless of course if you have eyes of a programming god.

You can comment out the code using <!-- for the head and --> for the foot.

There are 3 blocks of code to remove.

The first part is just a line:


The second part is quite long and starts from
<Row NodeType="Sequence" NodeId="0" TreeName="Seek Target Wonder" JumpTo="48" />
to
<Row NodeType="Build Production" NodeId="47" TreeName="Seek Target Wonder" />


The third and longest part starts from
<Row DefnId="0" NodeId="2" TreeName="Seek Target Wonder" />
and last until
<Row DefnId="1" NodeId="47" TreeName="Seek Target Wonder" Tag="true" />


Disclaimer
I have not extensively tested this and any problems or issues are not my responsibility. You can re-verify game cache to revert it to it's normal state. Any mods that touches this file might cause this to not work, I have only tested this a little in unmodded versions of the game.

If there is any modders who wants to do a proper mod of this go ahead and be my guest. (And tell me when you do so i can just subscribe to it)

Edit: Tried my hand at creating a mod version of this. Not extensively tested as usual/ Here it is: http://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1316975660
24 Comments
sit down 1 Mar, 2022 @ 1:39am 
just download a mod for this -- there already exists one that does this exact same thing but it's modular which means you can enable or disable it at will rather than editing original .xml files.
JasonStoneheart 25 Sep, 2021 @ 7:08pm 
They really love stonehenge
Niko 23 Sep, 2021 @ 4:13pm 
to support your point I also play civ like this
sdarkpaladin  [author] 14 Dec, 2020 @ 9:39pm 
To be fair, I'm not playing Civ to win. I'm playing painting the map. So actually if you constrict yourself to a separate set of rules, Civ feels like a totally different game.

E.g. You need to cover as much surface area of the map as much as possible, and as much of them as possible has to be workable (i.e. within 3 tile distance of a city) which itself is a jigsaw puzzle. Then make sure all cities have every single district (except for harbour and similar).

It turns from a Civ game to a city builder which is a totally different but legit fun (for me) way to play the game.
sdarkpaladin  [author] 12 Dec, 2020 @ 1:31am 
The tags are literally only Game Modes, Modding or Configuration, Walkthroughs. And the only probable offending tag is Walkthrough, but Civ is not really a story based game that needs a Walkthrough? Besides, there are better tags like "Gameplay Basics" that they should be looking through instead. If they are so dumb to not even be able to properly look for guides, then I'd say they probably wouldn't be able to win even if they cheat.
plaguepenguin 11 Dec, 2020 @ 6:25am 
Part of the reason people may be upset is that this item is placed among the "guides", which generally explain winning strategies, while it's really about a mod that changes how the game works. People expect to find mods under "workshop".
BuckGB2 10 Dec, 2020 @ 8:53pm 
Why do we care what he ends up doing? He literally said it was his kink. You guys are fine, if you didn't want to do this why bother clicking on the guide?
sdarkpaladin  [author] 9 Dec, 2020 @ 3:53am 
Dang, imagine being so pompous that they think they need to tell others how to play their own single player game.
Landonito 8 Dec, 2020 @ 3:06pm 
Pro gamer strat: Cheat.
Dropdeadfred 8 Dec, 2020 @ 1:50pm 
You're bad and you should feel bad.