First of all, I really liked to read this thread, it gives me lots of ideas about future extensions to Mama.
Quote:
Originally Posted by arty-fishL
I just tried Mama and I still prefer Alice, if I was to use it I would just use it for the object modeller that doesn't need to take ages to convert and the exe export. The scripting thing is also different, with all Python being called from methods and no scripting done in the edit script bit (or I just I can't find that bit) and no command bar, it is quite annoying.
?
|
Mama does support free scripting within a separate window and with syntax highlight. I just released version 1.5.2, which improves the configuration - added instructor/administrator config.txt file which dominates the user config.xml file.
So to enable scripting simply edit config.txt within Mama root folder, uncomment the line containing the variable 'enableFreeScripting' and set it's value to true. On the next run you'll see a new button - 'program' - added at the bottom of the editor window. Pressing that button will open a window for writing a free Mama script with syntax highlight. On world start that script will be ran.
Mama language is pretty similar to Python - in the coming days I will add to the documentation (en.eytam.com/mama/doc) a guide for scripting.