Vas brought up a point that I want to go back to. He asked
Is it possible to make a non-visual editor that will simply let you...
Part of SMEdit\'s design is for anything that is a plugin to be callable programmatically. Ultimately as plugins to StarMade itself, but the same holds true for making them scriptable. The idea is that you could write \"macros\" that can call a sequence of plugins to do a specific job. For example, before I added the Symmetric Reflection feature you might have instead written a macro like this:
- Select All
- Copy Selection
- Move selection -x*WIDTH units
- Paste into Selection
- Refelct Select in X Axis
Those are all, individually, plugin functions. The macro just groups them all together. You could then use a macro to add to a menu (just like a plugin), or to be called from the command line (for non-visual editing).
Because I\'ve put in the foundation to make things callable, it isn\'t that hard to do. The question in my mind is if macros should be based on XML or Javascript. XML is, to some degree, easier to write, but less flexible. (Not sure how to do the -x*WIDTH part in XML.) Javascript is a bit more like programming, so it would raise the bar for contributing, but is very flexible and you could do almost anything with it.
What do you think?