hetima-AutoReverse icon

AutoReverse

Automatically reverse direction the conflicted belt when placed. Plus, draw a straight line very very quickly.

Last updated a week ago
Total downloads 2252
Total rating 5 
Categories
Dependency string hetima-AutoReverse-2.0.2
Dependants 0 other mods depend on this mod

README

AutoReverse

Mod for Dyson Sphere Program. Needs BepInEx.

When placing a conveyor belt that will extend to/from the edge of an existing belt, if it conflicts, reverse the direction so that it makes sense automatically.

If it is determined that the direction of the belt to be placed is to be reversed, the cursor tooltip will show "(Reverse)" and the color of the preview line will change to a blue-yellow stripe for notify.

OnTheSpot mode

Holding down Ctrl key will automatically generate a preview of a straight line from the edge of the nearby belt to the cursor position. The preview will be automatically updated when you move the mouse cursor. There is no need to consider belt direction, as it will be corrected by the basic AutoReverse function.

Clicking with Ctrl key will place belt and continue to look for the next preview target. Release the Ctrl key to return to normal mode.

screen shot

Configuration

AutoReverse has some settings depend on BepInEx (file name is com.hetima.dsp.AutoReverse.cfg).

Key Type Default Description
enableOnTheSpot bool true Enable OnTheSpot mode when Ctrl is down
onTheSpotRange int 24 Maximum range of OnTheSpot mode (1-100)
enableBentConnection bool false Allow non-straight connections in OnTheSpot mode

説明

コンベアベルトを延長設置するときに、既存のベルトと向きが相反するような繋ぎ方をした場合、正しく接続されるように方向を反転させます。

設置予定のベルトが反転される場合には、カーソルのツールチップに「(Reverse)」と表示され、プレビューラインの色を青と黄の縞模様に変化させて知らせます。

OnTheSpot モード

ベルト敷設時に Ctrl キーを押していると近くのベルトの端からカーソルの位置まで直線のプレビューが自動生成されます。マウスカーソルを移動させるとプレビューは自動的に更新されます。ベルトの向きは AutoReverse の基本機能で補正されるので気にする必要はありません。

Ctrl キーを押したままクリックするとそのまま敷設され、次のプレビュー対象を探します。Ctrl キーを離すと通常モードに戻ります。

Release Notes

v2.0.2

  • Improve belt edge detection

v2.0.1

  • Added config (onTheSpotRange and enableBentConnection)

v2.0.0

  • Added OnTheSpot mode
  • Support connect to pre builded belt

v1.0.1

  • Probably compatible with NebulaMultiplayerMod 0.6

v1.0.0

  • Initial Release for 0.7.18 game version

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2021-10-16 2.0.2 276 Version 2.0.2 Install
2021-10-11 2.0.1 248 Version 2.0.1 Install
2021-9-30 2.0.0 381 Version 2.0.0 Install
2021-9-26 1.0.1 197 Version 1.0.1 Install
2021-6-22 1.0.0 1150 Version 1.0.0 Install