Console Commands (Killing Floor): Difference between revisions
m (Added note on settings being saved) |
mNo edit summary |
||
Line 5: | Line 5: | ||
All those marked 'UT' are provided by UT code, although possibly updated by the game. | All those marked 'UT' are provided by UT code, although possibly updated by the game. | ||
__TOC__ | __TOC__ | ||
== Binding a command to a key== | == Binding a command to a key== | ||
Revision as of 20:11, 1 December 2012
These are all the console commands that can be used in Killing Floor. Note that not all are actually useful; some are remnants of UT code.
All of those marked 'cheat' require that you first enable cheats using the enablecheats command.
All those marked 'UT' are provided by UT code, although possibly updated by the game.
Binding a command to a key
To bind any command to a key simply enter the following in the console, replacing parameters where necessary:
set input <key> <command>
You may also set a command to be called when the key is released, like so:
set input Z Behindview 1 | OnRelease Behindview 0
When you exit the game, the settings will be saved to user.ini.
Commands
Cheats
These are provided in the CheatManager and KFCheatManager classes.
Command | Description | Cheat | UT |
---|---|---|---|
AllAmmo | Refills all currently owned weapons. | Yes | Yes |
AllWeapons | Gives all weapons. | Yes | Yes |
ArmorUp | Gives full armor. | Yes | No |
Arsenal | Gives all weapons. | Yes | No |
AssaultMe | Gives all Commando weapons. | Yes | No |
Bombs | Gives all Demolitions weapons. | Yes | No |
EnableCheats | Allows cheats to be used. Disables achievements and perk progress. | Yes | Yes |
FlameUp | Gives all Firebug weapons. | Yes | No |
Flare | Gives the Flare Revolver. | Yes | No |
Flares | Gives the Dual Flare Revolver. | Yes | No |
God | Invincibility. | Yes | Yes |
Heal | Heals the player as if they were injected with the Syringe. | Yes | No |
Horde | Spawns a random horde of specimens. | Yes | No |
IJC | Gives the IJC weapons. | Yes | No |
LaidLAW | Gives the LAW. | Yes | No |
Meds | Gives all Field Medic weapons. | Yes | No |
MeleeMe | Gives all Berserker weapons. | Yes | No |
Nails | Gives Vlad The Impaler. | Yes | No |
Pistols | Gives all pistols. | Yes | Yes |
RifleMe | Gives all rifles. | Yes | No |
SMG | Gives all sub-machine guns. | Yes | No |
Shotty | Gives all Support Specialist weapons. | Yes | No |
Sniper | Gives all Sharpshooter weapons. | Yes | No |
Cheats (Other)
Most or all of these are defined in the cheat-related classes but are used for debugging.
Command | Description | Cheat | UT |
---|---|---|---|
Amphibious | N/A | Yes | Yes |
Avatar | N/A | Yes | Yes |
Backup | Spawns a friendly bot (does not work). | Yes | No |
CauseEvent EventName | Triggers an event. | Yes | Yes |
ChangeSize Size | Changes player size. | Yes | Yes |
CheatView | N/A | Yes | Yes |
ClearAllDebugLines | Clears all staying debug lines. | No | Yes |
DisableNextObjective | N/A | Yes | Yes |
EndPath | N/A | No | Yes |
Fly | Allows the player to fly around the map. | Yes | Yes |
FreeCamera | Changes to free camera mode. | Yes | Yes |
FreezeAll | Stops time for everything but the player. | Yes | Yes |
FreezeFrame delay | Pauses the game after a set delay. | Yes | Yes |
Ghost | Allows the player to fly and pass through walls. | Yes | Yes |
HugeGnome | Enlarges gnomes by 20 times their original size. | No | No |
ImRich | Gives £10000. | Yes | No |
Invisible | Makes your character invisible. | Yes | Yes |
JumpMatch ladderrung | N/A | Yes | Yes |
KillPawns | Kills all pawns. | Yes | Yes |
KillViewedActor | N/A | Yes | Yes |
ListDynamicActors | Outputs a list of dynamic actors to the log. | Yes | Yes |
Loaded | N/A | Yes | Yes |
LockCamera | Locks the camera in its current position and rotation. | Yes | Yes |
LogScriptedSequences | N/A | No | Yes |
MopUp | Kills all specimens. | Yes | No |
PatRage | N/A | Yes | No |
Phil | N/A | Yes | Yes |
PlayersOnly | Stops time for everything but the player. | Yes | Yes |
RememberSpot | N/A | Yes | Yes |
ReviewJumpSpots | N/A | Yes | Yes |
SetCameraDist F | In 3rd person view, sets camera distance from player. | Yes | Yes |
SetFlash F | N/A | Yes | Yes |
SetFogB F | N/A | Yes | Yes |
SetFogG F | N/A | Yes | Yes |
SetFogR F | N/A | Yes | Yes |
SetGravity F | Sets gravity. | Yes | Yes |
SetJumpZ F | Sets jump height. | Yes | Yes |
SetSpeed | N/A | Yes | Yes |
SkipMatch | N/A | Yes | Yes |
SloMo Speed | Sets the game speed. Zed time overrides this when it occurs. | Yes | Yes |
Summon Class | Spawns a specimen of the selected class where the player is pointing. | Yes | Yes |
Teleport | Teleports to the location the player is looking at. | Yes | Yes |
ViewActor | N/A | Yes | Yes |
ViewBot | N/A | Yes | Yes |
ViewClass | N/A | Yes | Yes |
ViewFlag | N/A | Yes | Yes |
ViewPlayer | N/A | Yes | Yes |
ViewSelf | N/A | Yes | Yes |
ViewTurret | N/A | Yes | Yes |
ViewZombie | N/A | Yes | No |
Walk | N/A | Yes | Yes |
WeakObjectives | N/A | Yes | Yes |
WinMatch | N/A | Yes | Yes |
WriteToLog Param | Writes Param to the log file. | No | Yes |
ruler | N/A | Yes | Yes |
Console
These are defined in the Console and ExtendedConsole classes.
Command | Description |
---|---|
AddCurrentToFavorites | Adds the current server to the favorites list. |
CLS | Clears the console. |
ConsoleClose | Closes the console. |
ConsoleOpen | Opens the console. |
ConsoleToggle | Toggles the console. |
DebugTabOrder | ? |
DLO ClassName, ClassType | Calls DynamicLoadObject() for the selected class name and type. |
DumpLoadingHints param | Dumps loading hints for all game types. |
DumpPlayInfo group | Dumps the settings of any playinfo objects (debugging). |
DumpRecords Type | Dumps cache records. |
InGameChat | ? |
MusicMenu | Opens the native music player. |
PlayWaitingGame | N/A |
ServerInfo | ? |
SpeechMenuToggle | Opens the voice commands menu. |
StartRollingDemo | ? |
StopRollingDemo | ? |
Talk | Opens the chat input box with the 'Say' prefix. |
TeamChatOnly | ? |
TeamTalk | Opens the chat input box with the 'TeamSay' prefix. |
Type | Opens the chat input box without the 'Say' prefix, so that console commands can be entered directly. |
Admin
These are admin commands, used for managing players and the game itself. These are provided in the AdminBase class.
Command | Description | UT |
---|---|---|
PlayerList | N/A | Yes |
Kick Cmd, Extra | N/A | Yes |
KickBan s | N/A | Yes |
RestartMap | N/A | Yes |
NextMap | N/A | Yes |
Map Cmd | N/A | Yes |
Maplist Cmd, Extra | N/A | Yes |
Switch URL | N/A | Yes |
|