ScrollHotbar
Makes the mouse wheel scroll through the hotbar instead of using 1-8 hotkeys. Hold ctrl and scroll to zoom in/out.
模組介紹 作者原文
Description
Simple mod that makes the mouse wheel scroll through the hotbar instead of having to use 1-8 hotkey.
Zoom-in/out can be done by holding down ctrl then scrolling the mouse wheel up or down.
Installation instructions
Like every other Bepinex mod, get bepinex mods working first, then drop the dll in its \plugins subfolder
Changelog
Version 7
- Added optional compatibility for the mod "Hotbar Switch" by cjayride and originally by aedenthorn
- Fixed scrollbar when exiting from a slot that has been blocked (hammer, hoe, etc.)
Version 6
- Added compatibility with other mod which also hook on the mouse scroll wheel like SmarterHoe, better cultivator, etc...
- Simplified the ignore method so that even if one is method is broken by an incompatible mod, the rest will keep working just fine
Version 5
- New update to add a custom open ended text field so that people can add or remove which item gets "ignored" by scrolling.
- $item_hammer, hoe and cultivator are added by default to this new list.
- Improved the logic when using both numbers and scroll wheel to move through the hotbar
Version 4
- New version to improve scrolling when pressing 1-8 hotkey to manually select a weapon.
- The mod will now reset its index on one of those keypress.
- Also fixed dual wielding of main hand + shield or torch that broke scrolling a bit.
Version 3
- Mod now auto ignores mouse-wheel scrolling with Cultivator and Hoe tool.
- Settings files updated to simply ScrollHotbar.cfg
- Hotkey renamed from "previewkey" to "Camera Zoom Key"
Version 2
- Mod now auto ignores mouse-wheel scrolling when building or when world map is opened.
Shout outs
This was inspired by "ScrollHotbar" from KuroPhantom.
His code was open source MIT on github pre 1.0 so I re-wrote the whole thing and made it compatible.
Here is the full source code of the DLL:
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: