Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Layered Tileset (https://forums.graalonline.com/forums/showthread.php?t=77708)

Codein 11-26-2007 03:36 PM

Layered Tileset
 
I was wondering if there was an efficient way to have a base tileset (with walls, and stuff) and have another tileset, with maybe say a table with a transparent background.

This way, I wouldn't have to make table/carpet/whatever tiles for ever single floor type.

Is it possible?

Maniaman 11-26-2007 04:09 PM

There is some support for multiple tile layers, however no editor exists for them yet.

coreys 11-26-2007 04:14 PM

Zero's server manages to use them, since he has a custom online level editor of sorts that's part of the gameplay. I tried to learn how to use them, but it seemed very complicated at the time, but it probably isn't.

Darklux 11-26-2007 05:05 PM

Quote:

Originally Posted by coreys (Post 1360499)
Zero's server manages to use them, since he has a custom online level editor of sorts that's part of the gameplay. I tried to learn how to use them, but it seemed very complicated at the time, but it probably isn't.

It probaply wouldnt be if the level editor was renewed instead of working on vaporware projects like g3d.

zokemon 11-26-2007 08:34 PM

It is possible but you have to develop an online editor that can edit the .nw data since mine isn't public/complete.

Codein 11-26-2007 09:17 PM

Quote:

Originally Posted by zokemon (Post 1360533)
It is possible but you have to develop an online editor that can edit the .nw data since mine isn't public/complete.

Hrm, I'll have to research into it. Even if I do make it, which I have no idea how at the moment, it's all practice and enhancing my skill ^_^

Any chance someone can give me the nod in the right direction? I already know how to load information from files, and the likes.

coreys 11-27-2007 12:41 AM

Well, I was talking to Stefan the other night and he mentioned working on his OLE to include multiple tile layers and tilesets for each tile layer...among other things, like level npcs.

DustyPorViva 11-27-2007 01:00 AM

I could, but since I got the knowledge from zokemon(:)), I don't think I'm within rights to share it. It is pretty simple in theory, but execution is where it's a pain... especially since, like it's been said, actually making use of it would involve making your own tile editor(see my post in the NPC scripting section for info on how to script that).

Angel_Light 11-27-2007 01:43 AM

making indiviual images work too :P, but I believe you can do tiles[ 0].layer = 0; and go on from that for each new layer just change the zero, so tiles[ 1].image = "blah.png";

Crono 11-27-2007 01:50 AM

Maniaman was working on some offline editor...don't know if he's doing much on it anymore.

DustyPorViva 11-27-2007 01:53 AM

If I knew how to program I'd love to make a Graal editor... simple because of the fact the .nw file seems to easy to comprehend.

EDIT: Does anyone have a fairly clean server(IE: not a lot of junk and systems that make it hard to script things other than stuff for the server), that would mind me having NC access? I want to try to make an editor that uses layers, and I have a fairly good idea how to go about it as well. Oh, and if I actually complete this, it'll be going into the Code Gallery.

coreys 11-27-2007 02:37 AM

Quote:

Originally Posted by Gerami (Post 1360604)
Maniaman was working on some offline editor...don't know if he's doing much on it anymore.

I actually have all the code files for it...it's very buggy though, and he never implemented multiple tile layers as it wasn't supported at the time. (He hasn't worked on it for a LOOOONG time) We're might finish it together at some point.

Inverness 11-27-2007 03:28 AM

I feel inspired to make an online editor. But I need more inspiration.

Come on, inspire me.

Cloven 11-27-2007 03:44 AM

Quote:

Originally Posted by DustyPorViva (Post 1360605)
If I knew how to program I'd love to make a Graal editor... simple because of the fact the .nw file seems to easy to comprehend.

EDIT: Does anyone have a fairly clean server(IE: not a lot of junk and systems that make it hard to script things other than stuff for the server), that would mind me having NC access? I want to try to make an editor that uses layers, and I have a fairly good idea how to go about it as well. Oh, and if I actually complete this, it'll be going into the Code Gallery.

You can use Delteria Dev if you want. Just send me a forum PM if you still need.

DustyPorViva 11-27-2007 03:45 AM

Hmm, Tom is gonna let me work on Arca, but if that doesn't work out I'll be sure to PM you, thanks :)

Oh, and since this seems to be the subject, I thought this might help anyone who wants to work on an editor:
http://forums.graalonline.com/forums...ad.php?t=76519


All times are GMT +2. The time now is 09:35 AM.

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