Skip to content

DebrisTypes

The voxel wreckage a destroyed object throws, spent in list order against its debris budget.

Specification
Applies to
AircraftTypeBuildingTypeInfantryTypeUnitType
File
rules.ini
Section
[<ObjectType ID>]
Value
list of VoxelAnimTypes
When omitted
(empty)
rules.ini
[MYTANK] ; a UnitType registered in [VehicleTypes]
MaxDebris=6
DebrisTypes=MYSCRAP,MYTIRE ; VoxelAnimTypes registered in [VoxelAnims]
DebrisMaximums=4,2

The list is used only when MaxDebris is above zero. It replaces the generic debris: a type with a budget and no list throws MetallicDebris animations instead, and a type with a list throws none of them.

Entries are thrown in list order, each up to its DebrisMaximums figure. A later entry is cut short or skipped only when the earlier entries have used up the budget. MaxDebris describes the random draw and the budget.

DebrisTypes=none empties the list, so the type falls back to MetallicDebris. A key written with nothing after the = keeps the list an earlier rules file set.