How do you rename a unit in the XML?

Wolfshanze

CFC Historian
Joined
Nov 12, 2001
Messages
5,689
Location
Florida
I'm having a bear of a time trying to rename a couple of units in the XML file(s). I was able to successfully change unit stats and what-not, but when it came to changing names, I am having all kinds of problems (and it seems to want me to change MULTIPLE files to change a single name).

What's the short and sweet on changing the name of an existing unit? How does one go about that? Any help, please? I looked around but either didn't find what I was looking for, or was totally confused by what I did find.
 
If you just want to change the in-game name of the unit, you should look it up in XML/Text/CIV4GameTextInfos_Objects and change the displayed name there.

Don't change the <Type> value in the UnitInfos file - that's where the problems start, because all other files that refer to this unit, will be using the <Type> value as reference.
 
Back
Top Bottom