Quantcast
Channel: Civilization Fanatics' Forums
Viewing all articles
Browse latest Browse all 12856

Mod renaming city list, not working.

$
0
0
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".

Viewing all articles
Browse latest Browse all 12856

Trending Articles