Hi, new RPG Maker MZ developer here, also first time game developer 🙂
I'm making a RPG game where NPC conversations are interactive based on user side free-text inputs and responses generated by chatbots like LLaMA. I am much more familiar with the AI side of it that i can easily set up a http server up and running, and i've already built the scripts in RPG Maker MZ to interact with my http server and set game variables.
One issue I'm trying to resolve is I cannot find a good working solution to `free-form text input dialog` that works for MZ, closest working solution i found was to just use plain javascript like
```js
const playerInput = prompt("Please enter your input:");
if (playerInput !== null) {
$gameVariables.setValue(1, playerInput);
}
```
but it's browser dialog rather than in-game dialog. I'm using VisuMZ-1 plugins and it's starter template to build my game.
Other closer solution that sort-of works is create some temporary character and use the naming module to type in text input, but it seems to limit to 16 characters and still not quite the dialog experience i'm looking for.
Thanks !
I'm making a RPG game where NPC conversations are interactive based on user side free-text inputs and responses generated by chatbots like LLaMA. I am much more familiar with the AI side of it that i can easily set up a http server up and running, and i've already built the scripts in RPG Maker MZ to interact with my http server and set game variables.
One issue I'm trying to resolve is I cannot find a good working solution to `free-form text input dialog` that works for MZ, closest working solution i found was to just use plain javascript like
```js
const playerInput = prompt("Please enter your input:");
if (playerInput !== null) {
$gameVariables.setValue(1, playerInput);
}
```
but it's browser dialog rather than in-game dialog. I'm using VisuMZ-1 plugins and it's starter template to build my game.
Other closer solution that sort-of works is create some temporary character and use the naming module to type in text input, but it seems to limit to 16 characters and still not quite the dialog experience i'm looking for.
Thanks !