Aller au contenu

Photo

Tileset merging


  • Veuillez vous connecter pour répondre
10 réponses à ce sujet

#1
Vincent07

Vincent07
  • Members
  • 47 messages

I've been working on a rather large update for my server, an run into a bit of a snag.  That snag being merging .set files to combine multiple alterations to the MicroSet tileset.

 

The first being Worms' Wagon interiors: http://nwvault.ign.c...d=59802&id=7797

 

The second, his stomach interior from the Sept 11 CCC: http://nwvault.ign.c....Detail&id=8095

 

I tried one .set editor I found on the vault, but it would not let me copy the entry from one file to the second.  The other editor I found didn't even let me edit anything.

 

So, does anyone have either an already merged file for these, or a better editor somewhere?



#2
henesua

henesua
  • Members
  • 3 882 messages

i use a text editor, and merge it manually in these cases. Its not that many tiles to merge. 10 maybe in total.

 

Do you have any idea what you need to do in a merge?


  • Zwerkules aime ceci

#3
MerricksDad

MerricksDad
  • Members
  • 1 620 messages

Working on one, but I can't get it ready in any good time at the moment.


  • Rolo Kipp aime ceci

#4
Vincent07

Vincent07
  • Members
  • 47 messages

Tilesets are one of the things I've not messed with at all.   I've added overrides to pretty ours up, added new ones.  Never done any merging though.



#5
henesua

henesua
  • Members
  • 3 882 messages

well to get you started: open up the set file in a text editor and take a look at it.

 

You'll have a section called [TILES]  and a section called [GROUPS]. Those are I believe the only sections that will change in this merge. You will also need to edit the ITP (palette definitions) using a GFF editor, and I don't have time to explain that to ya right now. Right now just get familiar with the SET file. Read what I ramble on about here. And then get a GFF editor so you can also edit the ITP file.

 

RAMBLE ABOUT SET FILE STUFF:

As in most computer crap, its all just sequential lists with an index number to keep track of it. TILE1 TILE2 TILE3 … TILE1353 etc… So open the SET file that you want to merge the tiles into. in that file find the end of the tiles list. that is where you will paste the tiles you want to add. its called "appending", adding on to the list. Then you will need to change the numbering of them so that they are sequential. So say the last TILE in the wagon's microset is ID'd 19. The four stomach tiles will need to be added in order 20 21 22 23.  Make sure they are just the stomach tiles and not some duplicate tiles in the microset. Then after you have the last tile aded, you need to check the number, and go to the top of the list. At the top is a TILE Count. You'll want to update it. Basically change the number to the last tile in the sequence - 1. It is one less than the ID of the last tile because the count starts at 0. Typical computer crap thing. Counting begins at 0 instead of 1. Its actually a groovy way to count, but takes getting used to.

 

OK. GROUPS. I forget exactly which tiles are the stomachs, BUT you can find out which ones they are in the stomach SET file. Go to the GROUPS section in that set, and look for the stomach groups. They'll have a group definition and list of tiles, each one with a number of the tile in the stomach SET. Those are the tiles you want to copy. AND you want to copy the group definitions to the other SET file too, but make adjustments like the actual TILE id and group ID and group count etc...

 

 

This is a very fast run down. Just start byopening the SET file and looking at it. Much of this might be self-explanatory once you poke around to see for your self how the file is set up.


  • Zwerkules, Vincent07, OldTimeRadio et 2 autres aiment ceci

#6
Vincent07

Vincent07
  • Members
  • 47 messages

Thank you!  Got the .set stuff done.  That was rather simple actually.

 

.itp remains.  I seem to recall having issues trying to alter an .itp file before.    Fun.


  • Rolo Kipp aime ceci

#7
Vincent07

Vincent07
  • Members
  • 47 messages

Well, that was tedious, but I think I have it sorted out. 

 

Now my players will have both caravan rides ... and be able to be eaten and swallowed by large things.  <_<

 

FUN FOR ALL.


  • henesua et Rolo Kipp aiment ceci

#8
henesua

henesua
  • Members
  • 3 882 messages

I love that stomach. its the lobby for a module i am working on. :)


  • Estelindis aime ceci

#9
Vincent07

Vincent07
  • Members
  • 47 messages

I plan to custom script the Purple Worm models to actually grab and eat players.


  • Zwerkules, Estelindis et henesua aiment ceci

#10
Pstemarie

Pstemarie
  • Members
  • 2 745 messages

I plan to custom script the Purple Worm models to actually grab and eat players.

 

You can't do that...it'd be...too dastardly  ;)

 

I'd love to see that script when you get it done.



#11
MerricksDad

MerricksDad
  • Members
  • 1 620 messages

Doesn't the Set Editor (http://nwvault.ign.c...r.detail&id=620) still have a button that automatically exports a proper ITP file for your set? I had been using that after running my custom tileset maker for years.