ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

LastTilesInSet: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Crimsonum (talk | contribs)
Created page with "{{Flag |values={{Values|unsigned integer|0–99}} |files=Terrain Control INI files |types={{Categ|TileSets}} |ts=yes |fs=yes |hp=yes |ra2=yes |yr=yes |ares=yes }} Specifi..."
 
E1 Elite (talk | contribs)
mNo edit summary
Line 11: Line 11:
}}
}}


Specifies how many tiles this [[TileSets|tile set]] used to have, indicating that the number of tiles has changed. This flag was presumably used by the games' internal map editor and as such it no longer has any practical use for modders.
Specifies how many tiles this [[TileSets|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 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==
==See Also==
* [[TilesInSet]]
* [[TilesInSet]]
* [[IsoMapPack5]]

Revision as of 06:03, 5 October 2020

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: LastTilesInSet
File(s): Terrain Control INI files
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 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