View Full Version : Cache-related (I think) Issue


dstickst
Jan 24, 2006, 06:04 PM
So I have to admit that this is my first attempt at modding since C&C Red Alert. That should say plenty. Anyway, I'm creating a new civ, and have gone through the process while getting pretty much everything to work. The one issue I keep running up against is the stupid:

Tag: LEADER_ETTER in Info class was incorrect
Current XML file is: Civilizations/CIV4CivilizationInfos.xml

I've searched through the forums and have come across similar posts that suggest clearing the cache before loading the mod. I did that (deleted the cache folder in the Application Data folder), and still the same error. Am I missing another cache folder somewhere? I've tried deleteing the cache folder, starting Civ, and loading mod AND starting Civ, deleting the cache folder, then loading the mod.

Help?

dylnuge
Jan 24, 2006, 06:17 PM
Try holding shift on the splash screen.

RogerBacon
Jan 24, 2006, 06:20 PM
It sounds like you have an XML tag missing. If you are using Notepad to edit your XML files you should switch to a program that checks to make sure all tags are matched properly. I use Notepad++. Other people use XML Spy.

Roger Bacon

Haarbal
Jan 24, 2006, 06:28 PM
have you already modded all of the files that build up the leader (artdefinesleaderhead.xml, civilizationinfos.xml, leaderheadinfos.xml)?
this might be the problem (i had these errors a lot off the times, but i don't remember how i fixed them, eventhough this might be the solution)

haarbal

Edit: if the upper standing is the sollution, it's most likely to be an error in the leaderheadinfos.xml (maybe you misspelled the name or something)

dstickst
Jan 24, 2006, 06:42 PM
Thanks everyone, I've tried all of your suggestions (using Notepad++ now). Still no luck. One thing I forgot to add is that I didn't touch the graphics or unit files, I essentially just created a "soft" new civ. Were there any changes I needed to make in any of those files to avoid this error?

Edit: I tried replacing just ETTER with SALADIN - no error message. This is my code as it is now (with 2 lines before and after the Leader tags):

<CivicType>CIVIC_DECENTRALIZATION</CivicType>
<CivicType>CIVIC_PAGANISM</CivicType>
</AnarchyCivics>
<Leaders>
<Leader>
<LeaderName>LEADER_ETTER</LeaderName>
<bLeaderAvailability>1</bLeaderAvailability>
</Leader>
<Leader>
<LeaderName>LEADER_FRANKLIN_ROOSEVELT</LeaderName>
<bLeaderAvailability>1</bLeaderAvailability>
</Leader>
</Leaders>
<CivilizationSelectionSound>AS3D_AMERICA_SELECT</CivilizationSelectionSound>
<CivilizationActionSound>AS3D_AMERICA_ORDER</CivilizationActionSound>

dstickst
Jan 24, 2006, 07:19 PM
Nevermind - the civinfos file just had some misplaced tags.