Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Graal Engine (https://forums.graalonline.com/forums/showthread.php?t=74622)

ArushenP2P 06-16-2007 10:39 AM

Graal Engine
 
There should be a new Graal Engine for all of us. So it is easier to develop servers, because the current engine is very hard to do. You mostly have to script everything just to get a npc on a level or get an image to be walked under or over. There should be options to make images more functional without scripting it. New options like "Addtiledef button" would ease up the scripting and can be easier. Anyways what do you guys think?

Grey 06-16-2007 11:11 AM

I don't think it is really a change that is necessary. addtiledef at a minimum only takes up 2 lines if you include the //#CLIENTSIDE at the top of the script. Same with images - 1/2 lines of commands drawunderplayer(); drawoverplayer();

In my opinion this will just discourage people to actually take time to learn to script and I don't agree that is a good thing to do.

zokemon 06-16-2007 11:15 AM

A new engine would make things more complicated but allow more versatility...I think you are asking for something that is simpler which isn't really Graal...

And yes, I agree with what Grey says.

Crow 06-16-2007 11:37 AM

Well, I would like to see the layer stuff finished and added to the editor...would be awesome.

Inverness 06-16-2007 08:27 PM

Full support for layers are something I think the leveling scene really needs. I'd like to be able to define a player's layer by script, it would be interesting. You would have to define a 'ground' layer, which is the layer of the level the game pays attention to for tile actions (walls, water, grass, etc.) and then the graphic layer which is on what layer does the graal character appear. One could make illusions by having a 'ground' layer under the layer you can see so your character just ignores any wall tiles on the layer that you can see.

It would be a new way to make staff boots even, if you just set the your player's ground layer to an empty one, it would be like there are no tiles.

In this case I think the layer limit should be a nice round number like 255.

Tyhm 06-16-2007 08:36 PM

I always wanted float (as in 1.5) display layers. Don't really care if the player only moves in 2 dimensions and has trouble with bridges, just wanted to be able to display this image on top of that image without resorting to the image Y, ganis, or hoping it all fits between layers 1 and 3.

Novo 06-16-2007 08:38 PM

Quote:

Originally Posted by Tyhm (Post 1318644)
I always wanted float (as in 1.5) display layers. Don't really care if the player only moves in 2 dimensions and has trouble with bridges, just wanted to be able to display this image on top of that image without resorting to the image Y, ganis, or hoping it all fits between layers 1 and 3.

I wonder if we should have layers coincide with the player.z...

Inverness 06-16-2007 08:39 PM

Layer floats would be unnecessary if we had 255 layers.

Tyhm 06-17-2007 05:16 AM

Sure, but how does that coincide with the existing layers?
Does it go:
layer 0(drawunderplayer)
layer 1(drawasplayer)
layer 2(drawoverplayer)
layer 3(drawaslight)
layer 4(stat bar)
layer 5(slightly above layer 0)
layer 6(slightly above layer 5)
...
layer 63(slightly below layer 1)
layer 64(slightly above layer 1)
...
layer 127(slightly below layer 2)
layer 128(slightly above layer 2)
...
layer 191(slightly below layer 3)
layer 192(slightly above layer 4)
...
layer 255(the highest layer)
? A bit confusing...unless you suggest we rescript everything.

Maniaman 06-17-2007 05:47 AM

I really need to make the level editor i wrote in c# release-worthy don't I?

zokemon 06-17-2007 05:50 AM

Tile layers aren't the same as showimg layers Tyhm. Currently, all tile layers are still displayed under showimg layer 0 (under the player).

DustyPorViva 06-17-2007 06:01 AM

I just hate the fact I have to create NPC's in a level for something as simple as a roof being drawn over the player. I think Stefan should introduce a new file type for levels. It'd be much like current .nw's, but with a mix of GMAP. Which includes a set of options in the file(.txt), that allow you to define the width/height of the level, the tileset(to make it more simpler for LAT and such, that allow them to simply open a browse button and apply a new tileset), and with layers(easily editable via the level editor).

Admins 06-17-2007 02:48 PM

The 'layers' thing can already be done by using the z value of objects and tilelayers.

Twinny 06-17-2007 03:04 PM

Quote:

Originally Posted by Stefan (Post 1318824)
The 'layers' thing can already be done by using the z value of objects and tilelayers.

Now for the support! :D

Inverness 06-18-2007 05:21 AM

Quote:

Originally Posted by Stefan (Post 1318824)
The 'layers' thing can already be done by using the z value of objects and tilelayers.

I don't really mess with levels at all, mind a small example?

Edit: Was talking to zero about this, please add more support for layers, like a player.layer variable for the one the player is drawn on. Want to be able to draw tiles over the player :(
Want two layer variables for player, the drawing layer and the action layer :). Drawing layer would be for the player's gani, and action layer would be the tiles it responds to, like walls and water.

Matt 06-18-2007 02:54 PM

Quote:

Originally Posted by Grey (Post 1318507)
I don't think it is really a change that is necessary. addtiledef at a minimum only takes up 2 lines if you include the //#CLIENTSIDE at the top of the script. Same with images - 1/2 lines of commands drawunderplayer(); drawoverplayer();

In my opinion this will just discourage people to actually take time to learn to script and I don't agree that is a good thing to do.

Agreed.

Chompy 06-18-2007 03:24 PM

Quote:

Originally Posted by DustyPorViva (Post 1318820)
I just hate the fact I have to create NPC's in a level for something as simple as a roof being drawn over the player. I think Stefan should introduce a new file type for levels. It'd be much like current .nw's, but with a mix of GMAP. Which includes a set of options in the file(.txt), that allow you to define the width/height of the level, the tileset(to make it more simpler for LAT and such, that allow them to simply open a browse button and apply a new tileset), and with layers(easily editable via the level editor).

Thats an idea I like :O

Inverness 06-18-2007 05:51 PM

If a tilelayer could be drawn above the player I would simply make a script to read multiple level files and write one layered level.

zokemon 06-18-2007 09:57 PM

Quote:

Originally Posted by Inverness (Post 1319298)
If a tilelayer could be drawn above the player I would simply make a script to read multiple level files and write one layered level.

Lucky for me, I have already prepared for this day as my personal online level editor will edit tilelayers by directly changing the .nw file.
^^

Twinny 06-19-2007 08:30 AM

I have a level editor which can work with layers. I found it annoying since i would muck around and draw a bush on a different layer than wonder why it wouldn't remove later :(

Inverness 06-19-2007 11:40 PM

Well, layers apparently have red, green, blue and alpha variables, maybe you could color-code them? lol


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

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