Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Level Design (https://forums.graalonline.com/forums/forumdisplay.php?f=6)
-   -   Offline Tileset Solution (https://forums.graalonline.com/forums/showthread.php?t=81777)

MunkyPuff 09-12-2008 04:04 AM

Offline Tileset Solution
 
For two days straight I tried and tried to get my stupid tileset to work offline on the editor. Everytime I got thoes friggen black lines across the screen! I know many others had this problem because I scoured the forums looking for a solution and found that others had the same issue. (some due to other problems such as wrong img format, wrong script, ect. ) but this was different.

After trial and error I found out that the editor couldn't find my file! THAT'S IT! I couldn't believe it..

What I did was when your in the editor and you have your script open that should look similar to this:

//#CLIENTSIDE
if (created) {
removetiledefs;
addtiledef myrtileset.png,,1;
}

On the top of the script box where it allows you to browse for an image, I browsed for my tileset and loaded it up, which is going to turn your script into your tile, then deleted it, then removed tile defs, and tried it again.
And Voila! So simple...yet so obnoxious =P

Hope this may of helped some ppl!

-Pea

Tigairius 09-12-2008 04:06 AM

I seriously appreciate you posting this for people. Usually people just post asking for help.

MrAnonymous_P2P 09-12-2008 06:01 AM

++ rep good job.

Sticky please.

ArushenP2P 09-12-2008 07:49 AM

You could also put your offline tileset in a folder where you saved the level that your using the offline tileset from.

MunkyPuff 09-12-2008 09:20 AM

Yup it worked! :) that makes it much easier! Thanks!!

xXziroXx 09-13-2008 11:48 AM

Erm, there's an even simpler solution to this error - delete FILENAMESCACHE.txt, restart editor, and tadaa!

Crono 09-13-2008 12:00 PM

Nice. Until I do my own tutorials I'll keep this in the tutorial sticky from haunter.

weeway 09-14-2008 07:56 AM

Haha same think allways happends to me I reinstalled edited and everything still broke my friend told me to put a script in and TADA

GoDoT 08-14-2012 12:31 AM

Hate to bump this old thread, but hey its better to annoy everyone and start a new one. I am trying to make some era levels, I have the tileset image, I need the NPC code, the file name is: era_tileset-summer-online.png. If someone could help me with this, thanks.

Dragon551 08-14-2012 12:39 AM

Quote:

Originally Posted by GoDoT (Post 1701722)
Hate to bump this old thread, but hey its better to annoy everyone and start a new one. I am trying to make some era levels, I have the tileset image, I need the NPC code, the file name is: era_tileset-summer-online.png. If someone could help me with this, thanks.

PHP Code:

//#CLIENTSIDE
if (created) {
  
removetiledefs;
  
addtiledef era_tileset-summer-online.png,,1;


You could also download Era's development kit from the server, it includes the tileset code along with the offline tileset. It's useful if you're planning on making levels for the PC or iPhone version of Era :)

Good luck!

cbk1994 08-14-2012 12:58 AM

The online version of Era's tileset probably won't work. Do as Alfonso said and download the development kit; I recently updated it.

scriptless 08-23-2012 12:50 AM

To Elaborate on the syntax:

To remove all tile def's for current server and/or offline:
PHP Code:

  removetiledefs

To Add:
PHP Code:

  addtiledef TILESET,LEVEL PREFIX,TYPE

Tileset this is the tileset image.

Level Prefix starting prefix for the level. EX: mylevel_anything.nw, where "mylevel" is the prefix.

Type I believe this should be set as 0 by default, 1 if you are using tileset similar to how ERA is layed out.


All times are GMT +2. The time now is 01:31 AM.

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