not sure if this helps at all but Maya and XSI (3d modeling software) have their own scripting languages based on programming languages XSI is easier to follow I think since it uses vbscript or Java script for it's functions which are over all easier than Maya's Mell which is based on C++ coding. Anyway, the way in which they make it even easier for the user is that for every action that is commited a log is produced which contains the code for each function. an example of this code is as follows
Code: Select all
CreatePrim "Cube", "MeshSurface"
SetValue "cube.cube.length", 18.245
SetValue "cube.polymsh.geom.subdivu", 9
SetValue "cube.polymsh.geom.subdivv", 9
so to follow this it's creatign a primitive shape which is calling cube, the "meshsurface" means it's a polygons surface. Then gives it a set length I asked for then the number of subdivisions in the U and V directions.
so, what about something like this but related to DM isntead of polygons and such.
Code: Select all
castspell (3,3,0,0) char1
sleep dur=00.01.00
select item"apple" char1, loc18
consume item="apple", char1
select item="falchion", char1, loc3
place item="falchion", char1, loc15
I dunno something like that? so the cast spell would be 3rd character pressed twice which is 3rd power light spell yes? the 0 indicates nothing pressed. so number 0-6 represent the icons.
sleep dur .. sleep is command dur is the duration hours:mins:seconds so it calculates when you are woken and then places the duration of sleep.
select item then the name of the item char1 is chatracter 1.. other options could be floor or alcove.. the location number (loc15) reffers to the location of the object in the storage heirarchy however that's set up in DM.
you get the idea I guess from the rest.. just some thoughts..
moo