[Resolved] Text Input and Recall Script Request

Started by Elevenius, December 27, 2012, 03:53:56 am

Previous topic - Next topic

Elevenius

December 27, 2012, 03:53:56 am Last Edit: December 28, 2012, 01:30:30 pm by Elevenius
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!

Blizzard

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.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Elevenius

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? >.<

AliveDrive

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.
Quote from: Blizzard on September 09, 2011, 02:26:33 am
The permanent solution for your problem would be to stop hanging out with stupid people.

Elevenius

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?

Zexion

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.

Elevenius

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?

Zexion

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.

Elevenius

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?

Zexion

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.

Elevenius

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?

Zexion

to display it just type /v
  • # is the id of the variable you saved it to. This is included in the default messaging system

Elevenius

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. ; )