Lethal Company
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
1.5K
Size
171KB

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.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.