Author Topic: Tileset Editing...  (Read 326 times)

Legacy_Jenna WSI

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
Tileset Editing...
« on: August 21, 2013, 08:34:12 pm »


               I have a custom tileset that uses the base names from the original underdark/drow tileset. To add it in would mess up some builder's custom areas. Would we export all the files and change the names to make it unique? Also, if I wanted to use a pre-existing area built in the original underdark tile, and switch it over to use the edited version, does this work and how would I do it?
               
               

               
            

Legacy_s e n

  • Hero Member
  • *****
  • Posts: 654
  • Karma: +0/-0
Tileset Editing...
« Reply #1 on: August 21, 2013, 09:38:25 pm »


               you need to rename file names and instances inside the files, both in the tileset and in the area files, so they fish in there. if you do it right that shoud work. as for utils, i'd say tileset duplicator for the tileset files and some gff editor, maybe the java one for the files stored inside the area are file. thats how i would do that, just make sure your new files get unique names
               
               

               
            

Legacy_TheOneBlackRider

  • Hero Member
  • *****
  • Posts: 512
  • Karma: +0/-0
Tileset Editing...
« Reply #2 on: August 22, 2013, 05:25:37 pm »


               It's doable but, as sen said, you need to do some editing.

The .set-file
1. First, you should export the .set file (use the HAK-editor by Bioware or the NWNexplorer 1.69)
2. Open it, eg. with a normal text editor
3. Under [General] replace Name=[OriginalName] with a new name, eg. ttf02
4. Under [General] replace DisplayName=[number or so] with:
DisplayName=-1
UnlocalizedName=YourNewDescription/FullNameForTheTileset
5. Save
6. Create e NEW "top" HAK with this .set-file and load it on top of the other HAKs within your module.

The .are-file

The safer way:
1. Export you area
2. Use Biowares ErfEdit to open the erf and export the .are -part.
3. Use the Modified GFF Editor
Author: roboius
http://nwvault.ign.c...r.Detail&id=247
(well, I use that one)
4. Open the .are
5. Towards the bottom, there is the entry "Tileset [CResRef] +Tileset eg. ttf01" -> click and change name to the one you use in your edited set file, eg. ttf02.
6. Save
7. Change back to the ErfEdit. I think, you need to remove the old .are first and save it (not sure about the saving - it's been a while). Import your edited .are into the .erf
8. Save
9. Maybe you have to remove the origianl area first and SAVE the mod. Reimporting an area, which already exsits, may cause trouble. I alway copy my original area, so it gets a new ResRef, the delete the origanl (and save the module before I import one).
10. Import your edited .erf.

The HOT way (but faster):
IMPORTANT: You'll exchanging contents in an extracted module! So: ALWAYS backup your main module! I tend to do all this in extra (temporary) modules, which use all the HAKs of the final module (eg. I strip down the final module to core content) and after testing, export the newly ported area to be imported into the final module.

1. Make a copy of the area (within the mod) you'll want to edit, so you still have the original one.
2. Open any area, but NOT the one you want to edit. This will make the toolset to unpack your module to YourNWNfolder\\modules\\temp0
3. Use the Modified GFF Editor
4. Open the .are of your area to be changed (in temp0). You need to know the ResRef of the area for this - that's the way they are named, eg. area001.are AND REMEMBER: your edit-area must NOT be visible in the toolset=open!!!
5. Towards the bottom, there is the entry "Tileset [CResRef] +Tileset eg. ttf01" -> click and change name to the one you use in your edited set file, eg. ttf02.
6. Save
7. Save the module
8. To be on the safe side, close the module and reopen it. If you check the properties, it should now show your renamed set, eg. "YourNewDescription/FullNameForTheTileset".

If you now create a new area, your new set with "YourNewDescription/FullNameForTheTileset" should appear as a choice, too.

I have done it both ways, but I wrote this up more or less out of my old brain with having the mentioned programs open, but did not do a test edit. If there is a mistake in a step, please tell me. May do this with an unimportant practise/test module first.

Good luck!
               
               

               


                     Modifié par TheOneBlackRider, 22 août 2013 - 04:33 .