LUA Plugins for grandMA2 

 

So here you will find my collection of LUA Plugin(s) for the newly announced LUA scripting engine within grandMA2 and onPC software.  The intention is to provide some quirky tools, but also to offer more of a learning experience by heavily commenting the code as to explain how it works.  

Anything that ends up here will be licensed under the WTFPL, a public license regarding usage of this software. WTFPL  It'd just be rude to not mention the original creator in the credits of any derivative work.

Open the enclosed "readme.txt" files for instructions on usage.

For LUA editing, I recommend Notepad++ by using ctrl-c to copy and paste into MA2 onPC LUA editor with CTRL-V.  "Edit Plugin X" to present the MA2 Lua Edi

 

 

Littlites on DMX - Control your desklamps (and other things) from DMX channels.

hippys_littlites_on_dmx.zip

 

 

Developer Tools 

lib_dump_show_object

Purpose: Dump Show objects (and their children) to the command line in a tree format.

Usage:
Call it from other plugins, or it can be called from MA Command Line by...

LUA "dump_show_object('')" <- asks for object name from user

LUA "dump_show_object('sequence')" <- dumps the sequence objects

LUA "dump_show_object('sequence 1')" <- dumps the sequence 1 object

1) Extract both .xml and .lua files to the /gma2/plugins folder on a USB stick.
2) Open a Plugin window in MA2, Right-Click an empty slot, Click "Import", Select the stick.
3) Check below the banner for any user configurable options.

Download: lib_dump_show_object.zip

 

lib_dump_properties

Purpose: Dump Properties

Usage:

LUA "dump_props(handle)"


1) Extract both .xml and .lua files to the /gma2/plugins folder on a USB stick.
2) Open a Plugin window in MA2, Right-Click an empty slot, Click "Import", Select the stick.
3) Check below the banner for any user configurable options.

Download: lib_dump_props.zip 

 

 

lib_dump_lua_object

Purpose: Dump Lua objects (and their children) to the command line in a tree format.

Usage:

Can be called from MA Command Line by...

LUA "dump_object()" <- dump all objects

LUA "dump_object(gma)" <- dumps the objects under gma 

1) Extract both .xml and .lua files to the /gma2/plugins folder on a USB stick.
2) Open a Plugin window in MA2, Right-Click an empty slot, Click "Import", Select the stick.
3) Check below the banner for any user configurable options.

Download: lib_dump_lua_object.zip