Jump to content

FillSilos: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
Updated
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Flag which can be set to 'yes' or 'no' which determines if the players' starting credits are in Ore Silo's or not. The effect of this is that should the player lose the silo's, he will lose any credits they hold. If this flag is set to no, the credits are stored 'in limbo' and loss of silo's or refineries will not mean loss of these credits. This is mainly set to 'no' to allow the facility where credits are carried over from one mission to the next. Has no effect if the player starts with no credits. NOTE: this is probably useless in Red Alert 2 as the need for Ore Silo's has all but been removed, although with clever editing of the RULES and ART files you could re-enable their use. It is speculated however that this tag applies to refineries rather than silos.
|name={{PAGENAME}}
|files={{Categ|Maps}}
|types={{Categ|Basic}}
|values={{Values|boolean}}
|default=no
|ra=yes
|cs=yes
|am=yes
|ts=yes
|fs=yes
|ets=yes
|hp=yes
|ra2=yes
|yr=yes
}}
 
Specifies whether or not all silos and refineries in this [[map]] should be pre-filled with [[Tiberiums|ore/Tiberium]]. This applies to all preplaced structures with a positive {{f|Storage|link}}. The amount of ore/Tiberium stored in the structures is the [[house]]'s starting [[credits|credit amount]] substracted with the [[value]] of the first [[Tiberiums|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, {{f|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.

Latest revision as of 17:59, 8 May 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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.