Bizarre problem with TextInfos_Objects.xml

Wyz_sub10

CIV Gold - Project Lead
Joined
Nov 26, 2001
Messages
2,425
This concerns the file CIV4GameTextInfos_Objects.xml

I made a Canada mod which runs perfectly. I decided to make a First Peoples mod - more Civs, more leaders and more entries. No worries, except..

Problem (a little long, sorry):

I decide to put proper names in the Civ and Leader entries rather than create TXT_KEY entries. I finish all the files and everything is fine except that when I go to run the game, NONE of the text shows up on the menus anywhere. The only thing that shows is the proper name entries (civs and leaders) of my new civs. The existing civ/leader info is missing as well.

Okay. So I go and make TXT_KEY entries for my new civs/leaders. (editing all the files - Civ, Leader, Text) Now nothing at all is showing up!

Okay. I install my Canada mod instead, to check - yup, everything is perfect. I take *that* Objects file and edit it for the new civs/leaders, removing Canada info and adding First Peoples info. Same problem again!

Okay. I deleted all the new entries in Objects, leaving only the original info. Guess what? Still no menu items or old civ/leader info, *but* it pulls the TXT_KEY_CIV and TXT_KEY_LEADER entries for the new civs/leaders (not the names, but literally "TXT_KEY...").

From all of this, I think the problem is in Objects, but Canada works while First Peoples doesn't. Is my error elsewhere? The CivilizationInfos and LeaderHeadInfos seem find - I can't find an error anywhere. And I get no XML errors when I start up, either.

I can imagine the problem being in another file, but ALL the menu entires "Play Now", "Back", traits, etc. are missing. It has to be the Objects file that is causing the problem, but I can't for the life of me figure out what it is. I even edited one that works modded 0 just swapped the modded info - and it fails.

Anyone have any thoughts? This is driving me nuts and it's the only thing keeping this mod from being complete.

UPDATE: When I put my Objects file in the *main* CIV4 folder (Firaxis) and replace the original, it seems to work just fine - it simply ignores the extra info (new Civs/Leaders) and loads the usual text.
 
Just a suggestion, but try to upload your files so someone who is has the experiance and knowledge to help can get hands on with it and diagnoise the problem. Other than that I can just make broad suggestions, but I don't have any experiance modding that file yet, so not sure the intracicies involved.
 
Good idea. I'll attach the relevant XML files.

I've attached them as four files but in the game I *do* have them in the right directories.

They are:

CIV4CivilizationInfos.xml
CIV4GameTextInfos_Objects.xml
CIV4LeaderHeadInfos.xml
 

Attachments

Well, I can't find anything wrong with the files you attached. I put them into a mod folder and changed all the art_def tags to pictures I had, and things worked perfectly.

I'm not sure what to suggest to try next. My guess would be a typo in another file you modified. Maybe double check the other things you've changed in this mod's folder.
 
Back
Top Bottom