Posted by: adamstrange - Monday, March 18, 2013 2:30:34 AM
[b]Critical: XML validation error encountered in 'c:\program files (x86)\electronic arts\command & conquer 3\mod sdk\mods\military\data\includes\conyardgdibuildingdestruction.xml' near line 11: The 'uri:ea.com:eala:asset:CreateObjectDie' element is not declared. [/b] I'm adding new units to spawn when the GDI Conyard is destroyed so I created a new XML file from the normal building destruction XML. [color=red] Upgrade_NoSpawnUponDestruction [/color] [b]Added to Mod.XML[/b] [color=red][/color] What I don't understand is that I have created new unit spawns in the OCL for the NOD Shrine but it's not working for the Conyard.

Posted by: CommieDog - Monday, March 18, 2013 8:45:29 PM
You don't add an included module directly to Mod.xml. What you need to do is make sure that whatever is using the included module has the include file referenced, then add whatever uses the included module to Mod.xml if it isn't already there. In your case, the GDI Construction Yard should include the ConYardGDIBuildingDestruction.xml, and your Mod.xml should include the GDI Construction Yard if it doesn't already.