March Patch Changes

Sneaks

Brooklyn Bum
Joined
Oct 15, 2010
Messages
1,877
Location
NYC
Just a thread so we can note any xml/lua changes we find in the core files while updating:

GlobalAIDefinesXML:

Updated:
Code:
		<Row Name="AI_GOLD_PRIORITY_MINIMUM_PLOT_BUY_VALUE">
			<Value>275</Value>
		</Row>

Code:
		<Row Name="AI_GOLD_PRIORITY_UNIT">
			<Value>500</Value>
		</Row>

Code:
		<Row Name="ALLIES_CAPITAL_FOOD_BONUS_AMOUNT">
			<Value>0</Value>
		</Row>

New Items:
Code:
		<Row Name="BUILDER_TASKING_BASELINE_ADDS_CULTURE">
			<Value>100</Value>
		</Row>
 
2 New Unit Promotion bits:

Code:
		<Column name="NearbyEnemyCombatMod" type="integer" default="0"/>
		<Column name="NearbyEnemyCombatRange" type="integer" default="0"/>
 
Apparently having an "&" symbol in your help/pedia text now produces an error in modbuddy and could possibly break your text update file.

Edit: Actually that just gave an error, my text file is still broken. Anyone know what changes may have occured that would break an entire text file? Usually text files aren't important enough for a single problem to break the entire thing.

My other text files work fine, just one of them is broken.
 
Anyone know what changes may have occured that would break an entire text file?

Duplicate text keys.

So if you already had a building in your mod called the Aqueduct, with the usual TXT_KEY_BUILDING_AQUEDUCT, and now they've added something with those same text keys, it'll break your file. The entire XML file will fail, not just the one duplicate entry.
 
Well that just shows how tired I am, cause I knew I had removed it but went back and found that I actually hadn't. Thanks. :)

Edit: That didn't help. Did they add anything else that might be brand new with new text entires?

Edit 2: Ok, so I found out what was wrong. Sometime in the past when I wanted to update the text entires for the Wat and the Granary, it didn't work. I actually had to add them as if they never existed. Well, I suppose they fixed that problem, and those were the extra duplicates.
 
Edit 2: Ok, so I found out what was wrong. Sometime in the past when I wanted to update the text entires for the Wat and the Granary, it didn't work. I actually had to add them as if they never existed. Well, I suppose they fixed that problem, and those were the extra duplicates.

Yep, the missing text for the Granary was always a bit annoying, but now that they've made the building more interesting than just a flat +2 food, it needed the text.

There's a lot of these sorts of things. One other thing was that they changed the _HELP text for some buildings to _STRATEGY text, so a lot of Update commands won't work any more. It's been a pain to make sure these all still work, because unlike the duplication issue, you won't see a TXT_KEY type of error.
 
Back
Top Bottom