Crate
| Flag: | Crate |
| File(s): | rules(md).ini |
| Values: | Boolean values: yes or no, true or false, 1 or 0 |
| Default: | no |
| Applicable to: | OverlayTypes |
In Tiberian Sun and Firestorm
Specifies whether this overlay type is a money bonus crate. The crate is removed whenever a unit moves into the same cell as it, and a one-time cash bonus is granted to the player who collected the crate.
This behavior is overriden by CrateTrigger, if specified.
In Red Alert 2 and Yuri's Revenge
This flag determines whether or not the overlay type should be removed whenever a unit moves into the same cell as it. In addition to being removed, another of this overlay type is automatically placed at another location on the map. This is used exclusively for powerup crates, and actually provide the powerup.
- No matter what value CrateTrigger is set to.
Notes
This changes the alignment mode of the Shape center. When set to yes, it aligns the image center of the overlay to the cell center, just like buildings. Taking the crate.* files in vanilla as an example, they are shifted upward by 15 pixels in the game to make the crates appear in the center of the cell.