ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
CrateBeneath: Difference between revisions
Jump to navigation
Jump to search
Blackmask0 (talk | contribs) No edit summary |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
|rp=yes | |rp=yes | ||
}} | }} | ||
Can be set to 'yes' or 'no' and determines if this BuildingType leaves behind a random powerup crate when it is destroyed. A crate will only be left behind if the BuildingType was owned by a playable player (i.e. not neutral). | |||
==Problems== | |||
Due to the way the RA2/YR engine handles crates, a new crate is created every time a crate is removed (either because it was picked up or it has been in existence for the length of time determined by {{f|CrateRegen|link}}) this means that for each new crate created by this tag, there is always one more crate on the map. This can result in an unwanted surplus of crates on a map if multiple buildings with CrateBeneath are destroyed. The same results from new crates being added via {{f|CarriesCrate|yes|link}}. | |||
==Note== | |||
== | *Crate appears only in 1x1 areas, Even if you use it with '''Construction Yard''' you will get only 1 Crate only. | ||
Latest revision as of 14:43, 13 November 2024
Flag: | CrateBeneath |
File(s): | Rules(md).ini |
Values: | boolean |
Default: | no |
Applicable to: | BuildingTypes |
Can be set to 'yes' or 'no' and determines if this BuildingType leaves behind a random powerup crate when it is destroyed. A crate will only be left behind if the BuildingType was owned by a playable player (i.e. not neutral).
Problems
Due to the way the RA2/YR engine handles crates, a new crate is created every time a crate is removed (either because it was picked up or it has been in existence for the length of time determined by CrateRegen) this means that for each new crate created by this tag, there is always one more crate on the map. This can result in an unwanted surplus of crates on a map if multiple buildings with CrateBeneath are destroyed. The same results from new crates being added via CarriesCrate=yes.
Note
- Crate appears only in 1x1 areas, Even if you use it with Construction Yard you will get only 1 Crate only.