this one is for MZ [
InworldIntergration] made by Trihan.
Triancontaine had also 1 based on GPT I think, and another one
uses it too.
building one isn't easy though, as it require a lot of time and testing.
a lot of knowledge how the AI exactly work to grab information,
send the API to get respond etc.
but I do you wish good luck on the plugin, you might get an idea
by looking at those, as for MV if you aim for it, works differently.
but the idea is nice, but the harder part it, how would quests if you add them
work correctly without misleading its path =)
it depends on the road you take, what the people ask, try, etc.
I know it isn't easy, but I already did it for HTML, so I know how to do it.
It's cool Trihan made one for ChatGPT already, but I really want to create my own thing.
😛 I might take a look at his, but not before I finished mine. (I mean, if his plugin teaches me how to do it, then it is extra hard to create it completely by my own design later.)
I must confess, I had a lot of help by Gemini, to set up the Gemini API. Gemini didn't do it for me, but it showed me how, checked my process, tested my process etc. By pasting the code into a Gemini canvas, Gemini can see exactly what I did, how I did what I did and why I did it the way I did it.
So, when I hit a bug during the testing (inside the canvas), Gemini knows instantly what goes wrong, why it goes wrong and what I could do to to resolve it. Their solutions do not always run the first time, they might break something else and hit a new error, but AI will pick up on this and either alters his previous solution to the old bug, or offers a solution to the new bug. Often it does both, so you can choose which solution works best for you.
Anyhow, what I try to say is, I know it is hard, but Gemini helped me understand how Gemini works, and how to use if effectively. (Although Gemini is often like a high school math teacher: Their solutions to a problem are often more complicated than they need to be. Once I understand the solution they offer, it is only a matter of time before I figure out a way to simplify it. But then again, simplify in my case means: "Better to understand, for me" and in turn that means: "Recreate it with code Iunderstand." Which could make the code longer instead of shorter, but at least this way I know I can maintain and debug the code myself.)
By the way, once you've set up the API and understand how to ask for a response from gemini, making a plugin with it isn't any harder than any other RPG maker plugin, since... Well, asking for a reply (against certain in-game input, like a string in a variable, or args in the plugin command) is the only thing that is different in the plugin by adding AI.
Even if you make a super complex system with it, you only set up the API once, and ask for a reply of Gemini (or the LLM of your choice) and the system is now rephrased by AI.
It seems really complicated, but you know so much more about javascript than I do, so I promise you, if you feel like playing with using AI in your code, you can 100% do it... within a day. I had my first draft up and running in only a few hours. It took me many more hours to tweak it so it was all to my liking, but that fact that I had it running in like 2 or 3 hours, means it is not as hard as you might expect.
😛
---
Just to make this clear: I don't make this to be downloaded by others. I make this to create a game for my own, or actual if I can make this happen, I have multiple idea's on how I can use this effectively. There are a few smaller systems I can improve with integrating AI:
- Farmboy: I already created a function to hire Wietse, your tutor, after you completed the tutorials. (But it isn't live yet, It will be included in the next update). Wietse will take care of your crops, as long as you pay him and as long as you provide the right sources (fertilizer, water, and bug repellant.) but the way it is set up, he will always favor the same plants. When AI is involved, I can make it so that Wietse would prioritize the plants you need most.
- Tic-Tac-Toe: It should be interesting to play this against an AI, I know I have to make 100% sure that the AI only gives me the ID of the move they want to make, and I make the actual move, so I can decline illegal moves. Gemini and ChatGPT are known cheaters.
- Chess: I would use it to make add a funny twist to my chess engine. Maybe I let AI comment on all your moves like an annoying spectator. (I know better than using any LLM as a chess engine. They just do it.)
- Card Games: Now, here is an interesting one... My card games already have AI, and those games are a couple years old... How did I do that? I evented every single condition by hand!! And then I tested it and tweaked it. I did this by giving every single possible move the AI could do a score, and the move with the highest score would be the move played. How awesome would it be if I could have AI set those scores for me? That would be amazing.
😀
- Text Based Adventures: You, I don't think I have to explain how this can be epic when integrated with AI.
---
But I also have idea's for complete new systems I can make when I have AI to power me. How about games that are based on real life actualities, like the stock market. You can actually make an accurate traders game, with real-life stock values, because Gemini knows everything google knows. Or how about a modern game, where the NPC's talk about real news items. You're game would be relevant until the end of the AI era.
😛 Or a basket ball fan-game, where you have to predict the matches to come?
, I shouldn't share all those ideas. Some of them are really good, and easily doable with AI.
Sorry for the late reply...