Jump to content


slight assistance in making a very easy mod. nothing changes


14 replies to this topic

#1 AZZKIKR

    I am sarcastic and evil

  • Project Leader
  • 2215 posts
  • Projects: beta tester of world at war cnc and situation zero concept art

Posted 03 May 2009 - 13:21

well, basicsally i editted the apoc. cheaper slightly and stronger.

Files are Apocmod (with mod.badproj file)->data (with mod and weapon xmls) -> soviet (with sovietantivehiclevehicletech3.xml)

mod xml says

Quote

<?xml version="1.0" encoding="UTF-8"?>
<AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Tags></Tags>
<Includes>
<!--
mod.xml is the central include for mod setup data.
-->
<!-- These includes need to be in all mod.xml files -->
<Include type="reference" source="DATA:static.xml" />
<Include type="reference" source="DATA:global.xml" />
<Include type="reference" source="DATA:audio.xml" />


<!-- Including the Harbinger Gunship from Uprising -->
<Include type="all" source="DATA:Apocmod/data/soviet/SovietAntiVehicleVehicleTech3.xml"/>




<!-- New sample weapon.xml -->
<Include type="all" source="DATA:Apocmod/data/Weapon.xml"/>


</Includes>

</AssetDeclaration>



errors:

Quote

00:00:04.9920000] Error: Mvp.Xml.XInclude.FatalResourceException: Resource error has occured and no fallback has been provided: An exception has occured during GetEntity call to custom XmlResolver.. ---> Mvp.Xml.XInclude.ResourceException: An exception has occured during GetEntity call to custom XmlResolver. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\ra3 mod sdk\mods\apocmod\Includes\SovietCrushUpgradePlayerPower.xml'.


and

Quote

[00:00:04.6644000] Error: Mvp.Xml.XInclude.FatalResourceException: Resource error has occured and no fallback has been provided: An exception has occured during GetEntity call to custom XmlResolver.. ---> Mvp.Xml.XInclude.ResourceException: An exception has occured during GetEntity call to custom XmlResolver. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\ra3 mod sdk\mods\apocmod\Includes\SovietCrushUpgradePlayerPower.xml'.


problem: nothing being read

skudef and big files are 1 kb each

Edited by AZZKIKR, 03 May 2009 - 13:22.

Posted Image
Posted Image
RIP CommanderJB

#2 Golan

    <Charcoal tiles available>

  • Member Test
  • 3300 posts

Posted 03 May 2009 - 14:26

Seems like your SDK is a lil' bit fucked up. I'd recommend trying to re-install it.

Regardless, you might want to try this mod.xml instead:
<?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?>
<AssetDeclaration xmlns=&#34;uri&#58;ea.com&#58;eala&#58;asset&#34; xmlns&#58;xsi=&#34;http&#58;//www.w3.org/2001/XMLSchema-instance&#34;>
<Tags></Tags>
<Includes>
<!-- These includes need to be in all mod.xml files -->
<Include type=&#34;reference&#34; source=&#34;DATA&#58;static.xml&#34; />
<Include type=&#34;reference&#34; source=&#34;DATA&#58;global.xml&#34; />
<Include type=&#34;reference&#34; source=&#34;DATA&#58;audio.xml&#34; />


<Include type=&#34;all&#34; source=&#34;soviet/SovietAntiVehicleVehicleTech3.xml&#34;/>

<Include type=&#34;all&#34; source=&#34;Weapon.xml&#34;/>


</Includes>

</AssetDeclaration>

Now go out and procreate. IN THE NAME OF DOOM!

#3 AZZKIKR

    I am sarcastic and evil

  • Project Leader
  • 2215 posts
  • Projects: beta tester of world at war cnc and situation zero concept art

Posted 03 May 2009 - 23:44

reinstalled. used ur mod.xml. still cannot. and i noticed something

Quote

C:\Users\Shah\Documents\Red Alert 3\Mods\Apocmod\Apocmod.big
No file found: C:\RA3 MOD SDK\BuiltMods\Mods\Apocmod.big
Step time taken: 00:00:00.0312000
File written: C:\Users\Shah\Documents\Red Alert 3\Mods\Apocmod\Apocmod_1.0.skudef
Step time taken: 00:00:00
Build Completed
Build time taken: 00:00:16.5048000


no big file? i checked all the arrows
Posted Image
Posted Image
RIP CommanderJB

#4 Sgt. Rho

    Kerbal Rocket Scientist

  • Project Leader
  • 6870 posts
  • Projects: Scaring Jebediah.

Posted 04 May 2009 - 00:14

Uhm.... "C:\Users\Shah\Documents\Red Alert 3\Mods\Apocmod\Apocmod.big" - the first line.

#5 Golan

    <Charcoal tiles available>

  • Member Test
  • 3300 posts

Posted 04 May 2009 - 07:59

If your mod isn't built correctly, the built files naturally are also broken/inexistent.
Now go out and procreate. IN THE NAME OF DOOM!

#6 AZZKIKR

    I am sarcastic and evil

  • Project Leader
  • 2215 posts
  • Projects: beta tester of world at war cnc and situation zero concept art

Posted 04 May 2009 - 11:24

it's one kb. i scanned thru all files. nothing seems wrong
Posted Image
Posted Image
RIP CommanderJB

#7 Golan

    <Charcoal tiles available>

  • Member Test
  • 3300 posts

Posted 04 May 2009 - 15:46

Well then everything's fine.
Now go out and procreate. IN THE NAME OF DOOM!

#8 AZZKIKR

    I am sarcastic and evil

  • Project Leader
  • 2215 posts
  • Projects: beta tester of world at war cnc and situation zero concept art

Posted 05 May 2009 - 10:37

but the mod still doesn't seem to work. Golan, would it be better if i posted the files?
Posted Image
Posted Image
RIP CommanderJB

#9 Golan

    <Charcoal tiles available>

  • Member Test
  • 3300 posts

Posted 07 May 2009 - 11:41

Stupid me, should have looked at the error report...
For whatever reason, you seem to have modified an XInclude pointing to apocmod\Includes\SovietCrushUpgradePlayerPower.xml which does however not exist. Revert the include path back to the default file in SageXML or add the file to that folder.

Special cookies to Lauren for pointing out a similar error BTW.
Now go out and procreate. IN THE NAME OF DOOM!

#10 AZZKIKR

    I am sarcastic and evil

  • Project Leader
  • 2215 posts
  • Projects: beta tester of world at war cnc and situation zero concept art

Posted 07 May 2009 - 13:27

now i put that xml in an includes folder in my mod folder. adjusted the mod xml. still it says not found
Posted Image
Posted Image
RIP CommanderJB

#11 Golan

    <Charcoal tiles available>

  • Member Test
  • 3300 posts

Posted 07 May 2009 - 14:02

View PostAZZKIKR, on 7 May 2009, 13:27, said:

now i put that xml in an includes folder in my mod folder. adjusted the mod xml. still it says not found

Wait, you included an XInclude file in your mod.xml? :read:

Edited by Golan, 07 May 2009 - 14:03.

Now go out and procreate. IN THE NAME OF DOOM!

#12 AZZKIKR

    I am sarcastic and evil

  • Project Leader
  • 2215 posts
  • Projects: beta tester of world at war cnc and situation zero concept art

Posted 07 May 2009 - 14:11

ya. i must not?
Posted Image
Posted Image
RIP CommanderJB

#13 Golan

    <Charcoal tiles available>

  • Member Test
  • 3300 posts

Posted 07 May 2009 - 16:43

Yah. XIncludes aren't complete GameAssets.
Now go out and procreate. IN THE NAME OF DOOM!

#14 AZZKIKR

    I am sarcastic and evil

  • Project Leader
  • 2215 posts
  • Projects: beta tester of world at war cnc and situation zero concept art

Posted 07 May 2009 - 23:19

alrite. i made an includes folder in my data folder, with the sovietcrushthingy xml in it.

no errors but strangely the results differ, yesterday it said the soviet crush thing xml cannot be found. today it's

Quote

Invalid directory specified:C:\RA3 MOD SDK\Mods\Apocmod\Shaders
Step time taken: 00:00:00
Step time taken: 00:00:02.2932000
C:\Users\Shah\Documents\Red Alert 3\Mods\Apocmod\Apocmod.big
No file found: C:\RA3 MOD SDK\BuiltMods\Mods\Apocmod.big
Step time taken: 00:00:00
File written: C:\Users\Shah\Documents\Red Alert 3\Mods\Apocmod\Apocmod_1.0.skudef
Step time taken: 00:00:00.5928000
Build Completed
Build time taken: 00:00:23.3376000
C:\RA3 MOD SDK\BuiltMods\Mods\Apocmod No such directory

Posted Image
Posted Image
RIP CommanderJB

#15 Regs120

    Newbie

  • Member
  • 1 posts

Posted 14 June 2009 - 02:42

I had the same problem. The compiled failed as well.

Revert back to what you normally did before you copied the includes folder.

If you look at the mod builder screen you can see which file was being compiled last. Copy "SovietCrushUpgradePlayerPower" by highlighting it and hitting ctrl + c in the mod builder log. Now look for it in the file it last stopped compiling it. I use word pad to edit the xml files so I would hit ctrl+f to find "SovietCrushUpgradePlayerPower". It will come up as a line of code under behaviors as :

<xi:include
href="../../Includes/SovietCrushUpgradePlayerPower.xml" />

Change the path to DATA:Includes/SovietCrushUpgradePlayerPower.xml and it should work.

You will likely have to repeat this process as you'll likely find the same screwed up file paths in other xml documents. Just keep chaning the "../../" to DATA:Includes.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users