MaximumBuildingPlacementFailures
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Flag: | MaximumBuildingPlacementFailures |
File(s): | Rules(md).ini |
Values: | Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767. |
Default: | 3 |
Applicable to: | General |
The AI tries to place buildings in an outward spiral, once a valid building location is found, devoid of unbuildable TerrainTypes or OverlayTypes it will attempt to place the building. Any of its own units obstructing the placement will be ordered to vacate any cells intended for the building, but enemy units present or units unable to move in time will cause its attempts to fail. This tag defines how many failures before it abandons placement.
Note
If setting this value too high, the AI will get hung up, not placing anything important and slow to build buildings, leading to the AI stagnating. Rarely this leads to defensive structure spam.
Bugs/Side-Effects/Unexpected Limitations
This feature does not function in campaign scenarios, therefore the AI base node will make continuous attempts indefinitely.