Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Offline Editor >.< (https://forums.graalonline.com/forums/showthread.php?t=81996)

Soala 09-25-2008 04:16 PM

Offline Editor >.<
 
The current Offline editor in the dev packages should be improved.

It does not support tilesets that are more than 8bytes ! (It just doesnt show)
I find this ridiculous, because alot of servers, especially modern servers are having .gif extension for their tileset !

I could actually transform a 32bytes tileset image into a 8bytes one, but seriously, why would we all work hard making nice tiles to finaly RUIN them turning the tileset to 8 bytes !

I know that most of people are using online editor, but seriously it could be very nice to have any tileset showing in the offline editor, because it actually causes alot of problems.
I guess it's why most of tilesets turns ugly.(I'm not saying current servers tileset are ugly, but using normal colors like one type of red, one type of blue, etc... is acutally weird.)

Crono 09-25-2008 05:46 PM

They won't improve it.

They're waiting for players to make some online version or something, you know how it is now.

Soala 09-25-2008 07:00 PM

Quote:

Originally Posted by Crono (Post 1426233)
They won't improve it.

They're waiting for players to make some online version or something, you know how it is now.

Well yeah but seriousy...I hope you all take this as a request?

DrakilorP2P 09-25-2008 07:36 PM

gonstruct

draygin 09-25-2008 07:43 PM

For changes to the offline level editor I'd rather just see an option added so that you can extend the tileset on the right. As it is now I have a wide screen with lots of black space on the sides but I can only see a fraction of the tiles at once. If I could drag it to the left to show more of the tiles that would rock.

Soala 09-25-2008 08:01 PM

Actually I'd also like an improvement on it, selecting tiles with it takes too long
Look on Unholy Nation, in r2r's (rooms to rent) with the online editor, it's way faster to edit (you just click on the tile, no need to click from a corner then select the whole tile <_< you just click on the tile and you got it)

WanDaMan 09-25-2008 08:23 PM

I'd love several layers to the editor!

Fry 09-25-2008 09:15 PM

Quote:

Originally Posted by WanDaMan (Post 1426254)
I'd love several layers to the editor!

Could you or anyone explain to me how layers are implemented in the client and in what way they are useful right now? I am not exactly clear on that and would like to know if you don't mind.

xXziroXx 09-25-2008 09:42 PM

Quote:

Originally Posted by Fry (Post 1426262)
Could you or anyone explain to me how layers are implemented in the client and in what way they are useful right now? I am not exactly clear on that and would like to know if you don't mind.

The only real functionality for it is to be able to make one layer of "background" tiles and then have an additional layer above (or several!) with transparent tiles that adjust to the background. Which is rather groovy. :fro:

LoneAngelIbesu 09-26-2008 12:38 AM

Quote:

Originally Posted by Fry (Post 1426262)
Could you or anyone explain to me how layers are implemented in the client and in what way they are useful right now? I am not exactly clear on that and would like to know if you don't mind.

In the .NW files:
PHP Code:

BOARD 0 23 64 0 
AAAAAAAAAAAAAAAAA
...
BOARD 0 24 64 0 
AAAAAAAAAAAAAAAAA
... 

The first zero seems to denote the layer of the set of tiles. Correct me if I'm wrong, tile-layer specialists.

xXziroXx 09-26-2008 12:42 AM

Quote:

Originally Posted by LoneAngelIbesu (Post 1426311)
The first zero seems to denote the layer of the set of tiles. Correct me if I'm wrong, tile-layer specialists.

That'd be correct.

LoneAngelIbesu 09-26-2008 12:48 AM

Quote:

Originally Posted by xXziroXx (Post 1426312)
That'd be correct.

According to the file below, I am wrong. But, things may have been updated from forever ago.

There's a copy of an old Graal version on this computer (Graal New World? I'm guessing it's where .NW comes from). Here's a README on the level format:
Quote:

The new level format is text based. Use a text editor which doesn't wrap lines.
It begins with the signature GLEVNW01.
It can contain following data types:

- board lines:

BOARD x y width layerindex <tilesdata>

This is one line of the background layer. 'tilesdata' has a length if w*2
characters; each tile is a 12bit-index into the tile list (pics1.gif) and is
encoded in two base64 characters (upper 6 bit first)
base64: String = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvw xyz0123456789+/'
so AA is tile 0, AB is tile 1, AC is tile 2, // is tile 4095 (=0xFFF)

- level links:

LINK <destination-level> x y width height newx newy

The link attributes are the same like in the link options window in Graal.
destination-level, newx and newy must not contain spaces.

- signs:

SIGN x y
text
...
SIGNEND

Signs may be empty, but SIGNEND must always be there.

- npcs:

NPC imagefilename x y
script
...
NPCEND

If the npc doesn't have a filename (invisible npc), then write '-' for imagefilename.
x and y may be floating point values. The npc script may be empty, but NPCEND
must always be there

- baddies:

BADDY x y type
attackverse
hurtverse
winverse
BADDYEND

'type' is the baddy name (graysoldier ... dragon ) or index (0...9). You don't need
to write all 3 verses, it's also possible to only write attackverse+hurtverse or only
attackverse, but BADDYEND must always be there.

- chests:

CHEST x y item signindex

item is the item name (greenrupee ... spinattack) or item index (0...24)

xXziroXx 09-26-2008 01:25 AM

I was pretty sure the first zero was layer, but alas, I might be mistaken as well. If the documentation say it's the second zero, it probably is.

EDIT: Confirmed, second zero it is.

DarkReaper0 09-26-2008 03:08 AM

Quote:

Originally Posted by xXziroXx (Post 1426271)
The only real functionality for it is to be able to make one layer of "background" tiles and then have an additional layer above (or several!) with transparent tiles that adjust to the background. Which is rather groovy. :fro:


Petition for Tileset Groovification! :fro:

Soala 09-26-2008 10:23 AM

Quote:

Originally Posted by DarkReaper0 (Post 1426340)
Petition for Tileset Groovification! :fro:

PETITION FOR TILESET PLUFFYFICATION :pluffy:

Anyway, seriously, We REALLY need complete new editor with lot of stuffs (layers, etc...)


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

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