The Ball: Keyboard Camera Keybinding

The purpose of this guide will be to inform a player on how to bind camera movement to the keyboard.

 

Accessing the Console

To begin, the player must know how to access a console. To do that, simply press the grave key (`) located at the upper left of the keyboard. Also know as a lower-case tilde (~).

Entering the Commands
The player will now have to enter commands into the console. There is one command that needs to be entered 4 times with different parameters each.

SetBind Left "Axis aBaseX Speed=-200.0 AbsoluteAxis=100"
SetBind Right "Axis aBaseX Speed=200.0 AbsoluteAxis=100"
SetBind Up "Axis aLookUp Speed=-0.5 AbsoluteAxis=100"
SetBind Down "Axis aLookUp Speed=0.5 AbsoluteAxis=100"

 

The first word, SetBind, tells the game to set a keybinding for a specific key.

The second word(s) LeftRightUp, and Down, determine which key the command will be bound to. A list of valid keys can be located here[docs.unrealengine.com].

The words in quotes are the command that will be bound to.the key.

You can adjust the Speed values to increase or decrease the speed the camera moves. The current values are moderately slow, but seeing how it’s a puzzle game and you’re using a keyboard, slow camera movement speeds are recommended.

Type or paste the above commands in one at a time and press Enter. You can now control the mouse rotation with your keyboard using the directional keys. These keybindings will also apply to the numpad with Numlock on.

Keeping the Keybindings

If you want the keybindings to persist, you’ll need to enter them in a configuration file. It is recommended that you “know what you’re doing” if you want to do this.

The file is located at:
%USERPROFILE%\Documents\My Games\The Ball\UDKGame\Config\UDKInput.ini
Under the [Engine.PlayerInput] section, you’ll see these lines:

Bindings=(Name="Up",Command="GBA_MoveForward")
Bindings=(Name="Down",Command="GBA_Backward")
Bindings=(Name="Left",Command="GBA_StrafeLeft")
Bindings=(Name="Right",Command="GBA_StrafeRight")

Replace them with the following similar lines (adjust as desired):

Bindings=(Name="Up",Command="Axis aLookUp Speed=-0.5 AbsoluteAxis=100")
Bindings=(Name="Down",Command="Axis aLookUp Speed=0.5 AbsoluteAxis=100")
Bindings=(Name="Left",Command="Axis aBaseX Speed=-200.0 AbsoluteAxis=100")
Bindings=(Name="Right",Command="Axis aBaseX Speed=200.0 AbsoluteAxis=100")

 

Troubleshooting
If you broke everything or want to reset the inputs after using the console, you can restart the game and everything should be back to how you left it.

If you broke everything or want to reset the inputs after editing the UDKInput.ini file, you can delete the file and it will recreate itself next time you run The Ball.

About Robins Chew

I'm Robins, who love to play the mobile games from Google Play, I will share the gift codes in this website, if you also love mobile games, come play with me. Besides, I will also play some video games relresed from Steam.

Leave a Comment