
You are viewing a potentially older version of this package. View Latest Version
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.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
- Static Outdoor Water Detection (
WaterHelper):- Scans active outdoor
QuicksandTriggerwater volumes (isWater == true,isInsideWater == false, excluding dynamicFloodWeatherwater) as well asRoundManager.underwaterBoundsandNavMeshModifierVolume(WaterNavArea/ Area 12). - Properly handles Lethal Company's massive underground water-table slabs (such as March's
170m x 180mKillTriggerboxes) and negatively-scaled water colliders (such as Vow's dam/river trigger).
- Scans active outdoor
- 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
ShoreBufferDistanceof 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.
- Excludes Unity's baked
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.