Jump to content

MinDebris: Difference between revisions

From ModEnc²
en>Crimsonum
RA2/YR flag only
en>Testid123
mNo edit summary
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}}
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes

Revision as of 12:34, 24 July 2024

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: MinDebris
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).

See Also