FurnitureGrid
Creates a grid for furniture to be placed on
模組介紹 作者原文
Grid Snap
A mod for Lethal Company that enhances the ship's build mode by adding a configurable grid and rotation snapping system for placing furniture. Organize your ship with precision and ease!
Features
- Position Snapping: Snaps furniture to a configurable grid on the floor.
- Rotation Snapping: Snaps furniture rotation to specific angles (e.g., 45°, 90°).
- Visual Grid Overlay: Displays a customizable grid on the ship's floor to aid in placement.
- On-the-Fly Adjustments: Change grid size and rotation angles in real-time while in build mode.
- In-Game HUD Integration: The build mode tooltip is updated to show the current status of the grid and rotation snap.
- Highly Configurable: Almost every feature can be tweaked through the BepInEx configuration file.
Installation
It is highly recommended to use a mod manager like the Mod Manager for easy installation.
- Install BepInEx.
- Install the required dependency: LethalCompany_InputUtils.
- Install this mod, GridSnap.
Dependencies
- Required: LethalCompany_InputUtils by Rune580. This mod is necessary for the keybinds to work.
Controls
These keybinds are active while in the ship's build mode. They can be reconfigured in-game via the LethalCompany_InputUtils settings menu.
| Action | Default Keybind | Description |
| -------------------------- | --------------- | --------------------------------------------- |
| Toggle Grid Snap | Z | Enables or disables position snapping. |
| Increase Grid Size | = (Equals) | Makes the grid cells larger. |
| Decrease Grid Size | - (Minus) | Makes the grid cells smaller. |
| Toggle Rotation Snap | C | Enables or disables rotation snapping. |
| Increase Rotation Angle | F1 | Increases the angle for rotation snapping. |
| Decrease Rotation Angle | F2 | Decreases the angle for rotation snapping. |
Configuration
You can edit the configuration file located at BepInEx/config/Grid_Snap.cfg after running the game with the mod once.
[Grid]
| Key | Default Value | Description |
| ------------- | ------------- | ---------------------------------------------------- |
| Enabled | true | Enable grid snapping in ship build mode. |
| Size | 0.5 | Grid cell size in meters. |
| SizeStep | 0.05 | The increment for increasing/decreasing grid size. |
| SnapOnWalls | false | Enable grid snapping for items placed on walls. |
[Rotation]
| Key | Default Value | Description |
| -------------------- | ------------- | ------------------------------------------------------- |
| Enabled | true | Enable rotation snapping. |
| AngleStep | 45 | The angle to snap to, in degrees. |
| AngleStepIncrement | 15 | The increment for increasing/decreasing the snap angle. |
[Display]
These settings control the visual grid overlay.
| Key | Default Value | Description |
| ---------------- | -------------------- | ------------------------------------------------- |
| ShowOverlay | true | Show the visual grid overlay in build mode. |
| Extent | 15 | The grid's display radius in meters. |
| LineColor | 0, 1, 1, 0.4 | The color of the grid lines (R, G, B, A). |
| MinorLineWidth | 0.01 | The thickness of the minor grid lines. |
| MajorLineWidth | 0.03 | The thickness of the major grid lines. |
| MajorLineEvery | 4 | How often a major line appears (e.g., every 4th line). |
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: