You are viewing a potentially older version of this package. View all versions.
Zincon-DSPNormalModeVegetation-1.4.2 icon

DSPNormalModeVegetation

Native vegetation placement, vegetation-only removal, scaling, six categories, and GalacticScale separation. 常规模式原生植物放置、植被移除与缩放、六类主题分类及 GalacticScale 独立分类。

By Zincon
Date uploaded 2 months ago
Version 1.4.2
Download link Zincon-DSPNormalModeVegetation-1.4.2.zip
Downloads 24
Dependency string Zincon-DSPNormalModeVegetation-1.4.2

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

DSP Normal Mode Vegetation / 常规模式放置植物

在《戴森球计划》的常规游戏模式中开放游戏原生的植物放置功能。

  • 使用原生右下角沙盒工具按钮及其原始位置。
  • 使用原生植被选择界面、分类按钮、预览、旋转与放置逻辑。
  • 原生 1–6 号分类依次为“本地植被”“有机行星植被”“类地行星”“不适宜生存”“其它”“GalacticScale”。
  • 本地植被允许在对应的星球类型分类中再次出现。
  • 不增加配置窗口或自定义面板。
  • 常规模式中开放原生地表移除工具,但强制只移除植被;矿脉移除仍不可用。
  • 选择植物后按 Q 等比例放大、按 E 等比例缩小;轻按一次调整 0.1x,按住可连续调整。
  • 按住 Shift 时每步调整 0.5x,按住 Ctrl 时每步精调 0.01x;同时按住两者时以 Ctrl 为准。
  • 缩放范围为 0.1x30x,切换植物时恢复 1x;当前倍率会以两位小数显示在原生植被列表标题中。
  • 常规模式中不会开放矿脉放置、无限物品或其他沙盒工具。
  • 不修改 GameDesc.isSandboxModeGameMain.sandboxToolsEnabled、成就开关或异常记录。
  • 不关闭游戏的全局作弊/异常检测;仅放行原生植物工具所需的三个权限判断。

安装

需要 BepInEx 5。将发布 ZIP 作为本地模组导入 r2modman/Thunderstore Mod Manager,或把 DSPNormalModeVegetation.dll 放入当前配置的 BepInEx/plugins/DSPNormalModeVegetation/

进入常规存档后,点击游戏原生位置上的沙盒工具按钮,然后使用原生 1–6 号按钮选择植被分类即可。真实沙盒模式中的原有工具和分类保持不变。

地表移除工具沿用游戏原生按钮、单体/区域光标和确认操作,但常规模式下矿脉过滤会被锁定为关闭、植被过滤会被锁定为开启。

原版分类直接使用当前游戏资源中的主题 ID 和运行时名,不读取轨道、温度、宜居带或当前银河的实际行星:

  • 有机行星:地中海(Ocean 1)、海洋丛林(Ocean 2)、红石(Ocean 3)、草原(Ocean 4)、水世界(Ocean 5)、白色海洋(Ocean 6)、草原荒漠(Desert 8)、潘多拉荒漠(Desert 11)。
  • 类地行星:干旱荒漠(Desert 1)、贫瘠荒漠(Desert 3)、戈壁(Desert 4)、飓风石林/三色荒漠(Desert 6)、橙晶荒漠(Desert 9)。
  • 不适宜生存:熔岩(Lava 1)、火山灰(Volcanic 1)、红土荒漠(Desert 5)、灰烬冻土(Desert 2)、冰原冻土(Ice 1)、红冰荒漠(Desert 7)、极寒荒漠(Desert 10)。
  • 其它:原版气态行星,以及所有未定义的第三方主题。
  • GalacticScale:本模组内置 GS 2.77.3 的巨型森林、红森林、硫磺海和海滩植被 ID 集合,因此未启用 GalacticScale 或 DspAddplanet 时也能使用。GS 本身没有独立植物模型,这些主题使用游戏本体的植物原型;本模组会在原生选择器中补齐其默认隐藏的早期植物按钮,但不会重复注册资源或 ID。启用 GalacticScale 或 DspAddplanet 时仍会读取其已注册的自制主题作为兼容增量。

每个主题的六组植被会合并并去重。本地植被仍允许在后续分类中再次出现。

常规模式的分类页面只显示当前分类内容;原生面板下方用于展示“所有未选中植被”的第二组区域会被隐藏,避免把其它原版植被误认为当前分类内容。

本模组不硬依赖 GalacticScale 或 DspAddplanet。未启用时不会尝试加载它们的程序集;启用时通过可选反射读取当前版本公开的主题库或注册表。

本版本针对 2026-05-31 的 Steam 公共分支程序集(Steam build 23109513)开发。补丁会校验关键方法中的权限判断数量;如果游戏更新改变了这些方法,模组将停止启用并在 BepInEx 日志中报告错误,而不会尝试放开未知功能。

English

Enables Dyson Sphere Program's native vegetation placement tool in regular games.

  • Uses the original sandbox toolbar button and its original position.
  • Keeps the native vegetation picker, category buttons, preview, rotation, and placement behavior.
  • Uses native slots 1–6 for Local, Organic, Terrestrial, Uninhabitable, Other, and GalacticScale vegetation.
  • Uses the current game's vanilla theme IDs and runtime names; orbit, temperature, habitable-zone, and current-galaxy data are not consulted.
  • Sends every unlisted theme to Other, including themes added later by other mods.
  • Bundles the GalacticScale 2.77.3 handcrafted-theme vegetation ID catalog, so the category works without GalacticScale or DspAddplanet installed.
  • Reuses the base game's vegetation prototypes, matching GalacticScale itself without registering duplicate assets or IDs.
  • Adds missing native picker buttons for early vegetation prototypes used by those themes.
  • Reads GalacticScale's ThemeLibrary when available, while excluding base themes and custom themes whose vegetation set exactly matches a vanilla theme.
  • Shows only the selected category; the native secondary group containing every unselected vegetation item is hidden in regular games.
  • Adds no settings window or custom panel.
  • Uses Q/E for uniform vegetation scaling; tap for 0.1x steps or hold for continuous adjustment.
  • Uses 0.5x steps while Shift is held and 0.01x precision steps while Ctrl is held; Ctrl takes priority when both modifiers are held.
  • Keeps scaling between 0.1x and 30x, resets to 1x when another vegetation is selected, and shows the live scale with two decimal places in the native heading.
  • Restores the native surface-removal tool in vegetation-only mode; vein removal remains disabled.
  • Vein placement, infinite items, and all other sandbox tools stay unavailable in regular games.
  • Does not change sandbox mode, sandbox tool state, achievement settings, or abnormality records.
  • Does not disable the game's global abnormality checks.

Requires BepInEx 5. Import the release ZIP as a local mod in r2modman/Thunderstore Mod Manager, or place DSPNormalModeVegetation.dll under BepInEx/plugins/DSPNormalModeVegetation/.

CHANGELOG

Changelog

1.4.2

  • Repeat vegetation scaling while Q or E is held, after a short initial delay.
  • Use fixed 0.1x steps by default, 0.5x with Shift, and 0.01x with Ctrl.
  • Give Ctrl precision scaling priority when Ctrl and Shift are both held.
  • Show the current vegetation scale with two decimal places.

1.4.1

  • Show the selected vegetation's current scale in the native category heading.
  • Update the localized Scale 1.0x / 倍率 1.0x indicator live as Q or E is pressed.
  • Hide the scale indicator when no vegetation is selected.

1.4.0

  • Restore the native surface-removal category in regular games.
  • Restrict surface removal to vegetation; vein removal remains unavailable.
  • Scale the selected vegetation uniformly with Q to enlarge and E to shrink.
  • Persist the selected 0.1x-30x scale in the placed VegeData and its collider.
  • Use adaptive 0.1x, 0.5x, and 1x scale steps for practical fine and large adjustments.

1.3.4

  • Bundle GalacticScale 2.77.3's handcrafted-theme vegetation ID catalog in this mod.
  • Populate GalacticScale even when GalacticScale and DspAddplanet are both disabled.
  • Reuse the base game's vegetation prototypes without registering duplicate resources or IDs.
  • Add native picker buttons for GS vegetation that the sandbox menu normally hides before prototype index 90.

1.3.3

  • Hide the native secondary vegetation group in regular-game category mode.
  • Reset the vegetation list to the top whenever a category is selected.
  • Prevent all unselected vanilla vegetation from appearing underneath GalacticScale and being mistaken for its category contents.

1.3.2

  • Exclude GalacticScale base themes from the GalacticScale vegetation category.
  • Exclude DspAddplanet GS-style themes whose vegetation set exactly matches a vanilla theme.
  • Keep handcrafted vegetation sets such as Gigantic Forest, Red Forest, Sulfurous Sea, and Beach.
  • Apply the same vanilla-clone filtering to GalacticScale's optional ThemeLibrary integration.

1.3.1

  • Keep the category UI within the game's six existing native slots.
  • Merge Tropical and Cold into Uninhabitable.
  • Use slots 1-6 for Local, Organic, Terrestrial, Uninhabitable, Other, and GalacticScale.
  • Fix the vegetation menu failing closed and hiding the sandbox-tools button when slot 7 was unavailable.

1.3.0

  • Rebuild all vanilla categories from the 25 themes in the current game's ThemeProtoSet.
  • Restrict Organic to the eight vanilla organic themes (Ocean 1-Ocean 6, Desert 8, and Desert 11).
  • Keep Arid Desert, Barren Desert, Gobi, Hurricane Stone Forest, and Orange Crystal Desert in Terrestrial.
  • Add native category slot 7 as GalacticScale.
  • Move every DspAddplanet GalacticScale-style registered theme into GalacticScale.
  • When GalacticScale is enabled, read its ThemeLibrary without a hard dependency and include all of its vegetation resources.
  • Add per-theme classification diagnostics and reflection tests for both external registries.

1.2.2

  • Add the original game's runtime theme keys (Ocean 1, Desert 1, and similar) to the manual map.
  • Fix vanilla themes incorrectly falling through to Other while mod themes used English internal names.

1.2.1

  • Move Arid Desert, Gobi, Hurricane Stone Forest, and their GalacticScale small variants to Terrestrial.

1.2.0

  • Replace inferred climate classification with a fixed internal theme-name map.
  • Add native category slot 6 as Other.
  • Send every unlisted mod theme directly to Other without inspecting orbit, temperature, or habitable-zone data.
  • Add explicit mappings for known vanilla, GalacticScale, and DspAddplanet themes and variants.

1.1.1

  • Fix vegetation classification to use actual planets and their position relative to each star's habitable zone.
  • Use GalacticScale's own theme-heat calculation through optional reflection when GalacticScale is enabled.
  • Treat only normal-water ocean themes as organic; acid and other non-organic oceans no longer qualify.
  • Assign shared vegetation to one best-matching planet category while still allowing local-category duplication.
  • Keep theme-temperature classification only as a fallback for registered themes absent from the current galaxy.

1.1.0

  • Reuse native category slots 1-5 for local, organic, terrestrial, tropical, and cold planet vegetation.
  • Build each planet category dynamically from every non-gas theme registered in LDB.themes.
  • Include GalacticScale and DspAddplanet theme vegetation without adding hard dependencies.
  • Restore the unmodified native category UI in real sandbox games.
  • Add fail-closed validation for the vegetation layout fields and category UI structure.

1.0.0

  • Expose the native sandbox toolbar button in regular games.
  • Keep only the native local and other vegetation categories available.
  • Preserve the normal-game sandbox, achievement, and abnormality state.
  • Fail closed when a game update changes the patched permission checks.