schnoodly
Recruit
Hello, I thought I had followed examples to a T with the xml files, however when I enable my mod, it seems to just make the game crash while trying to load the main menu. Running the dump file, it seems the issue came from not being able to find the files I refer to in SubModule.xml?
The contents of my SubModule.xml:
and the layout of my mod:
I will say, if I make the changes from my mod to the crafting_pieces.xml file in native, there's no issue. Any ideas for what's causing the crash, did I miss something?
Code:
An unhandled exception of type 'System.IO.DirectoryNotFoundException' occurred in Unknown Module.
Additional information: Could not find a part of the path 'E:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules\MoreMaceParts\SubModule.xml'.
The contents of my SubModule.xml:
XML:
<?xml version="1.0" encoding="utf-8"?>
<Module>
<Name value = "More Mace Parts"/>
<Id value = "MoreMaceParts"/>
<Version value = "v0.0.1"/>
<SingleplayerModule value="true"/>
<MultiplayerModule value="false"/>
<DependedModules/>
<SubModules/>
<Xmls>
<XmlNode>
<XmlName id="CraftingPieces" path="crafting_pieces_maceparts"/>
<GameType value = "Campaign"/>
<GameType value = "CampaignStoryMode"/>
<GameType value = "CustomGame"/>
</XmlNode>
</Xmls>
</Module>
and the layout of my mod:
Code:
- MoreMaceParts
- ModuleData
- crafting_pieces_maceparts.xml
- SubModule.xml
I will say, if I make the changes from my mod to the crafting_pieces.xml file in native, there's no issue. Any ideas for what's causing the crash, did I miss something?
Last edited: