Renaming a unit

Rathelon

Prince
Joined
Mar 10, 2006
Messages
423
Location
Portland, OR
Hey all, haven't posted here in a while. I used to do mods for Civ 4, but I have never even looked into modding CiV. I want to make one cosmetic change though; I'd like to rename the Giant Death Robot. Could somebody take a moment to give me a tutorial? Thanks for any help.

Moderator Action: Moved to main forum as questions belong here.
 
Code:
<GameData>
	<Language_en_US>
		<Update>
			<Where Tag="TXT_KEY_UNIT_MECH"/>
			<Set Text="Whatever you want to rename the GDR to"/>
		</Update>
	</Language_en_US>
</GameData>

EDIT: OR, if you don't want to go the trouble of making a mod and would rather change the base game files:

1) On your computer, go to this filepath:
C:\Program Files (x86)\Steam\steamapps\common\Sid Meier's Civilization V\Assets\Gameplay\XML\NewText\EN_US

2) Find a file called "CIV5GameTextInfos_Units.xml" and open it with notepad or notepad++ or the like. Basically a text editor. (Do NOT just double click to open it)

3) Find line 180, it should look like this:
Code:
<Text>Giant Death Robot</Text>
(Scrolling or CTRL-F to get there)

4) Replace "Giant Death Robot" with whatever you want.

5) Save file.

OPTIONAL: 6) Back up the newly-edited file somewhere on your computer not affiliated with Civ5, so that if there's an update you can just copy and paste that file into the directory and not have to edit a file again.
 
Top Bottom