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

Difference between revisions of "MaxDebris"

From ModEnc
Jump to: navigation, search
 
m (Rewrite, join (note to self #2: MaxNumberOccupants was here too))
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=MaxDebris
<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.
+
|special=None
 +
|default=0
 +
|types={{Categ|Warhead|Warheads}}, {{Categ|VehicleTypes}}
 +
|games=[[RA2]], [[YR]]
 +
}}
 +
 
 +
== On a VehicleType ==
 +
 
 +
When this VehicleType is destroyed, it will spawn a random number of debris from <tt>[[ExplosiveVoxelDebris]]=</tt> ([<tt>[[General]]</tt>]) list. 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 <tt>[[MetallicDebris]]=</tt> ([<tt>[[General]]</tt>]) list at the impact point. The random number is picked from the interval [ MinDebris; MaxDebris ] (inclusive).

Revision as of 14:47, 6 May 2006

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
Special Values: None
Default: 0
Applicable to: Warheads, VehicleTypes


On a VehicleType

When this VehicleType is destroyed, it will spawn a random number of debris from ExplosiveVoxelDebris= ([General]) list. 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 MetallicDebris= ([General]) list at the impact point. The random number is picked from the interval [ MinDebris; MaxDebris ] (inclusive).