Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Level Design (https://forums.graalonline.com/forums/forumdisplay.php?f=6)
-   -   editor npcs (https://forums.graalonline.com/forums/showthread.php?t=80083)

wilikas 06-15-2008 05:45 AM

editor npcs
 
Can someone please tell me where i can find Editor NPCs please?

Crono 06-15-2008 05:59 AM

You mean when you double click an NPC?

cbk1994 06-15-2008 06:11 AM

I think he means sand path, etc.

DustyPorViva 06-15-2008 06:18 AM

3 Attachment(s)
I've posted some. Let me post mines...

DirtPath - lays a more attractive path. I highly suggest this.
SwampTiles - lays swamps...
WaterPath - Lays shallow water

All of these are great for covering lots of area... but should of course, be gone over manually afterwards. There are probably more out there, but usually they're stuff like lava paths and such... nothing really useful. I used to have one that would detail a level, but you will most likely be scolded for using anything like that.

Crono 06-15-2008 06:20 AM

2 Attachment(s)
Should be like this...

Attachment 44894

If there's nothing in this list, go to your "Graal\levels\npcs" directory and add editnpcSandPath, which I attached below. Delete the FILENAMECACHE in your Graal directory if it still isn't showing up once you've added this .txt.

MysticX2X 06-15-2008 07:47 AM

Or does he mean the small outline shaped figure?

Vulgar 06-15-2008 09:03 PM

Quote:

Originally Posted by DustyPorViva (Post 1397155)
I've posted some. Let me post mines...

DirtPath - lays a more attractive path. I highly suggest this.
SwampTiles - lays swamps...
WaterPath - Lays shallow water

All of these are great for covering lots of area... but should of course, be gone over manually afterwards. There are probably more out there, but usually they're stuff like lava paths and such... nothing really useful. I used to have one that would detail a level, but you will most likely be scolded for using anything like that.

I could never really get the hang of making those, I always wanted to make one for doing cliffs and beach tiles. I tried but with no luck, I'm going to end up getting carpel tunnel from placing tile after tile.

DustyPorViva 06-15-2008 09:29 PM

The only one I made was the swamp one... and it isn't that swift. The dirtpath and water path were merely edits of Stefan's sandpath npc. It's pretty complicated stuff, but one day maybe I'll do one for trees or something...

Vulgar 06-15-2008 10:02 PM

1 Attachment(s)
It would be awesome if there was an EditorNPC Generator. Since I don't know how to explain it I sorta threw something together in the GUI Editor. Then I went on paint and threw some stuff in, I hope this sort of explains my idea.

Crono 06-15-2008 10:05 PM

Pre-defined tiles actually has a lot more than you think.

Vulgar 06-15-2008 10:07 PM

What do you mean?

Crono 06-15-2008 10:20 PM

Quote:

Originally Posted by Vulgar (Post 1397313)
What do you mean?

If you carefully look at the pre-defined tiles, a lot of the cliff work is already done for you. You just have to slap it in your level and edit 2-3 tiles.

Vulgar 06-15-2008 10:25 PM

No it's not that, I was just suggesting something like that because it would save players a lot of time doing the outlines of like massive cliffs and beaches. Of course you would have to go back and edit them but it would still be a huge time saver, well at least for me it would be.

cbk1994 06-15-2008 10:32 PM

Quote:

Originally Posted by Vulgar (Post 1397317)
No it's not that, I was just suggesting something like that because it would save players a lot of time doing the outlines of like massive cliffs and beaches. Of course you would have to go back and edit them but it would still be a huge time saver, well at least for me it would be.

That kind of thing wouldn't really work ... there is a lot more to it then giving it a set of tiles ...

Vulgar 06-15-2008 10:39 PM

Isn't it sort of the same concept as the GUI Generator?You could just make the set of tiles in the window for all the the directions and turns and such and then make it generate the code for the EditorNPC. The picture I made was just so everyone could tell what I was talking about.

cbk1994 06-15-2008 11:02 PM

Quote:

Originally Posted by Vulgar (Post 1397321)
Isn't it sort of the same concept as the GUI Generator?You could just make the set of tiles in the window for all the the directions and turns and such and then make it generate the code for the EditorNPC. The picture I made was just so everyone could tell what I was talking about.

No, no. You don't understand how the code works; there is no way you could make that into an editor NPC with just that information.

Vulgar 06-15-2008 11:09 PM

I'm not saying it would just have that information. That was something I threw together in like 2 minutes with the GUI Editor. I really have no clue what options would be needed. I'm just saying that it would be nice if it was a bit easier to make an EditorNPC.

cbk1994 06-16-2008 01:12 AM

Quote:

Originally Posted by Vulgar (Post 1397326)
I'm not saying it would just have that information. That was something I threw together in like 2 minutes with the GUI Editor. I really have no clue what options would be needed. I'm just saying that it would be nice if it was a bit easier to make an EditorNPC.

You'd have to script it, something like that is pretty damn hard to make in any kind of GUI editor.

Vulgar 06-16-2008 01:40 AM

I didn't say anything about making it in a GUI editor? Did I? I was just saying that it would be nice to have something like that like built into a level maker or an online level maker. I just used the GUI Editor to show an example of what I was talking about.

cbk1994 06-16-2008 01:47 AM

Quote:

Originally Posted by Vulgar (Post 1397348)
I didn't say anything about making it in a GUI editor? Did I? I was just saying that it would be nice to have something like that like built into a level maker or an online level maker. I just used the GUI Editor to show an example of what I was talking about.

That's what I'm saying. Any kind of editor like that would never work, it'd be much to hard to script, and impossible with just that information.

DustyPorViva 06-16-2008 01:52 AM

1 Attachment(s)
It would be possible to do something like that for paths... but that's about it. You can't approach different methods of tiling(trees, cliffs, swamp) with the same script, mainly because of how much they differ. Trees and cliffs tile completely differently, for example.

I doubt a cliffing editor would EVER be done, as I think it'd be impossible to detect what direction you're intending the cliff to face. For example, if I click, and start dragging to the right... how will it know if I want a south face cliff, or a north face cliff? It can't, really. One for trees is a lot more probable... but at the same time, illogical. Graal levels work off of tiles -- 16x16 pixel chunks. Now if I start dragging my mouse trying to draw a patch of trees, 16 pixels down and then suddenly my trees are a tile offset. It would completely ruin the method you're trying to do, as now one set of the trees are a tile lower, and thus will never tile correctly. I don't think it's as convenient as imagined. Paths work simply because they're determined on a tile-by-tile basis(every tile is determined with a path). The swamp editor I made hardly even works for the same reason I mentioned with the tree(instead of being determined by every tile, it's determined by ever 2x2 tiles). Move your mouse a little too fast and suddenly the swamp tiles are offset.

edit: I guess the tree thing isn't as illogical as I determined. After a quick second thought, I guess one could 'grid' the level as soon as the mouse is clicked(break the level into 'sectors' the size of the trees, tiled), so that instead of dealing with just the position of the mouse, tiling is determined by the position of the mouse in the new 'grid'. Food for thought.

edit2: I thought I'd elaborate a little on my above idea. Simply because I'm bored and it helps me organize my thoughts. I've attached an image to demonstrate. Upon first clicking the mouse, the script would break up the level into a grid, as determined by your mouse position upon clicking. The grid would be every 6 tiles(that's the size of the tileable tree top). Now, whenever your mouse enters another part of the grid, it places a tree top. I figure the tree top is what's most important in this. Tile the tree top, and determine there rest of the tree afterwards. The only problem I have with this is tree tops are not stacked vertically like that, they misalign 3 tiles when a tree is above or below them... that may be easily solved, though. I doubt this helps anyone else much, but it has helped me!

wilikas 06-16-2008 11:43 AM

thanks
 
Thank you for the help.


All times are GMT +2. The time now is 12:10 PM.

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