View Single Post
  #4  
Old 02-10-2007, 10:10 AM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Quote:
Originally Posted by pooper200000 View Post
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.
__________________
V$:CONFL16T
Reply With Quote