Files
MemRelay/projects/d2b9f121-7638-43b7-97a8-17bdddcd238a/Checkpoint 2026-10-19 20-55-37 UTC [6c9847e34f].md
T
memrelay 0776d17017 create: Checkpoint 2026-10-19 20:55:37 UTC [6c9847e34f]
MemRelay-Operation: checkpoint-save:rescue-kelvin-20261020-0456
MemRelay-Resource: 5fc8fb4f-e898-44e3-b4bc-7aee79c1cdcc
2026-10-20 04:55:41 +08:00

30 lines
2.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Checkpoint 2026-10-19 20:55:37 UTC [6c9847e34f]
type: checkpoint
permalink: main/projects/d2b9f121-7638-43b7-97a8-17bdddcd238a/checkpoint-2026-10-19-20-55-37-utc-6c9847e34f
stable_id: 5fc8fb4f-e898-44e3-b4bc-7aee79c1cdcc
scope: project
memory_type: checkpoint
project_id: d2b9f121-7638-43b7-97a8-17bdddcd238a
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: rescue-kelvin-20261020-0456
created_at: '2026-10-19T20:55:37.781499+00:00'
updated_at: '2026-10-19T20:55:37.781499+00:00'
tags:
- handoff
- rescue-kelvin
---
完成:已安装「解救 Kelvin」RW18_unstuckKelvin 1.0.0(manifest 1.0.0,程序集 1.0.0.0)已复刻进 SOTFAssist。没有对得上的公开源码,用 REA 看已安装 DLL,没有改 Kelvin 人物模型。
功能:总开关默认关。打开后,进入世界且辅助面板关闭时按 K(DLL 里 KeyCode 107),把活着的 Kelvin(VailActorTypeId.Robby = 9)传到玩家面前:先把朝向的 Y 清零并单位化,位置是玩家位置 + 朝向 * 2 + 上方 * 1.5,先 SetActive(false),再设位置,用 LookRotation(-朝向) 面向玩家,再 SetActive(true),然后 Physics.SyncTransforms。死亡或空对象跳过。原模组没有影响功能的 Settings,没有复刻日志。没有新增快捷键注册,也没有 Harmony 补丁;跟丢物品一样在 OnLateUpdate 里检查按键。配置项 RescueKelvin 写入 SOTFAssist.cfg,不进 F1。
界面:定制游戏「游戏功能」里的分组框「解救 Kelvin」,位于洞穴建造之后。框顶是总开关「启用」,默认关。下面一行说明按 K。Sample() 里这一组默认关。
提交:2eb3260eb0580502af71f7cf412c0bf28e4e5425 feat: 把解救 Kelvin 放进游戏功能。文档 cf9e3253ed8970d05fc6c7f0888d6a8322e2f232 docs: 标出解救 Kelvin 已复刻。合并前已 rebase 到当时 main(含 b190c04 把其余定制项放进分组框)并快进合并。没有远端,没有推送,没有改 git config,没有强推。worktree SOTFAssist-rescue 和分支 rescue 已删。
验证:main 上 dotnet build -c Release,0 错误。四个既有警告来自洞穴源码和 _windowPlaced。SonsOfTheForest.exe 没在跑。游戏 Mods\SOTFAssist.dll 与 bin\Release 哈希一致:574A91A7BF18483544B739EE172E71FD0F497C7C1764B8430EA8853A062F23E5,1251328 字节。原模组 RW18_unstuckKelvin.dll 和 Mods\RW18_unstuckKelvin 目录已删。UserData 里没有这个模组的 cfg。
给下个会话:仓库 D:\\Game\\SonsOfTheForestMod\\SOTFAssist,分支 main,HEAD cf9e3253ed8970d05fc6c7f0888d6a8322e2f232。不要把总开关改成默认开,不要给这一项加新快捷键,不要改 Kelvin 模型。游戏功能里还有望远镜变焦、跳过开场、丢物品给朋友、背包调整、食物保鲜、洞穴建造,界面功能里有弹药显示,不要删。console worktree 还在,不要动。