Jump to content

WantsExtraSpace: Difference between revisions

From ModEnc²
m 1 revision imported
ATHSE (talk | contribs)
m '
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Can be set to 'yes' or 'no' and determines if this BuildingType requires extra space when built by the AI due its purpose (eg a War Factory so it does not get blocked with created units). The effect is that the game adds 1 to the value defined with the AIBaseSpacing= statement in the [AI]section to ensure more space is left between this and other structures. NOTE: this was added to the Weapons Factories, Barracks and Refineries but was commented out as it can cause severe slowdown on (it can even impede) AI base building as it vainly strives to place the structure in limited space - if the AI cant build a Weapons Factory, Barracks or Refinery within the space it has, it obviously won't get very far.
|files={{Categ|ini=rules}}
|values={{Values|Boolean}}
|default=no
|types={{Categ|BuildingTypes}}
|ra2=yes
|yr=yes
}}
Normally [[BuildingTypes|building]] placement by AI players follows [[AIBaseSpacing|AIBaseSpacing=]], but there are cases where a building is expected to be surrounded by walls, or has a bib where units might accumulate, this tag can be added to instruct the AI to build it 1 cell farther away from other structures.
 
==Note==
This was originally added to the Weapons Factories, Barracks and Refineries but was later commented out by Westwood, as it can cause the AI to struggle to place large structures when space is already limited, making the AI develop its base very slowly. If the AI can't build a Weapons Factory, Barracks or Refinery within the space it has, it obviously won't be an effective enemy.
 
==See Also==
[[AIBasePlanningSide]]
 
[[Adjacent]]

Latest revision as of 02:47, 5 April 2025

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


Normally building placement by AI players follows AIBaseSpacing=, but there are cases where a building is expected to be surrounded by walls, or has a bib where units might accumulate, this tag can be added to instruct the AI to build it 1 cell farther away from other structures.

Note

This was originally added to the Weapons Factories, Barracks and Refineries but was later commented out by Westwood, as it can cause the AI to struggle to place large structures when space is already limited, making the AI develop its base very slowly. If the AI can't build a Weapons Factory, Barracks or Refinery within the space it has, it obviously won't be an effective enemy.

See Also

AIBasePlanningSide

Adjacent