最佳实践范例
Getting Started with XML Editor
Module Bannerlord consists of different modules, which give it different functionality. You can think of them as game mods. This approach allows players to easily mod the game. The modules are inside the Mount & Blade II Bannerlord installation folder, called Modules. XML XML stands for Extensible Markup Language, which allows the storage of data related to the game. If we want to add some data to a Module, we would create an XML document within it, or add it to an existing XML document.
Scene Performance Guide
Performance Requirements of Mount & Blade II: Bannerlord Singleplayer Scenes: Very High Config / 60 FPS / Gtx 1060. Multiplayer Scenes: Very High Config / 60 FPS / Gtx 970. Do not test the final performance of your scene in the Scene Editor. Editor has low performance due to being editable at runtime. Also, you should check the final performance with the agents in the mission. Possible Performance Bottlenecks Missing occluders Occluders are physical objects that define occlusion boundaries for meshes.
Sealed Class Extension
It has been brought to our attention that a workaround to extend sealed classes is requested by some of our modders. In this article we will be exploring why there are sealed classes in the game codes and how to achieve extended behavior for them. One of the main reasons we have made fundamental classes sealed is to allow the codebase to support a broad range of mods that can operate simultaneously as best as possible.
XSLT使用指南
我们使用XSLT文件删除或修改从其他模组加载的XML文件中的元素。您不必使用 XSLT 系统添加新元素到 XML 文件。 您只需创建一个与 XML 文件同名的 XSLT 文件,并