Schema Files: Difference between revisions

From Civilization Modding Wiki
Jump to navigationJump to search
(Created page with '{|align="right" |Back to XML Reference |}<br><br> =Do not edit schema files unless you know EXACTLY what you are doing!!!= Civ IV uses the DLL (editable t...')
 
No edit summary
Line 4: Line 4:
=Do not edit schema files unless you know EXACTLY what you are doing!!!=
=Do not edit schema files unless you know EXACTLY what you are doing!!!=


Civ IV uses the DLL (editable through the SDK) to read the Schema files, and then uses the Schema data to parse the XML. Messing with the Schema and not making appropriate changes to the SDK will result in the game crashing.  Any changes to the Schema '''''must''''' be reflected in the SDK.
Civ IV uses the DLL (editable through the SDK) to read the Schema files, and then uses the Schema data to parse the XML. Messing with the Schema and not making appropriate changes to the SDK can result in the game crashing.  Any changes to the Schema '''''must''''' be reflected in the SDK.  Removing schema entries without changing the DLL appropriately '''''will''''' result in a crash, while adding entries without editing the SDK will simply cause nothing to happen.  Changes to the schema files also must be reflected in the XML files they are used for.
<br><br><br>
<br><br><br>

Revision as of 23:43, 10 May 2009

Back to XML Reference



Do not edit schema files unless you know EXACTLY what you are doing!!!

Civ IV uses the DLL (editable through the SDK) to read the Schema files, and then uses the Schema data to parse the XML. Messing with the Schema and not making appropriate changes to the SDK can result in the game crashing. Any changes to the Schema must be reflected in the SDK. Removing schema entries without changing the DLL appropriately will result in a crash, while adding entries without editing the SDK will simply cause nothing to happen. Changes to the schema files also must be reflected in the XML files they are used for.