Jump to content

MaximumBuildingPlacementFailures

From ModEnc²
Revision as of 21:57, 31 March 2025 by MarkJFox (talk | contribs) (5 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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 terrain or Overlays 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.

See also PlacementDelay.