[WIP] Rough draft of Spring Lua Guide - Page 3

[WIP] Rough draft of Spring Lua Guide

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: [WIP] Rough draft of Spring Lua Guide

Post by knorke »

why did you "hide" your post in here? ;)
If you used Spring for your PhD that would be interessting to read about.
well, if you are still around...
0bliter8or wrote:for testing the parameters of widget call ins as some of them don't seem to match the documentation.
After logging in, everybody can edit the wiki. So feel free to correct mistakes!
0bliter8or
Posts: 7
Joined: 05 Jul 2011, 07:16

Re: [WIP] Rough draft of Spring Lua Guide

Post by 0bliter8or »

I have been looking at the Widget.lua and Gadget.lua to confirm call ins and action handlers for widgets and gadgets. In the attached PDF is the list of function definitions i found in the current guide compared to what i found in the widget and gadget files. also included are some additional comments in regards to the mechanics of certain call ins and return values and their effects (from my interpretation of the code). I hope it makes sense, and can be used to update the current guide.
Attachments
sugested revisions for Spring lua programming guide.pdf
(280.59 KiB) Downloaded 62 times
User avatar
SpliFF
Posts: 1224
Joined: 28 Jul 2008, 06:51

Re: [WIP] Rough draft of Spring Lua Guide

Post by SpliFF »

Thanks for those updates. My guides badly need updating and since I've resumed work on my mod and 84.0 is about to be released the timing is pretty good.

The Spring Wiki is the best source of up-to-date info so I'll be retiring the reference sections of these guides and migrating tables like this to the wiki where they can be updated by the community to keep pace with engine changes. My guides will focus more on usage examples and indepth discussion of techniques and processes.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: [WIP] Rough draft of Spring Lua Guide

Post by knorke »

yes, please pushlish on the wiki instead.
Callins & funcitions already have pages that "only" need to be completed. For the handler stuff simply create a new page.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: [WIP] Rough draft of Spring Lua Guide

Post by FLOZi »

In the vain hope jK sees these posts, what is ETA on new sprocket handler?
Post Reply

Return to “Lua Scripts”