Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Setting a tileset bug (https://forums.graalonline.com/forums/showthread.php?t=134262539)

Astram 03-26-2011 04:26 AM

Setting a tileset bug
 
Why wont this work on the Graal Editor?

PHP Code:

//#CLIENTSIDE
if (created) {
addtiledef vortex_tiles.png,,0;



Cloven 03-26-2011 04:52 AM

Quote:

Originally Posted by Astram (Post 1638931)
Why wont this work on the Graal Editor?

PHP Code:

//#CLIENTSIDE
if (created) {
addtiledef vortex_tiles.png,,0;



PHP Code:

//#CLIENTSIDE
if (created) {
addtiledef vortex_tiles.png,#L,0;


?

Astram 03-26-2011 05:01 AM

Quote:

Originally Posted by Cloven (Post 1638932)
PHP Code:

//#CLIENTSIDE
if (created) {
addtiledef vortex_tiles.png,#L,0;


?

Nope

fowlplay4 03-26-2011 05:19 AM

Then the issue is with your tileset image, provide more details other than it's "not working".

Sky 03-26-2011 05:24 AM

Try to delete filenamecache.. ;0 or delete the offline tiledefs ;0

cbk1994 03-26-2011 06:20 AM

What happens when you do it? Does the level look glitchy (tiles appearing in random places, not drawing correctly) or...?

Make sure the file is an 8-bit PNG or a GIF (the former is preferred) and put it in the Graal folder (levels/tiles/ is the best place for organization) and delete FILENAMECACHE.txt in the Graal directory.

xAndrewx 03-26-2011 11:10 AM

Youi can also use

HTML Code:

removetiledefs;
addtiledef vortex_tiles.png,,0;



All times are GMT +2. The time now is 10:00 AM.

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