FixGrid
Make grid always align with map size
模組介紹 作者原文
Stacklands FixGrid Mod
Adjusts the card alignment grid (when pressing E to align card) so that it always perfectly aligns with the map
meaning you'll never have cards trying to align into the wall and jump around because they can't again.
Specifically, it increases the space between cards in the grid if necessary to make it align.
It also adds configuration options for the minimum size of the grid and by default slightly decreases the minimal horizontal distance between
cards. You can change the configuration via the Mod Manager or by editing the BepInEx/config/de.benediktwerner.stacklands.FixGrid.cfg file
which will be generated after starting the game with the mod installed for the first time.
On the island, the visible grid can't easily be made to align properly so it will be hidden. The cards will still align to the
correct position. If you prefer, you can instead turn the alignment fix off for the island in the config. In that case, the grid
size will still be adjusted according to the configuration but the grid won't be perfectly aligned to the edge of the board.
Manual Installation
This mod requires BepInEx to work. BepInEx is a modding framework which allows multiple mods to be loaded.
- Download and install BepInEx.
- Download this mod and extract it into BepInEx/plugins/
- Launch the game
Development
- Install BepInEx
- This mod uses publicized game DLLs to get private members without reflection
- Use for example to publicize Stacklands/Stacklands_Data/Managed/GameScripts.dll (just drag the DLL onto the publicizer exe)
- This outputs to Stacklands_Data\Managed\publicized_assemblies\GameScripts_publicized.dll (if you use another publicizer, place the result there)
- Compile the project. This copies the resulting DLL into /BepInEx/plugins.
- Your GAME_PATH should automatically be detected. If it isn't, you can manually set it in the.csproj file.
- If you're using VSCode, the.vscode/tasks.json file should make it so that you can just do Run Build/Ctrl+Shift+B to build.
Links
- Github:
-:
Changelog
- v1.0.2:
- Compatibility with OffGrid and ToggleGrid mods
- v1.0.1:
- Only snap cards on current board to grid
- Fix island grid alignment (requires hiding the grid there, can be turned off in the config)
- v1.0: Initial release
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: