SmoothPlayerAnimations · Blender

SPA 动画制作指南SPA Animation Guide

在 Blender 里重做或新做弯曲模型的动画,导出到资源包,游戏里就会替换掉同名的动画。

Remake or create the jointed model's animations in Blender, export them to a resource pack, and the game plays them in place of the ones with the same name.

准备Setup

需要 Blender 5.0 以上。偏好设置 → 插件 → 从磁盘安装,选 spa_animation_authoring-4.4.0.zip 并启用。插件跟随 Blender 的界面语言显示中文或英文。

Blender 5.0 or later. Preferences → Add-ons → Install from Disk, pick spa_animation_authoring-4.4.0.zip and enable it. The add-on follows Blender's interface language (English or Chinese).

在 3D 视图按 N,切到 SPA 动画 标签页。

In the 3D View press N and open the SPA Animation tab.

01

导入标准骨骼Import the standard rig

新建一个空文件,点 导入标准骨骼,骨骼、模型和皮肤会一起放进来。

In a new, empty file click Import standard rig: the rig comes in with its model and skin.

导入标准骨骼后的 Blender 界面,右侧是 SPA 动画面板 Blender after importing the standard rig, the SPA Animation panels on the right
02

新建动画New animation

在 动画 下拉框里选要做游戏里的哪个动画,帧数、循环、K 帧部位和导出名都会自动设好,然后点 新建动画。

Pick the game animation to make in the Animation list; its frames, looping, keyed parts and export name are set for you. Then click New animation.

说明里写着“槽位”的,是模组没有自带的动画(比如拉弓),做了就会生效。

Animations whose note starts with “Slot” (drawing a bow, for one) don't come with the mod; make one and the game plays it.

新建动画面板,选中了拉弓 The New animation panel with Draw bow chosen
选中“拉弓”“Draw bow” chosen
新建好的拉弓动作,30 帧,停在最后一帧 The new Draw bow action: 30 frames, hold last frame
新建后:30 帧,停在最后一帧,导出为 use_bowCreated: 30 frames, holds its last frame, exports as use_bow
03

编辑Edit

选控制器,用 R 旋转、G 移动,再点 给选中控制器 K 帧。

Select controls, turn them with R and move them with G, then click Key selected controls.

想在现成动作上改,可以先 导入动作文件,再点 复制一份再改。

To start from an existing animation, Import clip files first, then Copy and edit.

动作库里选中了导入的掏出武器动作,角色停在握剑柄的一帧 An imported draw-weapon action chosen in the action list, paused where the hand grips the hilt
导入一个现成动作作参考An imported animation as a reference
04

腿部 IKLeg IK

打开后,脚钉在地上,压低身体时膝盖自动弯,适合做下蹲和落地。关掉时,当前的腿部姿势会保留下来。

With it on, the feet stay planted and the knees bend as you lower the body, which suits crouches and landings. Turning it off keeps the legs as they are.

腿部 IK 打开,角色下蹲,脚钉在地面 Leg IK on: the character crouches with its feet planted
05

导出Export

选资源包文件夹(.minecraft/resourcepacks/ 下的一个文件夹),点 导出到资源包。

Choose a resource pack folder (a folder in .minecraft/resourcepacks/) and click Export to resource pack.

进游戏启用这个资源包,确认模组的 CEM 引擎是关的,按 F3+T。

In game, enable the pack, make sure the mod's CEM engine is off, and press F3+T.

只有 K 过帧的骨骼会被导出,其他部位照常播原来的动作。

Only keyed bones are exported; everything else keeps playing as before.

导出 / 导入资源包面板 The Export / import resource packs panel

游戏里没变化?Nothing changed in game?

确认 CEM 引擎是关的:CEM 开启时用的是原版模型,播的是另一套动画。再确认资源包已启用、按过 F3+T。

Check that the CEM engine is off: with it on, the game uses the vanilla model and a different set of animations. Then check that the pack is enabled and that you pressed F3+T.