A downloadable tool

Download NowName your own price

NPC-GPT Plugin [RPG Maker]

Our RPG Maker MZ plugin offers a straightforward way to connect with the NPC-GPT API, enabling the creation of AI-powered NPCs directly within the engine. Utilize plugin commands to craft characters complete with rich backgrounds and a deep understanding of the game environment.

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

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.

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.

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.

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

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

User Input

Set up a dialogue window with the actor image and name to input player inputs seamlessly in the game style.

Send Request

Send the Character Context data and user inputs to NPC-GPT API and GPT-4 model to get a tailored response from the AI-NPC.


Display Response

Display the response of the NPC in-game with Show Text Windows, character images and names.

User Guide

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

WARNING!!!

This plugin is free to use but you'll need an account with Gamer Tool Studio and an API key to support the costs of the requests to the GPT model.

Compatibility

  • RPG Maker MZ
  • RPG Maker MV (Coming Soon)

Terms of Use

  1. These plugins may be used in free or commercial games.
  2. 'Gamer Tool Studio' must be given credit in your games.
  3. You are allowed to edit the code.
  4. Do NOT change the filename  of the plugin.
  5. You are NOT allowed to redistribute these Plugins.
  6. You may NOT take code for your own released Plugins.

Download

Download NowName your own price

Click download now to get access to the following files:

NPC-GPT-Plugin.js 31 kB

Development log

Comments

Log in with itch.io to leave a comment.

Could you please provide an example RPG MAKER MZ Project File that has the multiple pages setup for a template? 

Sure will do that in an instant but you can check the pages setup in this page of our documentation as well:  https://gamertoolstudio.gitbook.io/npc-gpt/plugin-user-guide/example-implementat...