Scene Level System
New level system replaces the old, hardcoded system with a much more extandable and unified system.
Adding a new level (or deleting an existing one) to a scene can be done in Levels panel under SceneOptions inspector.
Levels in Game
- Bannerlord -
Currently, Bannerlord recognizes a few levels that has a meaning in-game.
Setting Entity visibilities
Making an entity only visible in a certain level combinations can be done with selecting an entity then going in Scene Level Visibilities panel under Entity Inspector.
Select the levels you want this entity to be visible. Entity levels in missions are checked as a whole.
If you select both level_1 and siege, and if you open a mission that has level_2 and siege, this entity will NOT be visible since it does not has “level_2”.
If you select both level_1 and siege, and if you open a mission that has level_1 and civilian, this entity will NOT be visible since it does not has “siege”.
It will only and only be visible if you open a mission that has level_1 and siege.
So if you want an entity to be visible in both level_1 and level_2 and only in civilian mission, select level_1, level_2, and civilian;
so this entity will not be visible in ANY siege missions, and will not be visible in ANY mission as level_3.
Testing visibility in editor
There are two options to see entities with different level visibilities.
1) Require all levels (Same as missions)
2) Require at least one level (Editor only, to see all entities at once)
Require all levels
In this mode, visibility system will work as same as the missions, you can use this mode to test what entities will be visible in what combinations.
If you select level_1 and siege, you will only see entities that has both level_1 and siege, not the others.
Require at least one level
This is an editor only mode, if you select a level, it will be visible, no matter what combinations that entity has; if entity has that level, it will be visible.
Can be useful if you want to see all civilian entities no matter what level they are, or you can see level_1 entites no matter if they are siege or civilian.
Testing a scene
For this purpose, Start mission as window modified in a way that allows you to select level combinations. If you want to test a castle scene with level_1 and siege mode, Select these leves and press OK. The mission will start in Level 1 Siege mode.