(7 intermediate revisions by one other user not shown)
Line 6:
Line 6:
|yr=yes
|yr=yes
|ra2=yes
|ra2=yes
|hp=yes
|ts=yes
|ts=yes
|fs=yes
|fs=yes
}}
}}
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.
==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 [[VehicleTypes]] with {{f|Naval|yes|link}} should have {{f|CrateGoodie|no|link}} set. While the logic works with naval units, maps with no water invariably lead to an [[Internal Error]] when a naval goodie is procured.<br>
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:<br>
1.[[VehicleTypes]] with {{f|Naval|yes|link}} will appear near a body of water nearby.<br>
2.If there is no body of water nearby, [[VehicleTypes]] with {{f|Naval|yes|link}} will appear under the bridge instead.<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>
4.Gives credit to the player instead if the box is picked up If [[VehicleTypes]] with {{f|Naval|yes|link}} cannot actually appear
<div><ul>
<li style="display: inline-block;">[[File:DEST and CrateGoodie=yes.png|frame|'''DEST''' and {{f|CrateGoodie|yes|link}} in [[YR]] ]]</li>
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 VehicleTypes 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
4.Gives credit to the player instead if the box is picked up If VehicleTypes with Naval=yes cannot actually appear