Byboy-DSPBlueprintTools icon

DSPBlueprintTools

蓝图建筑工具:坐标偏移、垂直叠加、线性变换、传送带合并最长化(省带子),精确到小数点后4位,默认快捷键ALT+4(可在配置文件修改)

By Byboy
Last updated 3 hours ago
Total downloads 12
Total rating 0 
Categories
Dependency string Byboy-DSPBlueprintTools-1.3.4
Dependants 0 other packages depend on this package

This mod requires the following mods to function

xiaoye97-BepInEx-5.4.17 icon
xiaoye97-BepInEx

BepInEx5.4.17 mod plugin framework, Mod框架

Preferred version: 5.4.17

README

DSPBlueprintTools 蓝图建筑工具模组

戴森球计划(Dyson Sphere Program)BepInEx 模组,提供蓝图坐标偏移、垂直叠加与线性变换功能,坐标/高度/缩放精确到小数点后 4 位。

功能

  1. 坐标偏移:按设定的 X/Y/Z 偏移量(4 位小数)和重复数量,批量偏移蓝图内全部建筑坐标(净偏移 = 偏移量 × 数量)。
  2. 垂直叠加:按设定的层数与每层高度(4 位小数)沿 Z 轴(高度方向) 将蓝图叠加为多层,自动检查游戏 15000 建筑上限。
  3. 线性变换:三轴缩放(4 位小数)+ 绕竖直轴任意角度旋转;支持批量替换建筑型号(按物品 ID)。
  4. 传送带合并最长化(省带子):把蓝图里逐格铺设的同一直线传送带自动合并为最长段。可放置上限随纬度变化(赤道约 1.8、极地约 1.6),模组按蓝图区域纬度自动适配,端点按 0.5 格步进保证可以摆放;也可在配置文件改为固定上限。
  5. 剪贴板读取:直接读取游戏内剪贴板中的蓝图代码;蓝图详情窗口的原版按钮左侧还有一个"读取"小按钮,不遮挡任何原版按钮。
  6. 直接应用:处理结果自动写回游戏剪贴板,也可点"应用/预览"直接替换蓝图粘贴工具中的蓝图,立即摆放。

安装

  1. 安装 BepInEx 5 并至少启动游戏一次。
  2. 将 DSPBlueprintTools.dll 放入 BepInEx/plugins/DSPBlueprintTools/。

快捷键

  • 默认 ALT + 4 打开/关闭工具窗口。
  • 可在 BepInEx/config/dsp.byboy.blueprinttools.cfg 中修改:
[通用]
快捷键 = LeftAlt + Alpha4
; 示例:LeftControl + F8、None + F9(无修饰键)
; 键名为 UnityEngine.KeyCode 枚举名

使用流程

  1. 游戏内复制蓝图(或复制蓝图代码字符串)到剪贴板。
  2. 按 ALT + 4 打开窗口,点"从剪贴板读取蓝图"。
  3. 设置偏移/叠加/变换参数后点击对应按钮;结果自动写回剪贴板。
  4. 在蓝图粘贴界面直接粘贴,或点"应用/预览"立即使用。

构建

dotnet build DSPBlueprintTools/DSPBlueprintTools.csproj -c Release

引用优先取仓库 libs/ 目录;如需针对本机游戏版本编译,修改 .csproj 中的 GameDir。