Small WIP update,
I finally succeeded in getting a command in a ChiliUI window , yay me ... K it looks like crap, it's only the move command, and it's more or less hard coded.  But at least I have a prototype to go further with.  Once I got some decent code and something that looks good , I'm writing a tutorial for future generations, so people don't have to look for 3 days straight how to do this. 
btw many thanks to "Licho, KingRaptor, Google Frog" for writing gui_chili_integral_menu.lua.  It helped me a lot and was my basic tour guide on how to get it working.  It was well documented, k it could still be a bit better, like some explaination on how their cmd data structure works but no complaints other then that.
*begin rant*
Also I came to the conclusion that lua is a very frustrating language with bad error reporting, somethimes I just don't have a clue how stuff can't work, take this for example.
Code: Select all
	overrides = {[CMD.MOVE] = { texture = imageDir .. 'Bold/move.png', text= '\255\0\255\0M'}}
Spring.Echo("total elements " .. table.getn(overrides)
this little bit of code always returns 0, how the hell can it return 0 , I just put an element in there at index CMD.MOVE, I'm pretty sure I've put one in there so ... no lua ... bad lua ... there is one element.  K I agree I have no idea at what numeral index, haven't really printed out the int value of CMD.MOVE  yet but still !  The more frustrating part is that this seems to work in other peoples code...  So I must be doing something wrong in the language ... but then agian this is so basic ! *end rant*