Mod renaming city list, not working.

Sezendelo

Chieftain
Joined
Oct 2, 2010
Messages
48
Location
Southern MD / South-Central PA
I'm working on what should be a simple XML mod, but I cannot get it to work and I do not see what is wrong with it.

The mod's goal is to rename existing cities in a civ's city list.
Say I wanted "Rome" to become "Roma".

It has the OnModActivated > UpdateDatabase action in the modinfo.

Here is code I use to make "Rome" renamed "Roma".
Code:
<GameData>
	<Language_en_US>
		<Update>
			<Where Tag="TXT_KEY_CITY_NAME_ROME"/>
			<Set>
				<Text>Roma</Text>
			</Set>
		</Update>
	</Language_en_US>
</GameData>
I have also tried
Code:
<Set Text="Roma"/>

However I seem to be missing something, as this is not working. Upon settling the first city as the Romans, it will still be given the name "Rome".
 
You're starting a game from the setup menu after the Mods Browser screen (so Enable Mod, Next, Single Player, Setup Game) and not clicking Back after enabling the mod.
 
Try adding <Row></Row>. If that doesn't work, then post your xml and database log files here
 
Back
Top Bottom