Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
SuitLocker
Replaces hanging ship suits with a locker. Hold interact to browse, search and wear all registered vanilla and modded suits.
By Guff
| Date uploaded | a month ago |
| Version | 1.0.8 |
| Download link | Guff-SuitLocker-1.0.8.zip |
| Downloads | 415 |
| Dependency string | Guff-SuitLocker-1.0.8 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305README
SuitLocker
Version 1.0.6 pushes the cabinet another 25 cm toward the wall compared with 1.0.5, for a total extra inset of 35 cm after wall alignment. Height and size are unchanged.
Updating to 1.0.3: Replace both SuitLocker.dll and suitlockerassets from this ZIP, then fully close and restart the game. The old bundle contains the miniature, offset mesh and cannot be used with this DLL.
Replaces the hanging suits in the ship with the supplied metal locker. Hold E on its front to open a searchable menu of all suits registered with the game, including vanilla and modded suits. Click Wear to equip a suit. Press Esc or click Close to leave the menu.
Uses the game's interact control, so rebinding interact also changes the locker control. The default hold duration is 0.7 seconds.
Features
- A locker mounted at the middle of the normal suit-rack wall, facing into the ship and enlarged by 20%.
- Hanging suits are hidden and their interaction is disabled. Suppression runs again after suit updates and late in each frame so rack paging, repositioning and re-enabling do not restore the hanging suits.
- All registered suit materials appear in the menu, including unpurchased suits. There is no menu suit limit. Equipped suits still render normally on players.
- Searchable alphabetical list, scrolling, current-suit indicator and one-click equipping.
- Uses the normal suit-switch function so suit-material and model-replacement hooks can run.
- Host-authorized requests and stable suit identities synchronize selections even when numeric suit IDs differ between players. Periodic snapshots also update late joiners.
- Uses your supplied rifle-locker mesh and texture. Its doors stay visually closed; holding interact opens the suit menu.
Installation
Install BepInExPack, then import this ZIP as a local mod in Thunderstore Mod Manager or r2modman. Alternatively, copy the included BepInEx folder into a BepInEx-enabled game installation.
Every player, including the host, needs SuitLocker and the same suit packs. SuitLocker does not download or include suit packs. Install the suit loader required by your packs, such as More Suits.
This is independent of Cantina Bird Stalker and does not require it or LethalLib.
Configuration
Launch once to create BepInEx/config/clair.suitlocker.cfg.
HoldSeconds: 0.7 by default.PositionOffset: optional local-position adjustment for custom ship interiors.RotationOffset: optional extra rotation in degrees.Scale: locker size multiplier, default 1.
Restart the lobby after changing placement. Use matching placement settings on all players. The default placement uses the game's rack anchor and a fixed mid-wall center. It no longer raycasts down to the floor.
Compatibility and behavior
The menu reads the game's live unlockable-suit registry, including mods that register suits there, such as More Suits. A suit disabled or not loaded by its own suit loader cannot appear until that loader registers it. Cosmetic systems that do not register game suits need their own integration.
SuitLocker preserves the networked hanging-suit objects and the suit registry for compatibility; it suppresses their renderers, colliders and rack interaction rather than deleting network objects. The original stock rack frame (NurbsPath.002) and end hook (NurbsPath.004) are deactivated using their verified ship-scene identity and proximity to the suit anchor. Additional racks can also be suppressed by hierarchy, mesh, material or texture identity. Uninstalling the mod restores the normal rack on the next game launch.
Choosing an unpurchased suit bypasses its purchase requirement for wearing it. SuitLocker does not change credits or permanently mark suits as purchased. Normal game behavior determines which outfit you keep between sessions.
If the host cannot match a requested suit or the player has moved too far from the locker, the request is rejected instead of equipping a different suit.
Build and testing status
Version 1.0.3 fixes the actual mesh-unit and origin defect found in the runtime log. The new bundle stores vertices directly in meters with no imported child transforms. Unity instantiated the exported bundle and verified a 2.34 m height and the expected wall-mounted center. An independent bundle reader also confirmed the actual serialized vertex dimensions. The installed native ship scene was inspected to verify the rack frame and end-hook names and proximity checks. The plugin compiled against installed Lethal Company assemblies. The Windows x64 Unity asset bundle built and reopened successfully. An isolated game startup check loaded SuitLocker successfully. Ship placement, menu interaction and multiplayer behavior have not been verified in a play session.
Credits
Locker model and texture supplied by the creator in rifle-locker-locked.zip. BepInEx belongs to its respective authors. SuitLocker includes no third-party suit packs.
CHANGELOG
Changelog
1.0.9
- Scan for hanging suits even when the ship rack anchor is unavailable.
- Force suit renderers off and enforce from the plugin even when a suit component is disabled.
- Refresh suppression when suit children change; run suit patches at last Harmony priority.
- Preserve player outfits, suit catalog, network objects, locker placement and selection synchronization.
1.0.8
- Updates the package and plugin version to 1.0.8.
- Includes the creator-selected in-game screenshot icon.
- Retains the accepted locker placement and behavior.
1.0.6
- Pushes the locker another 25 cm toward the wall compared with 1.0.5 (35 cm total extra inset after wall alignment).
1.0.5
- Pushes the locker another 10 cm toward the wall.
1.0.4
- Seats the back of the locker against the wall using three horizontal probes, accounting for wall ribs and mesh depth.
- Uses a 70 cm backward adjustment when a custom ship provides no matching wall collision.
- Preserves locker height, size, menu and rack removal.
1.0.3
- Fixes the actual miniature/offset locker geometry by baking transformed FBX vertices to a centered, ground-level, meter-scale mesh.
- Includes a new asset bundle; both the DLL and bundle must be replaced together.
- Directly deactivates the verified native rack frame NurbsPath.002 and end hook NurbsPath.004 near the suit anchor.
- Rejects the old imported-transform bundle with a clear log message.
- Validates instantiated bundle geometry and independently decodes the serialized vertices.
1.0.2
- Reuses a game-configured HDRP material and validates its runtime shader state to address the invisible locker mesh.
- Detects the stock rack using its base-color texture and mesh name as well as hierarchy and material names.
- Finds nearby rack geometry outside the usual ship parent for compatibility with ship-overhaul mods.
- Keeps the larger mid-wall mount from 1.0.1.
1.0.1
- Mounts the locker at mid-wall height instead of snapping it to the floor.
- Enlarges the locker by 20% and moves it farther into the cabin.
- Removes rack frame and hook geometry identified by the stock rack material.
- Uses a new LockerScale setting so existing 1.0.0 configs receive the new size.
1.0.0
- Adds the supplied metal locker at the ship's suit rack.
- Suppresses hanging suits and their interaction continuously.
- Adds hold-to-open, searchable suit selection with no menu count limit.
- Includes all registered vanilla and modded suit materials, including unpurchased suits.
- Adds host-authorized selection, stable suit matching and late-join snapshots.
- Adds configurable interaction duration and custom-interior placement adjustments.