Apolyton Archive | Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to. | Forum index | About this archive | The 1998–2001 UBB forums
Edit existing tile-files or create new ones. TileEdit can view and edit all TileBorders, Terrain Tiles, Rivers, Tile Improvements, TileRules, and a block of unknown meaning, reffered to as Last Block.
When TileEdit starts a blank .til-file is created in memory, this can be edited by adding, deleting, or editing the various elements. It is also possible to open an existing .til-file, and edit that. The result can be saved as two .til-files, one is not used by the game (as far as we know) but uses normal color format as in uncompressed TGA's. The other is the actual file being used in the game. This file uses an alternative color format. Both formats can be opened by TileEdit.
To Change the graphics use any graphics editor to create your image (or edit the ones extracted using TileEdit), then save it as uncompressed RGB tga's (16, 24, or 32 bit). the standard size for Tiles and borders are 94x72 pixel, for Rivers and TileImprovements it's variable, with the same origin as the Tile graphics (upper, left). (The graphics-import can handle 16 (the colr depth used in the tile-files), 24, and 32 bit uncompressed RGB TGA-files.) On the load TGA-screen use + Left or Right mouse burton to select the transparent and shadow color respectively.
It is possible to save the individual graphical elements, and the image in the preview pane, as TGA-files. The format used is 16-bit uncompressed RGB.
An entire .til file may be exported as a script file and a set of images. The images will be stored in a subdirectory with the same name as the script file (excluding the file-extension).
Finally it is possible to import these scriptfiles, thereby generating a new .til-file. (note that exporting and subsequently importing the generated script, may result in a slightly different .til file. This is in part due to the color-conversion taking place and in part due to shadow- and/or transparent-color being the same as the color of pixels that are not transparent or shadow in the original .til file).
(
Immortal Wombat,
07-28-2002)
Brilliant. Allows the extraction, alteration, addition, subtraction and modification of all the terrain and tile improvements in CtP and CtP2, making the games even closer to 100% moddable.
Thanks Martin!