Jump to content

LastTilesInSet

From ModEnc²
Revision as of 11:36, 19 April 2022 by en>Crimsonum
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: LastTilesInSet
File(s): Terrain Control INI
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295. (Limited to: 0–99)
Applicable to: TileSets


Specifies how many tiles this tile set used to have, indicating that the number of tiles has changed. This flag was presumably used by the games' internal map editor. IsoMapPack5 section in map uses tile numbers/index counted from the first tile set to the last. When any change in the number of tiles is made in an intermediate tile set, all the tile numbers that comes after the change gets wrong reference. To temporarily fix this, LastTilesInSet is used. After the affected maps are corrected to reference the correct tiles based on tile numbers, this temporary fix is removed from the terrain control INI files.

See Also