1) You have to pick whatever tileset you want to add these new tiles into.
2) Edit the .set file of that tileset to add the new tiles you wish to add.
3) Edit the .set file to add the features (groups = same thing) to that set file.
3) Edit the itp to add the new choices to your menu in the toolset.
The .set file has several different control lines in it.
[TILES]
Count=442 -- this number has to match total number of tiles in the set.
[TILE442] -- this would be the first tile number you could use to add tiles to this particular set.
You would copy all of the tile data from whatever set file your additions are coming from, and adjust the tile number to be numerical in order.
Once you get past that, you run into the groups section.
[GROUPS]
Count=94 -- this number would have to increase by the number of features/groups that you add to the set.
Then you add your group entries.
[GROUP7]
Name=Barn01_2x2 -- this line is for YOUR reading purposes only, never actually gets used in toolset or game.
Rows=2
Columns=2
Tile0=8
Tile1=9
Tile2=10
Tile3=11
The above particular group is a 2x2 barn, so you have four tile entries. The actual number must match the NEW number of the tile(s) you added, IE, if this is a single tile group, and you only added one tile to this set, you would change Tile0=8 to be Tile0=442.
On the itp side of things, I can't really explain much in text format, but you need an itp editor, and need to add the features/groups to the proper sections of the itp. There are many programs that will help you edit the itp, and many ways to accomplish the addition of new features/groups. Personally, I use TlkEdit.exe as it allows me to do other things also, and edits the itp file just fine.
You can't skip steps, as nothign will show up in toolset until all of the above are completed.
I have already created a tutorial on using TlkEdit to edit the ITP file, you can find that tutorial
Here.
Modifié par Bannor Bloodfist, 10 juin 2011 - 04:18 .