Using OpenAI's ChatGPT to help develop RPG Maker games?

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
3,145
Reaction score
2,275
First Language
Spanish
Primarily Uses
RMVXA
pretty good at creating code that does what I want it to do
that's because *code* is merely *structure*, which you're already providing when you tell the program *what* you want to do.
there is such thing as *the only way to do it* and more often than not, *the* way to do it is *the one you'll come up with* when you put yourself to think about the problem logically.
doesn't matter if you know the code for it, the function is already solved by you thinking it through.

It can also be funny to use it for quest/plot ideas.
Plato's tale is basically The Matrix... literally nobody understood that movie, if the society we have today is anything to go by.

they are incapable of even admitting that they are wrong
because right and wrong depends on facts and proof, with a pinch of opinion.
and bots don't have opinion, and their facts and proof all sum up to a broad query for "what people says it's the most accepted response"
and therein lies the problem.
 
Last edited:

AquaEcho

Script Kitty
Veteran
Joined
Sep 20, 2021
Messages
593
Reaction score
282
First Language
English
Primarily Uses
RMMV
ChatGPT does make mistakes and you still need a human to catch them.
RPGMakerMVChatGPT.jpg
 

alice_gristle

Veteran
Veteran
Joined
Jul 2, 2019
Messages
775
Reaction score
1,431
First Language
English
Primarily Uses
RMMV
I, for one, welcome our new robot overlords!:kaoluv: If they will save me from all the horrible RPGMaker game writin' out there, then here is my soul, Skynet, for cheap!

Whaddya mean the robots will just replace erryone's bad writing with their own bad writing? Out wid ya, conscience!
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
8,933
Reaction score
6,754
First Language
English
Primarily Uses
RMMV
ChatGPT does make mistakes and you still need a human to catch them.
That's...the most amusingly bootleg answer I've ever seen :guffaw:

"You just do this."
"That doesn't exist."
"Oh well it doesn't exist by default, you silly human. I wasn't wrong, you just assumed that everything I reference is already real outside of my cyber-brain."

Reminds me of the Star Trek: The Next Generation episode "The Nth Degree," where one of the engineers gets smarter than the computer.
"Tie me into the computer core using a neural scan interface."
"No such device exists on file."
"No problem, here's how you build it..."
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
7,344
Reaction score
11,114
First Language
Indonesian
Primarily Uses
N/A
Create a new script in the script editor (press F11 to open it)
Sounds about right.

My assumption was like this.
- The AI knows the general structure of how to write MV/MZ script. In another word, they know Game_Map.prototype.functionName and $gameMap object.
- The AI knows from another source how to check if it is the edge of the map.
- In the other source, it simply uses the isEdge function.
- The AI slapped that function in MV/MZ script. Assumed it also exists.
- It doesn't
- Then the AI explained what the function does. Based on another source, slapped into MV/MZ script structure.
- The AI was confused about VXAce and MV/MZ thus suggesting VXAce instead of how to insert script instead of how to make it a plugin.

The human would need to correct this AI many times, providing a better context.
If you think hard about it, that is what programmers have been doing. DEBUGGING. Providing a better context in their code so it stops getting NullPointer exceptions.
 

Arthran

Veteran
Veteran
Joined
Jun 25, 2021
Messages
959
Reaction score
1,272
First Language
English
Primarily Uses
RMMZ
I've played around with ChatGPT a few times out of curiosity, and asked it to generate some code. A few times, it generated code that would technically work, but it went about things in an ill-advised way. Most of the time, it generated code that was flat out wrong.

In both cases, I kept pointing out the mistakes and trying to guide it to a a good solution, but it never really managed to reach one. It would agree with me about the problem, and then offer a "revised" solution... but sometimes the solution would actually be the exact same (literally), and other times it would just move further and further off base. I haven't tried GPT 4 though, so I don't know whether or not it's any better.

One AI-related thing I *have* been finding kinda nice is GitHub Copilot. It integrates with your code editor, and will offer you AI-powered code completion suggestions. It's not for generating entire plugins or whatever, but rather, it will give you a suggestion on how to complete the current line that you're typing, or on how to finish a particular code block or function that you've started. Its purpose isn't so much to figure out problems for you, but rather to improve your productivity by saving you some typing (and possibly a bit of thinking) that you were already going to do.
 
Last edited:

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
3,145
Reaction score
2,275
First Language
Spanish
Primarily Uses
RMVXA
Star Trek: The Next Generation episode "The Nth Degree,"
I did say one time that GPT has the same conversational capabilities as the Enterprise computer.
let's hope it doesn't lead to "Schisms"
 

123edc

Veteran
Veteran
Joined
Nov 17, 2021
Messages
338
Reaction score
234
First Language
german
Primarily Uses
RMMZ
that is what programmers have been doing.
and at this point we come to the big difference,

while programmers needed to learn the exact meaning, writing and concrete syntax of anything, they're trying to do ...

we now reached the point, where the computer starts to understand normal human language (or at least it walks towards that point in massive steps) <- that is the real advancement or "revolutionary thing" of gpt ...
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
7,344
Reaction score
11,114
First Language
Indonesian
Primarily Uses
N/A
In that case, what humans need to do is try to communicate better.
I don't know if later AI can respond with a concrete answer when we say "it doesn't work".

Programmers certainly need more context on what the error is to correct the code. But IDK, perhaps in the future, the cam might have built-in MRI to scan your brain or something so you don't need to talk/communicate.
 

A_Higher_Plane

Spiritual person, self-improvement geek, Game Dev
Veteran
Joined
Oct 3, 2015
Messages
707
Reaction score
198
First Language
Russian
Primarily Uses
RMMV
Since yesterday, I have spent hours trying to have ChatGPT fix my RMMV plugin and create a new one, but it just couldn't help me. So While somewhat useful, I guess the tool right now is still not all that good.
 

Latest Threads

Latest Profile Posts

Here's some more weapon icons for the Wastes I've finished recently. Some are mine, some are icons that @Ninjakillzu originally made (the AK variants, the Thompson, the Glock, the M16 variants), but edited by me with permission.
1686428693206.png1686428742838.png
Still working on balance issues for my almost-out Cube Trail demo... Boss balance is no joke.
Did i create a damage calculation for consecutive skill use per actor that I may not even use? Yes. Do I have regrets spending so long on it? Also yes.
YES!!! After hours of work I finally managed to find the perfect balance in combat.
Ok. I am seriously going to make efforts to stop double-posting because I got suspended for two days because of doing it too much. Lmao; am I the only one who got a suspension for this? Probably not, but I'd still like to know LOL.

Forum statistics

Threads
131,777
Messages
1,223,285
Members
173,553
Latest member
Coraz0n
Top