![]() |
Online Level Editor
1 Attachment(s)
I have been doing some work on the online level editor that Stefan made.
Currently supports creating new levels, opening levels (basically warps you to a level), and reading of level links. I plan to add support for modifying and adding level links soon, although that will be difficult since you have to go through the entire level as plain text and modify a certain line to add links. Yes, I'm aware that some of the GUI Profiles are incorrect. It would be nice if there was a list of default profiles for basically every GUI Control. What features would some of you like to see implemented? |
I'd love to be able to place NPCs in smaller steps than whole tiles, i.e. placing an NPC at (30.5, 30.25). This was previously mentioned somewhere else, but it's a good idea.
|
Features already included in the Offline Editor.
New features that do not exist on the offline level editor.
That's all that I could think of off of the top of my head... Some things might not be clear, if something isn't clear just let me know and I will try to clarify. :) |
1 Attachment(s)
Some nice ideas. I will try to implement some of them. I will try to add most of the offlien editor features to the new editor.
Quote:
The level link list/link details is now coded. Still have not added actual changing of the link data. I am trying to keep the OLE similar to the old level editor in some ways. (see attachment). |
1 Attachment(s)
I have created the GUI for listing signs and the GUI for editing signs.
Also, I do not plan to add support for old graal baddies and chests, as most servers do not use the classic systems. Ajira has been helping me with some things, and is working on getting sign loading working. The screenshot is just some test text. Comments/Suggestions? |
Looking good. :) Will you be adding in customization of the windows? Colour/alpha?
|
Hmm... Might be able to add that. Low on the priority list though.
|
Quote:
|
1 Attachment(s)
I was working on one, but I got pissed off at not being able to figure out how Stefan converted tiles to the two-letter format used in .nw files and scrapped it.
:( |
Wow the level editor script is so Difficult.
I havent met anybody who have mastered it yet. |
Nice man. I agree with shadowless though, it would be really cool to add some features as in the offline editor, suck asright clicking and copying the tile(s) and such.
|
Quote:
It's pretty easy to do the level links if you can load the lines of the file. just insert the line: LINK levelname x y width height newx newy after the newline character if the line before is the last one that starts with BOARD. Of course, remember to make a new line break after that. Level links are by far the simplest insertion feature because they only take one line. Quote:
One question, however, does the online editor directly load pics1.png? It should be broken down into two graphics unless Stefan made exception for the image size limitation in GUI objects. |
Quote:
Anyway, I'm still very interested in this. Please! Keep posting about your progress. :) |
Looking nice MM.
Just wondering, when you place a tile, will it save to that level or once you update it will it be the origional? That's a problem with the current online level editor. |
Quote:
|
I'm pretty sure it's impossible to save NPCs.
In order to permanently add NPCs, you have to overwrite the level as text. If you overwrite the level as text, it has to be updated. If you update the level, the tile changes will be lost, since it takes a few minutes for updateboard2 to actually save. I gave up, because I couldn't figure out how to save the tiles into the level. :/ |
Quote:
|
Hmmm could also add some scripting function for instant saving so its not lost on update-level.
May be I can add my wishes too: - make it possible to use the path-scripts (sand path etc.), we eventually need to modify the scripts slightly? - for adding links to other levels it would be interesting if you could mark a place for linking and then on the other place, when opening the online level editor, you can just link to the marked position, without typing numbers or so |
That's a good idea, for a new offline editor.
|
Quote:
It would also be quite awesome if you could create a new link with a script function, kindof like in the way you put a bomb. |
Quote:
|
well.. what would make sense would be to enable making creating level links and signs from NPCs, and then a sort of levelsave() function. It would also be good if you could also create an NPC of "classname" or no class.
What would be the most awesome is if you could, in the level file, if it could interpret some kind of syntax like IL CLASSNAME params[0][0] params[0][1] IL being in line or CLASSNAME params[0][0] params[0][1] params[1][0] params[1][1] params[1][2] CLASSNAMEEND Like, with level links LINK levelname x y w h newx newy where the params are loaded both serverside and clientside, and the class can handle initialization outside of their events... or perhaps load the params in the event created perhaps? It would make stuff a lot more readable in text files, and probably a lot easier for tile editing. Like, if lights were made into a class LIGHT imagename x y zoom r g b a and then you could have like a sort of dropdown menu for hiding different groups of NPCs. Would be so useful (although you can already detect joined classes, I think this would be especially useful for editing as text, which I do a lot of) |
| All times are GMT +2. The time now is 01:34 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.