Open
Conversation
Collaborator
|
I can see a ton of this (if not all of this) being able to be modularised! I added the modularisation requested tag as a result. |
Collaborator
Author
Oh a ton can... I was just getting it working first then was gonna do modulation after the fact... The big issue we have right now is pentest.dme being edited by too many tms lol... So since this was contained I decided to keep it there for testing |
Collaborator
Author
|
PR #526 , also adjusts some hivebot stuff. But should not conflict with these changes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
About The Pull Request
This is wave 1 of a Hivebot spawning rebalance.
Waste planets currently spawn, on average:
100-150 free standing hivebots
10-20 Hivebot fabricators
Each Hivebot Fabricator spawns 5 hivebots before it goes into its wait mode.
There is no maximum that a single fabricator can spawn, it just waits until one of its 5 has died.
This means, on average a waste planet can spawn 100-300 hivebots.
This causes a massive load on the server in both AI Behavior Calculations and Mob Calculations.
The first wave solution:
First, Fabricators have had their maximum units at a single time reduced to 4.
Second, Fabricators have a resource system that it spends on units. Stronger units cost more.
This means that the maximum units a fabricator can produce is between 2 and 10. 2 Core Hivebots, or 10 basic.
Fabricators have been given more sprites to indicate if they are in idle mode (waiting for a slave hivebot to die) or depleted their resources.
On average this reduced a hivebot planet by about 20%
But, to help counter this. Hivebots that can spawn had their rates adjusted:
Cores are 5x more likely Than before (1 -> 5)
Mechanics are 2x more likely Than before (5 -> 10)
Strongs are 2x more likely Than before (5 -> 10)
Rapids are 1.5x more likely Than before (10 -> 15)
Ranged are 0.25 less likely Than before (40 -> 30)
Basic are 0.25 less likely Than before (40 -> 30)
(The old roll was a random 101... the new is a random 100)
Second wave might be to adjust the Wasteplanet generation rates on hivebots. As this alone might create 100-200 by its self.
Why It's Good For The Game
Hivebots double dip in server load. They are both included inside the mobs sub controller and the ai behavior sub controller. This means the server has to work extra hard for these mobs.
Changelog
🆑
balance: Attempts to rebalance hivebot spawn rates to reduce server load
/:cl: