For all of you that have played with complex scripts editing, you know that it's quickly become a pain when you want to change something or just to find a block in a 2500+ lines' file.
I've written many scripts, and while I was on them, I was good. But one year after, it was a pain to read them and be sure they were correct and well-written.
I have written a small script generator, something like SCS, and while it's good, I want more. So, I have started a bigger project: an advanced script editor.
It is usable by modders and by players.
When a mod uses script templates, it must generate scripts from a configuration file. This file will contain many things like tracking options, prebuff, spell checks, tobEx enabled ....
Modders will have a web-interface to configure their templates and shortcuts.
How it will works:
- it can be used a normal script editor, it will include completion and helper as any good editor.
- it will have new keywords that are shortcuts to triggers or actions. A keyword can be a shortcut for one or several actions/triggers.
- it will have an action configuration. It will be possible to configure how an action (with params) can be used. Then, when you want to use this action, all blocks will get generated. This is one of the most powerful feature.
- it will have a templating system: a template is a portion of code to be included somewhere, it can have some parameters too.
- it will used the best available triggers to perform an action, based on config (EE, tobEx, spell checks...)
My goal is to reduce a 5000 lines script to about 100 lines.
I could detail a lot more if some are interested...
ETA: 6 months
It is on GitHub, using java EE 7, hsql database, liquibase, spring, hibernate, and angular client-side.
My first release will not include any web interface, it will only be a command-line program. All configuration can be done with CSV editing or query in database.