Resolved General Creating a Custom Game Mode Makes Native Class Divisions/Perks Unusable and Even Crashes the Client

Users who are viewing this thread

Version number
v1.1.1
Branch
Main
Modded/unmodded
Modded

Sart

Recruit
Summary: The lack of always having a default perk defined on some native class divisions makes using native cultures with custom game modes impossible. To fix this issue I suggest adding a perk "game_mode" attribute as "default" instead of writing all of other game modes excluding custom game modes made by the modders.

How to Reproduce:
- Create a custom game mode like explained here: https://moddocs.bannerlord.com/multiplayer/custom_game_mode/
- Open a server with your new game mode and one of the teams being Empire.
- Join Empire.
- The client throws a System.ArgumentOutOfRangeException at HeroClassVM.InitPerksList because of Empire's bad perk configuration.
 
Back
Top Bottom