Stormworks: Build and Rescue

Stormworks: Build and Rescue

Handsomest Mar 14, 2023 @ 10:56pm
ChatGPT Lua?
Anyone using ChatGPT for generating LUA code to help with your creation?
I myself is both noob in math and coding and want to know how the results for the experts out there
< >
Showing 1-15 of 22 comments
GrumpyOldMan Mar 15, 2023 @ 12:00am 
You'd be using less time and get better results by learning lua yourself.

In order to properly instruct chatGPT you need to know lua and its specific application in SW, with all of its intricacies.
Takama Mar 15, 2023 @ 3:21am 
Originally posted by Handsomest:
want to know how the results for the experts out there

If you really do I recommend learning what LLMs are good for from someone like Yann LeCun, he's more expert than anyone here.

In short Large Language Models are good for manipulating text, that's it, so for example if you wanna do a reverse dictionary (finding a word based on its definition) , chatGpt might be good for that.

SO yeah if you already

Originally posted by GrumpyOldMan:
know lua and its specific application in SW, with all of its intricacies.

some LLMs might be good assistants to go a bit faster (don't know about chatGPT specifically though, might not be), but that's about it.

What LLMs are absolutely not are epistemological machines, they have no knowledge, they have no reasoning, they can't code something for you based on a description of what you want because they don't have any conceptualization of the world.

ChatGPT is especially horrible at that since it was made for laypeople and made to trick people in making them believe it actually does understand, when it absolutely does not. It gives you the impression of knowledge because you can ask him for simple things and it will regurgitate a predicted text based on text found on the web, but it is meaningless text, literally meaningless, it can't reason, it cannot differentiate between something true and something false.
Last edited by Takama; Mar 15, 2023 @ 3:23am
LazyChasy Mar 15, 2023 @ 5:47am 
I would say, it is helpful, but it cant do all the work, like if i want to make a heli that will use only radio signal strength to navigate or an auto docking system. ChatGPT can help you understand the working theory, or even some math behind it, but you still need to do the coding yourself because stormworks's lua is unique to the game and ChatGPT dont understand the lua they use. if you ask them for it, it will just give you normal lua and you cant use it in game.
Ruky Mar 15, 2023 @ 6:40am 
Not really related with the topic, but it will be awesome having NPC with a chatGPT backend so you would be able to 'speak' with them... ok, just a stupid idea.
Little908 Mar 15, 2023 @ 7:36am 
Bros really using chatgpt to write lua script
Handsomest Mar 15, 2023 @ 9:05am 
Guess I was over-hyped when I asked ChatGPT to make a simple batch file app for me and it's working
ShizNator Mar 15, 2023 @ 9:20am 
Originally posted by Handsomest:
Guess I was over-hyped when I asked ChatGPT to make a simple batch file app for me and it's working
Pretty sure it could write basic lua pretty good.

But not Stormworks specific lua.

Someone tested it with MIPS and it apparently did an excellent job at that too.

And thing is you could actually teach ChatGPT to understand Stormworks Lua.
Last edited by ShizNator; Mar 15, 2023 @ 9:23am
slapworthjr Mar 15, 2023 @ 10:40am 
I think the lack of stormworks documentation would be a problem.
Last edited by slapworthjr; Mar 15, 2023 @ 10:41am
carn1vore Mar 15, 2023 @ 11:10am 
So far I've gotten chatgpt to create a few basic controllers in lua for stormworks. I've gotten around it not knowing how lua works in stormworks by feeding it info from the wiki, specifically the Exploring_the_Stormworks_Lua_API page. I haven't had much success beyond basic vehicle steering and braking though.
Handsomest Mar 15, 2023 @ 8:51pm 
Originally posted by carn1vore:
So far I've gotten chatgpt to create a few basic controllers in lua for stormworks. I've gotten around it not knowing how lua works in stormworks by feeding it info from the wiki, specifically the Exploring_the_Stormworks_Lua_API page. I haven't had much success beyond basic vehicle steering and braking though.

So MAYBE if we provide more data to it would it be able to do more stormwork lua soon?
At least basic steering and braking sound promising
ShizNator Mar 15, 2023 @ 9:22pm 
Yeah teaching it won't be an easy task lol but you could probably feed it the lua help from the in-game lua.

Also make it analyze actual stormworks lua scripts see if it can disect it as it does it more it may learn from it.
Takama Mar 16, 2023 @ 5:25am 
Originally posted by Handsomest:
Originally posted by carn1vore:
So far I've gotten chatgpt to create a few basic controllers in lua for stormworks. I've gotten around it not knowing how lua works in stormworks by feeding it info from the wiki, specifically the Exploring_the_Stormworks_Lua_API page. I haven't had much success beyond basic vehicle steering and braking though.

So MAYBE if we provide more data to it would it be able to do more stormwork lua soon?
At least basic steering and braking sound promising

So you don't actually want to learn from experts right ? You just ask random people here and trust their answers based on .... ?

Anyone telling you that chatGPT can learn to code in LUA for Stormworks doesn't know what he's talking about.
First reason being that they have updated many times chatGpt to prevent it from learning things, because since it cannot have knowledge as we understand it as humans, but only predict seemingly correct sentences, people can teach it abhorrent things pretty quickly.
So they made it so it cannot learn from users, they also heavily moderated its output to ensure it will not say politically deviant things, they're not about to let it "learn" from non-approved sources.

https://www.theatlantic.com/technology/archive/2022/12/chatgpt-openai-artificial-intelligence-writing-ethics/672386/

And here is Yann Lecun explaining what LLMs are :

https://youtu.be/ULbpPHjiSBg
Last edited by Takama; Mar 16, 2023 @ 5:26am
ShizNator Mar 16, 2023 @ 8:26am 
Yes lets believe everything META and it's paid employees tell us.

Where our privacy and security is important and matters to them so much.

When they are the ones who infringe on you constantly.

I don't know but if I want to make a point last thing I would do is use a META post or a statement from META or any of it's employees.
Wuptiduh Mar 16, 2023 @ 9:05am 
The lua ingame is very simple. I'm not a coder at all, but with a few guides, i've learn the basic of the ingame features.

That said, i use this tool alot, because it's way faster than going in and out of your creation non-stop:
https://lua.flaffipony.rocks/
Last edited by Wuptiduh; Mar 16, 2023 @ 9:06am
carn1vore Mar 16, 2023 @ 9:25am 
Originally posted by Takama:
Originally posted by Handsomest:
So you don't actually want to learn from experts right ? You just ask random people here and trust their answers based on .... ?

Anyone telling you that chatGPT can learn to code in LUA for Stormworks doesn't know what he's talking about.

I'm no AI or Lua expert, but it would be pretty easy to test this for yourself if you're that skeptical. I was able to replicate the basic function of my own braking controller, but things began to fall apart once we got into traction control. For steering, it was capable of ackermann with inputs for wheelbase and track, but again, once we got into speed sensitive steering, it really seemed to fall apart.

This was in GPT-3.5 I will try again and see if GPT-4 is any more capable.
Last edited by carn1vore; Mar 16, 2023 @ 9:25am
< >
Showing 1-15 of 22 comments
Per page: 1530 50

Date Posted: Mar 14, 2023 @ 10:56pm
Posts: 22