MinDebris: Difference between revisions
RA2/YR flag only |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
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 | ||
|ares=yes | |ares=yes | ||
}} | }} | ||
== On a VehicleType == | == On a VehicleType == | ||
When this VehicleType is destroyed, it will spawn a random number of debris from the [{{f|General|link}}] {{arr|r}} {{f|ExplosiveVoxelDebris|link}} list , or the {{f|DebrisTypes|link}} list on the unit, if that is set. The random number is picked from the interval [ [[MinDebris]]; [[MaxDebris]] ] (inclusive). | When this VehicleType is destroyed, it will spawn a random number of debris from the [{{f|General|link}}] {{arr|r}} {{f|ExplosiveVoxelDebris|link}} list , or the {{f|DebrisTypes|link}} list on the unit, if that is set. The random number is picked from the interval [ [[MinDebris]]; [[MaxDebris]] ] (inclusive). | ||
== On a Warhead == | == On a Warhead == | ||
'''Note:''' This section is for YR only.<br> | |||
'''Note:''' This section is for YR only. | |||
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== | |||
'''MinDebris=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:<br> | |||
'''[TechnoTypes]'''<br> | |||
'''MinDebris=1'''<br> | |||
'''MaxDebris=2'''<br> | |||
'''DebrisTypes=VoxelAnims,VoxelAnims'''<br> | |||
'''DebrisMaximums=1,0'''(1 For [[VoxelAnims]] that you want to actually happen)<br> | |||
== See Also == | == See Also == | ||
*[[MaxDebris]] | *[[MaxDebris]] | ||
*[[DebrisTypes]] | *[[DebrisTypes]] | ||
*[[DebrisMaximums]] | *[[DebrisMaximums]] |
Latest revision as of 05:46, 9 October 2024
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).
Note
MinDebris=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=1
MaxDebris=2
DebrisTypes=VoxelAnims,VoxelAnims
DebrisMaximums=1,0(1 For VoxelAnims that you want to actually happen)