搜索结果: *

  1. BL Other Trouble loading game after creating a module with nothing in

    Try this way:
    • Create your 'module/folder' in the 'Modules' folder and name it ' zzz_MyModule'. '..\Mount & Blade II Bannerlord\Modules\zzz_MyModule'.
    • Inside your 'module/folder' create a file and name it 'SubModule.xml'. Copy the xml structure for your SubModule:
    XML:
    <?xml version="1.0" encoding="utf-8"?>
    <Module>
        <Name value = "My Module"/>
        <Id value = "zzz_MyModule"/>
        <Version value = "v1.0.0"/>
        <SingleplayerModule value="true"/>
        <MultiplayerModule value="false"/>
        <Official value ="false" />
    
        <DependedModules>
            <DependedModule Id="Native"/>
            <DependedModule Id="SandBoxCore"/>
            <DependedModule Id="Sandbox"/>
            <DependedModule Id="CustomBattle"/>
            <DependedModule Id="StoryMode" />
        </DependedModules>
    
        <SubModules/>
        <SubModule/>
    
        <Xmls>
            <XmlNode>
                <XmlName id="Items" path="customitems"/>
                <IncludedGameTypes>
                    <GameType value = "Campaign"/>
                    <GameType value = "CampaignStoryMode"/>
                </IncludedGameTypes>
            </XmlNode>
        </Xmls>
    </Module>
    • Inside your 'module/folder' create a new folder and name it 'ModuleData'. '..\Mount & Blade II Bannerlord\Modules\zzz_MyModule\ModuleData'.
    • Inside ''ModuleData'' create a file and name it ''customitems.xml''. Copy the xml structure for your customitems:
    XML:
    <?xml version="1.0" encoding="utf-8"?>
    <Items>
        <Item id="butter"
            name="{=VbL6GFmy}Butter"
            mesh="merchandise_cheese_b"
            item_category="butter"
            IsFood="true"
            value="25"
            weight="10"
            Type="Goods">
            <ItemComponent>
                <Food morale_bonus="1" />
            </ItemComponent>
            <Flags />
        </Item>
    </Items>
    • Select 'My Module' in the launcher and play.
    NOTE: Select only your mod and check if you have been successful with your first mod.
    Try this way:
    • Create your 'module/folder' in the 'Modules' folder and name it ' zzz_MyModule'. '..\Mount & Blade II Bannerlord\Modules\zzz_MyModule'.
    • Inside your 'module/folder' create a file and name it 'SubModule.xml'. Copy the xml structure for your SubModule:
    XML:
    <?xml version="1.0" encoding="utf-8"?>
    <Module>
        <Name value = "My Module"/>
        <Id value = "zzz_MyModule"/>
        <Version value = "v1.0.0"/>
        <SingleplayerModule value="true"/>
        <MultiplayerModule value="false"/>
        <Official value ="false" />
    
        <DependedModules>
            <DependedModule Id="Native"/>
            <DependedModule Id="SandBoxCore"/>
            <DependedModule Id="Sandbox"/>
            <DependedModule Id="CustomBattle"/>
            <DependedModule Id="StoryMode" />
        </DependedModules>
    
        <SubModules/>
        <SubModule/>
    
        <Xmls>
            <XmlNode>
                <XmlName id="Items" path="customitems"/>
                <IncludedGameTypes>
                    <GameType value = "Campaign"/>
                    <GameType value = "CampaignStoryMode"/>
                </IncludedGameTypes>
            </XmlNode>
        </Xmls>
    </Module>
    • Inside your 'module/folder' create a new folder and name it 'ModuleData'. '..\Mount & Blade II Bannerlord\Modules\zzz_MyModule\ModuleData'.
    • Inside ''ModuleData'' create a file and name it ''customitems.xml''. Copy the xml structure for your customitems:
    XML:
    <?xml version="1.0" encoding="utf-8"?>
    <Items>
        <Item id="butter"
            name="{=VbL6GFmy}Butter"
            mesh="merchandise_cheese_b"
            item_category="butter"
            IsFood="true"
            value="25"
            weight="10"
            Type="Goods">
            <ItemComponent>
                <Food morale_bonus="1" />
            </ItemComponent>
            <Flags />
        </Item>
    </Items>
    • Select 'My Module' in the launcher and play.
    NOTE: Select only your mod and check if you have been successful with your first mod.

    Thank you so much you are a god!
  2. BL Other Trouble loading game after creating a module with nothing in

    <Module>
    <Name value="My Module"/>
    <Id value="MyModule"/>
    <Version value="v1.0.0"/>
    <SingleplayerModule value="true"/>
    <MultiplayerModule value="false"/>
    <DependedModules>
    <DependedModule Id="Native"/>
    <DependedModule Id="SandBoxCore"/>
    <DependedModule Id="Sandbox"/>
    <DependedModule Id="CustomBattle"/>
    <DependedModule Id="StoryMode" />
    </DependedModules>
    <SubModules>
    <!-- The following SubModule element is optional. You can remove this portion if your mod does not have a DLL associated with it. -->
    <SubModule>
    <Name value="MySubModule"/>
    <!-- Path to the DLL File, if your Mod is called MyModule then it should be -->
    <DLLName value="ExampleMod.dll"/>
    <SubModuleClassType value="ExampleMod.MySubModule"/>
    <Tags>
    <Tag key="DedicatedServerType" value="none" />
    <Tag key="IsNoRenderModeElement" value="false" />
    </Tags>
    </SubModule>
    </SubModules>
    <Xmls>
    <XmlNode>
    <XmlName type="1" id="Items" path="customitems"/>
    </XmlNode>
    <XmlNode>
    <XmlName type="1" id="SPCultures" path="customcultures"/>
    </XmlNode>
    <XmlNode>
    <XmlName type="1" id="NPCCharacters" path="customcharacters"/>
    </XmlNode>
    </Xmls>
    </Module>
    It is called SubModule and is an xml file, inside a modules folder called My Module
    It is the copy paste from the documentation available
  3. BL Other Trouble loading game after creating a module with nothing in

    I have followed all the instructions on the documentation and followed a youtube video and cannot get the game to run it just crashes as soon as i load the game The module appears and i click the checkmark the game runs perfectly without it selected Can someone help please
后退
顶部 底部