Kenshi
评价数不足
THE Animation Patch
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
191.735 KB
10 月 11 日 上午 11:59
10 月 22 日 下午 2:39
2 项改动说明 ( 查看 )

订阅以下载
THE Animation Patch

描述
🛠️ THE Animation Patch

A mod patch for Kenshi that assigns animation files to all races from all active mods — designed to work with KenshiPatcher v>=1.03 tailored to your load order!
This patch automatically applies animations to compatible race humanoid records while avoiding conflicts, making your mod setup cleaner and more consistent.

🌟 How to use
  • Requires KenshiPatcher to apply the patch.
  • Ensure this mod is active.
  • Run KenshiPatcher, select the target mod, and apply the patch.
  • No manual editing required — the patch handles animation records safely.

🌟Explanation for Modders
  • This patch can be used as a reference for creating your own patches.
  • The patch file contains definitions and procedures in the standard KenshiPatcher syntax:
    • Lines starting with ; are comments.
    • Lines with := define definitions:
      allraces:=(all)(A:RACE|FieldIsNotEmpty("attachment points")&&(GetField("_stringId_")!="5008213-Rideable Bull Race.mod"))
      I am defining all races (all humanoid races that is) as all races which have something in the field "attachment points" except the particular race with stringId 5008213-Rideable Bull Race.mod
      In my experience all humanoid races have something there while non humanoid races don't,
      If you have a better heuristic to figure out which races are humanoid, let me know!
      allanimations:=(all)(A:ANIMATION_FILE|isExtraDataOfAny(allraces,"animation files"))
    • I'm getting all definitions that are already added as animation file to any race which (in my opinion) is humanoid
    • Lines with -> define procedures:
      allraces->AddExtraData(allanimations,"animation files")
    • Adding all animation files to all selected races into the category "animation files"
  • If my patch is faulty, let me know, suggestions are always welcome!

⚙️ Requirements

🔗 Links



💬 Questions, bug reports, or suggestions? Comment below — issues will be addressed ASAP!

Note: This patch does not do anything unless patched — download KenshiPatcher and patch it in order to use it.[/i]