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

Details

Date Uploaded
Downloads
110
Size
183KB

DryBeehives

A BepInEx mod for Lethal Company that prevents Circuit Beehives (RedLocustBees) from spawning submerged inside static water bodies (ponds, lakes, and rivers on moons like 61-March, 56-Vow, 20-Adamance, etc.).

Features

  1. Static Outdoor Water Detection (WaterHelper):
    • Scans active outdoor QuicksandTrigger water volumes (isWater == true, isInsideWater == false, excluding dynamic FloodWeather water) as well as RoundManager.underwaterBounds and NavMeshModifierVolume (WaterNavArea / Area 12).
    • Properly handles Lethal Company's massive underground water-table slabs (such as March's 170m x 180m KillTrigger boxes) and negatively-scaled water colliders (such as Vow's dam/river trigger).
  2. Same-Area Shoreline Relocation (RedLocustBeesPatch):
    • Excludes Unity's baked "Water" NavMesh area (Area 12) when sampling beehive spawn positions.
    • When a Circuit Beehive or bee swarm spawns inside static water (or within ShoreBufferDistance of the water's edge), searches outward in concentric rings and relocates it onto the nearest dry NavMesh shore/ground.
    • Ensures the bees stay within defense range and line-of-sight of the relocated hive on sloped pond banks.

Configuration

After running the game once with the mod installed, a config file is generated at BepInEx/config/lethalcompany.drybeehives.cfg:

  • General.Enabled (default: true) — Enable or disable beehive relocation out of static water bodies.
  • Placement.ShoreBufferDistance (default: 2.0) — Minimum distance (in meters) from the edge of a static water body to place a relocated beehive.
  • Placement.MaxSearchRadius (default: 80.0) — Maximum outward search radius (in meters) when searching for the nearest dry NavMesh spot.
  • Debug.VerboseLogging (default: true) — Log whenever a beehive or bee swarm is detected in static water and moved to dry land.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.