RPG Maker MZ

RPG Maker MZ

38 ratings
Chat-GPT Plugin.
3
   
Award
Favorite
Favorited
Unfavorite
Type: Resources
Resources Type: Plugins
Flavor: Fantasy
File Size
Posted
Updated
103.704 MB
13 Feb @ 3:36am
13 Feb @ 3:46am
5 Change Notes ( view )

Subscribe to download
Chat-GPT Plugin.

Description
NOTE: You will need an account and an API key from us to use this plugin: https://gamertoolstudio.com/

Create of AI-powered NPCs and enable real-time interactions with the players.

The plugin facilitates engaging player interactions with characters, allowing conversations to unfold naturally using player's own words. At its core, NPC-GPT uses the GPT-4 model, ensuring AI responses are aligned with player requests and consistent with each character's personality. This tool enhances your RPG Maker MZ project by adding a new dimension of interactive storytelling.

Features:
- Enable user text inputs to interact with NPCs.
- Send requests with user inputs to GPT-4 model.
- Create character contexts and traits to create AI-powered NPC personalities.
- Receive responses from the AI NPCs in your game.
- Seamlessly display responses in game events.
- Limit the length of input and output messages.

Plugin Parameters:
1. Api Key:
This key is required for making requests to the server. Log in to your account with Gamer Tool Studio and activate your key . Enter your API key in the "API Key" parameter.

2. API Key Variable
This is the ID of a variable used to store the API key and to authenticate the requests with NPC-GPT API.

3. GPT Response Variable
This is the ID of the variable where the characters' responses provided by the server are temporarily stored. It is used to display NPC response in the game and is updated every single request.

2. Response Status Variable
This is the ID of the variable used by the sendRequest Command to control the status of the player and NPC response. It updates its value to 1 when the player sends an input to the server and changes it back to 0 when a response is received in the game.

Plugin Commands:
1.Character Context
Create the background story and shape the knowledge of your character to your game needs and store that info in a game variable

2. User Input
Set up a dialogue window to enable player text inputs.

3. Send Request
Send the Character Context data and user inputs to NPC-GPT API to get a real-time response from the AI agent.

4. Display Response
Display the response of the NPC in a customizable dialogue window.


User Guide
Check the complete user guide and plugin instructions in our documentation.

WARNING!!!
This plugin is free to download but you'll need an account with Gamer Tool Studio (https://gamertoolstudio.com/) and an API key to support the costs of the requests to the AI model.

Compatibility:
- RPG Maker MZ
- RPG Maker MV (Coming Soon)

Terms of Use:
- These plugins may be used in free or commercial projects.
- 'Gamer Tool Studio' must be given credit in your projects.
- You are allowed to edit the code.
- Do NOT change the filename of the plugin.
- You are NOT allowed to redistribute these Plugins.
- You may NOT take code for your own released Plugins.
13 Comments
Colluplino 9 Sep @ 12:17am 
Exactly! I wanted to suggest / request that, but after how we responded, I was not sure if the creator would still want to work on AI for this game engine.

I made this forum thread :
If the OP is still reading these comments, let them know that I'm ready to beg for them to agree to participate.
Calubob 8 Sep @ 11:29pm 
not gonna bash you. this is interesting but you need a local natural langue ai model to integrate instead connecting through an api. have it hold memory, set parameters for what each npc should know etc.. is it possible in rpgmaker mz? no idea.
Colluplino 9 Jul @ 6:09pm 
Wait, a second, we need third party to implement this? I didn't notice Gamer Tool Studio. What is this for?
Mh... I don't think it's worth all the trouble. Make a tiny prototype game with a tiny game AI with chat GPT free version would be free, and just as simple. So...
Colluplino 9 Jul @ 6:04pm 
If experimenting with that wouldn't cost money for using the GPT API, it could be interesting.

Not to make and sell a game: too many ethical problems especially for EU players who could sue you if you don't provide explicit CGU.

But just to see if I can get gpt to situate its avatar in a room, locate other interactive items there, be "aware" of its avatar apprarance, stats, equipment beside of the player'progress.

However... that would take to make a huge prompt and change the prompt very often,
and unfortunately, GPT are not the best model to stick to rules and make sense of them all.
beardalaxy 8 Jul @ 4:01am 
I can see this being kind of interesting to use for a specific NPC or something, like an all-knowing super computer or a fourth wall breaking character in a horror game. However, if the servers ever go offline or something that renders your NPC completely useless. The only good way to implement AI into your project is through a local method.

The most interesting part about this is that the AI can interpret what the player types directly instead of there being a list of commands the player can either select from or type in (like an old text adventure game). It is an interesting novelty, but I don't think it is useful for 99% of scenarios. You would REALLY have to design your game around this concept instead of simply using it as a shortcut to do things games have already been doing since ADVENT.
Hex: Yui's Grippers 7 Jul @ 8:03am 
this sucks
Cosmik 5 Jul @ 11:38pm 
yikes...
Plat V Frotter (boosted) 5 Jul @ 9:00am 
I can't think of any possible reason to include this, even setting aside it being unethical and impractical.

Game NPC dialogue is ultimately either instructional or tone-setting. They tell you where to go, or they flesh out the world. For the first, ChatGPT can't generate instructional text - i;e, "go here and use this key on this door" - unless it knows there's a key, and that there's a door, and that it's the right point at which to use the door - too many things for it to get muddled on, compared to the designer who /knows/ it's there. For the second, again, you don't want ChatGPT bullshitting about a secret key in a flower pot if there's no key in that flower pot.

And like Colluplino pointed out, there are too many practical/legal concerns to risk putting this in the game instead of writing two sentences ourselves.

Pointless plugin.
Sailor Asia 2 Jul @ 9:03am 
Gross.
Colluplino 2 Jul @ 1:41am 
With this,
- we are under LEGAL OBLIGATION to tell our players that their IP adress and spech pattern are being collected each time they start our game
- we need a way to monetize the game so that the token consumption doesn't ruin us
- our players need a fast internet connexion to play a pixelated desktop game
So I'm not sure if using a commercial AI like GPT is a good idea.

Something that I'd pay for, as a software or as official DLC would be
a setup and packaging of a tiny offline chatbot with its own offline dictionary,
so this doesn't need an internet connexion.

There are very small models now, les than 900 Mo both the model and the dictionary,
and that players can download bundled with the game...

And instead of the user typing, the IA could generate dialogue options so we only have to click.

If you ever do a solution like that, I'd buy right away,
actually, I'd pay more than for the RMMZ engine.