Simisz-DryBeehives icon

DryBeehives

Prevents Circuit Beehives (and bees) from spawning inside static water bodies (ponds/lakes on moons like March or Vow) by relocating them to the nearest dry shore/ground.

By Simisz
Last updated an hour ago
Total downloads 5
Total rating 0 
Categories Bug Fixes AI Generated
Dependency string Simisz-DryBeehives-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2100

README

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.