- Joined
- Sep 6, 2015
- Messages
- 576
So, in my map there are Small and Large Construction sites which can be upgraded to various buildings.
The AI is set to do this in its building queue:
- Build one Small/Large Construction Site
- Build (upgrade) X (the building which is the upgrade of the Small/Large Construction Site)
But in-game it does this:
- Builds one Small/Large Construction Site
- Builds (upgrade) X (the building which is the upgrade of the Small/Large Construction Site)
- Builds one Small/Large Construction Site
So it seems that it must rebuild the lower upgrade level building after it has been upgraded to another building. It did this even with other buildings with upgrades, for example towers which can be upgraded from the Construction Sites and upgraded further to stronger towers. For the towers the AI went full retard and was stuck in a never-ending loop of building infinite number of them.
I've tried setting some building conditions in the AI editor, so that it doesn't build the Small/Large Construction Site after the building for which it is needed is constructed or becomes under construction, or removing the Construction Sites from the building queue completely, but nothing works. It just continues spamming a Construction Site for each building that is built (upgraded) from it, or doesn't build anything at all.
The AI is set to do this in its building queue:
- Build one Small/Large Construction Site
- Build (upgrade) X (the building which is the upgrade of the Small/Large Construction Site)
But in-game it does this:
- Builds one Small/Large Construction Site
- Builds (upgrade) X (the building which is the upgrade of the Small/Large Construction Site)
- Builds one Small/Large Construction Site
So it seems that it must rebuild the lower upgrade level building after it has been upgraded to another building. It did this even with other buildings with upgrades, for example towers which can be upgraded from the Construction Sites and upgraded further to stronger towers. For the towers the AI went full retard and was stuck in a never-ending loop of building infinite number of them.
I've tried setting some building conditions in the AI editor, so that it doesn't build the Small/Large Construction Site after the building for which it is needed is constructed or becomes under construction, or removing the Construction Sites from the building queue completely, but nothing works. It just continues spamming a Construction Site for each building that is built (upgraded) from it, or doesn't build anything at all.