“Folder Structure”的版本间的差异

来自骑砍中文百科
跳转至: 导航搜索
第1行: 第1行:
[https://docs.bannerlordmodding.com/_intro/folder-structure <big>访问源文档</big>]
+
[https://docs.bannerlordmodding.com/_intro/folder-structure <big>访问源文档</big>]<br>
 +
[[骑马与砍杀2:霸主 MOD API|<big>返回目录</big>]]
 
== <big>目录结构</big> ==
 
== <big>目录结构</big> ==
 
 所有文件夹都可以自由进行配置,唯一要求的就是子模块目录本身和一个有效的 [[SubModule|SubModule.xml]]。<br>
 
 所有文件夹都可以自由进行配置,唯一要求的就是子模块目录本身和一个有效的 [[SubModule|SubModule.xml]]。<br>
 
 一个完整的目录结构示例请参考:<br>
 
 一个完整的目录结构示例请参考:<br>
 
'''<big>硬盘:\\游戏安装路径\Mount & Blade II Bannerlord\Modules\Native\</big>'''
 
'''<big>硬盘:\\游戏安装路径\Mount & Blade II Bannerlord\Modules\Native\</big>'''
 +
== <big>目录说明与文件示例</big> ==
 +
* '''AssetPackages''' - 目前尚不清楚,之后可能需要发布编辑器来编辑这里的文件。
 +
** '''someasset.tpac'''
 +
* '''Atmospheres''' - Refer to [Atmosphere](Work in Progress)
 +
** '''Interpolated'''
 +
*** '''interpolatedatmosphere.xml'''
 +
** '''atmosphere.xml'''
 +
* '''bin''' - 编译后的代码存放的位置 - Refer to [Basic C# Mod]
 +
** '''Win64_Shipping_Client'''
 +
*** '''MyModule.dll'''
 +
* '''GUI''' - 大部分跟界面有关
 +
** '''Brushes''' - 刷子
 +
** '''Prefabs''' - 影片
 +
* '''ModuleData''' - 存放任何跟你的模组相关的XML文件格式的常规数据(如物品/文化/游戏)
 +
* '''SceneObj''' - 场景
 +
<br>
 +
- MyModule
 +
    - AssetPackages
 +
        -- assetpackage.tpac
 +
    - Atmospheres
 +
        - Interpolated
 +
            -- interpolatedatmosphere.xml
 +
        -- atmosphere.xml
 +
    - bin
 +
        - Win64_Shipping_Client
 +
            -- MyModule.dll
 +
    - GUI
 +
        - Brushes
 +
        - Prefabs
 +
    - ModuleData
 +
    - SceneObj
 +
    - SubModule.xml

2020年4月16日 (四) 12:25的版本

访问源文档
返回目录

目录结构

所有文件夹都可以自由进行配置,唯一要求的就是子模块目录本身和一个有效的 SubModule.xml
一个完整的目录结构示例请参考:
硬盘:\\游戏安装路径\Mount & Blade II Bannerlord\Modules\Native\

目录说明与文件示例

  • AssetPackages - 目前尚不清楚,之后可能需要发布编辑器来编辑这里的文件。
    • someasset.tpac
  • Atmospheres - Refer to [Atmosphere](Work in Progress)
    • Interpolated
      • interpolatedatmosphere.xml
    • atmosphere.xml
  • bin - 编译后的代码存放的位置 - Refer to [Basic C# Mod]
    • Win64_Shipping_Client
      • MyModule.dll
  • GUI - 大部分跟界面有关
    • Brushes - 刷子
    • Prefabs - 影片
  • ModuleData - 存放任何跟你的模组相关的XML文件格式的常规数据(如物品/文化/游戏)
  • SceneObj - 场景


- MyModule

   - AssetPackages
       -- assetpackage.tpac
   - Atmospheres
       - Interpolated
           -- interpolatedatmosphere.xml
       -- atmosphere.xml
   - bin
       - Win64_Shipping_Client
           -- MyModule.dll
   - GUI
       - Brushes
       - Prefabs
   - ModuleData
   - SceneObj
   - SubModule.xml