「Getting Started」修訂間的差異
(→创建一个模组) |
(→下一步) |
||
行 23: | 行 23: | ||
=== <big>下一步</big> === | === <big>下一步</big> === | ||
− | * | + | * 参考[[Folder Structure|目录结构]]页面获得更多关于子模块目录的信息,即根据你的预期内容该添加哪些目录。 |
* Refer to the Basic C# Mod page for an example of how to set up, build and run code in Bannerlord. | * Refer to the Basic C# Mod page for an example of how to set up, build and run code in Bannerlord. | ||
* Refer to the Modding Gauntlet UIs Without C# page for information on how to mod Gauntlet UIs without using any C#. | * Refer to the Modding Gauntlet UIs Without C# page for information on how to mod Gauntlet UIs without using any C#. |
於 2020年4月16日 (四) 11:57 的修訂
準備開始
重要
在開始之前,了解 SubModule.xml 文件能夠幫助你理解當你的模組被選中後遊戲啟動的加載機制。
工具
C# IDE
- Microsoft Visual Studio (對於基礎模組而言並不是必備的)
文本編輯器
基本任何文本編輯器都可以,在這裏我們推薦幾種……
不使用C#的模組
有這樣幾種方面你可以不使用C#,包括場景、物品、文化、角色,UI等等。
使用C#的模組
這個模塊化系統讓社區為霸主編寫模組更加簡單,並且允許社區編寫更加複雜多樣化的模組。
創建一個模組
在霸主中,一個單獨的模組被看作一個模塊,它需要一個自己的子模塊目錄和供啟動器讀取的 SubModule.xml 文件。
下一步
- 參考目錄結構頁面獲得更多關於子模塊目錄的信息,即根據你的預期內容該添加哪些目錄。
- Refer to the Basic C# Mod page for an example of how to set up, build and run code in Bannerlord.
- Refer to the Modding Gauntlet UIs Without C# page for information on how to mod Gauntlet UIs without using any C#.