ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

MaxDebris: Difference between revisions

From ModEnc
Jump to navigation Jump to search
DeathFish (talk | contribs)
mNo edit summary
m Adding revision category for pages potentially improperly "converted".
 
Line 57: Line 57:
*[[DebrisTypes]]
*[[DebrisTypes]]
*[[DebrisMaximums]]
*[[DebrisMaximums]]
[[Category:Review for fake conversion and revert if necessary]]

Latest revision as of 19:38, 20 April 2025

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: MaxDebris
File(s): Rules(md).ini
Values: integer
Default: 0
Applicable to: Warheads, InfantryTypes, VehicleTypes, AircraftTypes, BuildingTypes
Warning: There are 1 numbered subpages of this page. These pages should all be merged into this page.


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).

Bugs/Side-Effects/Unexpected Limitations

Warheads spawning debris used MaxDebris - 1 as the real cap for the number of debris to spawn.

  • This bug has been fixed in Phobos Build#34.

Note

  • If Max Debris=0 but MinDebris is greater than 0 The amount of debris always uses MinDebris. ;For example: MinDebris=10 MaxDebris=0
  • MaxDebris=1 There is a 50% chance that debris will form If you want to have a 100% chance of debris You will need to define the following:

[TechnoTypes]
MinDebris=x
MaxDebris=2
DebrisTypes=VoxelAnims,VoxelAnims
DebrisMaximums=1,0(1 For VoxelAnims that you want to actually happen)

[LTNK]
MinDebris=1
MaxDebris=2
DebrisTypes=LTNK,TIRE
DebrisMaximums=1,0

  • For turrets such as LTNKTUR,YAGGUNTUR You can't use it. If you really want to use it, do this.

[YAGGUN]
MinDebris=1
MaxDebris=2
DebrisTypes=FAKEYAGGUN,INVISIBLE
DebrisMaximums=1,0

    • INVISIBLE is the name of the actual voxel file that you need to create But there's no need for pictures. (Just create it to use the Voxel file name only).

[FAKEYAGGUN]
Image=FAKEYAGGUN
MinDebris=2
MaxDebris=2
...

See Also