-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Feature request: Improve the city constructions AI #10516
Comments
Hello! I plan on looking at the city construction AI after I rework the worker AI. Can you give some examples of some of the unique combinations that you are thinking about? |
I am thinking about so-called abstract buildings. They are treated by game like buildings, but they don't represent physical buildings. They can be:
Many of these abstract buildings would have negative effects that need to be weighted by AI. It needs to decide whether the positive effects outweigh negative ones. Also, buildings that are not abstract can have negative effects too. The example is the pollution generated by factories. |
It's cool that you plan to use buildings as a sort of event. (Thoughts: Do we want to make a more detailed event json object that can be called? How much work would that take?) |
There are no random events in unmodded Civ 5, so maybe we should use the buildings as the representation of event.
In my opinion, it is worth implementing, especially if a building has more negative than positive effects. In order to do this, we need the function hasNegativeEffects() or something like that. |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 15 days. |
Closing, as I want to move discussion to #11264 |
The introduction
I've noticed that most city construction AI ignores most of building uniques. Also, the AI does not have the capability to weight the negative effects of the constructed buildings' uniques.
The suggestions
Why?
Implementing these features will make the AI much smarter, because it wouldn't ignore most of uniques like the current AI.
Moreover, proposed changes will enable the modders to make mods containing more realistic and in-depth effects provided by uniques. If some of these effects are negative, the improved AI would decide whether the positive effects outweigh the negative ones. If so, the AI would choose the building, otherwise it will not build it.
What do you think about my idea?
The text was updated successfully, but these errors were encountered: