You are viewing a potentially older version of this package. View all versions.
Nekogod-BuildModeNoAutoZoom-1.0.7 icon

BuildModeNoAutoZoom

Prevents unwanted automatic zoom changes in build mode and the research tree, with a configurable increase to maximum camera zoom-out.

Date uploaded 2 weeks ago
Version 1.0.7
Download link Nekogod-BuildModeNoAutoZoom-1.0.7.zip
Downloads 92
Dependency string Nekogod-BuildModeNoAutoZoom-1.0.7

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

Build Mode No AutoZoom

A quality-of-life zoom mod for Dyson Sphere Program.

Build Mode No AutoZoom prevents the automatic camera zoom, pitch, and distance changes that normally occur when entering or leaving build mode. Manual camera controls continue to work normally.

It can also add a small, permanent increase to the maximum zoom-out distance without changing the current camera distance.

The optional research-screen feature keeps your chosen research-tree zoom level when selecting a technology instead of automatically zooming all the way in.

Features

  • Prevents automatic camera movement when entering or leaving build mode.
  • Keeps the camera stable when switching between build and dismantle modes.
  • Preserves manual zoom, rotation, and keyboard camera controls.
  • Handles Shift-click entry into build mode.
  • Supports normal and planetary camera posers.
  • Optionally increases the maximum zoom-out distance.
  • Optionally prevents technology selection from automatically zooming the research tree in.
  • Checks required game members at startup and disables only an incompatible feature if a DSP update changes them.

Compatibility

  • Dyson Sphere Program 0.10.34.x
  • BepInEx 5.x
  • HarmonyX
  • Unity 2022.3 Mono runtime

Installation

Install with a Thunderstore-compatible mod manager, or place disableautozoom.dll in:

Dyson Sphere Program/BepInEx/plugins/BuildModeNoAutoZoom/

Configuration

The configuration file is generated after the first launch.

[General]

## Enable the mod.
Enabled = true

## Permanent extra maximum zoom-out distance in metres.
## Set to 0 to disable the zoom extension.
ExtraMaxZoomOut = 2

## How long to preserve the camera pose while Shift-click enters build mode.
ShiftClickPinFrames = 8

[Research Screen]

## Prevent selecting a technology from automatically zooming the research tree in.
DisableAutoZoom = true

Most players should leave ShiftClickPinFrames at its default value. Increase it only if Shift-click build entry still causes a camera movement.

When DisableAutoZoom is enabled, selecting a technology can still centre it on screen; only the automatic change to the closest zoom level is prevented.

Diagnostics

On startup, the mod writes one compact compatibility summary to the BepInEx log. If a required DSP member is unavailable, the affected behaviour is disabled with one warning instead of repeatedly throwing exceptions during gameplay.

Source and issues

Source code and issue tracking: Nekogod-dev/NoAutoBuildZoom

CHANGELOG

Changelog

1.0.7

  • Added an optional setting to prevent the research tree automatically zooming in when selecting a technology.
  • Updated the GitHub source and issue link.

1.0.6

  • Fixed the main no-autozoom behaviour being disabled by an incorrect compatibility check.
  • Prevented camera FOV, pitch, and distance changes when switching between build and dismantle modes.

1.0.5

  • Added a compact startup compatibility check for the DSP camera and build-mode members used by the mod.
  • Added graceful feature-level fallback when a required game member or Harmony patch is unavailable.
  • Cached reflected camera fields instead of resolving them repeatedly during camera updates.
  • Corrected Shift-click pin timing to use Unity's current frame count.
  • Removed temporary diagnostic probes and per-frame diagnostic logging used during development.

1.0.3

  • Improved performance.

1.0.2

  • Fixed camera movement when entering build mode with Shift-click.

1.0.1

  • Fixed keyboard camera panning being disabled during blueprint placement and paste mode.

1.0.0

  • Initial release.