Sid Meier’s Civilization® VI Guide

How to prevent or at least delay AI from building any wonders. for Sid Meier's Civilization VI

How to prevent or at least delay AI from building any wonders.

Overview

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.

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 …SteamLibrarysteamappscommonSid Meier’s Civilization VIBaseAssetsGameplayData

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: [link]

SteamSolo.com