ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
DebrisMaximums: Difference between revisions
Jump to navigation
Jump to search
Can use in YR |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
|values=comma-separated list of integers | |values=comma-separated list of integers | ||
|default=0 | |default=0 | ||
|types={{Categ|Warhead|Warheads}}(YR Only), {{Categ|VehicleTypes}} | |types={{Categ|Warhead|Warheads}}(YR Only), {{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}} | ||
|ts=yes | |ts=yes | ||
|fs=yes | |fs=yes | ||
Line 12: | Line 12: | ||
|rp=yes | |rp=yes | ||
}} | }} | ||
When this VehicleType is destroyed, and the {{f|DebrisTypes|link}} 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: | When this VehicleType is destroyed, and the {{f|DebrisTypes|link}} 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 | MinDebris=3 | ||
Line 21: | Line 20: | ||
'''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. | '''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. | ||
==Note== | |||
*Even if you set '''DebrisMaximums=x'''(such as 10,20,30...), if the value within the tag [[MaxDebris]] only 1 or 2 The '''DebrisMaximums''' tag will be ignored. | |||
== See Also == | == See Also == | ||
*[[MinDebris]]/[[MaxDebris]] | *[[MinDebris]]/[[MaxDebris]] | ||
*[[DebrisTypes]] | *[[DebrisTypes]] |
Latest revision as of 06:01, 9 October 2024
Flag: | DebrisMaximums |
File(s): | Rules(md).ini |
Values: | comma-separated list of integers |
Default: | 0 |
Applicable to: | Warheads(YR Only), InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes |
When this VehicleType is destroyed, and the 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.
Note
- Even if you set DebrisMaximums=x(such as 10,20,30...), if the value within the tag MaxDebris only 1 or 2 The DebrisMaximums tag will be ignored.