ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
ToTile
Jump to navigation
Jump to search
| Flag: | ToTile |
| File(s): | rules(md).ini |
| Values: | Strings: Normal text. (Limited to: TileSets) |
| Default: | none |
| Applicable to: | BuildingTypes |
Specifies the TileSet type that this building will convert to after being placed.
In Tiberian Sun, this is used for Pavement, allowing players to lay down concrete pavement by constructing this building, preventing Nod's Devil's Tongue from attacking from underground.
Notes
- If an invalid value is used, this flag will not work.
- If this flag works, the building will be completed and converted immediately after being placed. The building object will not persist, and the Buildup animation will not play.
- Whether the target cells can be placed depends on the TileSet type.
- For example, some TileSets, after placement, make the altered areas unable to place even the same type of buildings again.
- Unless all cells corresponding to the building's Foundation cannot be placed, it can still be placed, and the convertible cells will be converted.
- For whether this type of building can be placed on a cell with land type water, it solely depends on whether it has LaserFencePost=yes. If not, neither WaterBound=yes nor [Water]→Buildable=yes can enable placement.
- PlaceAnywhere=yes does not change the above rules.
The actual range converted to TileSets is determined solely by the maximum X and Y of the buildings and the size of the TileSet itself.
- For example, in Ares, using the Custom Foundation feature to just define Foundation.X and Foundation.Y without any cells (this is essentially a building that occupies no cells), the TileSet will fill the rectangular area bounded by X and Y. If the TileSet size is more than one cell, like the 2x2 Water01, even if the Foundation boundaries are insufficient to accommodate the TileSet after calculation, the TileSet will change those areas and, along with the cells it needs to occupy outside the Foundation area, complete the conversion.