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

Difference between revisions of "AllowableUnitMaximums"

From ModEnc
Jump to: navigation, search
m (Template Updated)
(Added info on bugs, fixed some formatting, and removed repetive text.)
 
Line 1: Line 1:
 
{{Flag
 
{{Flag
 
|name={{PAGENAME}}
 
|name={{PAGENAME}}
|files=
+
|files={{Categ|Maps}}
|values=comma seperated list
+
|values={{values|intlist}}
|default=
+
|default=<nowiki>-1</nowiki> for any entry in {{f|AllowableUnits|link}}
|types=
+
|types={{Categ|Basic}}
 
|ts=yes
 
|ts=yes
 
|fs=yes
 
|fs=yes
|ets=yes
+
|hp=yes
 
|ra2=yes
 
|ra2=yes
 
|yr=yes
 
|yr=yes
|rp=yes
+
|ares=yes
 +
}}
  
}}
+
Specified in a map's [[Basic]] section in conjunction with {{f|StartingDropships|link}} and {{f|AllowableUnits|link}}. The value is a comma-separated list that has the same number of entries as {{f|AllowableUnits|link}}. Each entry defines how many of the corresponding unit the player can select for dropship reinforcement using the [[Dropship loadout]] feature. Positive integer sets a limit, while -1 signifies no limit, although a practical limit of 15 exists anyway due to [[StartingDropships|a maximum of three available Dropships]], each with five passenger slots. By default the player can select an unlimited number of units, including [[BuildLimit|build-limited]] units like the Cyborg Commando in {{ts}} and Tanya in {{yr}}, and this flag provides a way to maintain the limitations for the reinforcements.
  
Specified in a maps [Basic] section in conjunction with [[StartingDropships]] and [[AllowableUnits]]. The value is a comma seperated list that has the same number of entries as [[AllowableUnits]]. Each entry sets the limit on how many of each unit the player can select for dropship reinforcement using the [[Dropship loadout]] feature. By default the player can select an unlimited number of each unit, including units like the Cyborg Commando in TS and Tanya in YR and this entry provides a way to maintain the limitations for the reinforcements. Each entry in the list sets the limit for the corresponding unit in the [[AllowableUnits]] list and is an positive integer value specifying the number of that specific unit the player can select. Although a practical limit of 15 exists that is effectively as many as the player wants, the map designer can also specify -1 to signify an unlimited number of that unit can be selected. In conjunction with [[AllowableUnits]], the map designer can adjust specifically what units the player can select and how many.
+
{{bugs}}
 +
There are at least two bugs involved with this flag.
 +
* If this flag is not specified, depending on the number of entires in {{f|AllowableUnits|link}}, some of the units cannot be selected during loadout (they appear to have invalid cost).
 +
* Defining a limit for a unit, then selecting the maximum number of those units in the loadout, will prevent those units from appearing with the Dropship. If there are no other units, the Dropship won't appear at all.
  
See also:
+
== See Also ==
[[StartingDropships]]
+
* [[Dropship loadout]]
[[AllowableUnits]]
+
* [[StartingDropships]]
 +
* [[AllowableUnits]]

Latest revision as of 22:20, 28 September 2022

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: AllowableUnitMaximums
File(s): Maps
Values: Comma-separated list of integers.
Default: -1 for any entry in AllowableUnits
Applicable to: Basic


Specified in a map's Basic section in conjunction with StartingDropships and AllowableUnits. The value is a comma-separated list that has the same number of entries as AllowableUnits. Each entry defines how many of the corresponding unit the player can select for dropship reinforcement using the Dropship loadout feature. Positive integer sets a limit, while -1 signifies no limit, although a practical limit of 15 exists anyway due to a maximum of three available Dropships, each with five passenger slots. By default the player can select an unlimited number of units, including build-limited units like the Cyborg Commando in Tiberian Sun and Tanya in Yuri's Revenge, and this flag provides a way to maintain the limitations for the reinforcements.

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

There are at least two bugs involved with this flag.

  • If this flag is not specified, depending on the number of entires in AllowableUnits, some of the units cannot be selected during loadout (they appear to have invalid cost).
  • Defining a limit for a unit, then selecting the maximum number of those units in the loadout, will prevent those units from appearing with the Dropship. If there are no other units, the Dropship won't appear at all.

See Also