QUOTE (Lin Kuei Ominae @ Jun 16 2008, 12:55 PM)

QUOTE (Frankman @ Jun 16 2008, 12:11 AM)

1. Are custom textures possible? I'd like to make asphalt roads and railroads.
For TD and for a map only? No!
Unless you are prepared to do a LOT of map editing in a hex editor. It is not possible to add new tiles, but it IS possible to add new frames to existing tiles and use those. Of course, no map editor will support them, so you'll have to edit the map manually with a hex editor to add them.
I've done stuff like that in some missions, like this:
http://cnc2sw.planetcnc.gamespy.com/stuff/mod/A10crash2.gifThe tile I've added this to is the so-called UFO thingy. It has a ton of black tiles at the end of it for no apparent reason (in fact, XCC can't read i because it overflows on them)
http://cnc2sw.planetcnc.gamespy.com/stuff/mod/P04_1.gifThe new P04 tile file I now use looks like this:
http://cnc2sw.planetcnc.gamespy.com/stuff/mod/P04.gifOn the map, each tile is 2 bytes; the first one indicating which tile to use, and the second specifying which frame of it to use. So where the map editor can only place "47 00" for this, I used "47 01", "47 02", etc to put my custom tiles on the map.
Note that the passability of these tiles is determined by exe data which is quite hard to edit, but basically, if you take a 100% impassable tile, the frames you add to it will be impassable too. If you take a 100% passable tile, the frames you add to it will all be passable.
If you have one that's partially passable, I think all added frames are impassable, since the new tiles won't be on the exceptions list in the exe which the tile uses.
This post has been edited by Nyerguds: Sep 7 2008, 11:23 PM