Drunkenbold
Recruit
Hi guys,
I am currently trying to create a mod with only 4 starting Kingdoms and I´m new to modding ^^.
I modify the Kingdoms with a XML file, removed default wars with vlandia,battania and move all clans from vlandia,battania to another Kingdom which works fine. Afterward I try to delete the Kingdoms of Vlandia and Battania with an XSLT but then my game crashes.
My XSLT:
Had to remove the first Line, because it contained an external Link^^
<xslutput omit-xml-declaration="yes"/>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="Kingdom[@id='vlandia']"/>
<xsl:template match="Kingdom[@id='battania']"/>
</xsl:stylesheet>
I realized that the game doesnt crash if I modify Vlandia and Battania in my XML file, but the kingdoms also wont dissappear.
Is it even possible to start with less than 8 kingdoms or am I doing something wrong?
Thanks
I am currently trying to create a mod with only 4 starting Kingdoms and I´m new to modding ^^.
I modify the Kingdoms with a XML file, removed default wars with vlandia,battania and move all clans from vlandia,battania to another Kingdom which works fine. Afterward I try to delete the Kingdoms of Vlandia and Battania with an XSLT but then my game crashes.
My XSLT:
Had to remove the first Line, because it contained an external Link^^
<xslutput omit-xml-declaration="yes"/>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="Kingdom[@id='vlandia']"/>
<xsl:template match="Kingdom[@id='battania']"/>
</xsl:stylesheet>
I realized that the game doesnt crash if I modify Vlandia and Battania in my XML file, but the kingdoms also wont dissappear.
Is it even possible to start with less than 8 kingdoms or am I doing something wrong?
Thanks