Jump to content

Generic Prerequisites: Difference between revisions

From ModEnc²
ATHSE (talk | contribs)
Created page with "{{Guideheader |ts=yes |fs=yes |ra2=yes |yr=yes }} Generic prerequisites are used by the games to shorthand specific classes of buildings, so that any captured or double-owned production buildings of the type, can substitute for the specific building belonging to that Side or House. The tags responsible for setting these, and their shorthand equivalents are: {| class="wikitable" |+ Caption text |- ! Header text !! Header text |- | Pre..."
 
ATHSE (talk | contribs)
No edit summary
Line 7: Line 7:
Generic prerequisites are used by the games to shorthand specific classes of buildings, so that any captured or [[DoubleOwned|double-owned]] production buildings of the type, can substitute for the specific building belonging to that [[Sides|Side]] or [[Houses|House]].
Generic prerequisites are used by the games to shorthand specific classes of buildings, so that any captured or [[DoubleOwned|double-owned]] production buildings of the type, can substitute for the specific building belonging to that [[Sides|Side]] or [[Houses|House]].


The tags responsible for setting these, and their shorthand equivalents are:
The tags responsible for setting these, and their equivalent aliases are:
{| class="wikitable"
{| class="wikitable"
|+ Caption text
|-
|-
! Header text !! Header text
! Building Category !! Prerequisite Alias
|-
|-
| PrerequisitePower|| POWER
| PrerequisitePower|| POWER

Revision as of 11:12, 13 April 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge

Generic prerequisites are used by the games to shorthand specific classes of buildings, so that any captured or double-owned production buildings of the type, can substitute for the specific building belonging to that Side or House. The tags responsible for setting these, and their equivalent aliases are:
Building Category Prerequisite Alias
PrerequisitePower POWER
PrerequisiteProc PROC
PrerequisiteRadar RADAR
PrerequisiteBarracks BARRACKS
PrerequisiteFactory FACTORY
PrerequisiteTech TECH

In short, this means that if PrerequisiteBarracks=NAHAND,GAPILE is set, an infantry with a Prerequisite=BARRACKS can be built from from either NAHAND or GAPILE, if the player owns it. You may realize this can be a little redundant, at least for the Factory types, since infantry can only be produced by a building with Factory=InfantryType, so the player must have one of them anyway.

See Also

BuildCat

Owner

AIBasePlanningSide