You are viewing a potentially older version of this package. View all versions.
DSPCraftingSpeed-TechTreeNoRecenter-1.0.0 icon

TechTreeNoRecenter

Clicking a technology no longer slides it to the middle of the screen; the view stays put and only scrolls enough to show the opened card.

Date uploaded a day ago
Version 1.0.0
Download link DSPCraftingSpeed-TechTreeNoRecenter-1.0.0.zip
Downloads 11
Dependency string DSPCraftingSpeed-TechTreeNoRecenter-1.0.0

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

Tech Tree No Recenter

In the game, clicking a technology slides it to the middle of the screen, so you keep dragging the tree back to where you were. With this mod the view stays where it is:

  • Clicking a card opens it in place. When you click from the zoomed-out view, the zoom-in still happens around the mouse, as in the game, but nothing slides to the middle.
  • If the opened card would stick out past an edge of the screen, the view scrolls just far enough to show the whole card.
  • Jumps you ask for still centre the card: clicking a tech in the research queue, a prerequisite in a card, or a "locate" button.

Settings in BepInEx/config/com.github.jiesiluo.techtreenorecenter.cfg:

Setting Default
KeepCardOnScreen true Scroll a little so the opened card is fully visible. false: never move the view.
MarginTop / MarginBottom / MarginSides 100 / 30 / 20 Space kept free at the screen edges (UI units).

Works with game version 0.10.35.

CHANGELOG

  • 1.0.0
    • Clicking a technology keeps the view where it is instead of sliding the card to the middle of the screen.
    • The view only scrolls as far as needed to show the whole opened card.