Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Tileset issue. (https://forums.graalonline.com/forums/showthread.php?t=74686)

D4rKv310c1ty 06-18-2007 05:41 PM

Tileset issue.
 
1 Attachment(s)
Right, at the moment i'm trying to play around with a new tileset for the server i'm starting work on (Symphonia) - thing is when I use this script:
NPC Code:
//#CLIENTSIDE
if(created)
{
addtiledef symp_main-tiles.png,,;
}



Simple enough right?

But then my level editor goes all funny. (attached.)

Before you asked the stupid, obvious and mildly patronising question:
Yes, i'm sure that the tileset is the correct one and that it is spelt correctly.

:X

Inverness 06-18-2007 06:06 PM

Is the image the right dimensions and everything? Try using #L for the level?

Grey 06-18-2007 06:07 PM

Try using a removetiledefs; and then trying the addtiledef. If that does not work try adding the name of the level you're working in the addtiledef.

Tilesets are fiddly. x_x

Inverness 06-18-2007 06:08 PM

Quote:

Originally Posted by Grey (Post 1319323)
Try using a removetiledefs; and then trying the addtiledef. If that does not work try adding the name of the level you're working in the addtiledef.

Tilesets are fiddly. x_x

NO U

Grey 06-18-2007 06:19 PM

Quote:

Originally Posted by Inverness (Post 1319326)
NO U

WTF!! NO U!

Matt 06-18-2007 07:32 PM

Double check to make the sure the tileset image is within your graal folder of course.

WanDaMan 06-18-2007 07:56 PM

Post the tileset if all else fails, it'll be set wrong! :)

DustyPorViva 06-18-2007 08:54 PM

If it's in the editor, try setting an NPC to the tileset image to make sure if it's the image or not. If it's the image, set it to indexed mode, if it's not the image, try filling in the blanks, IE the level and the type.

D4rKv310c1ty 06-19-2007 02:11 AM

Nope, none of them seem to have worked.

DustyPorViva 06-19-2007 03:14 AM

You're not being very specific?

Sage_Shadowbane 06-19-2007 04:17 AM

NPC Code:
//#CLIENTSIDE
if(created)
{
addtiledef symp_main-tiles.png, , 0;
}



Have a nice day. ^^

godofwarares 06-19-2007 04:57 AM

Quote:

Originally Posted by Sage_Shadowbane (Post 1319636)
NPC Code:
//#CLIENTSIDE
if(created)
{
addtiledef symp_main-tiles.png, , 0;
}



Have a nice day. ^^

Zing.

PHP Code:

//#CLIENTSIDE
if (created)
{
  
setstring levelstartLEVELSTART;

  
removetiledefs;
  
addtiledef symp_main-tiles.pnglevelstart0;


Replace LEVELSTART with what your level starts with. e.g. symponlinestartlocal.nw = symp.
It also helps to have it in 8-bit (256 colors) and to have it in the folder that the level is in.


All times are GMT +2. The time now is 11:50 AM.

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