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

TileAttachesTo

From ModEnc
Jump to: navigation, search
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: TilennAttachesTo, where nn is tile number in the tile set (from 01 to 99).
File(s): Terrain Control INI
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Applicable to: Tile set animation sections


Specifies the sub-tile that this tile animation regards as its anchor point for drawing (translates to a cell on which it is to be drawn).

Below is an example showing the sub-tile index if your tile is 7x4 cells:

Tile01attachesto.png

Although the sub-tile order in a tile is technically arbitrary, in the unmodified games every tile follows the above format, where the first sub-tile is located at tile origin (X0,Y0) and subsequent sub-tiles are ordered by X (down right) then Y (down left). When making custom tiles, it's recommended to follow this format to avoid confusion and potential issues in the game.

Tip: You can check the sub-tile index in a tile using TMP file editing tools like XCC TMP Editor.

See Also