Is there a way to modify an existing civilization?

UnknownFact

Chieftain
Joined
Sep 16, 2009
Messages
5
Location
Costa Rica
Hey thanks in advance for all your help.

I was wondering if there was a way to modify a civ without creating a new one, just modify it?

If there is, how is it done? And if there's not, can an existing civ be "deleted"?

thanks again for your help...

UnknownFact
 
I've been playing around with that
if i want to change the name, for example, basically what i must change is:

Spoiler :
<Type>CIVILIZATION_AMERICA</Type>
<Description>TXT_KEY_CIV_AMERICA_DESC</Description>
<ShortDescription>TXT_KEY_CIV_AMERICA_SHORT_DESC</ShortDescription>
<Adjective>TXT_KEY_CIV_AMERICA_ADJECTIVE</Adjective>
<Civilopedia>TXT_KEY_CIV_AMERICA_PEDIA</Civilopedia>
<DefaultPlayerColor>PLAYERCOLOR_BLUE</DefaultPlayerColor>
<ArtDefineTag>ART_DEF_CIVILIZATION_AMERICA</ArtDefineTag>


right?
 
yes...no...err...
What you see ingame is not mentioned here.
All what begins with TXT_KEY_ is somewhere mentioned in one of the files in the XML\Text folder.

For example, the america description is in Civilization IV\Assets\XML\Text\Civ4GameTextInfos_objects.xml (note: Not in the BtS folder, in the normal civ folder).

When you search in this file for "america", you'll get this:

PHP:
	<TEXT>
		<Tag>TXT_KEY_CIV_AMERICA_DESC</Tag>
		<English>
			<Text>American Empire</Text>
			<Gender>Male</Gender>
			<Plural>0</Plural>
		</English>
		<French>
			<Text>Empire américain</Text>
			<Gender>Male</Gender>
			<Plural>0</Plural>
		</French>
		<German>
			<Text>Amerikanisches Reich:Amerikanische Reich:Amerikanischen Reich</Text>
			<Gender>Neuter:Neuter:Neuter</Gender>
			<Plural>0:0:0</Plural>
		</German>
		<Italian>
			<Text>Impero Americano</Text>
			<Gender>Male</Gender>
			<Plural>0</Plural>
		</Italian>
		<Spanish>
			<Text>Imperio Estadounidense</Text>
			<Gender>Male</Gender>
			<Plural>0</Plural>
		</Spanish>
	</TEXT>

Here you can see, how america is named in the different languages.
If you just want to rename it, then you have to change it here in your language.
For example, just replace "American Empire" with "United States Of America", and it's done.
Edit: Sorry, i guess you'll have to change the spanish entry. (or better all, for homogenity)
 
I see. It's ok I have it in english.
OK I managed to do what I wanted to; thanks. I'm looking now to have the adjective changed as well.

<Tag>TXT_KEY_CIV_ARABIA_ADJECTIVE</Tag>
<English>Arabianxxx</English>

but it keeps showing "Arabian". I'm guessing it has something to do with another xml?

EDIT: done. had to change the tag name and change it on both Assets\XML\Civilizations\CIV4CivilizationInfos.xml and \Beyond the Sword\Assets\XML\Civilizations\CIV4CivilizationInfos.xml files.

thanks for helping a newbie lol :D 2 thumbs up
 
Another thing you can do is just replace TXT_KEY_XYZ with your word, for example replace TXT_KEY_CIV_ARABIA_ADJECTIVE with Arabian and it would work. This is generally considered bad form (makes it harder to translate), but if its for a personal mod, it doesn't really matter.
 
Back
Top Bottom