View Full Version : city name bug


Steely1
Nov 09, 2005, 04:11 PM
Summary:
TXT_KEY_CITYNAME_HERAT displayed as the default in the Name City dialog.


Steps to reproduce:

1. Play as Persia (don't know if this affects other civs).
2. Build lots of cities.
3. Eventually (at Herat's position in the list?), when you build a city, you will see TXT_KEY_CITYNAME_HERAT displayed in the dialog box instead of Herat.
4. The same string is displayed for every subsequent city you try to found.

Sorry I don't have a screenshot, or exact city count before this happens-- I don't have the game on the computer I'm posting from.

EdCase
Nov 09, 2005, 04:34 PM
Summary:
TXT_KEY_CITYNAME_HERAT displayed as the default in the Name City dialog.


Steps to reproduce:

1. Play as Persia (don't know if this affects other civs).
2. Build lots of cities.
3. Eventually (at Herat's position in the list?), when you build a city, you will see TXT_KEY_CITYNAME_HERAT displayed in the dialog box instead of Herat.
4. The same string is displayed for every subsequent city you try to found.

Sorry I don't have a screenshot, or exact city count before this happens-- I don't have the game on the computer I'm posting from.

Seen it ....AI had a city with that name...my temporary bug fix...I captured and razed it :lol:

snepp
Nov 09, 2005, 06:10 PM
And a bug that's easy to fix.

\Assets\XML\Text\CIV4GameTextInfos_Cities.xml

The entry for Herat is missing. Add this below Borazjan's entry:

<TEXT>
<Tag>TXT_KEY_CITY_NAME_HERAT</Tag>
<English>Herat</English>
<French>
<Text>Herat</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</French>
<German>
<Text>Herat</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</German>
<Italian>
<Text>Herat</Text>
<Gender>Female</Gender>
<Plural>0</Plural>
</Italian>
<Spanish>
<Text>Herat</Text>
<Gender>Female</Gender>
<Plural>0</Plural>
</Spanish>
</TEXT>

Monado
Nov 28, 2005, 06:45 PM
How do I add that to the file? I found the file and the exact spot where it is supposed to go. I just can't figure out how to paste it in there.

Ranos
Nov 28, 2005, 07:16 PM
Double clicking automatically opens the XML files using Internet Explorer. If you right click and then select edit, the file will be opened using Notepad.

JavalTigar
Feb 17, 2006, 03:01 PM
I had this same thing happen when I changed all the dity names of Greece to the greek alphabet. TXT_KEY_CITYNAME_ALPHA kept coming up every time. All I did was change everyone in the big city list. So there is another list I need to change?

I like that there are more things to edit now but it sure seems like the developers went out of their way to make it complicated. I need to get a new degree just to make some simple mods to a game.