📂
Bannerlord Modding CN
  • 骑马与砍杀2 领主 Mod 制作文档
  • C# API Documentation
    • Core
      • MBObjectManager
      • GameModel
      • InformationManager
      • BasicCharacterObject
      • Game
      • ItemObject
    • Campaign System
      • GameMenu
      • Settlement
      • CampaignGameStarter
      • actions
        • ChangeOwnerOfSettlementAction
      • TournamentGame
      • Hero : MBObjectBase, ITrackableCampaignObject, ITrackableBase
      • CampaignBehaviorBase
    • Mount And Blade
      • MissionBehaviour
        • MissionView
        • MissionLogic
      • MBInitialScreenBase
      • Mission
      • MBSubModuleBase
      • agent
      • Team
    • Input System
      • Input
    • Engine
      • GlobalLayer
      • ScriptComponentBehaviour
      • Scene
      • GameEntity
    • Library
      • ModuleInfo
    • Platform Service
    • Save System
    • Localization
      • MBTextManager
      • TextObject
    • Network
    • Two Dimension
  • XML Documentation
    • NPCCharacters
      • NPCCharacter(NPC角色)
        • upgrade_targets
          • upgrade_target
        • equipmentSet
          • equipment
        • Face
          • BodyProperties
          • hair_tags
            • hair_tag
          • BodyPropertiesMax
          • beard_tags
            • beard_tag
          • face_key_template
        • equipment
        • skills
          • skill
        • Traits
          • Trait
    • 物品(大类) Items
      • 物品 Item
        • 物品组件 ItemComponent
          • 马匹 Horse
            • Materials
              • Material
                • MeshMultipliers
                  • MeshMultiplier
          • 防具 Armor
          • Weapon
            • WeaponFlags
          • 食物 Food
        • 旗帜 Flags
      • CraftedItem
        • Pieces
          • Piece
    • Items (XML)
    • Scenes
      • Scene
        • GameType
        • TerrainType
          • TerrainType
    • SPCultures (XML)
    • SPCultures
      • Culture
        • female_names
          • name
        • male_names
          • name
        • clan_names
          • name
    • Atmosphere (XML)
    • SubModule (XML)
    • Scenes (XML)
    • NPCCharacters (XML)
  • Gauntlet
    • Brush
    • GauntletLayer
    • GauntletMovie
    • SceneLayer
    • Movie (XML)
    • Widget
    • GauntletView
    • ScreenBase
    • ViewModel
    • ScreenManager
  • Introduction
    • 高级用法
    • 开始第一步
    • 文件夹结构
    • Defining custom data
  • Tutorials
    • 将你的mod打包上传至Vortex
    • Making Banners
    • 不需要C#的UI系统Mod入门 #
    • 基本 C# Mod
    • new_settlements
  • ru
    • _intro
      • Начало
      • Структура папок
Powered by GitBook
On this page

Was this helpful?

  1. Introduction

文件夹结构

Previous开始第一步NextDefining custom data

Last updated 4 years ago

Was this helpful?

所有文件夹都不是必须的,对于SubModule来说,唯一的要求就是启动器必须能够监测到SubModule文件夹自身,以及有效的 文件。

完整的Mod文件结构与内容可以参考 盘符:\\安装目录\Mount & Blade II Bannerlord\Modules\Native\

  • AssetPackages - Contains TPAC files (may be Taleworlds Package). The TPAC format was introduced at some time during the multiplayer beta, replacing the outdated BRF format of Warband and CRF format of early beta, and is still used today. Can be explored via an unofficial tool

    • someasset.tpac

  • Atmospheres -

    • Interpolated

      • interpolatedatmosphere.xml

    • atmosphere.xml

  • bin - 编译好的二进制文件放在这里 -

    • Win64_Shipping_Client

      • MyModule.dll

  • GUI - 大多数与Gauntlet有关的内容放在这里。

    • Brushes - 存放Gauntlet Brushes。

    • Prefabs - 存放Gauntlet Movies。

  • ModuleData - 任何与你的Mod有关的XML格式数据存放在这里。 (例如:items/cultures/gametexts)

  • SceneObj - 存放场景。

- MyModule
    - AssetPackages
        -- assetpackage.tpac
    - Atmospheres
        - Interpolated
            -- interpolatedatmosphere.xml
        -- atmosphere.xml
    - bin
        - Win64_Shipping_Client
            -- MyModule.dll
    - GUI
        - Brushes
        - Prefabs
    - ModuleData
    - SceneObj
    - SubModule.xml
SubModule.xml
TpacTool
Refer to [Atmosphere]
参见 [基础的 C# Mod制作]