ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
MaxDebris: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 22: | Line 22: | ||
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). | 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). | ||
==Note== | |||
If <b>Max Debris=0</b> but [[MinDebris]] is greater than 0 The amount of debris always uses [[MinDebris]]. ;For example: {{f|MinDebris|10|link}} <b>MaxDebris=0</b> | |||
== See Also == | == See Also == |
Revision as of 15:46, 19 September 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).
Note
If Max Debris=0 but MinDebris is greater than 0 The amount of debris always uses MinDebris. ;For example: MinDebris=10 MaxDebris=0