FileName: Difference between revisions
No edit summary |
This flag is case-*in*sensitive, the vanilla INIs are proof of this. Also added note about bridges. |
||
Line 11: | Line 11: | ||
}} | }} | ||
Specifies the root name of the [[TMP]] files used by this [[TileSets|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 <tt>clear01.tem</tt>, <tt>clear01a.tem</tt>, <tt>clear01b.tem</tt>, etc. The correct value would be {{f|FileName|clear}}. The flag is | Specifies the root name of the [[TMP]] files used by this [[TileSets|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 <tt>clear01.tem</tt>, <tt>clear01a.tem</tt>, <tt>clear01b.tem</tt>, etc. The correct value would be {{f|FileName|clear}}. The flag is case-insensitive, so {{f|FileName|CLEAR}} or even {{f|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 | 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 [[FinalAlert|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.<br/>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 [[TMP#Explanation|the TMP format]] for more information. |
Latest revision as of 06:37, 20 April 2022
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.