Files
MemRelay/projects/d2b9f121-7638-43b7-97a8-17bdddcd238a/Checkpoint 2026-10-23 18-16-19 UTC [7aecd2a753].md
T
memrelay 1218ce02c4 create: Checkpoint 2026-10-23 18:16:19 UTC [7aecd2a753]
MemRelay-Operation: checkpoint-save:force-remove-20261024-0216
MemRelay-Resource: 263e2ad5-2b6e-4a41-b574-0883585c44d2
2026-10-24 02:16:21 +08:00

20 lines
1.5 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-23 18:16:19 UTC [7aecd2a753]
type: checkpoint
permalink: main/projects/d2b9f121-7638-43b7-97a8-17bdddcd238a/checkpoint-2026-10-23-18-16-19-utc-7aecd2a753
stable_id: 263e2ad5-2b6e-4a41-b574-0883585c44d2
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: force-remove-20261024-0216
created_at: '2026-10-23T18:16:19.183441+00:00'
updated_at: '2026-10-23T18:16:19.183441+00:00'
tags:
- sotfassist
- force-remove
---
完成:游戏功能里加了强制拆除,默认关。来源是下到并反编译的 Force_Remove_Logs 1.0.3(GLaD0S,sotf-mods.com/mods/glad0s/force_remove_logs)。没有同版公开源码。原模组在 CollectPlacedElementModule.TryStage 里发现 TryGetRemoveableElement 失败时,按住拆除 1 秒后销毁该 Structure 的 GameObject,并按最后一个 StructureElement 的 DisassembleItemYield 退材料。我们单人直接 Destroy 对准的 structure.gameObject,不用 GameObject.Find(名字)。没复刻调试日志和 Bolt 联机封包。版本 1.0.9。验证:Release 编译通过。游戏进程 22932 已关闭以覆盖 DLL(1866240 字节,2026-10-24 02:15)。原 zip 备份在 Temp/Mods/Force_Remove_Logs,没有装进游戏 Mods。没有进游戏实测承重柱。给下个会话:若拆掉的是整座房而不是一根柱,说明 Structure 比单根原木更大,要改成只删对准的 StructureElement。