Files
MemRelay/projects/d2b9f121-7638-43b7-97a8-17bdddcd238a/Checkpoint 2026-10-19 19-29-38 UTC [394ae09de8].md
T
memrelay 64eda74338 create: Checkpoint 2026-10-19 19:29:38 UTC [394ae09de8]
MemRelay-Operation: checkpoint-save:sotf-drive-trees-20261020-0328
MemRelay-Resource: 4463fe9e-fe53-4660-996e-2975bd8c1dff
2026-10-20 03:29:41 +08:00

30 lines
2.3 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 19:29:38 UTC [394ae09de8]
type: checkpoint
permalink: main/projects/d2b9f121-7638-43b7-97a8-17bdddcd238a/checkpoint-2026-10-19-19-29-38-utc-394ae09de8
stable_id: 4463fe9e-fe53-4660-996e-2975bd8c1dff
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: sotf-drive-trees-20261020-0328
created_at: '2026-10-19T19:29:38.420795+00:00'
updated_at: '2026-10-19T19:29:38.420795+00:00'
tags:
- drive-trees
- handoff
---
完成:开车穿树已并入 SOTFAssist 主面板,可动态开关,原 DriveThroughTrees 模组文件已不在游戏目录。
提交:a426c1d feat: 辅助工具加入开车穿树开关。从 drive-trees fast-forward 到 main。未 push,未改 git config,未改上级仓库历史。worktree SOTFAssist-drive-trees 和分支 drive-trees 已删除。仍在的 worktree:four-mods(30ba41c)、difficulty-fold(a426c1d)。不要删它们。
原模组做法:Harmony 在 TreeSwapper.Awake、TreeRegrow.Awake 加树组件,GolfCartController.Start 加球车组件。球车对 GameManagers/Pooling/Pool_Trees 的 SpawnPool._spawned 逐棵 Physics.IgnoreCollision;树对已登记球车再忽略一次。实现沿用这两条,开关关掉时对同一批碰撞体调用 IgnoreCollision(..., false),不用重启。组件留到 OnDestroy 才移出名单,这样禁用中的球车也能马上恢复。
界面:辅助工具分组左侧开关列末尾,无限连跳下面,名字「开车穿树」,用和无敌模式相同的绿/灰 Switch。背包视角仍在右侧数值列。配置键 DriveThroughTrees,写入 SOTFAssist.cfg,默认关,不进 F1。MainToggleRows 从 13 改为 14。
验证:主目录 Release 编译通过,0 警告 0 错误。游戏进程没有在跑,没有关游戏。Mods\SOTFAssist.dll 与 bin\Release 哈希一致,93696 字节,含 DriveThroughTrees。原模组 DLL、Mods\DriveThroughTrees 目录、UserData\DriveThroughTrees.cfg 检查时已不存在,没有删其他模组。
给下个会话:进游戏打开辅助面板「开车穿树」后才能穿树,默认是关。关掉应该当场恢复碰擂。不要再装回原 DriveThroughTrees 模组,否则会双重忽略碰撞。不要删 four-mods 和 difficulty-fold。