Logo Platform
logo amplifiers simplified

Modifying Unique Planets of Vanilla Factions -XML Paring Issue---Solved

Copied to clipboard!
4 years ago
Feb 28, 2021, 1:36:42 AM

Inside the SimulationDescriptors[UniquePlanet] XML file there is the list of all the unique planets for the vanilla game, including the home planets for the factions.  When playing the United Empire it was easy to cheat by modifying the raw resource output for the terran home planet.


PROBLEM:

Unlike the rest of the factions, the Lumerious (Venetians) and the Unfallen do not get raw resource boosts to their home planets.  What I did was try to copy the formatting that was used for the other planets, and copy and paste it directly under the unfallen.  So for example I turned this:

"    <SimulationDescriptor Name="UniquePlanetUnfallen"  Type="UniquePlanet" />"


Into this:

"

    <SimulationDescriptor Name="UniquePlanetUnfallen"  Type="UniquePlanet" />

        <Modifier TargetProperty="PlanetRawFood"        Operation="Addition" Value="2" />

        <Modifier TargetProperty="PlanetRawIndustry"    Operation="Addition" Value="2" />

        <Modifier TargetProperty="PlanetRawDust"        Operation="Addition" Value="2" />

        <Modifier TargetProperty="PlanetRawScience"     Operation="Addition" Value="2" />

        <Modifier TargetProperty="PlanetRawPrestige"    Operation="Addition" Value="2" />

    </SimulationDescriptor>"


This is the exact same format for all the other planets.  However, when I save the file I get the error message:

"XML Paring Error- Line 142, pos7:

End Tag 'StimulationDescriptor' does not match the start tag 'Datatable'"


I tried ignoring this and starting the game anyways, and it leads to a crash on startup.  Any idea why this is causing problems?  Don't understand why it's not happy.

Updated 4 years ago.
0Send private message
4 years ago
Feb 28, 2021, 1:43:59 AM

Okay I found the problem.  I needed to get rid of the " / " on the first line.


So instead of 

<SimulationDescriptor Name="UniquePlanetUnfallen"  Type="UniquePlanet" />


It needs to be:


<SimulationDescriptor Name="UniquePlanetUnfallen"  Type="UniquePlanet" >

0Send private message
Comment