自用二次螈种族补丁-MeleeAnimationPatch
The following content is translated by AI.
JJust did some minor work.
Added MeleeAnimation patches for certain weapons of the Milira, MoeLetI, and Wolfein races that were previously unsupported. The adapted weapons are shown in the image.
How to use:
1. Apply other MeleeAnimation patches first, and place this mod as low as possible.
Or 2. Open steamapps\workshop\content\294100\3668088431\WeaponTweakData, and copy and paste the files inside into steamapps\workshop\content\294100\2944488802\WeaponTweakData.
Simple method to configure MeleeAnimation yourself: [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Ftieba.baidu.com%2Fp%2F9693423894%3Fsee_lz%3D0]https://tieba.baidu.com/p/9693423894?see_lz=0[/url]
Note: The Wolfein Prototype Heavy Sabre causes red errors when using the default MeleeAnimation configuration, and the animation fails after restarting the game.
(When MeleeAnimation registers weapon animations, it looks up the corresponding item definition based on the ItemType and ItemTypeNamespace specified in the JSON. The original JSON specified AncotLibrary.ThingDef_Custom. Even though AncotLibrary is installed, issues such as delayed type resolution or version incompatibility may prevent MeleeAnimation from finding the definition for W_Weapon_Melee_Sheathe.) — Explained by Deepseek (AI)
The fix applied in this mod: In the configuration file W_Weapon_Melee_Sheathe_melondove.wolfeinrace, change the ItemType to ThingDef and the ItemTypeNamespace to Verse. This may cause other issues later due to type mismatch, but as long as the weapon functions normally, this modification is acceptable for now.