new xml file issues

The_Flask

Chieftain
Joined
Feb 17, 2008
Messages
7
Location
Granite City, IL
i am having issues with adding a new xml file to the game. i have changed the sdk to recognize the file and it compiles just fine. but when i go to run my mod, it fails to load the xml file. Any help would be greatly appreciated.
 
Have you setup a schema to handle the new XML file? Without that, the SDK can read your file but won't know what tags to expect and error out.
 
How exactly it fails? Is there any error message? If you need an esper or oracle help, you picked the wrong forum. If you need programer's help, you'll be better providing some information.
 
The error message that comes up is "Failed Loading XML file xml\GameInfo/CIV4PolPartyInfo.xml"

I have zipped up all of my changed sdk files, and the xml files that i'm using.
Thanks again for any help

http://forums.civfanatics.com/uploads/137975/error.zip.zip
You call THAT a schema file?
Code:
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Courier New;}{\f1\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20 <!-- edited with WordPad by Steven Werths (SIU-Edwardsville) -->\par
<!-- Sid Meier's Civilization 4 -->\par
I don't know what kind of weird editor you're using, but Civ 4 requires a proper format. Check any other schema file in Civ 4 and make a similar one using notepad.
 
Code:
	<ElementType name="PolPartyInfo" content="eltOnly">
...
	<ElementType name="ReligionInfos" content="eltOnly">
		<element type="ReligionInfo" maxOccurs="*"/>
	</ElementType>
That was my last post in this thread... You seem to like wasting other's time with ridiculous mistakes.
 
Back
Top Bottom