What do you think about a new XML based script language that could replace AlcScript? I can think of some advantages for something like this:
- Easy-to-use end-user GUI plugins could be created quite simply
Some yet-to-be-created PyPRP2 plugin GUIs could parse, modify and write back the script code which would enable a modeller to make easily use of the functions provided by that GUI. - Hard-core users could still modify the inner workings
Not all Plasma features can (and should) be made alterable through GUIs IMO.* Relying on some human-readable form of code could make it possible for the "programmers" forum section to do what they can do best. - Seperation of GUI from Plasma and Blender functions
To ensure that the PyPRP2 code stays easy to maintain, this would be one approach to seperate the various parts of PyPRP2. What I'm also thinking about is a work flow like this: One developer adds new features to the script code. Another devloper then turns these features into some GUI elements later on. Advantage: The new features can already be used even though there is no GUI yet. - Other external tools could be made possible
Having already read about some problems with the Blender GUI API it might be possible that some Blender-external editors could deal with some tasks better than Blender-internal GUIs. Using some custom script language (instead of relying on Blender's inner structure) would make sense here. And especially XML would be a good choice in this case as there would be no need for yet another Plasma-specific library/toolkit/whatever. XML can be parsed and modified by pretty much every modern programming language. - PRC files also use XML
Since PRC files also use some XML format, it should be pretty simple to "import" PRC objects into an XML-based script language if necessary. - Converting AlcScript to the new format should be easier
Even though I don't consider this point as being one of the higher priority ones, I'm pretty sure that converting AlcScript to a new language would be easier than converting it to some internal Blender structures.
I won't fight for XML specifically (actually I detest most incarnations of it a lot), but on the other hand the GUI-only approach would scare me off mainly for two reasons:
From a plug-in programmer's perspective, I'd have to create a GUI for every feature I implement... and let's put it this way: I hate GUI programming.
From an age designer's perspective, I really like the current seperation of "what it looks like" as in 3D models etc. from "how it behaves like" as in detectors or responders.
It's after 2am here and I'm pretty tired, so I hope this stuff makes at least some sense.
Cheers,
The.Modificator
* I think, Cyan would be on my side here... *cough*unleash satan function*cough*