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

FillSilos

From ModEnc
Jump to navigation Jump to search
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: FillSilos
File(s): Maps
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: Basic


Specifies whether or not all silos and refineries in this map should be pre-filled with ore/Tiberium. This applies to all preplaced structures with a positive Storage. The amount of ore/Tiberium stored in the structures is the house's starting credit amount substracted with the value of the first ore/Tiberium type.

In pseudocode:

StoredCredits = House.Credits - Tiberiums[0].Value

If this amount exceeds the amount of available storage, any excess ore/Tiberium is not stored. Conversely, if a house has zero starting credits, FillSilos=yes will have no effect on the house, even if it owns silos and refineries.

Example

If a house has 10,000 initial credits, an extra 10,000 credits worth of ore/Tiberium Riparius, minus 25 (the default value of ore/Riparius) will be stored in the house's silos/refineries on map start, provided that the house owns enough silos/refineries to store that amount. Thus the house starts with a total of 10,000 + 10,000 - 25 = 19,975 credits.