Binds & Console

KF2 Scripts and Console Commands: Auto-Sprint, Dosh Macro, IP

A short community collection of quality-of-life tweaks for Killing Floor 2: a config edit for auto-sprinting, a mouse macro for throwing dosh quickly, and the console commands people use most. The original guide also listed community RPG-style servers, but that list was tied to 2016 and is not repeated here. For more binds see KF2 setbind keybinding guide and toggle sprint console binds.

Auto-sprinting

  1. Open ...\Steam\steamapps\common\killingfloor2\KFGame\Config\DefaultInput.ini.
  2. Find the line .Bindings=(Name="LeftShift", Command="GBA_Sprint").
  3. Option A (recommended): replace the command so the line reads .Bindings=(Name="LeftShift",Command="Toggle bRun").
  4. Option B: use Command="GBA_Sprint | OnRelease GamepadSprint" instead.

You may also bind the Toggle bRun line to an unused key such as L rather than replacing Shift. After that you keep sprinting without holding the key.

Fast dosh throwing with a gaming mouse

For Logitech mice such as the G300, G500 and G700:

  1. Open the Logitech Gaming Software.
  2. Go to Multi Key, record a keystroke, press B (the default drop-cash key) and stop recording.
  3. Set the repeat option to While Pressed with a delay of 25.

The same approach can be used for rapid fire on the middle mouse button and similar tasks.

Console commands

Open the console with the key next to 1 (the backtick or tilde key).

  • Connect by IP: type open <IP address>:<port>, for example open 123.123.123.123:7777.
  • reconnect - rejoin the latest server.
  • disconnect - leave the server.
  • suicide - kill yourself instantly.
  • exit - close Killing Floor 2.
  • say <text> - send a chat message from the console if you cannot type in the chat box.

Finding the IP of a server you played on

  1. In Steam, open the View menu and choose Servers.
  2. Open the History tab (or Favorites).
  3. Use Change Filter, pick Game and select Killing Floor 2.
  4. Right-click a server, choose View server info and read the IP address.

FAQ

How do I sprint without holding Shift in KF2?
Edit KFGame\Config\DefaultInput.ini, find the LeftShift binding that runs GBA_Sprint and replace the command with Toggle bRun. A second option appends | OnRelease GamepadSprint to the original command.
How do I join a server by IP?
Open the console with the key left of 1, then type open followed by the IP address and port, for example open 123.123.123.123:7777.
How can I find the IP of a server I played on?
In Steam use View, Servers, History (or Favorites), change the filter to Killing Floor 2, right-click the server and choose View server info to see the IP address.