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

Difference between revisions of "PrerequisiteFactory"

From ModEnc
Jump to: navigation, search
 
(Specified BuildingTypes, as the AI ignores Prerequisite for UnitTypes.)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
This lists the structures which constitute War Factories. Must be valid structure names from the [BuildingTypes]list and be defined as all structures are.
+
|name=PrerequisiteFactory
 +
|files={{Categ|Rules(md).ini}}
 +
|values=Comma-separated list of strings (names of BuildingTypes)
 +
|default=null
 +
|types={{Categ|General}}
 +
|ts=yes
 +
|fs=yes
 +
|ets=yes
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes
 +
}}
 +
 
 +
Lists [[BuildingTypes]] that count as {{tt|FACTORY}} in the [[The Prerequisite System|prerequisite system]].
 +
 
 +
{{bugs}}
 +
 
 +
When determining if it can build a [[BuildingTypes|building]] that has {{tt|FACTORY}} as its [[prerequisite]], the AI actually checks for buildings listed in {{f|BuildWeapons|link}} and not {{f|{{PAGENAME}}}}.

Latest revision as of 08:31, 19 April 2021

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: PrerequisiteFactory
File(s): Rules(md).ini
Values: Comma-separated list of strings (names of BuildingTypes)
Default: null
Applicable to: General


Lists BuildingTypes that count as FACTORY in the prerequisite system.

Cc alert.png Bugs/Side-Effects/Unexpected Limitations

When determining if it can build a building that has FACTORY as its prerequisite, the AI actually checks for buildings listed in BuildWeapons and not PrerequisiteFactory.