Help Changing Max Wonders Per City

nliv007

Chieftain
Joined
Feb 10, 2010
Messages
42
Hi, and thanks in advance for any help. Absolutely love this mod.

I am trying to limit the maximum number of world wonders built in a city to 1 for both me and the AI. In the globaldefines.xml I changed the lines as follows:

<Define>
<DefineName>MAX_WORLD_WONDERS_PER_CITY</DefineName>
<iDefineIntVal>1</iDefineIntVal>
</Define>
<Define>
<DefineName>MAX_TEAM_WONDERS_PER_CITY</DefineName>
<iDefineIntVal>1</iDefineIntVal>

In game, the mouseover popup for world wonders states that the maximum allowed is 1. Yet the AI is building multiple wonders per city.

I have not selected the option for unlimited wonders per city.

What am I missing?

Thanks!
 
That setting shouldn't be even here - there is like few hundred National and World wonders :p
 
Hi, and thanks in advance for any help. Absolutely love this mod.

I am trying to limit the maximum number of world wonders built in a city to 1 for both me and the AI. In the globaldefines.xml I changed the lines as follows:

<Define>
<DefineName>MAX_WORLD_WONDERS_PER_CITY</DefineName>
<iDefineIntVal>1</iDefineIntVal>
</Define>
<Define>
<DefineName>MAX_TEAM_WONDERS_PER_CITY</DefineName>
<iDefineIntVal>1</iDefineIntVal>

In game, the mouseover popup for world wonders states that the maximum allowed is 1. Yet the AI is building multiple wonders per city.

I have not selected the option for unlimited wonders per city.

What am I missing?

Thanks!
The GlobalDefines.XML is the one that is supposed to be just like the one in vanilla BtS. The file you are looking for is A_New_Dawn_GlobalDefines.XML as it "over writes" what is in the BtS file with mod specific values.

In theory the second should only have the values in it that are different to those in the first but I am not sure we new that way back when and just have all the values in the second. The reason for having two is so you can quickly find the differences between the mod and vanilla BtS.
 
The GlobalDefines.XML is the one that is supposed to be just like the one in vanilla BtS. The file you are looking for is A_New_Dawn_GlobalDefines.XML as it "over writes" what is in the BtS file with mod specific values.

In theory the second should only have the values in it that are different to those in the first but I am not sure we new that way back when and just have all the values in the second. The reason for having two is so you can quickly find the differences between the mod and vanilla BtS.
Is this in the Modder's Documentation thread DH?
 
Thanks for the information. I had previously searched through the A_New_Dawn_GlobalDefines.XML and did again this morning. I can't find anywhere that changes the number of wonders per city. Additionally, the mouseover tooltip correctly states the number of wonders allowed per the regular globaldefines.XML, the AI just seems to be able to ignore it.

Pic for what I am talking about.

http://imgur.com/a/d71cV
 
At some point it was altered so that the amount of wonders allowed per city is now based on the cultural level. Perhaps there's a tag on the culture levels xml that sets that now rather than using a global? There's a number of globals that are dead and out of use... just vestigal from previous modding efforts that have been since made useless.
 
Thank you for all the help here. The culture xml was the controlling document and changing it has made a huge difference in my gameplay. Prevents the runaway AI that scoops up all the wonders.
Really appreciate it.
 
Back
Top Bottom