ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "MaxDebris"
From ModEnc
m (Template updated) |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
|values=integer | |values=integer | ||
|default=0 | |default=0 | ||
− | |types={{Categ|Warhead|Warheads}}, {{Categ|VehicleTypes}} | + | |types={{Categ|Warhead|Warheads}}, {{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}} |
|ts=yes | |ts=yes | ||
|fs=yes | |fs=yes | ||
Line 15: | Line 15: | ||
== On a VehicleType == | == On a VehicleType == | ||
− | When this VehicleType is destroyed, it will spawn a random number of debris from the [{{ | + | When this VehicleType is destroyed, it will spawn a random number of debris from the [{{f|General|link}}] {{arr|r}} {{f|ExplosiveVoxelDebris|link}} list , or the {{f|DebrisTypes|link}} list on the unit, if that is set. The random number is picked from the interval [ [[MinDebris]]; [[MaxDebris]] ] (inclusive). |
== On a Warhead == | == On a Warhead == | ||
Line 21: | Line 21: | ||
'''Note:''' This section is for YR only. | '''Note:''' This section is for YR only. | ||
− | When this warhead detonates, it will spawn a random number of debris from the [{{ | + | When this warhead detonates, it will spawn a random number of debris from the [{{f|General|link}}] {{arr|r}} {{f|MetallicDebris|link}} list at the impact point. The random number is picked from the interval [ [[MinDebris]]; [[MaxDebris]] ] (inclusive). |
== See Also == | == See Also == |
Latest revision as of 13:35, 24 July 2024
Flag: | MaxDebris |
File(s): | Rules(md).ini |
Values: | integer |
Default: | 0 |
Applicable to: | Warheads, InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes |
On a VehicleType
When this VehicleType is destroyed, it will spawn a random number of debris from the [General] → ExplosiveVoxelDebris list , or the DebrisTypes list on the unit, if that is set. The random number is picked from the interval [ MinDebris; MaxDebris ] (inclusive).
On a Warhead
Note: This section is for YR only.
When this warhead detonates, it will spawn a random number of debris from the [General] → MetallicDebris list at the impact point. The random number is picked from the interval [ MinDebris; MaxDebris ] (inclusive).