Jump to content

CrateGoodie: Difference between revisions

From ModEnc²
en>Testid123
mNo edit summary
en>Testid123
mNo edit summary
Line 17: Line 17:
3.Gives credit to the player instead if the box is picked up by a unit in the water instead of [[VehicleTypes]] with {{f|Naval|yes|link}}<br>
3.Gives credit to the player instead if the box is picked up by a unit in the water instead of [[VehicleTypes]] with {{f|Naval|yes|link}}<br>
<div><ul>  
<div><ul>  
<li style="display: inline-block;">[[File:DEST and CrateGoodie=yes.png|frame|'''DEST''' and {{f|CrateGoodie|yes|link}}]]</li>
<li style="display: inline-block;">[[File:DEST and CrateGoodie=yes.png|frame|'''DEST''' and {{f|CrateGoodie|yes|link}} in [[YR]] ]]</li>
</ul></div>
</ul></div>

Revision as of 15:02, 15 February 2025

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.

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.

From the above text, I tried using it in YR and it gave me weird results, and IE doesn't happen even when playing on a map without water. The details are as follows:
1.VehicleTypes with Naval=yes will appear near a body of water nearby.
2.If there is no body of water nearby, VehicleTypes with Naval=yes will appear under the bridge instead.
3.Gives credit to the player instead if the box is picked up by a unit in the water instead of VehicleTypes with Naval=yes