Console Commands (Killing Floor): Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
(Changed formatting a bit)
(Added available commands from console classes and updated version number)
Line 1: Line 1:
{{KF1040}}{{Stub}}
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.
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.


Line 6: Line 4:


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__
== Cheats ==
== Cheats ==


While many of these are cheats, some of them are in place simply for debugging purposes. These are provided in the ''CheatManager'' and ''KFCheatManager'' classes.
These are provided in the ''CheatManager'' and ''KFCheatManager'' classes.


{| class="wikitable sortable" style="width:75%;text-align:left;"
{| class="wikitable sortable" style="width:75%;text-align:left;"
Line 20: Line 18:
|-
|-
| AllWeapons || Gives all weapons. || Yes || Yes
| AllWeapons || Gives all weapons. || Yes || Yes
|-
| Amphibious || N/A || Yes || Yes
|-
|-
| ArmorUp || Gives full armor. || Yes || No
| ArmorUp || Gives full armor. || Yes || No
Line 28: Line 24:
|-
|-
| AssaultMe || Gives all [[Commando]] 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.
{| class="wikitable sortable" style="width:75%;text-align:left;"
! Command
! Description
! Cheat
! UT
|-
| Amphibious || N/A || Yes || Yes
|-
|-
| Avatar || N/A || Yes || Yes
| Avatar || N/A || Yes || Yes
|-
|-
| Backup || Spawns a friendly bot (does not work). || Yes || No
| Backup || Spawns a friendly bot (does not work). || Yes || No
|-
| Bombs || Gives all [[Demolitions]] weapons. || Yes || No
|-
|-
| CauseEvent ''EventName'' || Triggers an [[event]]. || Yes || Yes
| CauseEvent ''EventName'' || Triggers an [[event]]. || Yes || Yes
Line 44: Line 87:
|-
|-
| DisableNextObjective || N/A || Yes || Yes
| DisableNextObjective || N/A || Yes || Yes
|-
| EnableCheats || Allows cheats to be used. Disables achievements and perk progress. || Yes || Yes
|-
|-
| EndPath || N/A || No || Yes
| EndPath || N/A || No || Yes
|-
| FlameUp || Gives all [[Firebug]] weapons. || Yes || No
|-
| Flare || Gives the [[Flare Revolver]]. || Yes || No
|-
| Flares || Gives the [[Dual Flare Revolver]]. || Yes || No
|-
|-
| Fly || Allows the player to fly around the map. || Yes || Yes
| Fly || Allows the player to fly around the map. || Yes || Yes
Line 64: Line 99:
|-
|-
| Ghost || Allows the player to fly and pass through walls. || Yes || Yes
| Ghost || Allows the player to fly and pass through walls. || Yes || Yes
|-
| 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
|-
|-
| HugeGnome || Enlarges gnomes by 20 times their original size. || No || No
| HugeGnome || Enlarges gnomes by 20 times their original size. || No || No
|-
| IJC || Gives the IJC weapons. || Yes || No
|-
|-
| ImRich || Gives £10000. || Yes || No
| ImRich || Gives £10000. || Yes || No
Line 84: Line 111:
|-
|-
| KillViewedActor || N/A || Yes || Yes
| KillViewedActor || N/A || Yes || Yes
|-
| LaidLAW || Gives the [[LAW]]. || Yes || No
|-
|-
| ListDynamicActors || Outputs a list of dynamic [[actor]]s to the log. || Yes || Yes
| ListDynamicActors || Outputs a list of dynamic [[actor]]s to the log. || Yes || Yes
Line 94: Line 119:
|-
|-
| LogScriptedSequences || N/A || No || Yes
| LogScriptedSequences || N/A || No || Yes
|-
| Meds || Gives all [[Field Medic]] weapons. || Yes || No
|-
| MeleeMe || Gives all [[Berserker]] weapons. || Yes || No
|-
|-
| MopUp || Kills all [[KFMonster|specimens]]. || Yes || No
| MopUp || Kills all [[KFMonster|specimens]]. || Yes || No
|-
| Nails || Gives  [[Vlad The Impaler]]. || Yes || No
|-
|-
| PatRage || N/A || Yes || No
| PatRage || N/A || Yes || No
|-
|-
| Phil || N/A || Yes || Yes
| Phil || N/A || Yes || Yes
|-
| Pistols || Gives all pistols. || Yes || Yes
|-
|-
| PlayersOnly || Stops time for everything but the player. || Yes || Yes
| PlayersOnly || Stops time for everything but the player. || Yes || Yes
Line 114: Line 131:
|-
|-
| ReviewJumpSpots || N/A || Yes || Yes
| ReviewJumpSpots || N/A || Yes || Yes
|-
| RifleMe || Gives all rifles. || Yes || No
|-
| SMG || Gives all sub-machine guns. || Yes || No
|-
|-
| SetCameraDist ''F'' || In 3rd person view, sets camera distance from player. || Yes || Yes
| SetCameraDist ''F'' || In 3rd person view, sets camera distance from player. || Yes || Yes
Line 134: Line 147:
|-
|-
| SetSpeed || N/A || Yes || Yes
| SetSpeed || N/A || Yes || Yes
|-
| Shotty || Gives all [[Support Specialist]] weapons. || Yes || No
|-
|-
| SkipMatch || N/A || Yes || Yes
| SkipMatch || N/A || Yes || Yes
|-
|-
| SloMo ''Speed'' || Sets the game speed. || Yes || Yes
| SloMo ''Speed'' || Sets the game speed. Zed time overrides this when it occurs. || Yes || Yes
|-
| Sniper || Gives all [[Sharpshooter]] weapons. || Yes || No
|-
|-
| Summon ''Class'' || Spawns a specimen of the selected class where the player is pointing. || Yes || Yes
| Summon ''Class'' || Spawns a specimen of the selected class where the player is pointing. || Yes || Yes
Line 172: Line 181:
|-
|-
| ruler || N/A || Yes || Yes  
| ruler || N/A || Yes || Yes  
|}
== Console ==
These are defined in the ''Console'' and ''ExtendedConsole'' classes.
{| class="wikitable sortable" style="min-width:50%;text-align:left;"
! 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.
|}
|}


Line 201: Line 261:


{{KFNavBox}}
{{KFNavBox}}
{{KF1043}}

Revision as of 19:55, 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.

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
All information has been verified with update 1043