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

Soylent: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Updated template.
Marshall (talk | contribs)
rewrite
Line 1: Line 1:
{{flag|name=Soylent|files=rules(md).ini|values=Integer|default=Half of [[Cost]]|types=All Types|ts=yes|fs=yes|ets=yes|ra2=yes|yr=yes|rp=yes}}
{{flag
<tt>Soylent=</tt> controls the refund value for a unit or building in game when it is sent to the [[Grinder]] in [[YR]] and the TS/RA2 sell unit at service depot logic that got removed with the YR 1.001 patch. If the flag is not included, it defaults to half the [[Cost]] value.
|name=Soylent
|files=rules(md).ini
|values=Integer
|default=[[Soylent#Default|see below]]
|types={{Categ|Technoes}}
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes}}
This flag sets the refund value for the unit when it is sold at a Service Depot (not in {{Yr}}, unless a mod has included the [[SellUnit|Sell Unit super weapon]]) or sent to a [[Grinding|Grinder]] ({{Yr}} only), or the building when it is sold using the Sell button from the sidebar.


==Default==
{{TTL|Soylent}} doesn't have a default value as such (internally it is zero) but it is often said to be "half the cost". A unit's ''refund amount'' is actually calculated as follows:
*If {{TTL|Soylent}} is non-zero then {{TTL|Soylent}} is taken to be the refund amount.
*If {{TTL|Soylent}} is zero (i.e. not set) then the refund amount is taken to be:<br>the unit's {{TTL|Cost}} * (applicable [[Country_Statistics#VeteranXXX and YYYZZZMult=|country-specific cost multiplier]] for that unit type) * (applicable [[FactoryPlant|Industrial Plant]] multipliers for that unit type).<br>In the case of human players only (another example of the AI 'cheating'), this refund amount is then further multiplied by [{{TTL|General}}]{{arr|r}}{{TTL|RefundPercent|50%}}
{{SourceCode|http://dc.strategy-x.com/src2/TechnoTypeClass/GetRefund.cpp}}


The name of the tag 'Soylent' is a reference to the 1973 film ''Soylent Green'' ([http://uk.imdb.com/title/tt0070723/ IMDB]/[http://en.wikipedia.org/wiki/Soylent_Green Wikipedia]) starring Charlton Heston.<br>
{{Bugs}}As indicated above, any unit that has a non-zero {{TTL|Soylent}} will use that value as its refund amount and ignore the normal refund logic. This means that any unit that has been discounted due to country-specific multipliers or [[FactoryPlant|Industrial Plants]] will not reimburse the player by the correct amount when sold or sent to a [[Grinding|Grinder]]. In the unmodded game this is noticeable when grinding [[VehicleTypes]]. The game's designers decided that [[VehicleTypes]] should have 100% refund rather than the default 50%, and the developers implemented this by simply setting all [[VehicleTypes]]' {{TTL|Soylent}} to match the {{TTL|Cost}} (rather than appropriately modifying the refund logic). The result of this is that, when a player owns both a [[Grinding|Grinder]] and an [[FactoryPlant|Industrial Plant]], the player can generate free money by immediately grinding any [[VehicleType]] they build. One generally accepted work-around to this problem is to set the Soylent for all units to match the multiplier(s) offered by the [[FactoryPlant|Industrial Plant]] and not to include any country-specific multipliers (this does decrease the amount of income Yuri players get from grinding enemy units, although some actually see this as an improvement to balance).
Other references include that during the [[YR]] Allied mission Hollywood In Vain, the captured civilians can be heard saying 'Soylent Green for Yuri' as they march to the grinders.
 
==Trivia==
The name of the flag ("Soylent") is a reference to the 1973 film ''Soylent Green'' ([http://uk.imdb.com/title/tt0070723/ IMDB]/[http://en.wikipedia.org/wiki/Soylent_Green Wikipedia]) starring Charlton Heston.<br>
Another reference to this can be found in-game during the {{Yr}} Allied mission 'Hollywood In Vain'. The captured civilians can be heard saying "Soylent green for Yuri" as they march to the Grinders.


[[Category:General_Editing_Information]]
[[Category:General_Editing_Information]]

Revision as of 19:56, 7 June 2008

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: Soylent
File(s): rules(md).ini
Values: Integer
Default: see below
Applicable to: TechnoTypes:

AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes



This flag sets the refund value for the unit when it is sold at a Service Depot (not in Yuri's Revenge, unless a mod has included the Sell Unit super weapon) or sent to a Grinder (Yuri's Revenge only), or the building when it is sold using the Sell button from the sidebar.

Default

Template:TTL doesn't have a default value as such (internally it is zero) but it is often said to be "half the cost". A unit's refund amount is actually calculated as follows:

Relevant pseudocode is available at http://dc.strategy-x.com/src2/TechnoTypeClass/GetRefund.cpp.

Bugs/Side-Effects/Unexpected Limitations

As indicated above, any unit that has a non-zero Template:TTL will use that value as its refund amount and ignore the normal refund logic. This means that any unit that has been discounted due to country-specific multipliers or Industrial Plants will not reimburse the player by the correct amount when sold or sent to a Grinder. In the unmodded game this is noticeable when grinding VehicleTypes. The game's designers decided that VehicleTypes should have 100% refund rather than the default 50%, and the developers implemented this by simply setting all VehicleTypes' Template:TTL to match the Template:TTL (rather than appropriately modifying the refund logic). The result of this is that, when a player owns both a Grinder and an Industrial Plant, the player can generate free money by immediately grinding any VehicleType they build. One generally accepted work-around to this problem is to set the Soylent for all units to match the multiplier(s) offered by the Industrial Plant and not to include any country-specific multipliers (this does decrease the amount of income Yuri players get from grinding enemy units, although some actually see this as an improvement to balance).

Trivia

The name of the flag ("Soylent") is a reference to the 1973 film Soylent Green (IMDB/Wikipedia) starring Charlton Heston.
Another reference to this can be found in-game during the Yuri's Revenge Allied mission 'Hollywood In Vain'. The captured civilians can be heard saying "Soylent green for Yuri" as they march to the Grinders.