Hello all,
I found some earlier topics but still can't find my error to make my mod work.
I've tested it by modding the original native files and it works, even savegame compatible.
I've placed the folder "MyTestMod" into Modules. Inside "MyTestMod" is a folder "ModuleData" which contains the file "horses_and_others.xml"
Personally I feel like I've screwed up something within the xmlnode, given I have no clue how that line is supposed to work.
My Submodule.xml looks as per below;
Many thanks in advance for your help.
I found some earlier topics but still can't find my error to make my mod work.
I've tested it by modding the original native files and it works, even savegame compatible.
I've placed the folder "MyTestMod" into Modules. Inside "MyTestMod" is a folder "ModuleData" which contains the file "horses_and_others.xml"
Personally I feel like I've screwed up something within the xmlnode, given I have no clue how that line is supposed to work.
My Submodule.xml looks as per below;
Code:<?xml version="1.0" encoding="UTF-8"?> <Module xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/BUTR/Bannerlord.XmlSchemas/master/SubModule.xsd" > <Id value="MyTestMod" /> <Name value="MyTestMod" /> <Version value="v1.0.0" /> <Official value="false" /> <DefaultModule value="false" /> <ModuleCategory value="Singleplayer"/> <DependedModules> <DependedModule Id="Native"/> <DependedModule Id="SandBoxCore"/> <DependedModule Id="Sandbox"/> <DependedModule Id="CustomBattle"/> <DependedModule Id="StoryMode" /> </DependedModules> <SubModules> <SubModule> </SubModule> </SubModules> <Xmls> <XmlNode> <XmlName id="Items" path="horses_and_others"/> </XmlNode> </Xmls> </Module>
Many thanks in advance for your help.