Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
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
| Date uploaded | 2 weeks ago |
| Version | 1.0.0 |
| Download link | Simisz-DryBeehives-1.0.0.zip |
| Downloads | 110 |
| Dependency string | Simisz-DryBeehives-1.0.0 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
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.
CHANGELOG
Changelog
[1.0.0] - Initial Release
- Prevents Circuit Beehives (
RedLocustBees) and bee swarms from spawning inside static outdoor water bodies (ponds, lakes, and rivers on moons like 61-March, 56-Vow, and 20-Adamance). - Automatically relocates submerged beehives to the nearest dry NavMesh shoreline outside a configurable
ShoreBufferDistance(default2.0m). - Excludes Unity's baked
"Water"NavMesh area (Area 12 /WaterNavArea) during beehive spawn sampling. - Accurately handles Lethal Company's underground water-table slabs (
KillTrigger/WaterTrigger) and negatively-scaled water colliders. - Ignores quicksand (
isWater == false), indoor water (isInsideWater == true), and dynamicFloodWeatherwater. - Syncs relocated positions across all clients via
RedLocustBees.SpawnHiveClientRpcandSyncPositionToClients.