About this mod
Updated Distinguished Service for v1.2.12 with minor changes - MCM, localizable, and so on/日本語の説明あり
- Requirements
- Permissions and credits
-
Translations
- Turkish
- Mirrors
- Changelogs
But the source is based on papoursssss's version: https://www.nexusmods.com/mountandblade2bannerlord/mods/5322
I updated the Distinguished Service with some minor tweaks. Currently, this mod supports Bannerlord v1.2.12.
## Differences from the original (or other versions)
- Using MCM: You can change the options by the MCM screen instead of editing settings.xml
- Full Localizability: You can translate almost all of the text. The only exceptions are internal error messages.
- Name Pool Extensionability: You can add name suffixes (or, generally, also prefixes). See the following section
- Extra minor tweaks: some options are changed for more convenience, and the other less important options are abolished due to compatibility. E. g.:
- You can't change the location of external_namelist.txt. This mod reads and edits only DistinguishedServiceRedux/external_namelist.txt
- Rework or remove options that actually don't work while they are shown in the previous Settings.xml
### How to add NPC name formats
You can add extra name formats like "blah blah <of the foo bar>".
create DistinguishedServiceRedux/ModuleData/module_strings/namelist-suctomized.xml and add entries as in namelist.xml.
If you want to add a troop-type-specific suffix, you should write it ID like this:
ServDist_nameformat_<TROOPTYPE>.<NAME>
<TROOPTYPE> must be one of infantry, cavalry, or ranged. <NAME> is up to you, if only the ID is distinct from any other one.
If you want to add a culture-specific suffix, you should write it ID like this:
ServDist_nameformat_regional_<CULTURETYPE>.<NAME>
<CUTLURETYPE> must be any culture ID. You can see the IDS from the other XML file. <NAME> is up to you, if only the ID is distinct from any other one.
### How to add extra random NPC names
Open DistinguishedServiceUpdated/external_namelist.txt, add any name per a line, and save it in UTF-8 encoding.
Then, the picked soldier's name is chosen randomly from this file, and the name will be **deleted** from the file once picked.
HINT: You can add general random NPC names with some mods like my Historical Name Expansion..
## How to Install
You need Harmony, ButterLib, UIExtenderEx, and Mod Configuration Menu (MCM). These are not essential but strongly recommended.
## To Translators
You can translate all the text except for some internal error messages. Copy the English language folder and edit the files as usual.
even in the external_namelist.txt, you can assign the localization IDs.
To English users: My English writing is not so sophisticated. To refine the English text, you can edit XML files in DistinguishedServiceRedux/ModuleData/module_strings folder. However, the text in the MCM is not included in this folder.
## Compatibility
I tested this mod only with the latest (v1.2.12) Bannerlord, and it does not ensure compatibility with the previous versions.
This mod is potentially incompatible with some mods. But I can't test it with all of the mods. At least, incompatible with the other variants of Distinguished Service.
## When Encountering Bugs
Submit the Butterlib bug report if you have. Tell me the details if Butterlib doesn't run. I can't solve your problem with only posts like "crashed when I'm playing." Remember that I always played earlier than you.
----------------------------------
## このModについて
v1.2.12向けに作り直した Distinguished Service です. JacobsThierry のフォークを元に作成しました. https://github.com/JacobsThierry/Bannerlord-DistinguishedService
Distinguished Service は, 戦闘で目覚ましい活躍を果たした一般兵を, 仲間に昇格できるModです. 昇格の条件は調整可能です.
## オリジナルあるいは他の作者のバージョンとの違い
- MCMの使用, オプションはsettings.xmlの編集ではなくMCMから変更します
- 完全に翻訳可能, オリジナルや他のフォークバージョンはローカライゼーションを考慮していませんが, このバージョンは内部エラー以外の全てのテキストを翻訳可能です
- ランダム名前リストの拡張性: 抜擢されるNPC名の接頭語の種類も変更できます. 方法は後述します.
- その他細かな変更, 利便性のためModの細かい挙動が変更されたり, 互換性のため重要度の低い一部のオプションが廃止されたりしています.
- NameListファイルの場所が変更不能になりました. 常に DistinguishedServiceRedux/external_namelist.txt のみ読み取り対象となります.
- Settings.xmlに項目が存在したものの, 実際には効果のないオプションの削除または実装
### NPCのフルネームの追加・編集方法
NPC名ではなく,「XXのYY」のような, 二つ名や通り名的な表示名の種類を増やす方法です.
ファイル DistinguishedServiceUpdated/ModuleData/module_strings/namelist-customized.xml を作成し, 同じフォルダのnamelist.xml に既に書かれているものを参考に `<string>` タグを追加してください. 兵種固有の名称を追加したい場合は, IDは以下の形式で書いてください.
ServDist_nameformat_<TROOPTYPE>.<NAME>
<TROOPTYPE> は infantry, cavalry, ranged のいずれかにしてください (ranged は弓兵やクロスボウ兵や投擲兵全てを含みます). <NAME> は, IDが他のものと重複しない限り, 自由に決められます.
文化固有の名称を追加したい場合は, IDは以下の形式で書いてください.
ServDist_nameformat_regional_<CULTURETYPE>.<NAME>
<CUTLURETYPE> はいずれかの文化IDにしてください. 文化IDはどこかのXMLファイルで, <Culture id="<ID>" ...> のように書かれています. <NAME> は, IDが他のものと重複しない限り, 自由にできます.
### ランダムNPC名の追加
Distinguished Service で生成されるヒーローは, 他のランダム生成NPCと同様に名前がランダムで決まります. ユーザーが設定した名前の中からランダムで選ぶことも可能です.
DistinguishedServiceUpdated/external_namelist.txt を開いて, 1行ごとに設定したい名前を書き込んでください. ファイルはUTF-8エンコードを想定しています. この名前からランダムに選ばれるたびに, **選ばれた名前がファイルから削除される**ため, ここで設定した名前が重複することはありません. このファイルに何も記載がない場合は, 通常通りあらかじめ設定されたNPC名の一覧からランダムに選ばれます.
ヒント: ランダム生成NPC全般の名称は, Historical Name Expansion などで種類を増やせます. こちらはDSだけでなく全てのランダム生成NPCの適用対象で, なおかつ一度選ばれても削除されることがありません. よって, 重複することもありえます.
## インストール方法
Mod本体以外にもHarmony, ButterLib, UIExtenderEx, Mod Cofiguration Menu のインストールをおすすめします. なくても動作しますが, オプション変更にはMCMが必要です. Mod管理ツールを使用している場合は, mod本体も依存modも通常の方法でインストールできます. 加えて, 文字化け防止の為に私の作った Correct Localization JP を使用することをお薦めします.
以降は手動でインストールする際の手順です.
- 最新の Harmony, ButterLib, UIExtenderEx, Mod Cofiguration Menu をインストールしていることを確認してください. インストール方法は通常のmodと同じです
- このmodをダウンロードし, 展開し, 中にある DistinguishedServiceRedux というフォルダを, M&B2 インストールフォルダの Modules フォルダにコピーしてください
## 互換性
たぶん併用するとバグるModがいくつかありそうな気がしますが, 網羅的に確認していないのでどれが問題になるかは分かりません. 少なくとも, Distinguished Service の他のバージョンと併用することは想定していません.
セーブデータの途中からインストール・アンインストールしてもセーブデータを破損させることはないと思いますが, NPC名に使用する訳文データがなくなるため, 抜擢したNPCの名前の一部が英語になる可能性があります.
バグ報告
ButterLibのレポートがあれば提出してください. バグが発生する際には, ButterLib以外にもなんらかのエラーや警告メッセージがゲーム中に表示されることがあるため, 教えて下さい. 単に「クラッシュした」「何もしてないのに壊れた」といった報告では何もできない可能性が高いです.