Problem: XML changes don't take effect...

TheVictor

Chieftain
Joined
Jan 19, 2002
Messages
52
Hello everybody,

I have a little problem modding Rhye's and Fall, actually its variation "RFCMarathon". Want to remove Wembley as a wonder and replace it with the old Broadway. Also, I want to change the victory conditions for America.
For that I need to change a couple .dds, python and xml files. Did all that and the graphics and logic work how I want.

HOWEVER, I also changed the xml files for the game TEXT that is displayed but when I play the mod, it still displays the old game text.

It's as if it somehow "remembers" the old game text and as if I didn't make any changes to the xml's ( the ones in question are "CIV4GameText_RFCWonders.xml" and "CIV4GameText_Victory2.xml" )

Feels like a general Civ4 modding issue, not specific to RFC, that's why I ask here...

Thx for any suggestions!


PS: It's not the XML cache, I think, for as the mod loads it says "Init XML (uncached)"...
 
If you're on Windows Vista or Win7, then please check if the changes you made are still there.
Because on both Win versions, there is a file protection mechanism, which doesn't let you modify any files in the program files folder, unless you have admin rights. In case you don't, it will not throw an error on saving, but will revert the changes back.
 
I remember having a similar problem when I first tried modding on Windows 7, after playing on XP. There were some files in the Documents folder that were loaded before those in the Assets folder of the program files, so the files with my changes weren't being loaded. I had to mod the files in the Document folder to get my changes to work.
 
First off, thanks for taking the time!

Well, it's modded and played on XP SP3. I also checked for the heck of it, the files I changed retained the changes...

About the tags, they're correct. I left them unchanged because the original modder did, too. And for the art it works, the building 3D model and all icons turn up how I want, just the text does not...

It's really like what Matty described. There seems to be some copy of the old xml file that is still being used... already tried deleting the BTS cache that is hidden in "Documents and Settings/USERNAME...", didn't help. Where else should I look??
 
The text changes in RFC are in Assets\XML\Text\RFCWonders.txt, look for TXT_KEY_BUILDING_BROADWAY there.

Also, mind that because Wembley/Broadway produce resources you have to change the resource text, button and icons as well.
 
Back
Top Bottom