• Civilization 7 has been announced. For more info please check the forum here .

Help

Hiram

XML Plebian
Joined
Dec 14, 2006
Messages
1,088
Location
Where The Streets Have No Name
I'm trying to create a civ, based on another for my own use. Everything has gone successfully, except that the mod doesn't work because it says there is something wrong with the '</Traits>' tag (for every civ!). What makes this more perplexing is that I copied my CIV4LeaderHeadInfos.xml file from the xml of the game! It looks fine to me, but Civ 4 doesn't like it.

Can anyone tell me what's wrong?

~Hiram.
 
Hi,
it could be that this tag isn't written at all, or not exactly written "</Traits>"...

You should have something like that :
Code:
[COLOR="Red"][B]<Traits>[/B][/COLOR]
	[COLOR="Blue"][B]<Trait>[/B][/COLOR]
		[COLOR="DarkOrange"][B]<TraitType>[/B][/COLOR]TRAIT_PHILOSOPHICAL[COLOR="DarkOrange"][B]</TraitType>[/B][/COLOR]
		[COLOR="Purple"][B]<bTrait>[/B][/COLOR]1[COLOR="Purple"][B]</bTrait>[/B][/COLOR]
	[COLOR="Blue"][B]</Trait>[/B][/COLOR]
	[COLOR="DeepSkyBlue"][B]<Trait>[/B][/COLOR]
		[COLOR="SandyBrown"][B]<TraitType>[/B][/COLOR]TRAIT_ORGANIZED[COLOR="SandyBrown"][B]</TraitType>[/B][/COLOR]
		[COLOR="DarkOrchid"][B]<bTrait>[/B][/COLOR]1[COLOR="DarkOrchid"][B]</bTrait>[/B][/COLOR]
	[COLOR="DeepSkyBlue"][B]</Trait>[/B][/COLOR]
[COLOR="Red"][B]</Traits>[/B]
[/COLOR]
 
You have
Code:
			</Traits>
			</Traits>
For LEADER_BEPURA.
 
Top Bottom