1 through 9 for weapon selection

For technical problems with the build. Not for bug reports!

Moderator: SolC Development Leads

Post Reply
Beta Tester
Posts: 26
Joined: 04 Nov 2015, 08:32
Location: Enschede, Netherlands

1 through 9 for weapon selection

Post by Tamurel » 06 Nov 2015, 11:13

Currently, as far as I'm aware, there is no place where you can set the keybindings for specific weapon selection, even though the keys 1 through 9 select weapons. The buggy part is that if you assign any of the keys 1 through 9 to another function, even after clearing it, you can't set it to select the weapons again.
"We are the shadow at the centre of the labyrinth"

User avatar
Site Admin
Posts: 1556
Joined: 07 Nov 2012, 13:43
Location: Berlin, Germany

Re: 1 through 9 for weapon selection

Post by MadMax1998 » 06 Nov 2015, 12:52

Yes, this is also an issue we are aware of (I should put it on the list of known issues). You can also bind keys like T and then no longer text chat. The fix is to go to UDKGame/Config and delete UDKInput.ini to get the defaults back (or you could try and load an input preset from the menu as well, though not sure this fixes it).

As for binding keys outside the menus: there are console commands for this that will allow you to bind your own keys/buttons to weapon selection (or any other function). Type any of the following commands in the console (accessed in game by pressing ~ or Ö):

UnbindKeyAxis <key>
This will clear a binding from a key (useful to clear a binding you can't see on the menu)

Example: "UnbindKeyAxis T" clears anything bound to the T key and makes it non-functional.

SetKeyBindByCommand <key/button> <function> <input type>
This manually binds the key or button you specify to the function you specify. The input type must be 0 for keyboard, 1 for mouse and 2 for joystick.

Example: "SetKeyBindByCommand T GBA_Talk 0" binds the text chat function to T.
Example: "SetKeyBindByCommand MiddleMouseButton GBA_SwitchWeapon3 1" binds the dispersion gun switch to the middle mouse button.
Example: "SetKeyBindByCommand XboxTypeS_B GBA_TeamTalk 2" binds the team text chat to the B button on your controller/joystick.

For a complete list of the key, mouse button and XBox button names to use, see this article.

The list of functions you could bind this way are:

GBA_ShowMenu -- shows the in-game menu
GBA_SwitchWeapon1 to GBA_SwitchWeapon10 -- switches to a weapon directly
GBA_Talk -- text chat
GBA_TeamTalk -- team text chat
GBA_ToggleSpeaking -- voice chat

All other functions can be bound through the menus.
Sol Contingency Programming Lead
Sol Contingency Website

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest