Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some hives produce units +3 tiers to actual evolution factor #175

Open
garrotte13 opened this issue Jul 21, 2023 · 1 comment
Open

Some hives produce units +3 tiers to actual evolution factor #175

garrotte13 opened this issue Jul 21, 2023 · 1 comment

Comments

@garrotte13
Copy link
Contributor

garrotte13 commented Jul 21, 2023

I have evolution very close 60%. For game with max tier 10 it is a start of producing units Tier-5 with a very low chance. But with some hives for some particular factions ( I suppose it is related to one particular BaseAI, but I'm not sure ) I meet units tier-7 and tier-8 attacking my defenses.
Probably tier-7 is ok if they are rare enough. But tier-8... this units are normally starting at evolution over 85%. For factorio evolution 60% and 85% are very different - one is midgame, the other one is definitely endgame.
Therefore I see two problems with hives here:

  1. Plus 3 tiers while it is written in mod changelog about 2 tiers
    - Hives now produce two upper tier units
  2. Probably plus tiers is not always a good solution. Maybe it's better to calculate surplus added to evolution factor for selecting tiers. I don't know how it can be done with factorio's prototype mechanics
    Hive is located at coordinates of -250,-1250 if geo factor makes sense here.
    And here is a screenshot, where one can see, that hive is generating T8 biters when most other structures are still generating T4 biters and starting generating T5 with 30% chance
    image
@garrotte13
Copy link
Contributor Author

A quick (but not perfect) fix is to change

buildEntitySpawner(template, 5)

to
buildEntitySpawner(template, 3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant