Jump to content

FileName: Difference between revisions

From ModEnc²
This flag is case-*in*sensitive, the vanilla INIs are proof of this. Also added note about bridges.
m 3 revisions imported
 
(No difference)

Latest revision as of 20:47, 4 April 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: FileName
File(s): Terrain Control INI files
Values: Strings: Normal text.
Applicable to: TileSets


Specifies the root name of the TMP files used by this tile set. All TMP filenames consist of this root, a two-digit suffix (to separate tiles) and an optional alphabetical suffix (to separate tile variants). For example, suppose the tile set consists of tiles clear01.tem, clear01a.tem, clear01b.tem, etc. The correct value would be FileName=clear. The flag is case-insensitive, so FileName=CLEAR or even FileName=ClEaR would also work.

If the optional letter suffix is used after the filename, the multiple tiles which share the same root name will be randomized both when placed in FinalSun/FinalAlert 2, and when the game loads. If the tile in question has more than one subtile, a 2x2 cliff tile for example, then all four subtiles are also randomized.
The only exception to this rule are high bridge tiles: instead of randomizing the tiles, the available two tile variants are used to display the intact and damaged bridge states, respectively. See the TMP format for more information.