Page 1 of 1
Where do I put lua scripts?
Posted: 24 Sep 2014, 23:59
by imboss77
So, I followed a guide in the lua development section, but when I look for Spring/LuaUI/widgets folder to put the file in it isn't there. Do I have to go into the actual game file and put it in there? If so how do I do that?
Re: Where do I put lua scripts?
Posted: 25 Sep 2014, 00:13
by smoth
You may be using the userland folder because you didn't install portable.
so if you are a windows user try searching your computer for the file "springsettings.cfg"
you widget needs to be in the same spring directory as the springsettings file.
Re: Where do I put lua scripts?
Posted: 25 Sep 2014, 00:29
by Silentwings
If Spring/LuaUI/widgets doesn't exist, just create it, and then put your widget in there. (The Spring/LuaUI folder should already exist.)
Do I have to go into the actual game file and put it in there?
No.
Re: Where do I put lua scripts?
Posted: 25 Sep 2014, 01:14
by imboss77
Thank you for the responses! I got it to work.
Re: Where do I put lua scripts?
Posted: 25 Sep 2014, 02:16
by smoth
Mind telling us what it was so future people can benefit?
Re: Where do I put lua scripts?
Posted: 25 Sep 2014, 13:48
by knorke
spring only comes with a
LuaUI\ folder but not with
LuaUI\widgets\
(or at least spring_96.0_portable.7z is like that)
Which Lua guide was it?
This one is outdated anyway and should have been unstickied.
This one was wrong too, edited it now.