Useful Console Commands (Killing Floor 2): Difference between revisions

From Killing Floor 2 Wiki
Jump to navigation Jump to search
(Basic Layout)
 
No edit summary
Line 1: Line 1:
==Introduction==
==Introduction==
*While playing in game or within Play in Editor, press ~ to open the console window.  
 
*Cheats are not case-sensitive.  
*While playing in game or within Play in Editor, press ~ to open the console window.
== Core Commands ==
*Cheats are not case-sensitive.
 
==Core Commands==
{| class="wikitable" style="width:70%;"
{| class="wikitable" style="width:70%;"
|-
|-
! scope="col" | Command
! scope="col" |Command
! scope="col" | Function
! scope="col" |Function
|-
|-
|Open <Map Name>
|Open <Map Name>
Line 26: Line 28:
|}
|}


== Gameplay Commands ==
==Gameplay Commands==
 
*all these commands require you to 'enablecheats' and will derank a play session.
*all these commands require you to 'enablecheats' and will derank a play session.
*to go into 3rd person once enablecheats are on press 3 on the number pad (1 is 1st person).
*to go into 3rd person once enablecheats are on press 3 on the number pad (1 is 1st person).
{| class="wikitable" style="width:70%;"
{| class="wikitable" style="width:70%;"
|-
|-
! scope="col" | Command
! scope="col" |Command
! scope="col" | Function
! scope="col" |Function
|-
|-
|EnableCheats
|EnableCheats
Line 62: Line 66:
|}
|}


== Spawning Commands ==
==Spawning Commands==
 
*All commands require enablecheats
*All commands require enablecheats
{| class="wikitable" style="width:70%;"
{| class="wikitable" style="width:70%;"
|-
|-
! scope="col" | Command
! scope="col" |Command
! scope="col" | Function
! scope="col" |Function
|-
|-
|SpawnZed ZedName[String]
|SpawnZed ZedName[String]
Line 85: Line 91:
{| class="wikitable" style="width:70%;"
{| class="wikitable" style="width:70%;"
|-
|-
! scope="col" | ZedName Code
! scope="col" |ZedName Code
! scope="col" | Zed
! scope="col" |Zed
!ZedName Code
!Zed
|-  
|-  
| ClotA  
|ClotA
| Alpha Clot
|Alpha Clot
|Hans
|Hans
|-  
|-  
| ClotS  
|ClotS
| Slasher
|Slasher
|Pat
|Patriarch
|-  
|-  
| ClotC
|ClotC
| Cyst
|Cyst
|}
|KingFP
 
|King Fleshpound
 
|-
 
|EAlp
|SpawnAI ZedName[String]
|Rioter
|Will spawn Zed with AI
|KingB
|Abomination
|-
|B
|Bloat
|MiniFP
|Quarterpound
|-
|G
|Gorefast
|Poop
|Abomination Spawn
|-
|GF2
|Gorefiend
|
|
|-
|Cr
|Crawler
|emp
|EDAR Trapper
|-
|ECra
|Elite Crawler
|laser
|EDAR Blaster
|-
|St
|Stalker
|rocket
|EDAR Bomber
|-
|Hu
|Husk
|
|
|-
|Si
|Siren
|
|
|-
|-
|SpawnZedGroup ZedName[String] NumRows[Int] NumCols[Int] Spacing[Float]
|Sc
|Spawns Braindead Zeds in given rows and columns
|Scrake
|FHans
|Friendly Hans
|-
|-
|SpawnZedAIGroup ZedName[String] NumRows[Int] NumCols[Int] Spacing[Float]
|FP
|Spawns Zeds with AI in given rows and columns
|Fleshpound
|FHusk
|Friendly Husk
|}
|}
==Admin Commands==


== Admin Commands ==
*
*
{| class="wikitable" style="width:70%;"
{| class="wikitable" style="width:70%;"
|-
|-
! scope="col" | Command
! scope="col" |Command
! scope="col" | Function
! scope="col" |Function
|-
|-
|AdminLogin [PASSWORD]
|AdminLogin [PASSWORD]
Line 130: Line 188:
|}
|}


== Useful SDK Commands ==
==Useful SDK Commands==
{| class="wikitable" style="width:70%;"
{| class="wikitable" style="width:70%;"
|-
|-
! scope="col" | Command
! scope="col" |Command
! scope="col" | Function
! scope="col" |Function
|-
|-
|ToggleSplatterGun
|ToggleSplatterGun

Revision as of 06:30, 24 October 2018

Introduction

  • While playing in game or within Play in Editor, press ~ to open the console window.
  • Cheats are not case-sensitive.

Core Commands

Command Function
Open <Map Name> Will load the map given. Eg: open kf-burningparis

You can also load gamemodes and mutators at the end of the command eg: kf-burningparis?Game=KFGameContent.KFGameinfo_Survival

Open <IP> Will connect to the <IP> given

You can also provide a password. eg: open 127.0.0.1?password=123

Disconnect Leaves the current session (good if you are stuck on a screen)
Reconnect Rejoins the current session you are in
Suicide Causes your player to die

Gameplay Commands

  • all these commands require you to 'enablecheats' and will derank a play session.
  • to go into 3rd person once enablecheats are on press 3 on the number pad (1 is 1st person).
Command Function
EnableCheats Will open up the majority of commands for you to use
God Toggles God Mode
Demigod Toggles Demi-God Mode (will take damage but not die)
Ghost Allows basically no-clip mode
Fly No-clip with collision and interaction
Walk Allows you to disable Ghost/Fly and walk again
DoshMe Amount[Int] Gives you the amount of dosh given
UberAmmo Gives lots of ammo for all weapons/grenades
Loaded Gives you most of the weapons

Spawning Commands

  • All commands require enablecheats
Command Function
SpawnZed ZedName[String] Will Spawn Braindead Zed of type given: eg: spawnzed scrake
SpawnAI ZedName[String] Will spawn Zed with AI
SpawnZedGroup ZedName[String] NumRows[Int] NumCols[Int] Spacing[Float] Spawns Braindead Zeds in given rows and columns
SpawnZedAIGroup ZedName[String] NumRows[Int] NumCols[Int] Spacing[Float] Spawns Zeds with AI in given rows and columns

Zed Codes

ZedName Code Zed ZedName Code Zed
ClotA Alpha Clot Hans Hans
ClotS Slasher Pat Patriarch
ClotC Cyst KingFP King Fleshpound
EAlp Rioter KingB Abomination
B Bloat MiniFP Quarterpound
G Gorefast Poop Abomination Spawn
GF2 Gorefiend
Cr Crawler emp EDAR Trapper
ECra Elite Crawler laser EDAR Blaster
St Stalker rocket EDAR Bomber
Hu Husk
Si Siren
Sc Scrake FHans Friendly Hans
FP Fleshpound FHusk Friendly Husk

Admin Commands

Command Function
AdminLogin [PASSWORD] Login as admin
AdminLogout Logout as admin
Pause Will pause the game instance
SetFriendlyFireScale FFScale[Float] Sets friendly fire scale for the server. Will keep server ranked.

Useful SDK Commands

Command Function
ToggleSplatterGun Toggles the ability to spray splats on the map. Make sure to disable before exiting SDK.
ClearSplatters Clears all splats off the map
ClearSplatters Clears all corpses off the map