Can ChatGPT teach you how to mod a game? (Slay the Spire)
Slashking Codes Slashking Codes
168 subscribers
417 views
18

 Published On May 18, 2024

Hello everyone, welcome to my first longer scripted and heavily edited video on this channel! I put quite a bit of work into this one (as you can probably tell), it certainly isn't perfect by any means though, but that's fine as it is my first video of this kind. I decided to try and find out whether ChatGPT is any good at teaching how to mod a game (or teaching how to program in general I guess). To be precise I wondered: Is it possible to learn how to mod a game by only using ChatGPT as a learning resource, no other modding tutorials or something like that. You can see how that went in this video, I also explain all of the problems I ran into and also all of the background knowledge needed to understand what is going on. I end the video with my thoughts on how well learning with ChatGPT works, whether I would recommend learning modding (or programming in general) using artificial intelligence. Enjoy!

I haven't released the mod yet, but when I have done so I'll link it right here I guess, so stay tuned!

Chapters:
0:00 Intro
0:52 What am I trying to do?
1:50 A small tangent: Testing ChatGPTs Limits
4:33 First steps trying to mod with ChatGPT
6:50 A small nudge in the "right direction"
8:10 Setting up the workspace
9:31 May we have some actual code now please?
10:34 AbstractCard - the most time consuming mistake in ChatGPTs code
11:48 Time to compare some code!
12:09 A "non human" mistake
12:52 A whole bunch of other minor changes
13:36 The card in action (in all of its OP glory)
15:10 A small "human like" mistake
15:27 The biggest mistake(s) in this class
16:12 A funny quirk: Upgrading without upgrading!
16:37 The use function and the Action System
18:45 How would one normally learn how to mod a game?
19:18 Another small tangent: Modding Tutorials and how to (not) do them
20:26 So how can you learn how to do specific things when modding?
22:06 That's all for the code of the card class!
22:26 How Modloaders and Eventhooks work
23:10 Injecting stuff at random times during initialization - a rookie mistake
24:33 Don't know how to fix a problem? Just confidently make random stuff up!
25:52 How the fixed main mod file should actually look
27:10 This is actually all of the code of the entire mod!
27:29 Some conclusions - Is using ChatGPT to learn modding a good idea?
31:50 Answering some questions that might have come up while watching this video!

#Programming #slaythespire #chatgpt

Feel free to follow me on twitter here:   / 0slashking0  

show more

Share/Embed