12/3/2023 0 Comments X rebirth vr cheat table![]() Canteran Refinery Ship (produces reinforced metal plates) Just to get some of the information out there I install via steam workshop and I don't use legacy Main Menu, but I do use: (listing them all) As a trivial example here's some code that executes a Lua "schedulereloadui()" command from the menu bar: The final trick I have used which may help is that you can easily trigger a dummy menu from the MD code if you want to do something in Lua that you can't do in XML/MD scripting. Note here that I could have maybe just as easily signalled another MD script to fire which would probably achieve what you're trying to do. Once a zone is selected the cue returns with 'gMT_tools_WarpPlayerShip_zoneselected' and executes the second conditional branch that actually does the warping. So the menu entry triggers the script to open up the holomap - the script then resets ready to handle the return param from the holomap. Note here that I am passing the value to be returned into the holomap lua code (took me a good while to figure that one out ) Info = "Experimental - use with caution!" This is an exerpt from a little tool I wrote to allow me to insta-warp anywhere in the galaxy. (table being the lua name for associative arrays/dict/list) Of course you can execute whatever code you want in that file, to be inserted into the menu you just have to return a table in the specified format. insertions contains the list that is to be inserted.list marks subentries, see example files. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |