Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   omg tile set... (https://forums.graalonline.com/forums/showthread.php?t=74402)

theHAWKER 06-05-2007 05:03 AM

omg tile set...
 
THERE IS A SERIOUS TILE SET PROBLEM!
this is my script:
PHP Code:

addtiledef gl_offline.png,,0

the first img is my tile set (its just for offline so i dont care if it looks grainy and incomplete)

the second is what i think should be the new graal editor

but i just need to know what is wrong with my tile set :(

DustyPorViva 06-05-2007 05:11 AM

If it was a problem with the image, it would turn everything black.
Put SOMETHING as the level, like the start of the levelname.

theHAWKER 06-05-2007 05:13 AM

Quote:

Originally Posted by DustyPorViva (Post 1315219)
If it was a problem with the image, it would turn everything black.
Put SOMETHING as the level, like the start of the levelname.

i tryed #L and #l but a black line divieds the level

DustyPorViva 06-05-2007 05:16 AM

No, do the actual levelname.

killerogue 06-05-2007 05:17 AM

Don't use either of those, just don't put anything there.

Edit: Offline is 256 colors only. So if you're using THAT tileset I doubt it will work.

theHAWKER 06-05-2007 04:38 PM

Quote:

Originally Posted by killerogue (Post 1315224)
Don't use either of those, just don't put anything there.

Edit: Offline is 256 colors only. So if you're using THAT tileset I doubt it will work.

it is 256 colors x,x yet still wont work...

DustyPorViva 06-05-2007 06:14 PM

Did you do what I said and specify the level?
addtiledef image,mylevel_,0;
?

killerogue 06-05-2007 06:48 PM

Try what Dusty says first, save it as THAT level name then reopen.

Then if that doesn't work. Try:

addtiledef image,,1;

Also Dusty, 0 is for new tilesets I believe and 1 is for pics1 edits? ???

Crow 06-05-2007 06:53 PM

Quote:

Originally Posted by killerogue (Post 1315349)
Try what Dusty says first, save it as THAT level name then reopen.

Then if that doesn't work. Try:

addtiledef image,,1;

Also Dusty, 0 is for new tilesets I believe and 1 is for pics1 edits? ???

The other way round. 1 is for type 1 tilesets, the new order one. 0 is for pics1 edits.

theHAWKER 06-06-2007 12:27 AM

Quote:

Originally Posted by DustyPorViva (Post 1315346)
Did you do what I said and specify the level?
addtiledef image,mylevel_,0;
?

yeah i tryed this but still just a big black line :(

edit: and is it ok if its 8 bit?

Rapidwolve 06-06-2007 02:57 AM

Wait did you draw that thing that says current tileset?

DustyPorViva 06-06-2007 02:58 AM

Also, if you want to make sure if the image works or not, just drop an NPC, and set the image as the tileset you want to use. If it ends up setting the NPCs image as the tileset, then it's not the image, if the image never shows as the NPC, then your graphic is probably not set right for Graal.

theHAWKER 06-06-2007 05:04 AM

Quote:

Originally Posted by Rapidwolve (Post 1315478)
Wait did you draw that thing that says current tileset?

yes.

and i think the problem with my tile set is the img cause it wont show (thx DustyPorViva)

DustyPorViva 06-06-2007 06:07 AM

What did you use to save the image?
If you use Photoshop, go to image > mode > indexed or something like that.

theHAWKER 06-06-2007 04:50 PM

Quote:

Originally Posted by DustyPorViva (Post 1315507)
What did you use to save the image?
If you use Photoshop, go to image > mode > indexed or something like that.

OMG THANK YOU!!!
the file was like .PNG
so yeah, that worked thx soooo much!!!


All times are GMT +2. The time now is 03:47 PM.

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