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
No edit summary
 
Testid123 (talk | contribs)
mNo edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Specifies the maximum number of DebrisTypes= that are spawned upon the destruction of this VehicleType. NOTE: this tag is a spelling mistake on several units therefore does not get used (there is a lower case 'd' where the capital 'D' should be).<br />
|name={{PAGENAME}}
<br />
|files={{Categ|Rules(md).ini}}
MaxNumberOccupants=<br />
|values=integer
Specifies the maximum number of InfantryTypes that can occupy this BuildingType when it is garrisoned.
|default=0
|types={{Categ|Warhead|Warheads}}, {{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}, {{Categ|BuildingTypes}}
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}
== 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).
 
== On a Warhead ==
'''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).
==Note==
*If <b>Max Debris=0</b> but [[MinDebris]] is greater than 0 The amount of debris always uses [[MinDebris]]. ;For example: {{f|MinDebris|10|link}} <b>MaxDebris=0</b>
*'''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:<br>
'''[TechnoTypes]'''<br>
'''MinDebris=x'''<br>
'''MaxDebris=2'''<br>
'''DebrisTypes=VoxelAnims,VoxelAnims'''<br>
'''DebrisMaximums=1,0'''(1 For [[VoxelAnims]] that you want to actually happen)<br>
 
== See Also ==
*[[MinDebris]]
*[[DebrisTypes]]
*[[DebrisMaximums]]

Latest revision as of 06:06, 9 October 2024

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


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

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

See Also