Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Level Design (https://forums.graalonline.com/forums/forumdisplay.php?f=6)
-   -   trouble with tiles (https://forums.graalonline.com/forums/showthread.php?t=72096)

pooper200000 02-10-2007 04:54 AM

trouble with tiles
 
Can anyone explain 2 things to me about the level editor? How do you know when you ahve correct tiles. I make zone levels and apprently i mess up on the grass tiles. I was wondering if someone can give me an example of what a correctly made tile is and how to adjust the size of a gmap when you make it.

Torankusu 02-10-2007 06:29 AM

I don't understand exactly what you're asking, but the default pixel size for one tile is 16x16 pixels.

killerogue 02-10-2007 06:53 AM

Quote:

Originally Posted by Torankusu (Post 1275741)
I don't understand exactly what you're asking, but the default pixel size for one tile is 16x16 pixels.

I believe he's asking about a correctly tiled grass area with non repeating-ness.

WanDaMan 02-10-2007 10:10 AM

Quote:

Originally Posted by pooper200000 (Post 1275722)
Can anyone explain 2 things to me about the level editor? How do you know when you ahve correct tiles. I make zone levels and apprently i mess up on the grass tiles. I was wondering if someone can give me an example of what a correctly made tile is and how to adjust the size of a gmap when you make it.

Changing the tileset, well to get default like on Unholy Nation or Classic you'd be using "pics1.png". Add this command to get it to default :
NPC Code:
removetiledefs;


I'd advise anyone who uses that to delete it after they've added it to the NPC... To use another tileset from another playerworld such as Zone or Era you'd have to find the image name. Once found you'd then use this command to use it :
NPC Code:
addtiledef tileset.png[1],levelstart[2],index[3];


[1] - the image of the tileset you'd want to be using. I believe Graal Kingdoms uses 'picso.png'... You could find the images in your webgifs...
[2] - The start of the level name. It's default on any level is "new#". Just change it to the level name.
[3] - The index! Basically, the order of the tiles. Era uses 1 whilst Unholy Nation uses 0.
An example would be
NPC Code:
addtiledef blasphemy_pics1.png,illuminati_,0;



Creating your own tile, they're 16 x 16 pixels in size. I prefer to create mine in MS Paint and then convert over to a Vector program to make it appear in the Graal Editor. It get's quite complex, add the image to a post in here and I'll make it in to an image for you and add a script so you can add it in to your own level. I'd advise you to research the command 'addtiledef2'!! Not many LAT's use this feature - I've over-used it on my server *HUGE MISTAKE*; I now can not have different seasons due to the images I've used for the new tiles... It's quite complicated...

In regards to your Gmap, download the development packages!! There should be a folder in there with instructions on how to create one. Whilst creating your image keep in mind that 64 x 64 pixels is the size of the level, so 128 x 128 would be 2 levels across and 2 levels down.

pooper200000 02-10-2007 02:53 PM

Quote:

Originally Posted by killerogue (Post 1275750)
I believe he's asking about a correctly tiled grass area with non repeating-ness.

yes!!!

Quote:

Originally Posted by WanDaMan (Post 1275772)
Changing the tileset, well to get default like on Unholy Nation or Classic you'd be using "pics1.png". Add this command to get it to default :
NPC Code:
removetiledefs;


I'd advise anyone who uses that to delete it after they've added it to the NPC... To use another tileset from another playerworld such as Zone or Era you'd have to find the image name. Once found you'd then use this command to use it :
NPC Code:
addtiledef tileset.png[1],levelstart[2],index[3];


[1] - the image of the tileset you'd want to be using. I believe Graal Kingdoms uses 'picso.png'... You could find the images in your webgifs...
[2] - The start of the level name. It's default on any level is "new#". Just change it to the level name.
[3] - The index! Basically, the order of the tiles. Era uses 1 whilst Unholy Nation uses 0.
An example would be
NPC Code:
addtiledef blasphemy_pics1.png,illuminati_,0;



Creating your own tile, they're 16 x 16 pixels in size. I prefer to create mine in MS Paint and then convert over to a Vector program to make it appear in the Graal Editor. It get's quite complex, add the image to a post in here and I'll make it in to an image for you and add a script so you can add it in to your own level. I'd advise you to research the command 'addtiledef2'!! Not many LAT's use this feature - I've over-used it on my server *HUGE MISTAKE*; I now can not have different seasons due to the images I've used for the new tiles... It's quite complicated...

In regards to your Gmap, download the development packages!! There should be a folder in there with instructions on how to create one. Whilst creating your image keep in mind that 64 x 64 pixels is the size of the level, so 128 x 128 would be 2 levels across and 2 levels down.

Im kind of confused. I have the zone tiles. I don't know what addtiledef2 is? I just want to be able to make a gmap with correct grass tiles. What does one tile look like though when it is correctly made meaning it isn't "messed up"?

Torankusu 02-11-2007 01:19 AM

Quote:

Originally Posted by WanDaMan (Post 1275772)
I'd advise you to research the command 'addtiledef2'!! Not many LAT's use this feature - I've over-used it on my server *HUGE MISTAKE*; I now can not have different seasons due to the images I've used for the new tiles... It's quite complicated...

What is the problem you ran into with addtiledef2? Why would they affect you not being able to have different seasons?

WanDaMan 02-11-2007 09:44 AM

Quote:

Originally Posted by pooper200000 (Post 1275790)
yes!!!
Im kind of confused. I have the zone tiles. I don't know what addtiledef2 is? I just want to be able to make a gmap with correct grass tiles. What does one tile look like though when it is correctly made meaning it isn't "messed up"?

Ok, add removetiledefs; to a level to get pics1.png back. That's the default tileset. It will not appear messed up or anything like that :)! Now, install the Development Packages and follow the instructions in the Level Generator folder - it's pretty straight forward! :)


Quote:

Originally Posted by Torankusu (Post 1275989)
What is the problem you ran into with addtiledef2? Why would they affect you not being able to have different seasons?

I used 32 different images on VS for addtiledef2, I believe I used them in 512 levels. I'll explain it a bit better, the tiles I've added are for different parts of the overworld; Natural, Snow + Volcanic. Now, if I were to add a christmas season to my overworld it would mean that I would have to edit the Natural and Volcanic tiles to corrospond with it being a snow season, same for any other season such as spring or summer... It's too much trouble for something so little, I wish I wouldn't of ever used addtiledef2! x_x

Chandler 02-11-2007 10:36 AM

Quote:

Originally Posted by WanDaMan (Post 1276141)
I used 32 different images on VS for addtiledef2, I believe I used them in 512 levels. I'll explain it a bit better, the tiles I've added are for different parts of the overworld; Natural, Snow + Volcanic. Now, if I were to add a christmas season to my overworld it would mean that I would have to edit the Natural and Volcanic tiles to corrospond with it being a snow season, same for any other season such as spring or summer... It's too much trouble for something so little, I wish I wouldn't of ever used addtiledef2! x_x

Yes. You got those figures correct.

xXziroXx 02-11-2007 11:16 AM

Uhm, I think he wants you guys to explain how to make a good looking outside level/GMAP in Zone tileset..

pooper200000 02-19-2007 05:03 AM

Quote:

Originally Posted by xXziroXx (Post 1276162)
Uhm, I think he wants you guys to explain how to make a good looking outside level/GMAP in Zone tileset..

sorry I forgot about this. I want ot know how when you take the things you stand on when on zone. What do correctly made tiles look like? Like how many of the sqaure things do you grab with your mouse? Or if someoen could post it. Like when you save itas zone_wars-blahblah and you have the zone tiles what do they green ones correctly made together look like? I know you grab a "lil bit" but how much is that??

pooper200000 02-19-2007 07:38 PM

Quote:

Originally Posted by pooper200000 (Post 1279222)
sorry I forgot about this. I want ot know how when you take the things you stand on when on zone. What do correctly made tiles look like? Like how many of the sqaure things do you grab with your mouse? Or if someoen could post it. Like when you save itas zone_wars-blahblah and you have the zone tiles what do they green ones correctly made together look like? I know you grab a "lil bit" but how much is that??

anyone anyone at all?


All times are GMT +2. The time now is 01:11 PM.

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