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

Prerequisite: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
 
Updating
 
(2 intermediate revisions by 2 users not shown)
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 />
|files={{Categ|ini=rules}}
<br />
|values={{values|stringlist|BuildingTypes or hardcoded values (see [[#special|below]])}}
RADAR Any structure from the PrerequisiteRadar= statement can be used (Radars)<br />
|types={{Categ|Technoes}}
BARRACKS Any structure from the PrerequisiteBarracks= statement can be used (Barracks)<br />
|ra=yes
TECH Any structure from the PrerequisiteTech= statement can be used (Battle Labs)<br />
|cs=yes
PROC Any structure from the PrerequisiteProc= statement can be used (Ore Refineries)<br />
|am=yes
POWER Any structure from the PrerequisitePower= statement can be used (Power Plants)<br />
|ts=yes
FACTORY Any structure from the PrerequisiteFactory= statement can be used (War Factories)
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}
 
Specifies a list of structures that '''must''' be owned by the house before this object can be built. Repeating the same BuildingType multiple times does not require you to own multiple instances of said building.
 
<span id="special">In addition to IDs of BuildingTypes</span>, several keywords can be used - see [[The Prerequisite System#Prerequisite_Groups|The Prerequisite System]] for more info.

Latest revision as of 17:16, 8 June 2008

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. (Limited to: BuildingTypes or hardcoded values (see below))
Applicable to: TechnoTypes:

AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes



Specifies a list of structures that must be owned by the house before this object can be built. Repeating the same BuildingType multiple times does not require you to own multiple instances of said building.

In addition to IDs of BuildingTypes, several keywords can be used - see The Prerequisite System for more info.