Commander Specific Bindings Added including Select idle worker, View Scrolling, Drop ammo/Drop health(these will work even if you don't have a cc selected but you need to have a cc as one of hotkey groups) binds, these binds can be bound to the same key as any non commander bind like your normal movement keys without issue. If any of a selected objects hotkeys clash with a commander keybind you will have to hold shift when using the hotkey(will probably added an option to switch this around).
Commander move to hotkey group behavior is now better you now need to double tap the hotkey if the group is not currently selected to move to it instead of the old error prone way of holding the key slighly longer
Old ns1 Favorites F1(join marines),F2(join alien),F3(random team),F4(ready room) are back, if you have something else already bound to these keys you will have to go manually bind them
"bind" console command added, binds a key to a console command or to a normal bind
Auto unbinding of conflicting key when setting a keybinds key in the bindings option page
Open Feedback key can now be rebound, its default is now F5 if its free. The feedback overlay will also instantly update to show what the current the feedback keybind is.
Fixed Games Bugs
You no longer shoot/attack when clicking close in a buy menu
Installing and Using
To use this mod copy keybinds.zip to your natural selection 2 directory and create a shortcut to ns2.exe then open the shortcuts properties and add "-game keybinds.zip" without the quotes to the end of the target path. When you run the game for first time with this mod active. the mod will make copies your keybinds and these duplicates are then used and modified by this mod. The originals will never be touched so can run the game without this mod active and your keybinds will behave like they normally did.
This mod uses the SendKeyEvent event that was added recently. The KeybindMapper class maps the key events to a keybind action it also recreate the engines behavior for Move.commands, Move.move and Move.hotkey and feeds it back in by hooking the OverrrideInput function of the local client entity. The KeybindInfo class handles the storage details of keybinds and the metadata associated with each bind. it is also used by the bindings option page.
The bindings option page doesn't update when a keybind gets unbound when you set another keybind to the same key, scrolling the keybind list will force an update
Trying to set another bind to the same key as openfeedback in bindings option page will open the feedback page instead of unbinding openfeedback
Post edited by Unknown User on
Seen at a bookshop near you... "Who Punched A Hole In My List? An Amazing Way to Deal with Continuation in Your Maps and in Your Arrays"