Save-Point
Key Input script petition (XP) - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Code Support (https://www.save-point.org/forum-20.html)
+--- Thread: Key Input script petition (XP) (/thread-4499.html)



Key Input script petition (XP) - Iqus - 01-13-2013

Hi everybody! I need two things related to Key Inputs!

First, I would like my menu being called by Input::X (not the X key on the keyboard, but the Maker button X) instead of Input::B, but I have no real idea of which script is the responsable for that.

The other thing I would like to request is a script that allows the player (not the user) to customize the keys as he/she wishes in-game, I know that the buttons can be changed pressing F1, but I would like to allow the player to configure the buttons to any key from keyboard or gamepad, hope it's not too crazy to ask that, for I haven't seen such a script anywhere.

Thanks beforehand! Laughing


RE: Key Input script petition (XP) - DerVVulfman - 01-13-2013

Hey, Iqus. Here we go for rapid response again.

The Scene_Map class in your default code is where you want to look for the statement that triggers the main menu.... primarily the update method. The line you wish to look at is line #123.

But as to your wish for a player key customization system.... I've seen that request before, but haven't seen any breakthrough.

Oh... Moving both this and your previous request to RGSS support as they are both script related inquiries.

And when your support query is complete, please flag with the [Solved] flag. 'K?


RE: Key Input script petition (XP) - Iqus - 01-13-2013

Thanks it worked perfectly! :D And sorry for misplacing posts :$

Hope somebody can think of such a script!