Jump to content

AIBuildsWalls: Difference between revisions

From ModEnc²
en>EvilRenegade
m Replacing Template:TTL with Template:F.
m 4 revisions imported
 
(No difference)

Latest revision as of 21:34, 31 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: AIBuildsWalls
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: true
Applicable to: General

Logic related to AIBuildsWalls, as a whole or in part, is obsolete in Red Alert 2 and/or Yuri's Revenge.



In Tiberian Sun

In Tiberian Sun and Firestorm, when set to yes, this flag will cause the GDI AI to build walls. With the introduction of the new wall logic in one of the Tiberian Sun patches, the AI tends to block off its own base due to the inability to construct walls properly, thus leading to major performance hits due to pathfinding. Therefore it is probably better to keep this tag set to no.

In Red Alert 2

In Red Alert 2 and Yuri's Revenge, this flag has no effect and has been superseded by the ProtectWithWall logic, which enables the AI to construct walls around BuildingTypes with ProtectWithWall=yes set.