Games tries to load a Core .xml while loading a mod .xml

Started by Kilroy232, April 15, 2016, 12:02:29 PM

Previous topic - Next topic

Kilroy232

Has anyone happen to run into this problem? I have been trying for a while now to fix the problem but I am not sure what the problem is (there could possibly be something new I missed).

Originally it was saying my Research.xml was causing the error so I removed it to test but
it just picks another .xml from my mod to throw the exception with (there could possible be something wrong with my file structure). Also I looked through the Biomes_Arid.xml and the World_oneshots_turrets.xml (A SoundDefs file also throwing the error) but I couldn't find any conflicts.

I won't post the Biomes_arid.xml code because if you own the game you have it, but here is the code for an xml that it claims is causing an error.

Code For the World_oneshots_turrets.xml

<?xml version="1.0" encoding="utf-8"?>
<DefPackage-SoundDef>

<SoundDef>
    <defName>StandardRound</defName>
    <eventNames />
    <maxSimultaneous>1</maxSimultaneous>
    <subSounds>
      <li>
        <grains>
          <li Class="AudioGrain_Clip">
            <clipPath>StandardTurret/9mm_Single</clipPath>
          </li>
        </grains>
        <volumeRange>
          <min>50</min>
          <max>50</max>
        </volumeRange>
        <pitchRange>
          <min>0.8304348</min>
          <max>1.105978</max>
        </pitchRange>
</li>
</subSounds>
</SoundDef>

<SoundDef>
    <defName>SniperRound</defName>
    <eventNames />
    <maxSimultaneous>1</maxSimultaneous>
    <subSounds>
      <li>
        <grains>
          <li Class="AudioGrain_Clip">
            <clipPath>SniperTurret/50Cal</clipPath>
          </li>
        </grains>
        <volumeRange>
          <min>50</min>
          <max>50</max>
        </volumeRange>
        <pitchRange>
          <min>0.8304348</min>
          <max>1.105978</max>
        </pitchRange>
</li>
</subSounds>
</SoundDef>

<SoundDef>
    <defName>IncediaryRound</defName>
    <eventNames />
    <maxSimultaneous>1</maxSimultaneous>
    <subSounds>
      <li>
        <grains>
          <li Class="AudioGrain_Clip">
            <clipPath>IncendiaryTurret/Bren_LMG</clipPath>
          </li>
        </grains>
        <volumeRange>
          <min>50</min>
          <max>50</max>
        </volumeRange>
        <pitchRange>
          <min>0.8304348</min>
          <max>1.105978</max>
        </pitchRange>
</li>
</subSounds>
</SoundDef>

<SoundDef>
    <defName>HeavyRound</defName>
    <eventNames />
    <maxSimultaneous>1</maxSimultaneous>
    <subSounds>
      <li>
        <grains>
          <li Class="AudioGrain_Clip">
            <clipPath>HeavyTurret/Heavy(M4A1)</clipPath>
          </li>
        </grains>
        <volumeRange>
          <min>50</min>
          <max>50</max>
        </volumeRange>
        <pitchRange>
          <min>0.8304348</min>
          <max>1.105978</max>
        </pitchRange>
</li>
</subSounds>
</SoundDef>

<SoundDef>
    <defName>MissileLaunch</defName>
    <eventNames />
    <maxSimultaneous>1</maxSimultaneous>
    <subSounds>
      <li>
        <grains>
          <li Class="AudioGrain_Clip">
            <clipPath>TOWLauncher/missile</clipPath>
          </li>
        </grains>
        <volumeRange>
          <min>50</min>
          <max>50</max>
        </volumeRange>
        <pitchRange>
          <min>0.8304348</min>
          <max>1.105978</max>
        </pitchRange>
</li>
</subSounds>
</SoundDef>

<SoundDef>
    <defName>StunRound</defName>
    <eventNames />
    <maxSimultaneous>1</maxSimultaneous>
    <subSounds>
      <li>
        <grains>
          <li Class="AudioGrain_Clip">
            <clipPath>StunTurret/Discharge</clipPath>
          </li>
        </grains>
        <volumeRange>
          <min>50</min>
          <max>50</max>
        </volumeRange>
        <pitchRange>
          <min>0.8304348</min>
          <max>1.105978</max>
        </pitchRange>
</li>
</subSounds>
</SoundDef>

</DefPackage-SoundDef>


Lastly I cannot read all of the debugging code but I didn't see anything too useful in it, no specified lines of code or anything

Alistaire

Do you have an /Assemblies/ folder and does that contain subfolders? This exact folder structure (/Source/ subfolder in /Assemblies/), more
specifically having a Source-DLLs folder or bin folder containing Assemblies-CSharp.dll, will cause that message to show up.

Kilroy232

Quote from: Alistaire on April 15, 2016, 02:25:46 PM
Do you have an /Assemblies/ folder and does that contain subfolders? This exact folder structure (/Source/ subfolder in /Assemblies/), more
specifically having a Source-DLLs folder or bin folder containing Assemblies-CSharp.dll, will cause that message to show up.

Thank you!! It doesn't reference a subfolder but a file within the folder Assemblies. I removed the problem and now everything is good