ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "AIBuildsWalls"

From ModEnc
Jump to: navigation, search
 
m (Replacing Template:TTL with Template:F.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{flag
Can be set to 'yes' or 'no' and determines whether or not the AI will build walls when it is an Allied army. Appears to have no effect as structures can now have the ProtectWithWall= tag which makes the AI more effective at wall deployment. In either case, the AI has never been any good at building walls and the 'new' wall logic that was implemented in Tiberian Sun (where you could string wall sections together as determined by their GuardRange= ) simply causes more problems and the AI eventually makes its own base practically impassable - this in turn causes the game to slow to a crawl as the AI tries to deploy structures and move units around a base that consists of many adjoined walls.
+
|name=AIBuildsWalls
 +
|files={{categ|ini=rules}}
 +
|values={{values|bool}}
 +
|default=true
 +
|types={{categ|General}}
 +
|ts=yes
 +
|fs=yes
 +
|ets=yes
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes
 +
|ra2obsolete=yes
 +
}}
 +
 
 +
==In Tiberian Sun==
 +
In {{ts}} and {{fs}}, 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 {{ts}} 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 {{ra2}} and {{yr}}, this flag has no effect and has been superseded by the {{f|ProtectWithWall|link}} logic, which enables the AI to construct walls around [[BuildingTypes]] with {{tt|ProtectWithWall{{=}}yes}} set.

Latest revision as of 09:12, 27 November 2009

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: AIBuildsWalls
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: true
Applicable to: General

Cc cnrdelete-all.pngLogic 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.