Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: Elevenius on December 27, 2012, 03:53:56 am

Title: [Resolved] Text Input and Recall Script Request
Post by: Elevenius on December 27, 2012, 03:53:56 am
Hello, and greetings. I was hoping that somebody might be able to help me with a script that I required. I had searched far and wide and only found one thing similar, and it was for another version of RPGMaker (I use XP).

http://www.rpgmakervxace.net/topic/4238-simple-text-input/

Although, what I was hoping for was slightly different. Basically, when you speak to a certain NPC, you can ask them to either show you what you typed in before, displayed, and then end the event. Or you can choose the second option, which allows you to edit the text. Type in more, or change what was there, which will then display the next time you talk to them and choose the first option above. I hope that this is not confusing or makes no sense.

Thank you in advance very much!
Title: Re: [XP] Text Input and Recall Script Request
Post by: Blizzard on December 27, 2012, 04:08:31 am
Well, there's only this one: http://forum.chaos-project.com/index.php/topic,6731.0.html
But this is basically the same as the normal actor naming script, except that it uses proper keyboard input (which is ironically something that the author of "Simple text input" mentioned that he'd like to see implemented).
It should be very easy to edit this script so it works the way you want it.
Title: Re: [XP] Text Input and Recall Script Request
Post by: Elevenius on December 27, 2012, 01:27:47 pm
Thank you very much, kind sir.  But to be quite honest, I am not a wizard of scripting as I wish I was. I hate to be any trouble, but could anyone please show me how I might use this script for my needs? >.<
Title: Re: [XP] Text Input and Recall Script Request
Post by: AliveDrive on December 27, 2012, 03:00:08 pm
One untested suggestion:

If you only need a small number of inputs to remember, you could just add an actor name with which to "store" the input.

This method should be fully compatible and require no additional scripting BUT...

This would become unpractical if you needed to remember a large amount of actor names.
Title: Re: [XP] Text Input and Recall Script Request
Post by: Elevenius on December 27, 2012, 03:30:52 pm
That shouldn't be a problem at all. I only need this one single NPC to remember what's typed in. It tells the player that it can keep their secrets, and then allows them to type it in, or shows them if they choose only to view what they had typed. How would I perhaps do that with your method, my amigo?
Title: Re: [XP] Text Input and Recall Script Request
Post by: Zexion on December 27, 2012, 06:26:02 pm
Ooh, I have the perfect script for this! It requires SDK though..

https://github.com/wachunga/rmxp-input-text

Just click where it says ZIP to download the demo. I honestly haven't messed around with it too much, but I know it does exactly what you want. You can allow text input and save it to a variable.
Title: Re: [XP] Text Input and Recall Script Request
Post by: Elevenius on December 27, 2012, 10:24:12 pm
This sounds quite perfect! I'll need to download the ol' SDK, though, will I? I'm ashamed to say that I don't know very much about that realm. Will it require very many changes to my files?
Title: Re: [XP] Text Input and Recall Script Request
Post by: Zexion on December 27, 2012, 11:40:00 pm
Nah, just adds one massive script to your project lol, and causes some scripts to crash the game. I used it for a while and forgot I was using it though, so it isn't THAT bad.

btw, there is a way to install it all in one script, and a way to change certain files and then add a script...Idk why they even make the second way lol.
Title: Re: [XP] Text Input and Recall Script Request
Post by: Elevenius on December 28, 2012, 12:19:23 am
It looks like I need these to make this all work then:

https://github.com/wachunga/rmxp-input-text

http://www.hbgames.org/forums/viewtopic.php?style=27&f=155&t=2288

And the SDK. I have a script that gives each Troop it's own Battleback independant of the tileset, and Blizzard's Easy Party Switcher. I hope these all work with the SDK. The only thing I need now, embarassingly enough is.. the SDK itself. Which version would you reccomend?
Title: Re: [XP] Text Input and Recall Script Request
Post by: Zexion on December 28, 2012, 12:38:52 am
When I used it I downloaded it from here: http://www.4shared.com/zip/JISGtUuK/The_RMXP_SDK_23_-_Zip.htm
but if you can find a newer version then by all means go for it. I know there is up to 2.6 (I think), but I can't find it.
Title: Re: [XP] Text Input and Recall Script Request
Post by: Elevenius on December 28, 2012, 01:52:21 am
I think I have the typing part up and running, and have the typed part saved to variable 1. However, does anyone know what I should use to display it when the other option is chosen?
Title: Re: [XP] Text Input and Recall Script Request
Post by: Zexion on December 28, 2012, 08:36:12 am
to display it just type /v
Title: Re: [Resolved] Text Input and Recall Script Request
Post by: Elevenius on December 28, 2012, 01:31:08 pm
Thank you all quite much! It works perfectly. I'm glad that I got it, because I needed to send this game out today. Things are on-track now. ; )