BtS Modding Help

Saim

King
Joined
Jan 7, 2007
Messages
636
Whenever I edit Civ4GameTextObjectInfos (or whatever, something like that) in my mod I get an error that says that </TEXT> at the end does not match <Civ4GameTextInfos>, even though the last tag is </Civ4GameTextInfos>.

When I add cities to the civs I make in the CivilizationInfos file, it says that the earliest added city in the file is incorrect for some reason. I remove it, and it does it for the next one.

Wtf?
 
Sounds like your missing <TEXT> at the beginning of an entry, if you can't find it try opening it in your web browser(right click, open with...). Firefox will give you a line and column number, IE will just post the same error.

Post the excerpt from <Cities> to </Cities> (there should only be one <Cities> per civ)
 
Well, I've actually deleted and remade the TEXT file multiple times.

The Civ file I deleted too, but I didn't remake it.
 
Here are the two files:

http://forums.civfanatics.com/uploads/108043/Copy_of_CIV4GameText_Objects_BTS.zip
 
Duplicate end tag(</TEXT>) on Magadha:
Spoiler :
<TEXT>
<Tag>TXT_KEY_CIV_MAGADHA_ADJECTIVE</Tag>
<English>Magadhi</English>
<French>
<Text>Rathaus</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</French>
<German>
<Text>Rathaus</Text>
<Gender>Neuter</Gender>
<Plural>0</Plural>
</German>
<Italian>
<Text>Rathaus:Rathaus</Text>
<Gender>Male</Gender>
<Plural>0:1</Plural>
</Italian>
<Spanish>
<Text>Rathaus:Rathaus</Text>
<Gender>Male</Gender>
<Plural>0:1</Plural>
</Spanish>
</TEXT>
</TEXT>
<TEXT>
<Tag>TXT_KEY_CIV_MAGADHA_SHORT_DESC</Tag>


Missing start tag(<TEXT>) on Hellenism:
Spoiler :
<Tag>TXT_KEY_RELIGION_JUDAISM_ADJECTIVE</Tag>
<English>
<Text>Jewish</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</English>
<French>
<Text>juif:juive:juifs:juives</Text>
<Gender>Male:Female:Male:Female</Gender>
<Plural>0:0:1:1</Plural>
</French>
<German>
<Text>Jüdisch:jüdischen:jüdische</Text>
<Gender>Neuter:Neuter:Neuter</Gender>
<Plural>0:0:0</Plural>
</German>
<Italian>
<Text>dei giudei</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</Italian>
<Spanish>
<Text>judío:judía:judíos:judías</Text>
<Gender>Male:Female:Male:Female</Gender>
<Plural>0:0:1:1</Plural>
</Spanish>
</TEXT>
<Tag>TXT_KEY_RELIGION_HELLENISM_ADJECTIVE</Tag>


CIV4CivilizationInfos: try changing each <city></city> to <City></City>
 
Ah... thankyou!

EDIT: I fixed it, but it the TEXT file doesn't seem to work.
 
Delete Assets/XML/Interface/CIV4InterfaceInfos.xml or add the following to the end of it:
Code:
		<InterfaceModeInfo>
			<Type>INTERFACEMODE_SAVE_PLOT_NIFS</Type>
			<Description></Description>
			<Help/>
			<CursorType>CURSOR_PING</CursorType>
			<Mission>NONE</Mission>
			<bVisible>0</bVisible>
			<bGotoPlot>0</bGotoPlot>
			<bHighlightPlot>1</bHighlightPlot>
			<bSelectType>0</bSelectType>
			<bSelectAll>0</bSelectAll>
		</InterfaceModeInfo>
mine is dated 8/30/2007, yours was june. Changing the above loaded the mod without problems.

You shouldn't need to include any files that are not modifications of the main game.
 
I can't find Civ4InterfaceInfos... I'll assume that you're talking about Civ4InterfaceModeInfos.

EDIT: Yep, it worked.
 
Top Bottom