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

Difference between revisions of "DebrisMaximums"

From ModEnc
Jump to: navigation, search
 
(Rewrite)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
This statement specifies the maximum number of MetallicDebris= to be spawned upon this objects destruction. By default, the number spawned is random.
+
|name={{PAGENAME}}
 +
|files={{Categ|Rules(md).ini}}
 +
|values=comma-separated list of integers
 +
|default=0
 +
|types={{Categ|VehicleTypes}}
 +
|ts=yes
 +
|fs=yes
 +
|ets=yes
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes
 +
}}
 +
 
 +
When this VehicleType is destroyed, and the {{TTL|DebrisTypes}} list on the unit is not empty, this list specifies the maximum amount of each DebrisType on that list that can be spawned. For example:
 +
MinDebris=3
 +
MaxDebris=5
 +
DebrisTypes=TIRE,HTNKTUR
 +
DebrisMaximums=4,1
 +
specifies that only one (1) instance of HTNKTUR can be spawned while four (4) instances of TIRE can.
 +
 
 +
'''Note:''' It appears this system is broken in RA2 and YR and does not create any limits for each DebrisType, and as such the above example would not stop the game from spawning two or even more turrets.
 +
 
 +
== See Also ==
 +
 
 +
*[[MinDebris]]/[[MaxDebris]]
 +
*[[DebrisTypes]]

Revision as of 16:00, 25 February 2007

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: DebrisMaximums
File(s): Rules(md).ini
Values: comma-separated list of integers
Default: 0
Applicable to: VehicleTypes


When this VehicleType is destroyed, and the Template:TTL list on the unit is not empty, this list specifies the maximum amount of each DebrisType on that list that can be spawned. For example:

MinDebris=3
MaxDebris=5
DebrisTypes=TIRE,HTNKTUR
DebrisMaximums=4,1

specifies that only one (1) instance of HTNKTUR can be spawned while four (4) instances of TIRE can.

Note: It appears this system is broken in RA2 and YR and does not create any limits for each DebrisType, and as such the above example would not stop the game from spawning two or even more turrets.

See Also