Guff-SuitLocker icon

SuitLocker

Replaces hanging ship suits with a locker. Hold interact to browse, search and wear all registered vanilla and modded suits.

By Guff
Last updated 2 weeks ago
Total downloads 1160
Total rating 0 
Categories Mods BepInEx Suits Furniture Cosmetics Asset Replacements AI Generated
Dependency string Guff-SuitLocker-1.0.9
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

SuitLocker

Version 1.0.9 strengthens hanging-suit suppression on each modded host/client, including late-joining players, disabled suit components and replacement child visuals. Install this version on EVERY player and fully restart the game. Replace the older SuitLocker installation rather than keeping duplicate DLLs.

This removes hanging suit visuals and rack interaction, while keeping outfits available in the locker and visible on players. It cannot change the display on a client without the mod, or guarantee compatibility with arbitrary mods that create independent clothing objects outside UnlockableSuit hierarchies.

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.
  • LockerScale: locker size multiplier, default 1.2.
  • MountBelowAnchor: locker center distance below the rack anchor, default 0.9 m.

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

1.0.9 compiled against the locally installed game, BepInEx, Harmony and Unity assemblies. Package integrity and DLL/manifest version were verified. The existing asset bundle is unchanged. A live host/client lobby has not been tested; test late joining, suit paging and your particular suit mods with every player on 1.0.9.

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.