![]() |
Unified IDE
I've just started a project in the idea of unifying all AI/NP/ITEM/SKILL editing and cross-referencing under a single roof. Don't know if such a thing is already done ... (like I hear ... yeah, search the forum :))
Anyway, first module that I'm implementing is the AI editing and I would appreciate some suggestions on: 1. UI grouping of npc classes: just plain alphabetical, or based on class inheritance (left-side of ide) 2. Is it better to do the editing work directly on ai.obj (MemMapping) or on individual class files (see L2ScriptMaker splitter) 3. Would be interesting to have a runtime decompiler of classes to ease a bit the coding job ? (... even if the object code is clear enough, except for jmp/string labels) Any ideas are really welcome. This is how it's starting to look afer a few days of coding ... cypher | emporio http://img204.imageshack.us/img204/8546/l2dev0tw.jpg |
1. Inheritance
2. I personally use both. Direct editing for modifying existing classes, and injection for new classes. |
Moving. :x
Nice post though. :) |
woah.. that ide looks great!
if only if we could include the script compliation code to it and maybe a checker... it'd be perfect! :D |
Yes, for now I'll link the external compile / checking tools. A symbol check step will be done even at runtime, as I have to index the item, npc etc. files (pch style) anyway. One interesting and pretty simple function for the AI editor is the validation of labels, meaning that you can use any Lxx Sxx you want ... they are auto-fixed anyway.
Today I'll be finishing with the plain code editing and new class grouping, and I'll release here the first 0.01 version :) cypher | emporio |
Greatest idea. I can join to this project. Me and my L2ScriptMaker :)
I already has thinking how make it, but no have time. Better metod for this editor - Tree Structure. Because, it is very good "tree-leaf" structure, and because each class can move to another sub-tree. I make multisorter metod for splitting and merging classes. But it no good, if you wont change something. You must use windows find and etc... This screen - already existed project? |
It really doesn't matter if you're editing a class or creating a new one. The sorted label/string vector is generated at "save project" time ... something like the "merging" in your project. I'll have to test if there's a major performance loss.
It's a screenshot from my current dev version. cypher | emporio |
Quote:
I see what you make better interface. I wont it :) Now you must choose - you wont make fastest or have garanty(approved) no bugged output data. Easy metod - make first and make some internal, enchanced, additional filters current work. Maybe i tell hard. Example. Make easy metod for output, but... make 2 additional menu in tool: "To check up dependences and links" and very easy "To check up not undefined or not used". Second, remove unused and show class without upper class. First, must sort your classes into project (main class first, sub-class next and etc.) Huh :) I mean - split all your functions to sub-functions your tool. Or better, gimme code your tool :roll: |
It's already parsing the class hierachy tree :). Only it's not actually used in any place yet.
As soon as I finish this AI module, I'll make it public here, and we'll continue with reference checking part. cypher | emporio |
2 cypher can you share soft l2dev ??
|
i think he isnt online here anymore... :(
|
| All times are GMT. The time now is 15:58. |