Useful Console Commands (Killing Floor 2): Difference between revisions
Delta-ranger (talk | contribs) |
Delta-ranger (talk | contribs) |
||
Line 142: | Line 142: | ||
|- | |- | ||
|9mm Pistol | |9mm Pistol | ||
| | |KFGameContent. | ||
KFGameContent. | |||
|- | |- | ||
|'''''DLC Weapons''''' | |'''''DLC Weapons''''' | ||
|- | |- | ||
|Zweihander | |Zweihander | ||
Line 164: | Line 164: | ||
|- | |- | ||
|HRG Buckshot | |HRG Buckshot | ||
| | |KFGameContent. | ||
|- | |- | ||
|HRG Healthrower | |HRG Healthrower | ||
| | |KFGameContent. | ||
|- | |- | ||
|HRG Nailgun | |HRG Nailgun | ||
| | |KFGameContent. | ||
|- | |- | ||
|'''''Beserker''''' | |'''''Beserker''''' | ||
Line 176: | Line 176: | ||
|- | |- | ||
|Crovel | |Crovel | ||
| | |KFGameContent. | ||
|- | |- | ||
|VLAD-1000 Nailgun | |VLAD-1000 Nailgun | ||
| | |KFGameContent. | ||
|- | |- | ||
|Katana | |Katana | ||
| | |KFGameContent. | ||
|- | |- | ||
|Fire Axe | |Fire Axe | ||
| | |KFGameContent. | ||
|- | |- | ||
|Hemoclobber | |Hemoclobber | ||
| | |KFGameContent. | ||
|- | |- | ||
|Pulverizer | |Pulverizer | ||
| | |KFGameContent. | ||
|- | |- | ||
|Eviscerator | |Eviscerator | ||
| | |KFGameContent. | ||
|- | |- | ||
|Static Strikers | |Static Strikers | ||
| | |KFGameContent. | ||
|- | |- | ||
|Bone Crusher | |Bone Crusher | ||
| | |KFGameContent. | ||
|- | |- | ||
|Battleaxe | |Battleaxe | ||
| | |KFGameContent. | ||
|- | |- | ||
|'''''Commando''''' | |'''''Commando''''' | ||
Line 209: | Line 209: | ||
|- | |- | ||
|AR-15 Varmint Rifle | |AR-15 Varmint Rifle | ||
| | |KFGameContent. | ||
|- | |- | ||
|L85A2 Bullpup | |L85A2 Bullpup | ||
| | |KFGameContent. | ||
|- | |- | ||
|AK-12 | |AK-12 | ||
| | |KFGameContent. | ||
|- | |- | ||
|Mkb.42 | |Mkb.42 | ||
| | |KFGameContent. | ||
|- | |- | ||
|SCAR-H | |SCAR-H | ||
| | |KFGameContent. | ||
|- | |- | ||
|Stoner 63A LMG | |Stoner 63A LMG | ||
| | |KFGameContent. | ||
|- | |- | ||
|'''''Support''''' | |'''''Support''''' | ||
Line 230: | Line 230: | ||
|- | |- | ||
|SG-500 Pump Action | |SG-500 Pump Action | ||
| | |KFGameContent. | ||
|- | |- | ||
|Double Barrel Shotgun | |Double Barrel Shotgun | ||
| | |KFGameContent. | ||
|- | |- | ||
|HZ12 Multi-Action | |HZ12 Multi-Action | ||
| | |KFGameContent. | ||
|- | |- | ||
|M4 Combat Shotgun | |M4 Combat Shotgun | ||
| | |KFGameContent. | ||
|- | |- | ||
|AA-12 Auto Shotgun | |AA-12 Auto Shotgun | ||
| | |KFGameContent. | ||
|- | |- | ||
|Doomstick | |Doomstick | ||
| | |KFGameContent. | ||
|- | |- | ||
|'''''Field Medic''''' | |'''''Field Medic''''' | ||
Line 251: | Line 251: | ||
|- | |- | ||
|HMTech-101 Pistol | |HMTech-101 Pistol | ||
| | |KFGameContent. | ||
|- | |- | ||
|HMTech-201 SMG | |HMTech-201 SMG | ||
| | |KFGameContent. | ||
|- | |- | ||
|HMTech-301 Shotgun | |HMTech-301 Shotgun | ||
| | |KFGameContent. | ||
|- | |- | ||
|HMTech-401 Assault Rifle | |HMTech-401 Assault Rifle | ||
| | |KFGameContent. | ||
|- | |- | ||
|HMTech-501 Grenade Rifle | |HMTech-501 Grenade Rifle | ||
| | |KFGameContent. | ||
|- | |- | ||
|Hemogoblin | |Hemogoblin | ||
| | |KFGameContent. | ||
|- | |- | ||
|'''''Demolitionist''''' | |'''''Demolitionist''''' | ||
Line 272: | Line 272: | ||
|- | |- | ||
|HX25 Grenade Pistol | |HX25 Grenade Pistol | ||
| | |KFGameContent. | ||
|- | |- | ||
|C4 Explosives | |C4 Explosives | ||
| | |KFGameContent. | ||
|- | |- | ||
|M79 Grenade Launcher | |M79 Grenade Launcher | ||
| | |KFGameContent. | ||
|- | |- | ||
|Seal Squeal | |Seal Squeal | ||
| | |KFGameContent. | ||
|- | |- | ||
|M16 M203 Assault Rifle | |M16 M203 Assault Rifle | ||
| | |KFGameContent. | ||
|- | |- | ||
|RPG-7 | |RPG-7 | ||
| | |KFGameContent. | ||
|- | |- | ||
|Seeker Six | |Seeker Six | ||
| | |KFGameContent. | ||
|- | |- | ||
|M32 Grenade Launcher | |M32 Grenade Launcher | ||
| | |KFGameContent. | ||
|- | |- | ||
|'''''Firebug''''' | |'''''Firebug''''' | ||
Line 299: | Line 299: | ||
|- | |- | ||
|Caulk n' Burn | |Caulk n' Burn | ||
| | |KFGameContent. | ||
|- | |- | ||
|Spitfire | |Spitfire | ||
| | |KFGameContent. | ||
|- | |- | ||
|Dragonsbreath | |Dragonsbreath | ||
| | |KFGameContent. | ||
|- | |- | ||
|Flamethrower | |Flamethrower | ||
| | |KFGameContent. | ||
|- | |- | ||
|Mac 10 | |Mac 10 | ||
| | |KFGameContent. | ||
|- | |- | ||
|Microwave Gun | |Microwave Gun | ||
| | |KFGameContent. | ||
|- | |- | ||
|Husk Cannon | |Husk Cannon | ||
| | |KFGameContent. | ||
|- | |- | ||
|Helios Rifle | |Helios Rifle | ||
| | |KFGameContent. | ||
|- | |- | ||
|'''''Gunslinger''''' | |'''''Gunslinger''''' | ||
Line 326: | Line 326: | ||
|- | |- | ||
|1858 Revolver | |1858 Revolver | ||
| | |KFGameContent. | ||
|- | |- | ||
|M1911 Pistol | |M1911 Pistol | ||
| | |KFGameContent. | ||
|- | |- | ||
|.50 Desert Eagle | |.50 Desert Eagle | ||
| | |KFGameContent. | ||
|- | |- | ||
|.500 Magnum Revolver | |.500 Magnum Revolver | ||
| | |KFGameContent. | ||
|- | |- | ||
|AF2011-A1 Pistol | |AF2011-A1 Pistol | ||
| | |KFGameContent. | ||
|- | |- | ||
|'''''Sharpshooter''''' | |'''''Sharpshooter''''' | ||
Line 344: | Line 344: | ||
|- | |- | ||
|Winchester 1894 Lever Action | |Winchester 1894 Lever Action | ||
| | |KFGameContent. | ||
|- | |- | ||
|SPX 464 Centerfire | |SPX 464 Centerfire | ||
| | |KFGameContent. | ||
|- | |- | ||
|Crossbow | |Crossbow | ||
| | |KFGameContent. | ||
|- | |- | ||
|M14 EBR | |M14 EBR | ||
| | |KFGameContent. | ||
|- | |- | ||
|Railgun | |Railgun | ||
| | |KFGameContent. | ||
|- | |- | ||
|FN FAL ACOG | |FN FAL ACOG | ||
| | |KFGameContent. | ||
|- | |- | ||
|M99 AMR | |M99 AMR | ||
| | |KFGameContent. | ||
|- | |- | ||
|'''''SWAT''''' | |'''''SWAT''''' | ||
Line 368: | Line 368: | ||
|- | |- | ||
|MP7 SMG | |MP7 SMG | ||
| | |KFGameContent. | ||
|- | |- | ||
|MP5RAS SMG | |MP5RAS SMG | ||
| | |KFGameContent. | ||
|- | |- | ||
|Tommy Gun/Thompson | |Tommy Gun/Thompson | ||
| | |KFGameContent. | ||
|- | |- | ||
|P90 SMG | |P90 SMG | ||
| | |KFGameContent. | ||
|- | |- | ||
|Kriss SMG | |Kriss SMG | ||
| | |KFGameContent. | ||
|- | |- | ||
|H&K UMP | |H&K UMP | ||
| | |KFGameContent. | ||
|- | |- | ||
|'''''Survivalist''''' | |'''''Survivalist''''' | ||
Line 389: | Line 389: | ||
|- | |- | ||
|Freezethrower | |Freezethrower | ||
| | |KFGameContent. | ||
|- | |- | ||
|Killerwatt | |Killerwatt | ||
| | |KFGameContent. | ||
|- | |- | ||
|'''''Other''''' | |'''''Other''''' | ||
Line 398: | Line 398: | ||
|- | |- | ||
|Healer Syringe | |Healer Syringe | ||
| | |KFGameContent. | ||
|- | |- | ||
|Welder | |Welder | ||
| | |KFGameContent. | ||
|- | |- | ||
|Han's MKb42 | |Han's MKb42 | ||
| | |KFGameContent. | ||
KFGameContent. | |||
|- | |- | ||
|Patriarch's Minigun | |Patriarch's Minigun | ||
| | |KFGameContent. | ||
KFGameContent. | |||
|- | |- | ||
|Gear | |Gear | ||
Line 419: | Line 421: | ||
|- | |- | ||
|Lawn Mower Blade | |Lawn Mower Blade | ||
| | |KFGameContent. | ||
|- | |- | ||
|KF-BAR | |KF-BAR | ||
| | |KFGameContent. | ||
|- | |- | ||
|Machete | |Machete | ||
| | |KFGameContent. | ||
|- | |- | ||
|Scalpel | |Scalpel | ||
| | |KFGameContent. | ||
|- | |- | ||
|Utility Knife | |Utility Knife | ||
| | |KFGameContent. | ||
|- | |- | ||
|Fireman's Knife | |Fireman's Knife | ||
| | |KFGameContent. | ||
|- | |- | ||
|Bowie Knife | |Bowie Knife | ||
| | |KFGameContent. | ||
|- | |- | ||
|Kukri | |Kukri | ||
| | |KFGameContent. | ||
|- | |- | ||
|Tactical Knife | |Tactical Knife | ||
| | |KFGameContent. | ||
|- | |- | ||
|Gore Shiv | |Gore Shiv | ||
| | |KFGameContent. | ||
|- | |- | ||
|'''''Grenades''''' | |'''''Grenades''''' | ||
Line 452: | Line 454: | ||
|- | |- | ||
|EMP Grenade | |EMP Grenade | ||
| | |KFGameContent. | ||
|- | |- | ||
|HE Grenade | |HE Grenade | ||
| | |KFGameContent. | ||
|- | |- | ||
|Frag Grenade | |Frag Grenade | ||
| | |KFGameContent. | ||
|- | |- | ||
|Medic Grenade | |Medic Grenade | ||
| | |KFGameContent. | ||
|- | |- | ||
|1/2 Stick of Dynamite | |1/2 Stick of Dynamite | ||
| | |KFGameContent. | ||
|- | |- | ||
|Molotov Cocktail | |Molotov Cocktail | ||
| | |KFGameContent. | ||
|- | |- | ||
|Nailbomb | |Nailbomb | ||
| | |KFGameContent. | ||
|- | |- | ||
|Freeze Grenade | |Freeze Grenade | ||
| | |KFGameContent. | ||
|- | |- | ||
|Flashbang | |Flashbang | ||
| | |KFGameContent. | ||
|} | |} | ||
Revision as of 04:38, 8 September 2019
These are console commands for PC version of Killing Floor 2.
Introduction
- While playing in game or within Play in Editor, press ~ to open the console window. F3 also pulls up a lightweight console.
- Console commands 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 Command as well accepts short names for gamemodes: "Survival", "Weekly", "Versus" or "Endless" and difficulty / game length specificators, e.g. Open KF-Farmhouse?Game=Endless?Difficulty=2?Gamelength=1 where Difficulty: 0 - Normal, 3 - HOE and Gamelength: 0 - short, 2 - long. |
Open <IP> | Will connect to the <IP> given
You can provide a password. eg: open 127.0.0.1?password=123 And you can also join as spectator. eg: open 127.0.0.1??spectatoronly=1 |
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 |
RestartLevel | Restarts the Level |
ToggleScreenshotMode | Toggles Weapons/Hands and HUD on and off. |
ToggleHUD | Toggles HUD |
Gameplay Commands
- All these commands require you to 'enablecheats' and will derank a play session.
- As a server owner, it requires you to add 'admin' prefix prior to each command. After login as an administrator. See admin commands.
- Unintended game behaviour might appear while executing these commands online, with other players on server. For testing purposes better try solo play.
- 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) |
HurtMe <AMOUNT> | Causes AMOUNT of the damage to player, e.g. HurtMe 20 |
HealMe <AMOUNT> | Heals player for AMOUNT of the health |
ArmorMe <AMOUNT> | Gives player AMOUNT of the armor |
Ghost | Allows basically no-clip mode |
Fly | No-clip with collision and interaction |
Walk | Allows you to disable Ghost/Fly and walk again |
ImRich | Gives loadsamone |
DoshMe <AMOUNT> | Gives you the amount of dosh given |
UberAmmo | Gives lots of ammo for all weapons/grenades |
Loaded | Gives you most of the weapons |
GiveWeapon <WeaponClass String> | Gives a specific weapon using class name & location
eg: giveweapon KFGameContent.KFWeap_Shotgun_DoubleBarrel |
UpgradeWeapon | Upgrades currently equipped weapon one level |
OpenTraderMenu | Open buy menu, anywhere, anytime |
DramaEvent <CHANCE> <LENGTH> | Chance to toggle Zed Time with colour grading.
eg: dramaevent 1 10 - will give 100% chance to trigger Zed Time for 10 seconds when entered. |
Slomo <SCALE> | Sets world speed. Also useful to test ZED Time skills - they all become active with
Slomo < 1 (e.g. Slomo 0.99) |
ChangeSize <SIZE> | Changes player size/scale. Default is 1. |
SetSpeed <SPEED> | Changes walk speed. Default is 1 |
SetJumpZ <HEIGHT> | Changes Jump Height. |
SetGravity <GRAVITY> | Changes Gravity. Default is -1150 (negative value).
This can easily crash a game or server, stay in reasonable numbers and don't go into positives. |
Weapon Class Names
Weapon | Class Name |
---|---|
Double Barrel Shotgun | KFGameContent.KFWeap_Shotgun_DoubleBarrel |
9mm Pistol | KFGameContent.
KFGameContent. |
DLC Weapons | |
Zweihander | KFGameContent.KFWeap_Edged_Zweihander |
Road Redeemer | KFGameContent.KFWeap_Blunt_ChainBat |
Ion Thruster | KFGameContent.KFWeap_Edged_IonThruster |
Rhino | KFGameContent.KFWeap_Pistol_ChiappaRhino
KFGameContent.KFWeap_Pistol_ChiappaRhinoDual |
Horzine Research Group Weapons | |
HRG Buckshot | KFGameContent. |
HRG Healthrower | KFGameContent. |
HRG Nailgun | KFGameContent. |
Beserker | |
Crovel | KFGameContent. |
VLAD-1000 Nailgun | KFGameContent. |
Katana | KFGameContent. |
Fire Axe | KFGameContent. |
Hemoclobber | KFGameContent. |
Pulverizer | KFGameContent. |
Eviscerator | KFGameContent. |
Static Strikers | KFGameContent. |
Bone Crusher | KFGameContent. |
Battleaxe | KFGameContent. |
Commando | |
AR-15 Varmint Rifle | KFGameContent. |
L85A2 Bullpup | KFGameContent. |
AK-12 | KFGameContent. |
Mkb.42 | KFGameContent. |
SCAR-H | KFGameContent. |
Stoner 63A LMG | KFGameContent. |
Support | |
SG-500 Pump Action | KFGameContent. |
Double Barrel Shotgun | KFGameContent. |
HZ12 Multi-Action | KFGameContent. |
M4 Combat Shotgun | KFGameContent. |
AA-12 Auto Shotgun | KFGameContent. |
Doomstick | KFGameContent. |
Field Medic | |
HMTech-101 Pistol | KFGameContent. |
HMTech-201 SMG | KFGameContent. |
HMTech-301 Shotgun | KFGameContent. |
HMTech-401 Assault Rifle | KFGameContent. |
HMTech-501 Grenade Rifle | KFGameContent. |
Hemogoblin | KFGameContent. |
Demolitionist | |
HX25 Grenade Pistol | KFGameContent. |
C4 Explosives | KFGameContent. |
M79 Grenade Launcher | KFGameContent. |
Seal Squeal | KFGameContent. |
M16 M203 Assault Rifle | KFGameContent. |
RPG-7 | KFGameContent. |
Seeker Six | KFGameContent. |
M32 Grenade Launcher | KFGameContent. |
Firebug | |
Caulk n' Burn | KFGameContent. |
Spitfire | KFGameContent. |
Dragonsbreath | KFGameContent. |
Flamethrower | KFGameContent. |
Mac 10 | KFGameContent. |
Microwave Gun | KFGameContent. |
Husk Cannon | KFGameContent. |
Helios Rifle | KFGameContent. |
Gunslinger | |
1858 Revolver | KFGameContent. |
M1911 Pistol | KFGameContent. |
.50 Desert Eagle | KFGameContent. |
.500 Magnum Revolver | KFGameContent. |
AF2011-A1 Pistol | KFGameContent. |
Sharpshooter | |
Winchester 1894 Lever Action | KFGameContent. |
SPX 464 Centerfire | KFGameContent. |
Crossbow | KFGameContent. |
M14 EBR | KFGameContent. |
Railgun | KFGameContent. |
FN FAL ACOG | KFGameContent. |
M99 AMR | KFGameContent. |
SWAT | |
MP7 SMG | KFGameContent. |
MP5RAS SMG | KFGameContent. |
Tommy Gun/Thompson | KFGameContent. |
P90 SMG | KFGameContent. |
Kriss SMG | KFGameContent. |
H&K UMP | KFGameContent. |
Survivalist | |
Freezethrower | KFGameContent. |
Killerwatt | KFGameContent. |
Other | |
Healer Syringe | KFGameContent. |
Welder | KFGameContent. |
Han's MKb42 | KFGameContent.
KFGameContent. |
Patriarch's Minigun | KFGameContent.
KFGameContent. |
Gear | KFGameContent.KFCarryable_Gear |
Datapad | KFGameContent.KFCarryable_Datapad |
Knives | |
Lawn Mower Blade | KFGameContent. |
KF-BAR | KFGameContent. |
Machete | KFGameContent. |
Scalpel | KFGameContent. |
Utility Knife | KFGameContent. |
Fireman's Knife | KFGameContent. |
Bowie Knife | KFGameContent. |
Kukri | KFGameContent. |
Tactical Knife | KFGameContent. |
Gore Shiv | KFGameContent. |
Grenades | |
EMP Grenade | KFGameContent. |
HE Grenade | KFGameContent. |
Frag Grenade | KFGameContent. |
Medic Grenade | KFGameContent. |
1/2 Stick of Dynamite | KFGameContent. |
Molotov Cocktail | KFGameContent. |
Nailbomb | KFGameContent. |
Freeze Grenade | KFGameContent. |
Flashbang | KFGameContent. |
Spawning and AI Commands
- All commands require enablecheats
Command | Function |
---|---|
SpawnHumanPawn <ISENEMY> <GODMODE> <INDEX> | Spawns braindead dummy player. Does not have AI, attracts ZEDs, takes damage from ZED and player's attacks unless GOD mode set ON: SpawnHumanPawn 0 1 0. |
KillBots | Kills all entries of SpawnHumanPawn |
SpawnZed ZedName[String] | Will Spawn Braindead Zed of type given: eg: spawnzed sc |
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 |
KillZeds | Kill all ZEDs on the map - AI and dummies. |
PlayersOnly | Pauses game, but allows players to move around.
Pressing F4 also works. |
SpawnZEDV <ZEDNAME> <SHOULDPOSSES?> | Requires Versus game to be loaded first, e.g.
open KF-BurningParis?Game=Versus Spawns braindead Versus ZED. Add 1 to specify if player should take control over this ZED: SpawnZEDV Siren 1 |
Zed Codes
ZedName Code | Zed | ZedName Code | Zed |
---|---|---|---|
ClotA | Alpha Clot | Hans | Hans |
ClotS | Slasher | Pat | Patriarch |
ClotC | Cyst | KingFP | King Fleshpound |
EAlp | Rioter | MiniFP | Quarterpound |
B | Bloat | KingB | Abomination |
G | Gorefast | Poop | Abomination Spawn |
GF2 | Gorefiend | ||
Cr | Crawler | emp | EDAR Trapper |
ECra | Elite Crawler | laser | EDAR Blaster |
St | Stalker | rock | EDAR Bomber |
Hu | Husk | ||
Si | Siren | ||
Sc | Scrake | FHans | Friendly Hans |
FP | Fleshpound | FHusk | Friendly Husk |
Admin Commands
- The use of gameplay commands (god, ghost, slomo, etc) require you to prefix commands with 'admin' after logging in and enabling cheats.
- eg: admin god, admin slomo 0.5 or admin setfriendlyfirescale 0.25
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 |
---|---|
ToggleSpawning [1] | Allows you to test the game in PiE. Zed replacement optional is non-functional.
Toggling also allows you to skip waves. Testing for Holdout maps requires you to enter trader first before Toggle-Skipping |
EndCurrentWave [1] | Will complete the current wave and move to trader |
SetWave <WaveNumber> [1] | Sets the wave to the specified number |
Chris | Gives God, Loaded, UberAmmo, ToggleSpawning |
ToggleSplatterGun | Toggles the ability to spray splats on the map. Make sure to disable before exiting SDK. |
ClearSplatters | Clears all splats off the map |
ClearCorpses | Clears all corpses off the map |
DisableAllScreenMessages | Turns off errors in PiE |
HideTraderPath | Turns off Trader Path |
ShowTraderPath | Turns on Trader Path |
TestPortalNearby <ZedName> <NumSpawns> | Forces a spawn from the closest portal spawn |
TestPortalAll <ZedName> | Forces a spawn from all portals |
TestPortalActive <ZedName> | Forces a spawn for active portals |
TestSpawnVolume <SpawnAmount> | Forces the closest spawn volume to spawn Active Zeds |
SetSpawnVolumeDebug <bSpawnDebug> <bDebugRating> <bDebugVisibility> | Enables SpawnVolume debug values.
eg: just use - setspawnvolumedebug true true true |
SpawnTest <SpawnAmount> <bSimSpawn> <bSpawnZeds> | Well do a test Spawn based on current user position and volume values. Use in conjuntion with the above command
eg: spawntest 4 true false - will test the spawns but not spawn anything |
ShowPrecomputedVisibility | Will show the Precomputed Visibility cells if PCV have been built |
ToggleOcclusion | Toggles the Dynamic Occlusion System |
TogglePrecomputedVisibility | Toggles Precomputed Visibility |
[1] Only available in SDK/Editor
Debug Commands
Command | Function |
---|---|
Stat FPS | Displays FPS and frame render time |
ShowLog | Shows Debug Log |
BugIt <DESCRIPTION> | Creates a screenshot with accompanying .txt file with comment, map location and build.
Located at: Documents > My Games > KillingFloor2 > KFGame > Screenshots |
GetAll <ClassName> <PropertyName> | Prints out property value of all instances of specified class in console. E.g.
GetAll KFPawn_ZedScrake Health will print out health of all Scrakes on the map in console. Can only print out global variables and variables that are replicated from server to clients. |
DisplayAll <ClassName> <PropertyName> | Same as GetAll but processes data and displays it on screen in real time.
Warning - resource intensive procedure. Does not work online. |
DisplayClear | Clears all DisplayAll entries. |
Show COLLISION | Toggles collision rendering. Useful to examine map / object bounds. Offline only. |
Show VOLUMES | Toggle Volumes. |
Show SPAWNVOLUMES | Toggle ZED spawn points rendering. Offline only. |
Show HITZONES | Toggle ZED's hitzones. Offline only. |
ShowDebug Weapon | Useful onscreen weapon data including animation timers for reloading or melee. |
NoSpread or GoSpread | Turns random bullet spread of current weapon OFF or ON. |
NoRecoil or GoRecoil | Turns recoil of current weapon OFF or ON. |
SetNadeRadiusDebug 1 | Draws radius of the current explosion in the world. 3 spheres shown each time:
Yellow - maximum radius of the explosion Red - Clot kill radius (radius where it does 100+ damage) Orage - half falloff radius (radius where it does 50% or more of its initial damage). Command does NOT imply perk bonuses (rather works with explosion's default values). |
TestNukeGrenade | Throws a grenade that will create a Nuke |
Input Commands
Command | Function |
---|---|
SetBind <Key> <Command> | Binds command to a key. E.g. SetBind "K" "TossMoney"
Common commands: Jump, StartCrouch, StopCrouch, ToggleCrouch, IronSights, IronSightsRelease, ToggleFlashlight, SelectNextWeapon, SelectPrevWeapon, SelectLastWeapon, SwitchWeaponGroup [1-4], QuickEmote, QuickHeal, TossMoney, Interact, StartVoiceChat, StopVoiceChat |
Executing multiple commands with "|" | Allows to execute multiple commands in one go E.g.
SetBind K "TossMoney | TossMoney | TossMoney" will allow user to toss 150 Dosh (3 times 50) |
OnRelease event | Allows to execute additional command on button release. E.g.
SetBind H "slomo 25 | OnRelease slomo 1". For the duration of H button hold world time will speed up by 25 times, but on release it will return back to normal speed. |
|