Jump to content

MaximumBuildingPlacementFailures: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
en>ATHSE
No edit summary
Line 1: Line 1:
{{DeeZireInclusion}}<br />
The AI tries to place buildings in an outward spiral, once a valid building location is found, devoid of unbuildable terrain or [[Overlays]] it will attempt to place the building. Any of its own units obstructing the placement 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.
If the AI gets hung up on thinking it can place something but being unable to clear the space (too jammed with units for example) then it abandons that action after this many failures. The AI will wait for the number of frames specified in PlacementDelay= before trying again so that you can tell how long it will try for it.
 
==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. SRarely this leads to defensive structure spam.
 
See also [[PlacementDelay]].

Revision as of 18:15, 24 March 2025

The AI tries to place buildings in an outward spiral, once a valid building location is found, devoid of unbuildable terrain or Overlays it will attempt to place the building. Any of its own units obstructing the placement 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. SRarely this leads to defensive structure spam.

See also PlacementDelay.