How do I export a code for a single part?

如何导出单个部件的代码
Last updated: 2026-10-21

How do I export a code for a single part?

如何导出单个部件的代码?

Bind that part's Material Group to an Action Group, let the Scheduler generate the code, then export the scheduler code - it carries the part's action, camera, music and event references.

把该部件的材质组绑定到动作组,由调度器生成并导出调度代码——其中包含该部件的动作、镜头、音乐与事件引用。

How to do it in 3SAX V3

在 3SAX V3 中操作

1. Open the SG Material Group panel. Upload the part PNG, set Part ID / Parent ID / baseX / baseY / Anchor X/Y / Scale / Layer / Z-perspective. Check the green hints.

1. 打开 SG 材质组面板。上传部件 PNG,设置 Part ID / Parent ID / baseX / baseY / Anchor X/Y / Scale / Layer / Z-perspective,留意绿色提示。

2. Add numbered states (frames) for that part and note its category.

2. 为该部件添加编号状态(帧),记下其类别。

3. Open AG Action, bind the material group. Add action units with target part (join), seq ranges (e.g. 01:0-5), rotation, scale, X/Y offsets, swap and event triggers. Use auto-suggest sequence to match the part's states.

3. 打开 AG 动作组,绑定材质组。添加动作单元:目标部件(join)、seq 帧区间(如 01:0-5)、相对旋转、缩放、X/Y 偏移、换件、触发事件。可用自动建议序列匹配部件状态。

4. Add CAM shots, MG music clips or NT note code, and EVT events if the part needs them.

4. 如需,添加 CAM 镜头、MG 音乐片段或 NT 音符代码、EVT 事件。

5. Open AC Scheduler. Place the part's events on L1 role track, plus L2 camera, L3 scene, L4 audio.

5. 打开 AC 调度器。在 L1 角色轨放置该部件事件,配合 L2 镜头、L3 场景、L4 音频。

6. Preview in CANVAS, drag to fine-tune dx/dy, rot and scale - changes sync back into the codes.

6. 在 CANVAS 预览,拖动微调 dx/dy、旋转与缩放,改动会同步回代码。

7. Export the scheduler code. Run whole-project validation first; click any red error to fix it.

7. 导出调度代码。先做全项目校验,点击红色错误逐项修复。

What you CAN and CANNOT do

能做与不能做

  • CAN: export one part's code with its action, camera, music and event references; reuse or extend it by editing the code.
  • CANNOT: export a single panel in isolation without its scheduler track, or render with invalid required fields.
  • Wrong target part or mismatched Parent ID: parts fly apart or the code is rejected.
  • Missing rest values: render asks for confirmation first.
  • 能做:导出单个部件代码,含动作、镜头、音乐、事件引用;可通过改代码复用或扩展。
  • 不能做:脱离调度轨单独导出某个面板;必填项无效时无法渲染。
  • 目标部件写错或 Parent ID 不匹配:部件飞散或代码被拒。
  • 缺少休止值:渲染前会先弹出确认。

Try the 3SAX V3 creator tool and export your first part code.

试试 3SAX V3 创作工具,导出你的第一个部件代码。

Advertisement