ShipHatch
Purchasable roof hatch for the 2 Story Ship: animated trapdoor + ladder connecting the 2nd floor to the ship roof. Works with Wider Ship Mod.
模組介紹 作者原文
ShipHatch
A purchasable Roof Hatch for MelanieMelicious' 2 Story Ship.
Buy it from the terminal and a reinforced access shaft is cut through the hull
above the ship's second floor — with a pressure-rated trapdoor, a hand-crank
lock wheel, indicator lights and a service ladder. Jetpack onto the roof, crank
the hatch open, and drop yourself (or your loot) straight into the second
floor. Climb the ladder to get back up.
Features
- Terminal purchase — buy roof-hatch (default $1500, configurable).
Deploys onto the ship immediately when bought, and persists with the save.
- A real hole in the roof — the roof mesh is cut at runtime (CSG), so you
can physically fall/drop items through it. No teleport fakery.
- Animated trapdoor — ratcheting lock wheel spin, pneumatic hiss, heavy
steel clank; openable and closable from the roof and from inside.
- Service ladder — climb from the 2nd floor to the roof and back down.
- Status lights — red when locked, green when open, plus a shaft light.
- Synced in multiplayer — open/close state replicates to all players.
- Smart placement — automatically finds a flat, clear spot on the roof away
from the skylight, adapting to Wider Ship Mod and 2 Story Ship layouts.
Requirements
- LethalLib
- 2 Story Ship
(the hatch needs the second floor + roof; without it nothing deploys)
- Works with and without Wider Ship Mod
Config (blujay.ShipHatch.cfg)
| Setting | Default | Description |
| --- | --- | --- |
| Store.Price | 1500 | Terminal price in credits |
| Store.StartUnlocked | false | Hatch comes free with the ship |
| Placement.OffsetX / OffsetZ | 0 | Nudge the auto-chosen hatch position (ship-local meters) |
| Placement.HatchSize | 1.5 | Width of the opening in meters |
| Debug.VerboseLogging | false | Detailed placement/build logs |
All players in a lobby should use the same placement/size settings.
Notes
- The hatch is closed (and climbing blocked) until someone cranks it open.
- If no valid roof spot exists, the mod logs why and falls back to the best
available spot rather than doing nothing.
- Selling/resetting the ship restores the original roof cleanly.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: