Jump to content

CrateGoodie: Difference between revisions

From ModEnc²
No edit summary
en>Testid123
mNo edit summary
Line 10: Line 10:
}}
}}
Determines whether the VehicleType is able to be procured as a crate goodie. Also requires {{f|UnitCrateType|none|link}} to be set in the <tt>[CrateRules]</tt> section; though this is true by default.
Determines whether the VehicleType is able to be procured as a crate goodie. Also requires {{f|UnitCrateType|none|link}} to be set in the <tt>[CrateRules]</tt> section; though this is true by default.
{{Bugs}}
*Only 1 vehicle can be specified.


==Note==
==Note==
In Red Alert 2, any VehicleType with {{f|Naval|yes|link}} should have <tt>CrateGoodie=no</tt> set. While the logic works with naval units, maps with no water invariably lead to an [[Internal Error]] when a naval goodie is procured.
In Red Alert 2, any VehicleType with {{f|Naval|yes|link}} should have <tt>CrateGoodie=no</tt> set. While the logic works with naval units, maps with no water invariably lead to an [[Internal Error]] when a naval goodie is procured.

Revision as of 17:46, 26 June 2024

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: CrateGoodie
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no (However the documentation says "yes")
Applicable to: VehicleTypes


Determines whether the VehicleType is able to be procured as a crate goodie. Also requires UnitCrateType=none to be set in the [CrateRules] section; though this is true by default.

Bugs/Side-Effects/Unexpected Limitations

  • Only 1 vehicle can be specified.

Note

In Red Alert 2, any VehicleType with Naval=yes should have CrateGoodie=no set. While the logic works with naval units, maps with no water invariably lead to an Internal Error when a naval goodie is procured.