1. The Interface
- Option Name: In the Options menu, there will be a command to open the menu for players to rebind keys. Name that command here.
- Button Config: Contains all the key configurations we will create.
- Disallow Rebind Movement Keys: Prevents players from rebinding movement keys (left, right, up, down).
2. Key setup
To create a new item in the empty Button Config list (1), follow these steps. Assume the list is empty, as shown in (1), even though it may already contain multiple items. When you create a new item, the window (2) will appear with the following fields.
- Menu Name: The name displayed in the Config Button menu under Options.
- From Key: The original key in the game.
- To Key: The new key that replaces the original key. For example, if the original key is A and the To Key is set to B, pressing B will function as pressing A. Format: keyboard, gamepad
- Icon: Optional; displays an icon before the Menu Name in the Config Button menu.
- Visibility: Determines whether this key is shown in the Config Button Options menu for players to rebind.
- Common Event ID: Specifies a common event to trigger when this key is pressed.
- Options: Defines whether the key activates on Triggered (press and release) or Pressed (hold).
- Run in Parallel: Allows the common event to run in parallel mode (e.g., alongside other events like cut-scenes).
3. To rebind an original key to a new key
For example, in RPG Maker, the default key to open the menu is X, but you want to change it to Y on the keyboard and Start on the gamepad. You would set it up as follows:
- From Key: Menu
- To Key: Y, Start
- Why "Menu" instead of "X"? In RPG Maker, the key used to open the menu is internally named "Menu," not "X."
- From Key: O
- To Key: T, Y
4. When should I use the two methods above?
The "Menu" to "Y, Start" method is for remapping RPG Maker’s default features to new keys, making it more suitable for rebinding RPG Maker’s default keys.
If you want to create a completely new key to trigger a common event, use the second method. You don’t need to worry about the conditional branch I mentioned if you’re using the common event feature. Just map From Key to To Key.