Renaming Navy Seals

charlesolmsted

Chieftain
Joined
Dec 2, 2003
Messages
67
Location
Richmond, VA
I'd like to replace the American Navy Seals with a unit called the US Marines. I don't mind using the same graphics, I would simply like to rename the unit, rewrite the civilopedia entry and etc.

I've tried searching for threads on this, but haven't found anything yet. I've also read some of the modding tutorials for Civ 4, but these don't seem to answer my questions.

I have pretty good basic modding skills (I modded the heck out of Civ 3), but I just got Civ 4 and I haven't figured out everything I need to do yet.

I already tried making some changes to various files (CIV4UnitInfos.xml, CIV4CivilizationInfos.xml, CIV4GameText_Civilopedia_Units.xml, CIV4GameText_Strategy.xml), but that didn't work. Fortunately, I already had saved back-up copies of everything.

If anyone can tell me what changes I need to make so that I can have US Marines instead of Navy Seals, I would be most grateful.
 
I would think if you typed in "US Marines" instead of Navy Seals in the description tag in UnitInfos and UnitClass XMLs then US Marines would should up in game. Also you could find the TXT_KEY description for Navy Seals and simply overwrite what you want, same for pedia and strategy.

I'm not suggesting you overwrite any main files though. I'd treat this like a Mod and make an Asset folder with all of my changes. Since I don't use Custom Assets there might be an easier way I'm unaware of.
 
Thanks for your quick response. I will try it again when I get home this evening. I probably just made some sort of silly error. In the meantime, if anyone else has a more detailed explanation, that would be great.
 
Okay, so I followed your advice, and the advice listed in this thread:

http://forums.civfanatics.com/showthread.php?t=139721

I've almost got it working, I just cannot get the ingame name working right. It looks like this:

http://img48.imageshack.us/my.php?image=americanmarineproblem19un.jpg

http://img48.imageshack.us/my.php?image=americanmarineproblem29cm.jpg

http://img48.imageshack.us/my.php?image=americanmarineproblem34wp.jpg

How do I make that name change from TXT_KEY_UNIT_AMERICAN_US_MARINE to American US Marine?

Any help would be most appreciated...

I also haven't yet tested to see whether I can train these units, but one step at a time (and it should work).
 
If you go here:

Sid Meier's Civilization 4\Assets\XML\Text

You'll find Civ4GameTextInfos_Objects XML. Using XML marker or something search for NAVY_SEAL and then replace in English (or other language) the part in this line:

<English>Navy SEAL</English>

This is in your main files though so be warned...

edit - this is somewhat backwards now.....What I would do now that you've already edited other files is find that TXT_KEY for navy seals, copy it completely and paste it under the original in the XML file. Then rename the new one US_MARINES in the TXT_KEY and for the English, ect.
 
Glad to hear it all worked out. :) It's amazing how hard it is to explain something like this!
 
Rather than trying to write over the Navy Seal, I ended up making a new unit based off it called the US Marine. It looks the same as the Navy Seal and has the same basic stats.

The only thing still not working is that I get an exclamation point ( ! ) instead of a nice pretty little icon when I have one of my new units in the build queue for a city.
 
If I were you I'd make my own button for your "new" unit. ;)

Also, the ! is an error others have had, but I never have so I don't know the cure.
 
Back
Top Bottom