soarqin b5cb9aefb9 fix(uxassist): correct auto-cruise sail frame, braking and lifecycle
visual_uvel subtracted the unblended planet velocity. PlayerMove_Sail and
PlayerNavigation.DetermineSailVelocity both fade that reference frame out with
altitude and drop it entirely above 600 m, and PlayerController.UpdateRotation
runs after the whole action loop and turns visual_uvel into the mecha heading
and the speed readout, so the mecha visibly misaimed while sailing near a
planet. Apply the same blend, and stop writing uRotation from the sail
postfix, which the game recomputes immediately afterwards anyway.

Fixed targets had no approach deceleration: the cruise always aimed at
maxSailSpeed and simply stopped at the arrival radius. PlayerMove_Sail only
hands over to PlayerMove_Fly below 75 m/s of planet-relative speed, so the
mecha could never land. Cap the speed from the remaining distance, apply the
brake directly as the original does instead of folding it into the turn
interpolation (which weakened it by up to 1/t), and release warp early enough
for that brake to settle, since the game's own warp guard only covers planets
and never stars.

Yield to the game's own autopilot: PlayerNavigation zeroes the movement input
inside PlayerMove_Sail and PlayerMove_Fly and drives uVelocity itself, so both
were fighting over the same state. AutoConstructPatch already did this.

Guard SpaceSector.dfHives, which Init never allocates and Import only
allocates when the save carries hive data; the game null-checks it everywhere
for that reason and this ran on every sailing tick.

Follow AutoCruiseEnabled with the Harmony patches so disabling the feature no
longer leaves a transpiler on the hot PlayerController.GameTick installed, and
require a resolvable target before starting so the feature cannot emit a
started and a stopped popup in the same frame.

Refresh the toggle button label wherever Checked is set directly, since
MyCheckButton.Checked only updates the colours and the label lives on the
OnChecked handlers; toggling by shortcut left it stale.

Rename the user-facing strings to auto-cruise so they stop colliding with the
game's own navigation feature, and clean up the region: fix the misspelled
safety-radius constants, invert and rename the precondition helper, drop the
unused Obstacle.Radius, raise the degenerate-vector epsilon, and convert the
file's mixed tab indentation to spaces.
2026-09-16 02:16:40 +08:00
2026-05-31 12:59:27 +08:00

DSP Mods by Soar Qin

CheatEnabler

Add various cheat functions while disabling abnormal determinants 添加一些作弊功能,同时屏蔽异常检测

CompressSave

Moved to another repo

Dustbin

Can turn Storages and Tanks into Dustbin(Destroy incoming items) 储物仓和储液罐可以转变为垃圾桶(销毁送进的物品)

HideTips

Hide/Disable various tutorial tips/messages 隐藏/屏蔽各种引导提示/消息

LabOpt

Performance optimizations for Matrix Labs Marked as obsoleted temporarily, needs more investigation about LabComponent's mechanism 优化研究站性能 暂时标识为过期,需要更多关于LabComponent机制的研究

LogisticMiner

Logistic Storages can mine all ores/water on current planet 物流塔可以采集当前星球的全部矿产(以及水)

LuaScriptEngine

Write mod functions in lua scripts
用lua脚本编写mod功能

MechaDronesTweaks

Some tweaks for mecha drones and build functions(Successor to FastDrones MOD) 机甲建设机和建设功能调整(FastDrones MOD的后继者)

OverclockEverything

Boost nearly all structures 加速几乎所有建筑功能

PoolOpt

Optimize memory pools on loading gamesaves 加载游戏存档时优化内存池的使用

UniverseGenTweaks

Universe Generator Tweak 宇宙生成参数调节

UserCloak

Cloak(Fake) user account info 隐匿(伪装)用户账号信息

UXAssist

Some functions and patches for better user experience 一些提升用户体验的功能和补丁

LiveStreamAssist

Keeps the statistics window active for live streams by switching between the Production Statistics and Dyson Sphere tabs every 15 to 30 seconds.

S
Description
My mods for Dyson Sphere Program
Readme MIT
22 MiB
0 Stars 1 Watchers 0 Forks
Languages
C# 99.5%
PowerShell 0.5%