Skip to content

Therzok/dsp-drone-clearing

 
 

Repository files navigation

Drone Clearing for Dyson Sphere Program

DSP Drone Clearing is a mod for the Unity game Dyson Sphere Program developed by Youthcat Studio and published by Gamera Game. The game is available on here.

This mod will use mecha drones to clear trees and stones. Ever get annoyed tripping over rocks? This mod is for you.

Enable and disable the clearing functionality in-game with this toggle button on your HUD. EnableDisableButton.jpg

If you like this mod, please click the thumbs up at the top of the page (next to the Total rating). That would be a nice thank you for me, and help other people to find a mod you enjoy.

If you have issues with this mod, please report them on GitHub. I try to respond within 12 hours.

Config File

Configuration settings or loaded when you game is loaded. So if you want to change the settings file, quit the game, but don't exit to desktop, then continue your game.

Settings include

  • Mod enable flag.
  • Collect resources, or quickly clear the area.
  • Limit the number of drones used when clearing.
  • Control of clearing distance from mecha.
  • Conserve energy when Icarus' energy gets too low.
  • Clearing during walking and optionally while flying and drifting (floating over ocean).
  • Optionally recall drones tasked with clearing when Icarus starts flying.
  • Inventory space limitations.
  • Control over clearing of rocks, trees, small rocks and ice.
  • Control over planet types clearing is performed on.
  • Control the drone clearing speed. Default is to clear at Icarus' mining speed.

The configuration file is called greyhak.dysonsphereprogram.droneclearing.cfg. It is generated the first time you run the game with this mod installed. On Windows 10 it is located at "%PROGRAMFILES(X86)%\Steam\steamapps\common\Dyson Sphere Program\BepInEx\config\greyhak.dysonsphereprogram.droneclearing.cfg".

Installation

This mod uses the BepInEx mod plugin framework. So BepInEx must be installed to use this mod. Find details for installing BepInEx in their user guide. This mod was tested with BepInEx x64 5.4.5.0 and Dyson Sphere Program 0.6.16.5775 on Windows 10.

To manually install this mod, add the DysonSphereDroneClearing.dll to your %PROGRAMFILES(X86)%\Steam\steamapps\common\Dyson Sphere Program\BepInEx\plugins\ folder.

This mod can also be installed using ebkr's r2modman dsp mod manager by clicking "Install with Mod Manager" on the DSP Modding site.

Open Source

The source code for this mod is available for download, review and forking on GitHub here under the BSD 3 clause license.

Change Log

v1.2.8

  • Fixed a bug which was making the drones mine too fast, 4 times faster in the later game. The speed was correct early game.
  • Added config setting to control the drone clearing speed, faster or slower. If you got used to the drones clearing too quickly, you can restore that functionality.

v1.2.7

  • Bug fixed with disabling plugin while off a planet in open space.

v1.2.6

  • Added config settings for ClearWhileDrifting and RecallWhileFlying.
  • Drone performing clearing tasks will automatically be recalled when Icarus starts sailing.
  • Added tasking status to tool tip for enable/disable button.
  • Added bug reporting link to this README.

v1.2.5

  • Major bug fixed which was causing drone clearing tasks to go unassigned causing drone clearing to stop.

v1.2.4

  • Improved compatibility with the Render Distance mod.

v1.2.3

  • Added a config option to enable more debug to the BepInEx console.

v1.2.2

  • Fixed bug when loading the game with the mod for the first time. (Bug added in v1.2.0 with the config reload functionality.)
  • Replaced deprecated function call.
  • Manifest description updated.

v1.2.1

  • Fixed a bug where tasks were being assigned when drones weren't available. This was causing configured energy constraints to be violated. This issue was emphasized when fewer drones were available.
  • Small revision to the appearance of the enable/disable HUD image.

v1.2.0

  • Added a button to the game HUD to enable and disable drone clearing.
  • Added a config setting to explicitly enable or disable the mod.
  • Reload configuration settings on each game start.
  • Reduced debug log messages.

v1.1.1

  • Fixed compatibility with Windows10CE's DSP Cheats's Instant-Build feature to make instant clearing.

v1.1.0

  • Fixed bug with drones getting locked up when Icarus completes their task first.
  • Clearing tasks no longer save. This is a compromise to avoid issues when disabling/removing the mod.
  • Fixed bug when performing Quit Game that wasn't removing drone clearing tasks.
  • Improvement in drone usage calculation. This provides a cleaner cut-off when clearing is shutoff due to drone count usage or energy availability.
  • Disable clearing when mecha energy level is too low (configurable).
  • Optimized mechanic for holding drone still while working.

v1.0.0

  • Initial release.

About

Drone Clearing mode for Dyson Sphere Program

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 97.6%
  • Batchfile 2.4%