Jump to content

AISafeDistance: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
Rain-Islet (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Distance, in cells, that the AI will consider gathering outside its enemies base when initiated to do so through the relevant AI script action. This distance is measured from the center of the enemy base.
|name={{PAGENAME}}
|files={{Categ|ini=rules}}
|types={{Categ|General}}
|values={{values|unsigned integers}}
|ra2=yes
|yr=yes
}}
Whenever the AI is instructed to gather at the enemy/ally base through a script, it will gather this number of cells from the center of the enemy/ally base.
 
==Notes==
The value should be set with some caution. On maps with islands or peninsulas, a distance too high might gather them in an unreachable spot, this is especially annoying with transports. Alternately, setting the value too low, may result in AI players gathering within a sprawling enemy base, something more likely to happen when a mod adds more buildings to each faction.
 
==See Also==
[[ScriptActions]]
 
[https://ares-developers.github.io/Ares-docs/new/scripts.html#gather-at-base-54 AIFriendlyDistance]

Latest revision as of 11:20, 17 April 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: AISafeDistance
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Applicable to: General


Whenever the AI is instructed to gather at the enemy/ally base through a script, it will gather this number of cells from the center of the enemy/ally base.

Notes

The value should be set with some caution. On maps with islands or peninsulas, a distance too high might gather them in an unreachable spot, this is especially annoying with transports. Alternately, setting the value too low, may result in AI players gathering within a sprawling enemy base, something more likely to happen when a mod adds more buildings to each faction.

See Also

ScriptActions

AIFriendlyDistance