CustomBeehiveSpawns
Beehives on the five moons that never get them. Bees are added to the game's own daytime creature list at a percentage you set per moon; every spawn decision after that stays vanilla. Host-only.
模組介紹 作者原文
CUSTOM BEEHIVE SPAWNS
Language / Язык: English · Русский
CUSTOM BEEHIVE SPAWNS
Author: Solo00n
Beehives on the five moons that never get them — added to the game's own daytime creature list at a percentage you set per moon, with every spawn decision after that left to the game.
WHAT IT DOES
- Hives on the bee-less moons — Offense, Rend, Dine, Titan and Embrion can have beehives, and so can any modded moon that has none.
- A percentage per moon — every one of those moons gets its own entry in the config, rolled once per landing off the map seed.
- Vanilla spawning, untouched — how many hives, at what hour, where they land and what they are worth stay the game's own decision.
- The vanilla bee moons are left alone — Experimentation, Assurance, Vow, March, Adamance and Artifice are not touched unless you ask, with a separate weight override for those who want one.
- Modded moons included — the config fills itself in from whatever moons are loaded, matching by name with the catalogue number stripped.
- Zero is truly zero — a moon set to 0 is left exactly as the game shipped it, nothing added and nothing borrowed.
HOW IT WORKS
A hive is not placed by the scrap generator. The swarm is a daytime creature, like a manticoil, and RedLocustBees.Start spawns the hive next to wherever the swarm landed. So a moon has hives for exactly one reason: bees are in its DaytimeEnemies list. Offense, Rend, Dine, Titan and Embrion are not missing a hive setting — they are missing the bees.
- On the host, as a moon loads, bees are added to that moon's DaytimeEnemies at the average weight the vanilla bee moons use — read off your own install, not hard-coded, so it stays right if another mod rebalances them.
- One coin flip against the moon's configured percentage decides whether that entry is in the list for the day. Same map seed, same answer.
- Everything after the flip is SpawnDaytimeEnemiesOutside doing exactly what it always did.
- Titan and Dine run no daytime creatures at all — their daytime power budget is zero, so the spawner rejects every candidate before it looks at the list. They are lent the time-of-day curve of a moon that does run them. Their budget is sized to MaxHivesOnWokenMoons rather than copied, because bees are the only daytime creature there and nothing would compete for the slots.
- No custom network objects and no new prefabs: the swarm reuses the EnemyType asset the game already registers, which is what makes the whole thing netcode-safe.
Eclipsed does not affect hives. The word Eclipsed appears once in the entire game assembly, in a HUD tip. The weather's only mechanical effect is EclipseWeather.OnEnable, which sets minEnemiesToSpawn and minOutsideEnemiesToSpawn — the lower clamp on inside and outside spawn cycles. The daytime spawner clamps against a hard-coded 0 instead, so bees are exactly as common under an eclipse as under clear skies. The number people quote is that weather variable: enemies per cycle, not hives.
What limits hives per landing is the moon's maxDaytimeEnemyPowerCount divided by the swarm's PowerLevel, capped again by its MaxCount. Set DebugMode to see those figures for your install.
MULTIPLAYER (HOST-AUTHORITATIVE)
Only the host needs the mod. Creature lists are local assets that never travel over the network, and only the machine that spawns ever reads them.
Host: edits the moon's daytime list as the moon loads, well before anything spawns. Bees and their hive then reach clients through the game's own netcode — NetworkObject.Spawn and SpawnHiveClientRpc — like any vanilla enemy.
Clients: nothing is changed on them at all. The mod writes their config file so it is complete and editable, and stops there.
Joining a modded-free lobby: a player carrying this mod into somebody else's game changes nothing for anyone, including themselves.
Leaving a lobby: every edit is reverted when the ship scene ends, so the moon assets are back to vanilla for whatever comes next in that session.
REQUIREMENTS
-
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: