Killing Floor 2

Killing Floor 2

110 ratings
SETBIND | Console Keybinding
By Båttle™
A Simple guide for Killing Floor 2 Console - Setbind and other console commands.

None of the commands in this guide are cheats.
   
Award
Favorite
Favorited
Unfavorite
Skipping Setbind basics
  • If you already are familiar with using Setbind you can skip the basic yap and dive straight to the commands this guide has to offer.
    See Guide Index or scroll down, starting with:
    GamepadSprint

  • If you never used Setbind, please read the guide in the order, starting from next section.
    It only takes a minute to go through.
KFInput.ini (2019)
The first thing you might want to do is make a backup copy of your key configurations.
C:\Users\YOURUSERNAME\Documents\My Games\KillingFloor2\KFGame\Config\KFInput.ini
Make a duplicate of that file so you can have a backup.
Console
Open console:

Press F3 to open Quick Type Console.
Press Tilde to open Full Console.
SetBind
SetBind BindName[FName] Command[FString]
SetBind "<key>" "<command>"
Multiple Commands
|
A separator in order to bind multiple commands to one key.
See TossMoney for an example.

Please note that binding keys with in-game key configuration options and with Setbind simultaneously causes doublebinding!
Keys
Mouse :
LeftMouseButton,MiddleMouseButton,RightMouseButton
MouseScrollUp,MouseScrollDown
ThumbMouseButton,ThumbMouseButton2

Navigation Keys :
Up,Down,Left,Right

Letter Keys :
A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
Comma,Period,UnderScore

Number Keys :
One,Two,Three,Four,Five,Six,Seven,Eight,Nine,Zero

Miscellaneous Keys :
Equals,LeftBracket,RightBracket,SemiColon,Quote,Slash,BackSlash

Scroll Keys :
Insert,Delete,Home,End,PageUp,PageDown

Num Pad :
Divide,Multiply,Subtract,Add
Decimal
NumPadZero
NumPadOne
NumPadTwo
NumPadThree
NumPadFour
NumPadFive
NumPadSix
NumPadSeven
NumPadEight
NumPadNine

Special Keys :
Enter,Backspace,Spacebar,Tab
LeftControl,RightControl
LeftAlt,RightAlt
LeftShift,RightShift

* CapsLock,ScrollLock,NumLock // if you are brave enough
* PrintScreen // no response
* Pause // solo game pause
* Escape // because
* Tilde // console key

Function Keys :
* F1,F2,F4,F5,F6,F7,F8,F9,F10,F11,F12 // because
* F3 // Quick console

* = Keys NOT recommended for binding by author // reason

Next up :
COMMANDS
with examples
------------------------------------------
GamepadSprint
Example:
Setbind CapsLock "GamepadSprint"
Toggle run. (edit 2022: Included in updated game settings now)
ToggleHUD
Example:
Setbind Divide "ToggleHUD"
Head-up display on/off.
SpectateChangeCamMode
Example:
Setbind Multiply "SpectateChangeCamMode"
Changes spectator camera mode.
TossMoney
Example:
Setbind N "TossMoney | TossMoney | TossMoney | TossMoney"
Allows you to throw 200 dosh with one press of a button.
Every TossMoney command seperated by | -symbol throws 50 dosh.
tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney |
1000
NOTICE: " " Quotation marks ARE NECESSARY for multiple 50 dosh toss bindings to work
Say
Example:
Setbind NumPadEight "Say TAUNT PLAYERS"
Quick custom chat binds.
Setbind NumPadNine "TeamSay REQUEST WEAPON"
NOTICE: " " Quotation marks are NOT necessary for say
None
Example:
SetBind ScrollLock "None"
Removes a keybinding.
NOTICE: " " Quotation marks are NOT necessary with none
Advanced Keybinds
Setbind 5 "ToggleFlashlight"
Setbind NumLock "ToggleScreenShotMode"
Setbind ScrollLock "Suicide"
Experimental keybinds (borderline cheating; up to you if you use these or not) :
Setbind C "QuickHeal | OnRelease SelectLastWeapon"
Quicker quickheal.
Setbind LeftBracket "GBA_DropWeapon | GBA_DropWeapon | SwitchWeaponGroup 0 | GBA_DropWeapon | GBA_DropWeapon"
Drops weapons.
Setbind Equals "GBA_DropWeapon | GBA_DropWeapon | SwitchWeaponGroup 0 | GBA_DropWeapon | GBA_DropWeapon | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney | tossmoney"
Panic button drops most of guns and 1000 dosh.
Does not work when undroppable weapon is equipped, like knife for example.

Thanks for reading this guide!
Report any errors to me. Feedback in the comments section.Thank you! I am not to be held resposible for anyone else's excess spamming or in case you mess up your own controls. Use at your own risk! And be careful with double binds.

In case you REALLY mess up something and you need to reset your keybinds. Delete C:\Users\YOURUSERNAME\Documents\My Games\KillingFloor2\KFGame\Config\KFInput.ini

(2018) Every update resets the keys for some reason. Why the guide in the first place :)
58 Comments
SkyyNet 9 Nov, 2023 @ 5:18am 
Any way at all to be able to bind ''getall kfgamereplicationinfo bossindex''?
gRim_Reaper II 1 Jun, 2023 @ 6:07pm 
"Space" does not work. It's "Spacebar".
Båttle™  [author] 6 Jan, 2023 @ 6:37pm 
@Plague
"tested with both capslock on and off, nothing happens."
Just checking several months later, make sure you try NUMLOCK on (off).
Not sure if just a typo.
Thought I would make sure.
Plague 14 Aug, 2022 @ 12:24am 
Im not sure what it going on.

I input setbind NumPadNine "say Scrake", tested with both capslock on and off, nothing happens.

I change it to a standard letter it works as intended.

I'm not sure what could be causing this issue to occur.
Båttle™  [author] 11 Aug, 2022 @ 5:42am 
@Plague
For me the numpad works just fine.
Make sure your numlock is off. (or off)
Plague 10 Aug, 2022 @ 12:47am 
Do the NumPadNumber keybinds still work?

I'm trying to designate them to say keybinds and they aren't appearing in chat.

Not sure if i'm doing something wrong as when i designate them to standard letters they work fine.
Resplendant Hue 4 Nov, 2021 @ 2:32pm 
understood
Båttle™  [author] 4 Nov, 2021 @ 2:30pm 
@Prince Sorry, I don't know if I can be much help. If it's not in the guide, it's probably beyond me. But I'll look into it as soon as possible! Just don't hold your breath if you don't hear from me again, but I promise I try to fill your request if possible.
Resplendant Hue 4 Nov, 2021 @ 12:45pm 
Where can i find a resource to learn other commands? I want to make a bind that opens console, types and enters "getall KFGameReplicationInfo BossIndex" and reads what the BossIndex is in chat.
Båttle™  [author] 30 Sep, 2021 @ 2:04am 
By the popular demand, here is the script:

h::
send {w down}
return