ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
CarriesCrate
Jump to navigation
Jump to search
| Flag: | CarriesCrate |
| File(s): | rules(md).ini |
| Values: | Boolean values: yes or no, true or false, 1 or 0 |
| Default: | no |
| Applicable to: | VehicleTypes |
Specifies whether a VehicleType will leave a Crate at its original position when destroyed, as exemplified by the [TRUCKB] in the original game.
This flag is subject to TruckCrate, unless the vehicle is a train, in which case it's subject to TrainCrate.
- This means that the unit will not spawn a crate if the map has TruckCrate=no (TrainCrate=no in case of trains).
Notes
A particularly evident key point is: The logic can only create a crate when the game has the Crates option enabled.
- For singleplayer missions, this requires setting [MultiplayerDialogSettings]→Crates=yes.
- If you use the cncnet-spawner (YR extension), then make sure that [Settings]→Crates=yes in spawn.ini[1].
The crate will contain a random powerup;
- In Tiberian Sun's singleplayer missions, the powerup is determined by [CrateRules]→WoodCrate=.
Footnotes
- ↑ This file is usually generated by the client paired with the extension.