Jump to content

DebrisTypes: Difference between revisions

From ModEnc²
en>Testid123
mNo edit summary
en>Testid123
mNo edit summary
Line 13: Line 13:
}}
}}
Specifies which VoxelAnims can be spawned as debris after this VehicleType is destroyed. If it is left blank, debris from [{{f|General|link}}] {{arr|r}} {{f|ExplosiveVoxelDebris|link}} list is used instead.
Specifies which VoxelAnims can be spawned as debris after this VehicleType is destroyed. If it is left blank, debris from [{{f|General|link}}] {{arr|r}} {{f|ExplosiveVoxelDebris|link}} list is used instead.
==For VehicleTypes==
It is strange for [[VehicleTypes]] if you specify according to the steps below. The game will provide special effects for [[VehicleTypes]].<br>
<b>[LTNK]</b><br>
<b>MinDebris=6</b><br>
<b>MaxDebris=6</b><br>
<b>DebrisTypes=DISK</b><br>
<b>DebrisMaximums=10</b><br>
;;This designation when [LTNK] is destroyed will not leave any debris from the <b>DebrisTypes</b> section.<br>
But if you set it like this:<br>
<b>[LTNK]</b><br>
<b>MinDebris=6</b><br>
<b>MaxDebris=6</b><br>
<b>DebrisTypes=LTNK</b><br>
<b>DebrisMaximums=10</b><br>
;;Debris from the<b>DebrisTypes</b>are output as specified.<br>
I don't know why this is.
==Note==
==Note==
*Voxel debris identified within <b>DebrisTypes</b> will now remap colors based on the Player colors. If it is specified on [[InfantryTypes]], [[VehicleTypes]], [[AircraftTypes]], [[BuildingTypes]]
*Voxel debris identified within <b>DebrisTypes</b> will now remap colors based on the Player colors. If it is specified on [[InfantryTypes]], [[VehicleTypes]], [[AircraftTypes]], [[BuildingTypes]]

Revision as of 15:28, 7 October 2024

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: DebrisTypes
File(s): Rules(md).ini
Values: comma-separated list of strings (names of VoxelAnims)
Default: null
Applicable to: Warheads(YR Only), InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes


Specifies which VoxelAnims can be spawned as debris after this VehicleType is destroyed. If it is left blank, debris from [General] → ExplosiveVoxelDebris list is used instead.

For VehicleTypes

It is strange for VehicleTypes if you specify according to the steps below. The game will provide special effects for VehicleTypes.
[LTNK]
MinDebris=6
MaxDebris=6
DebrisTypes=DISK
DebrisMaximums=10

This designation when [LTNK] is destroyed will not leave any debris from the DebrisTypes section.

But if you set it like this:
[LTNK]
MinDebris=6
MaxDebris=6
DebrisTypes=LTNK
DebrisMaximums=10

Debris from theDebrisTypesare output as specified.

I don't know why this is.

Note

See Also