Mount & Blade II: Bannerlord

Mount & Blade II: Bannerlord

362 个评价
Troop Sorting 1.2.10
   
奖励
收藏
已收藏
取消收藏
Type: UI
Setting: Medieval
Game Mode: Singleplayer
Compatible Version: v1.2.10
文件大小
发表于
更新日期
949.112 KB
2022 年 10 月 14 日 上午 9:30
2024 年 6 月 27 日 下午 9:47
18 项改动说明 ( 查看 )

订阅以下载
Troop Sorting 1.2.10

描述
This mod vill be always compatible with latest taleworlds version. There is another mod Troop Sorting (Beta) which will be compatible with latest beta version.

If you think my mod cause any crash, please change ShowExceptionInfo to true in config file. In case my mod throws exception it will be prompted in windows message box. Put focus into that box and press ctrl + c. This will copy whole text from messagebox into clip. Past it later in bug description or in post. Thank you for your help!

Mod supports configuration merge between mod versions support. One config for each used version. If no previous configs are availed the mod will create default one. Support for one previous version only.

This mode auto sorts troops and prisoners in "PartyView" which includes:
Party view
Give tropps view
Garnison view
Clan view
Character
Crafting (Smelting, Craftring, Refinement)
Selecting Governor (new sort order works only for selecting governor from clan view => fief tab, shortcuts 1-8, uses sort description from config file)
Change party leader
Change caravan leader
Change workshop type
Creating parties
Choose party roles

In party overview there is now total count of different troops added:
Hero count "Hrs"
Mounted count "Mnd"
Ranged mounted count "Rng Mnd"
Infantry count "Inf"
Ranged count "Rng"

For Party view sort is done on loading view. After that resort can be done by holding "ctrl" and "s" buttons (ctrl + s).
To change to predefined sort orders (1-9) press "ctrl" + "1-9" (ex ctrl + 1).
Chosen sort order must be defined in config and enabled.
Chosen sort order will be saved as default and can be reused by pressing "ctrl" and "s"

For Selecting Governor last sort order is saved in default. Use 1-8 buttons to choose different predefined sorts.

While choosing governor from clan view, you can uses buttons 1-4 to choose different predefined sort orders.

Sorting can be configured in configuration.xml in mod folder. Supported order terms are:
"MainHero" (1, 0)
"Hero" (1, 0)
"LevelDesc " (6-1)
"LevelAsc" (1-6)
"Mounted" (1, 0)
"MountedArchers" (1,0)
"Ranged" (1, 0)
"Infantry" (1, 0)
"OwnCulture" (1, 0)
"CultureNameDesc" (Z-a)
"CultureNameAsc" (a-Z)
"NameDesc" (Z-a)
"NameAsc" (a-Z)
"Spouse" (1, 0)
"Children" (1, 0)
"Siblings" (1, 0)
"CloseFamily" (1, 0) (slibings, children, spouse)
"Family" (1, 0)
"Grandchildren" (1, 0)
"Male" (1, 0)
"Female" (1, 0)
"AgeAsc" (a-Z)
"AgeDesc" (Z-a)
"CaravanLeader" (1, 0)
"PartyLeader" (1, 0)
"Companion" (1, 0)
TroopCountAsc (1-xxxx)
TroopCountDesc (xxxx-1)
SortByUnspentDeveloperPointsAsc (1-xxxx)
SortByUnspentDeveloperPointsDesc (xxxx-1)
SortByUnasignedPerks (1, 0)
SortBySelectedCityCulture (Change cities governor)
SortBySelectedCityProduction (Change workshop type)
OneHandedAsc
OneHandedDesc
TwoHandedAsc
TwoHandedDesc
PolearmAsc
PolearmDesc
BowAsc, BowDesc
CrossbowAsc, CrossbowDesc
ThrowingAsc, ThrowingDesc
RidingAsc, RidingDesc
AthleticsAsc, AthleticsDesc
SmithingAsc, SmithingDesc
ScoutingAsc, ScoutingDesc
TacticsAsc, TacticsDesc
RogueryAsc, RogueryDesc
CharmAsc, CharmDesc
LeadershipAsc, LeadershipDesc
TradeAsc, TradeDesc
StewardAsc, StewardDesc
MedicineAsc, MedicineDesc
EngineeringAsc, EngineeringDesc
NotFamily
"SkillLevel"
Skill level types Asc and Desc
SortByPerkCountAsc (ex: "SortByPerkCountAsc(ValidPerkName, ValidPerkName)")
SortByPerkCountDesc (ex: "SortByPerkCountAsc(ValidPerkName, ValidPerkName)")
Perks

For companion view mod render beside hero name:
L: Hero level
"-Ca-" if hero leads caravan
"-P-" if hero leads party
"-MP-" if hero is in main party

For family view mod renders beside hero name:
A: Hero age
L: Hero level
"-C-" for child
"-Gc-" for grandchild
"-S-" for spouse

You can combine any sort order you wish, separating supported terms with ";".

To get default sortorders please save your current config copy file in other location then mods. Then remove current and previous versions config files (if you remove just current versions config file, the merge of previous and defaults will be made).

For example if you want to just change the order of tier troops , making less experiance be placed higher and keeping all other things as default, then you can change "TroopTierDesc" to "TroopTierAsc"

Or if you don't want to have your own culture troops at top you can just remove "OwnCulture;" from the string (Dont forget to remove ";" so you dont end up with multiple ";" next to each other): "MainHero;Hero;TroopTierDesc;Mounted;Ranged;Infantry;CultureNameAsc;TroopNameAsc"

To not sort heros in party view set TroopSortSkipHeros to "true".

To disable any sorting type changed "enabled" attribute to "false".

To hide hero extra information change "true" to "false" for "ShowDetailInformation".

Any changes to config file will result in reload of game configuration.
37 条留言
Blenkor 9 月 23 日 下午 2:14 
will there be in-game UI like in Party Screen Enhancements for more user-friendly?
Snah79  [作者] 8 月 25 日 下午 9:48 
There are defaults for all options.
печенька 8 月 25 日 下午 7:32 
why are there no preset options? It would be more interesting to download a ready-made version than to do it yourself.
Snah79  [作者] 2024 年 2 月 14 日 下午 10:15 
Describe the desired features on nexus site. Right now Im developing mp mod so all new features for my sp mods are on ice...
AlcoholV 2024 年 2 月 13 日 上午 11:11 
Idea; How about using Town.TradeBoundVillages together to sort the workshop's production? It would be nice if the number of products was also sorted and printed.
Snah79  [作者] 2023 年 12 月 23 日 上午 5:47 
On nexus site there are older versions. This one is compatible with 1.2.8
YoungCrew 2023 年 12 月 23 日 上午 5:04 
is it working for 1.2.0 or 1.2.7?
Snah79  [作者] 2023 年 12 月 14 日 下午 10:36 
Leave your wishes on nexus site of this mod. Right now Im helping on MP mod (PER) so I dont have time to implement new features here.
Gunter McGunt 2023 年 5 月 6 日 下午 6:01 
Looking forward to the update. Wondering if there's a mod whre we can assign specific troops to a troop "type" or something, like was possible before. IE put x and y troops in troop type 1, z and a troops in troop type 2, etc
Thecrazyguy 2023 年 4 月 15 日 上午 12:59 
not working with new version of mount blade i get a crash with it