Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Assistance with tiledef (https://forums.graalonline.com/forums/showthread.php?t=59720)

LilNiglet 07-01-2005 07:38 AM

Assistance with tiledef
 
We on Delteria are currently working on a new overworld, and with that comes the (kinda) new map format GMAP and a new tileset, in the (kinda) new format. However, the tileset will not load correctly. The attachment shows what happens.

The exact code that is in the screenshot is this:

NPC Code:
if (playerenters){
addtiledef delt-tileset.png,deltnew_,1;
}



It comes up as the incorrect tile, though. The tile acts like a sitting tile, however, it is not the water tile that I placed there. Am I simply being dumb, and the levelgen doesn't work with Tier 2 tilesets? Or should I use the terrain generator? It doesn't seem to support the nice color-map features that the levelgen does.

If it helps, we are using a GMAP. I tried using a map.txt map, but that did not work either. Thanks for your help.

xAndrewx 07-01-2005 09:43 AM

You didn't attach the image.
And is the tileset indexed? or still RGB.

LilNiglet 07-01-2005 03:34 PM

1 Attachment(s)
Quote:

Originally Posted by xAndrewx
You didn't attach the image.
And is the tileset indexed? or still RGB.

Oh, sorry, I'll attach it here.

The tileset is in indexed color, although I don't think it would make a difference... its reading the wrong tile.


EDIT
Another staff member has completed the same overworld but by hand, so we will use that instead. It seems that the levelgen doesn't work with the new tilesets, since they're custom dimensions (as far as where the default tiles are)

so thanks for the help guys, but it seems its an unfixable problem. :) No biggie though, we'll do it manually.

xManiamaNx 07-01-2005 05:22 PM

Is the tileset in pics1 format, or is it in the new format?

WanDaMan 07-01-2005 09:10 PM

Change the 1 to a 0. If you're using a new tileset say one from Era you would use the index 1. If you're using the Graal Kingdoms you'd use the index 5 and 0 is pics1.png.

LilNiglet 07-02-2005 05:04 AM

Quote:

Originally Posted by WanDaMan
Change the 1 to a 0. If you're using a new tileset say one from Era you would use the index 1. If you're using the Graal Kingdoms you'd use the index 5 and 0 is pics1.png.

The tileset is in the new format, so 1 should be the proper format. It doesn't work, though.

NicoX 07-03-2005 12:05 PM

Well...Try using addtiledef2

calum 07-03-2005 05:09 PM

I think it says in an edit of one of his posts that his problem was solved, as the gmap generators only generate gmaps for type 0, and so cliffs etc would appear scrambled when the new format (1) is in use.
Quote:

Another staff member has completed the same overworld but by hand, so we will use that instead. It seems that the levelgen doesn't work with the new tilesets, since they're custom dimensions (as far as where the default tiles are)

so thanks for the help guys, but it seems its an unfixable problem. No biggie though, we'll do it manually.


All times are GMT +2. The time now is 02:22 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.