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

Difference between revisions of "Prerequisite"

From ModEnc
Jump to: navigation, search
 
(Rewrite)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Lists the building types required before this object can be built/trained. The player must have at least one of each of these structures present on the map before this object can be built or trained. TIP: generic statements can be used here to indicate that any structure of a specific type can be used, which is useful if for example you want a player to be able to build a VehicleType when he has any weapons factory rather than a specific one. These types are;-<br />
+
|name={{PAGENAME}}
<br />
+
|files={{Categ|Rules(md).ini}}
RADAR Any structure from the PrerequisiteRadar= statement can be used (Radars)<br />
+
|values=comma-separated list of strings
BARRACKS Any structure from the PrerequisiteBarracks= statement can be used (Barracks)<br />
+
|special=None
TECH Any structure from the PrerequisiteTech= statement can be used (Battle Labs)<br />
+
|default=none
PROC Any structure from the PrerequisiteProc= statement can be used (Ore Refineries)<br />
+
|types={{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}}
POWER Any structure from the PrerequisitePower= statement can be used (Power Plants)<br />
+
|games=[[RA]], [[TS]], [[RA2]], [[YR]]
FACTORY Any structure from the PrerequisiteFactory= statement can be used (War Factories)
+
}}
 +
 
 +
Specifies a list of structures that '''must''' be owned by the house before this object can be built. Refers to valid BuildingTypes (keywords which don't match a valid BuildingType, like matching a valid InfantryType, just seem to get ignored) or one of the hardcoded "prerequisite groups" (see [[The Prerequisite System#Prerequisite_Groups|The Prerequisite System]] for more info).

Revision as of 15:48, 21 June 2006

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: Prerequisite
File(s): Rules(md).ini
Values: comma-separated list of strings
Special Values: None
Default: none
Applicable to: InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes


Specifies a list of structures that must be owned by the house before this object can be built. Refers to valid BuildingTypes (keywords which don't match a valid BuildingType, like matching a valid InfantryType, just seem to get ignored) or one of the hardcoded "prerequisite groups" (see The Prerequisite System for more info).