0 of 0

File information

Last updated

Original upload

Created by

Lucius

Uploaded by

Lucius128

Virus scan

Safe to use

Tags for this mod

About this mod

Bug fixes and feature additions.

バグ修正と機能追加を行います。

Permissions and credits
Changelogs
Requirements
  • Kenshi 1.0.68 (Steam) GOG version is not supported.
  • Microsoft Visual C++ 2015-2022 Redistributable (x64)

Possible to use with RE_Kenshi and Kenshi CTD fix patch.

Install instructions
Unzip the downloaded zip file
Verify that the following files exist in the Plugin_KenshiExtension folder:
  • AutoGeneratedPatch.toml
  • KenshiExtension.toml
  • Plugin_KenshiExtension.dll
Place the Plugin_KenshiExtension folder in the Kenshi folder
Add the following to Plugins_x64.cfg
Plugin=Plugin_KenshiExtension/Plugin_KenshiExtension


Features
The following features can be enabled or disabled in "KenshiExtension.toml".

Saving REPUTATION
Setting name  "save_reputation"
You can save the increased or decreased reputation value in DA_AFFECT_REPUTATION. The reputation value is saved in "reputation" of GAMESTATE_FACTION in quick.save. It can also be carried over by importing relation.

Change the faction of the dismissed character
Setting name  "dismiss_character_faction_override"
You can change the faction of a dismissed character to any faction other than Tech Hunters. The faction is set in CONSTANTS under “ex player faction”. Only the end of the list is referenced, if it is undefined, the player is a Tech Hunters. If the faction does not exist, it will be No Faction.
To edit “ex player faction” in FCS, the following definition must be added to fcs.def.
[CONSTANTS]
ex player faction: FACTION "Faction of characters dismissed from player faction"

You can try this feature with the mod (EX-PlayerFaction) in the Optional files.

A slightly useful compatibility patch
Setting name  "auto_generated_patch"
You can apply a patch to game data with the configuration file "AutoGeneratedPatch.toml".
This patch has the following features:
  • Applied last
  • Only existing game data can be modified
  • Reference type settings can only be modified if the reference exists
  • File type settings can only be modified if they exist in the resource group or data folder

For configuration examples, see the comments in "AutoGeneratedPatch.toml".


Bug fixes
It can be enabled or disabled in "KenshiExtension.toml".

WORLD_EVENT_STATE player involvement
Setting name  "fix_world_state_player_involvement"
Fixed issue where "player involvement" was not working.
If "player involvement" is True, the imprisonment or death condition will only occur if the player is involved in the world state conditions.

Shape keys for NPCs with fixed appearances
Setting name  "fix_npc_shapekey"
Fixed issue where NPC with different facial features were drawn with the same facial features due to a hash value calculation error.

Shape keys for NPCs with random appearance
Setting name  "fix_npc_shapekey"
Fixed issue where num morph did not work as an appearance pattern, causing shape keys to not be applied to most NPCs.
The Shek's shaved will also work properly, so no Band of Bones will spawn with unbroken horns.

Walking animation with a single prosthetic leg
Setting name  "fix_legdamage_animation"
Fixed an issue that caused unexpected animations to play when the maximum HP of the left and right legs differed greatly.
Characters' left leg will no longer drag in the Masterpiece KLR.

Town Override
Setting name  "fix_town_override"
Fixed issue where the following data would revert to the state before it was overridden when reloading the city:
  •  is public
  •  no-foliage range
  •  type

Also, since type affects the town range, we've added "town radius mult" as an override.

Lockpicking Experience
Setting name  "fix_lockpick_exp"
Fixed issue where the "exp gain multiplier" was not being applied to experience gained from lockpicking.

Global Damage Multiplier
Setting name  "fix_global_damage_multiplier"
Fixed issue with Crossbows where the global damage multiplier affected crossbow specs, resulting in abnormally high damage.

Saving the NavMesh
Setting name  "fix_save_navmesh"
Fixed the following issues that occurred when hkt files were not saved.
  • Falling off protective walls when loading
  • Frequent waiting for zones to load & long loading times

Please disable this feature while installing the Kenshi CTD fix patch.
KenshiExtension.toml
fix_save_navmesh = false

Changed the calculation order of armor damage reduction
Setting name  "fix_cut_efficiency_order"
In order to suppress the increase in slash damage in a very small number of combinations due to Cut resistance efficiency, the calculation order of armor has been changed to ascending order of "cut into stun" (descending order of Cut resistance efficiency). (Originally, it was ascending order of slot enum value)

Stolen tags for backpack items
Setting name  "fix_backpack_contents_tag"
Fixed issue where if you placed your backpack on the ground and then removed an item using certain controls, the item would be sold for stolen value.

-------------------------------------------------------------------

要件
  • Kenshi 1.0.68 (Steam) GOG版はサポートしていません。
  • Microsoft Visual C++ 2015-2022 Redistributable (x64)

RE_KenshiやKenshi CTD fix patchと併用可能です。


インストール手順
ダウンロードしたzipを解凍
Plugin_KenshiExtensionフォルダに以下のファイルが存在することを確認
  • AutoGeneratedPatch.toml
  • KenshiExtension.toml
  • Plugin_KenshiExtension.dll
KenshiフォルダにPlugin_KenshiExtensionフォルダを格納
Plugins_x64.cfgに以下を追記する
Plugin=Plugin_KenshiExtension/Plugin_KenshiExtension


機能
以下の機能は「KenshiExtension.toml」で有効または無効にできます。

名声値の保存
設定名  "save_reputation"
DA_AFFECT_REPUTATIONで増減した名声値を保存できます。名声値はquick.saveのGAMESTATE_FACTIONのreputationに保存されます。また、友好度のインポートで引き継ぎ可能です。

解雇したキャラクターの所属勢力を変更
設定名  "dismiss_character_faction_override"
解雇直後の所属先をテックハンター以外に変更できます。所属先はCONSTANTSの"ex player faction"で設定します。リストの末尾のみ参照し、未定義の場合は、テックハンターです。また、存在しない勢力を設定した場合は無所属になります。
"ex player faction"をFCSで編集するには、fcs.defに以下の定義追加が必要です。
[CONSTANTS]
ex player faction: FACTION "Faction of characters dismissed from player faction"

Optional filesのMOD(EX-PlayerFaction)でこの機能を試用できます。

ちょっぴり便利な互換性パッチ
設定名  "auto_generated_patch"
専用の設定ファイル「AutoGeneratedPatch.toml」でゲームデータにパッチを適用できます。
このパッチは以下の特徴があります。
  • 最後に適用
  • 存在するゲームデータのみ変更可能
  • 参照タイプの設定項目は参照先が存在する場合のみ変更可能
  • ファイルタイプの設定項目はリソースグループまたはdataファルダに存在する場合のみ変更可能

設定例はAutoGeneratedPatch.tomlのコメントを参照してください。


バグ修正
「KenshiExtension.toml」で有効または無効にできます。

WORLD_EVENT_STATE player involvement
設定名  "fix_world_state_player_involvement"
player involvementが機能しない不具合を修正しました。
player involvementをTrueにすると、生存以外の条件(NPC isが1以外またはNPC is NOTが1)はプレイヤーが関与した場合のみ、world stateの条件が成立します。

容姿が固定のNPCのシェイプキー
設定名  "fix_npc_shapekey"
ハッシュ値の計算ミスが原因で顔立ちの異なるNPCが同じ顔立ちで描画される不具合を修正しました。

容姿がランダムなNPCのシェイプキー
設定名  "fix_npc_shapekey"
num morphが容姿のパターンとして機能せず、ほとんどのNPCにシェイプキーが適用されない不具合を修正しました。
シェクのshavedも正常に動作するため、角が折れていないバンドオブボーンズは出現しません。

片足のみ義足の時の歩行アニメーション
設定名  "fix_legdamage_animation"
最大HPが左右の脚で大きく異なる場合に想定外のアニメーションが再生される不具合を修正しました。
キャラクターの左脚が傑作KLRでも脚を引きずらなくなります。

街のオーバーライド
設定名  "fix_town_override"
街を再読み込みすると以下のデータがオーバーライド前の状態に戻ってしまう不具合を修正しました。
  •  is public
  •  no-foliage range
  •  type

また、typeが街の範囲に影響するため、town radius multをオーバーライドの対象に追加しました。

ピッキングの経験値
設定名  "fix_lockpick_exp"
ピッキングで獲得する経験値のみexp gain multiplierが適用されない不具合を修正しました。

全体ダメージ乗数
設定名  "fix_global_damage_multiplier"
クロスボウのみ全体ダメージ乗数が武器性能に影響するため、異常に高いダメージになる不具合を修正しました。

NavMeshの保存
設定名  "fix_save_navmesh"
hktファイルが保存されないことで発生する以下の不具合を修正しました。
  • ロード時に防護壁から落下する
  • ゾーンの読み込み待ちが頻発する&読み込み時間が長くなる

Kenshi CTD fix patch導入中はこの機能を無効にしてください。
KenshiExtension.toml
fix_save_navmesh = false

防具のダメージ軽減の計算順序を変更
設定名  "fix_cut_efficiency_order"
斬耐性効率の関係でごく一部の組み合わせで斬撃の被ダメージが増加するのを抑制するため、防具の計算順序をcuto into stunの昇順(斬耐性効率の降順)に変更しました。(元はslotのenum値の昇順)

バックパック内アイテムの盗品タグ
設定名  "fix_backpack_contents_tag"
バックパックを地面に置いた状態で特定の操作でアイテムを取り出してから売却すると盗品の価格になる不具合を修正しました。