DungeonSizeLimiter
Multiplayer desync & lag fix, NavMesh error shield & enemy recovery, Netcode queue crash prevention, fast loading, dual utility slots & 6-slot hotbar, seamless CPR field revive, Spartan kick server-synced ragdoll knockdown.DungeonSizeLimiter & Modpack Core (v1.2.13)
Created by Khameli0n
The definitive All-In-One Core Mod engineered specifically for heavily modded Lethal Company modpacks. It consolidates persistent ship furniture layouts, lore-accurate dungeon flow balancing, store inventory un-rotation, dungeon size management, facility navigation radar, two-handed ladder mechanics, visceral Spartan kicking, dynamic ship door health & monster breaches, ship expansion compatibility, terminal crash fixes, and progression QoL into one seamless, high-performance plugin.
What Does This Mod Do?
1. Persistent Ship Furniture Layout (Survives Quota Resets & New Games)
- Never Re-Decorate Again: Whenever you move and place cupboards, bunkbeds, storage lockers, terminals, or modded furniture, your custom layout is saved directly to
Kham_PersistentShipLayout.json. - Survives Being Fired & New Runs: When the crew misses quota and is fired, or when you start a brand new game or save file, your custom ship layout is automatically restored instead of resetting to vanilla defaults!
- Auto-Captures Existing Runs: If you already moved items in your current ship, the mod remembers and records them automatically.
- Multiplayer Synchronized: Connected crewmates automatically see the host's layout.
2. Lore-Accurate Interior Balancing (5% Random Chance / 95% Lore Native)
- Preserve Environmental Storytelling: RandomInteriors normally forces a 100% random interior on every moon, ignoring the intended lore and custom themes of each planet.
- Smart Balancing: Capped global randomization to a 5% surprise chance, ensuring moons retain their native, intended interior (Mansion, Facility, or custom planetary dungeons) 95% of the time.
- Configurable: Fully adjustable via
DungeonSizeLimiter.cfg([ModpackFixes] RandomInteriorChancePercentage). Set to0for 100% lore-accurate interiors or tweak to any percentage.
2. Permanent All-Items Shop Catalog (No Rotating Stock)
- All Items Available: Completely replaces vanilla's 4–5 item rotating store cap (
Terminal.RotateShipDecorSelection). - Permanent Decor & Suits: All ship decor, furniture, plushies, and custom suits (vanilla and modded) are permanently in stock in both the standard Terminal shop and
CrackedTerminal's Unlocks catalog. - Never wait on random quota resets to buy your favorite suits or furniture.
2. Visceral Spartan Kick (Middle Mouse Button / MMB)
- Direct Kick on MMB: No stances, fists, or hotkey clutters. Simply press Middle Mouse Button (MMB) at any time to deliver a powerful kick.
- Enemy Knockback & Stun: Kicking an enemy knocks them backward along the NavMesh, stuns them for 3 seconds, and deals solid impact damage.
- 1-Try Locked Door Breach: Locked facility doors feature a strict 1 attempt per player rule. If your breach kick fails, the door holds firm and you cannot retry that door (your teammates can still try their 1 attempt). Unlocked doors can be kicked open or shut freely.
3. Dynamic Ship Door Health & Monster Barge-Ins
- Door Integrity Pool (No Overheating): The ship door meter is now an active Door Integrity Health Pool instead of a timer that runs out on its own. Closed doors stay safely shut at 100% until attacked.
- Monster Battering & Barge-In: Outside monsters (Eyeless Dogs, Forest Giants, Earth Leviathans, RadMechs, Thumpers, Masked, etc.) will attack and pound against closed ship doors, draining door integrity with authentic metallic pounding audio and screen shake.
- Breach: When door integrity reaches 0%, monsters barge the doors wide open!
- Solid Furniture Obstacles: Dynamically carves NavMesh obstacles on placed ship furniture (
PlaceableShipObject) so enemies cannot phase or glitch through cabin barricades.
4. Daytime Outside Monster Delay (4:00 PM)
- All exterior daytime and nighttime monsters are suppressed before 4:00 PM (16:00), even during Eclipsed weather or custom spawner events. Enjoy peaceful daytime scavenging.
- SCP-4666 (The Yule Man) is completely purged from all spawn pools.
5. Facility Entrance Radar (Guided Company)
- RMB Scanner Pulse: Pressing Right-Click (Scan) outside projects an orange holographic guide path directly along the terrain and NavMesh leading to the facility main entrance.
- Door Beacon: A camera-facing floating hologram marker hovers right over the entrance doorway so you can find the doors through thick blizzards, fog, rain, or night.
- Visor HUD: Displays a clean
[!] FACILITY RADAR: Main Entrance: XXmdistance readout in the bottom-right of your visor.
6. Two-Handed Ladder & Half-Life Climbing
- Carry Heavy Scrap on Ladders: Climb any ladder while carrying heavy two-handed scrap, big engines, or drills without dropping them or seeing
[Hands full]. - Auto-Climb: Walk into any ladder to begin climbing automatically.
- Spacebar Jump-Off: Tap
Spaceat any point on a ladder to push off and dismount with momentum.
7. Orbit Doors & Spacewalk Safety
- Ship doors remain operable in orbit (compatible with Simple Orbit and ShipWindows).
- Disables lethal orbit vacuum and rescues players falling into space back to the ship deck safely.
8. Wider Ship & 2-Story Ship Compatibility
- "Can't Exit Terminal" Unfreeze: Permanently resolves the soft-lock bug caused by ShipWindows and InteractiveTerminalAPI where players get trapped in the terminal screen.
- Materials & Asset Sync: Pre-initializes 2-Story Ship glass and floor materials so it never crashes or causes invisible textures with Wider Ship Mod.
- Moved Magnet Switch Alignment: Perfectly positions the ship magnet lever on the expanded hull wall so it doesn't float in mid-air.
9. Dungeon Size Clamping (1.35x Cap)
- Clamps excessively bloated modded dungeon size multipliers (often 2.5x - 4.5x) to a clean, balanced 1.35x.
- Prevents infinite generation freezes, network desync, and falling out of the world while preserving full room variety.
10. CrackedTerminal 55+ Moon & Scrollbar Fix
- Fixes DawnLib and LethalLevelLoader button inversions.
- Restores full mousewheel scrolling and scrollbar dragging across all 55+ modded and vanilla moons.
11. Progression & Gameplay Quality of Life
- Natural Moon Pricing: Restores fair vanilla and modded travel costs so you can naturally progress through moons and quotas.
- Storage Locker Team-Wipe Protection: When all players die on a moon, items stored safely inside the ship's metal storage locker are kept, while loose scrap on the floor is lost.
- Orbit 100 HP Restore: Surviving astronauts returning to orbit are fully healed to 100 HP and critical injuries/limps are cleared.
- Universal Scrap & Monster Pools: Automatically pools custom interior/exterior scrap and enemies across moons.
Configuration
All features can be toggled or fine-tuned in BepInEx/config/com.khameli0n.dungeonsizelimiter.cfg:
[ModpackFixes](ShowAllShopItems, FixAllMoonsInTerminal, RestoreNaturalMoonPrices, EnableAllScrapOnAllMoons, EnableAllMonstersOnAllMoons)[Combat](KickDamage, KickKnockbackForce)[ShipDoor](DoorIntegrity, BargeInEnabled, BlockOutsideEnemiesBefore4PM)[EntranceRadar](EnableEntranceRadar, TrailColorHex, PulseDuration, PulseSpeed)[Ladders](EnableTwoHandedLadders, EnableAutoLadderClimb, LadderBoostForce)[DungeonSize](MaxDungeonSizeMultiplier = 1.35)[Gameplay](KeepLockerItemsOnTeamWipe, HealToFullInOrbit, EnableWiderShipCompatibility)
Installation
- Install via Thunderstore Mod Manager or unzip
DungeonSizeLimiter.dllinto yourBepInEx/plugins/folder. - Launch Lethal Company and enjoy!
