Here's a patch btw that will disable the validation and allow you to use your settlement type again until they implement a better solution:
[HarmonyPrefix]
[HarmonyPatch(typeof(MBObjectManager), "GetMergedXmlForManaged")]
public static bool SkipXMLValidationPatch(string id,
ref bool skipValidation,
bool ignoreGameTypeInclusionCheck = true,
string gameType = "")
{
skipValidation = id != "SiegeEngines";
return true;
}
[13:31:02.879] opening ..\..\Modules\KingdomsOfArda/ModuleData/items/arm_armours.xml
[13:31:02.880] opening ../../XmlSchemas/Items.xsd
[13:31:02.882] Error: The 'hitpoints' attribute is not declared.
Node: hitpoints Value: 6
Line: 6
Even better, much appreciated!
Oof, looks like I've been fired ?
I already uploaded our scener's module and gave that to Dejan (as we're not ready to release it publicly), I can do this as well after work today though
Sounds good, thank you! ?
<tournament_team_templates_one_participant>
<template name="NPCCharacter.man" />
</tournament_team_templates_one_participant>
<tournament_team_templates_two_participant>
<template name="NPCCharacter.man" />
<template name="NPCCharacter.man" />
<template name="NPCCharacter.man" />
</tournament_team_templates_two_participant>
<tournament_team_templates_four_participant>
<template name="NPCCharacter.man" />
<template name="NPCCharacter.man" />
<template name="NPCCharacter.man" />
</tournament_team_templates_four_participant>
Thanks for the quick reply. In addition:
this.Brush = this.Context.BrushFactory.GetBrush(this.BaseBrushName + "." + this.Culture[0].ToString().ToUpper() + this.Culture.Substring(1).ToLower());