Need help fixing a screwup

stebbinsd

Chieftain
Joined
Jun 19, 2014
Messages
77
None of my leaders have any traits!

I checked the XML files, and as it turns out, my CIV4LeaderHeadInfos and CIV4TraitInfos XML files are both exactly the same! The only difference is the title of the files. I must have made a mistake when I was playing around with mod-making.

The text - which is the same for both files - says the following about Alexander:

<Trait>
<TraitType>TRAIT_PHILOSOPHICAL</TraitType>
<bTrait>1</bTrait>
</Trait>
<Trait>
<TraitType>TRAIT_AGGRESSIVE</TraitType>
<bTrait>1</bTrait>
</Trait>
I don't know if this rightfully goes in the Leader Head Infos, or the Trait Infos, but I trust that you guys would know. My guess is that this is supposed to be Leader Heads, while Trait Infos would define what these traits all do.

Can someone with a vanilla install please send me an XML copy of whichever file I'm missing?

Moderator Action: Moved to main C&C forum as that is where questions belong. Best of luck fixing your mod.
 
Those are from Civ4LeaderHeadInfos.xml

Unless you are directly editing the base files, which you should never do, you should be able to delete the Civ4TraitInfos.xml file from your mod folder to restore the vanilla traits
 
Back
Top Bottom