Can I raise the max amount of characters in a city name?

Smooth Olaf

Chieftain
Joined
Aug 9, 2006
Messages
11
The game only lets me input city names with 15 characters or less. Can raise this somehow?

Moderator Action: Moved to the modding forum.
 
In SetCityName.xml

Code:
<EditBox CallOnChar="1" EditMode="1" Size="284,22" Anchor="C,C" ID="EditCityName" 
Font="TwCenMT20" [COLOR="red"]MaxLength="15"[/COLOR] />

I changed it to 30 and it seems to work OK.

In an ideal world you'd make a mod to do it, but for such a minor, personalized change ...
 
I just got a new computer and installed my Civ 5 on it. I tried to once again change the character amount limit for city names, but when I follow these directions, I can't change the number. It's as if the file is read-only. I realize this is probably a head-slappingly basic question, but what am I doing wrong? I don't remember having this problem a couple years ago.
 
I just got a new computer and installed my Civ 5 on it. I tried to once again change the character amount limit for city names, but when I follow these directions, I can't change the number. It's as if the file is read-only. I realize this is probably a head-slappingly basic question, but what am I doing wrong? I don't remember having this problem a couple years ago.

Assuming it is read only:
Right click -> Properties -> Uncheck "Read-only"

If it's under program files then there's a chance you don't have write permissions and will need to open it as an administrator. (The easiest way to do this is to open notepad or something as an administrator, then open the file.)
 
In SetCityName.xml

Code:
<EditBox CallOnChar="1" EditMode="1" Size="284,22" Anchor="C,C" ID="EditCityName" 
Font="TwCenMT20" [COLOR="red"]MaxLength="15"[/COLOR] />

I changed it to 30 and it seems to work OK.

In an ideal world you'd make a mod to do it, but for such a minor, personalized change ...
wow that's cool, what about the Units? when a unit get a promotion you can rename it up to 15? characters. Is it possible to change that also?
 
Finally i could renamed my Spanish Frigate to "Nuestra Señora de la Santísima Trinidad" :D
:goodjob: thanks whoward69.
Could i somehow just make this a mod and update the game or i really need to changed the base game file?
 
Copy the SetUnitName.xml file into a mod, make the edit and set VFS=true - job done
 
Back
Top Bottom