Deadlock Console Commands

Useful console commands

Find a command

Search by command name, argument type, default value, or what the command does. Commands that require cheats will not work in standard multiplayer matches.

CommandValuesDefaultDescription
Commandbot_kick_all
ValuesNone
Default-
DescriptionKicks all bots from the game.
Commandchangelevel
Values
  • See the map command.
Default-
DescriptionLoads a new map. When used in a multiplayer lobby, players will remain connected while the map changes.
Commandchangeteam
Values
  • 0: Select a team and hero.
  • 1: Join spectators.
  • 2: Join The Hidden King and select a hero.
  • 3: Join The Archmother and select a hero.
Default-
DescriptionAllows changing your team and hero.
Commandcitadel_allow_purchasing_anywhere
Values
  • true/false
Default-
DescriptionEnables purchasing anywhere on the map, not just at shops. Requires cheats.
Commandcitadel_enable_fast_cooldowns
ValuesNone
Default-
DescriptionEnables fast cooldowns, causing all abilities to have a 2 second cooldown. Requires cheats.
Commandcitadel_disable_fast_cooldowns
ValuesNone
Default-
DescriptionDisables fast cooldowns. Requires cheats.
Commandcitadel_enable_fast_stamina
ValuesNone
Default-
DescriptionEnables fast stamina, causing stamina to regen very fast. Requires cheats.
Commandcitadel_disable_fast_stamina
ValuesNone
Default-
DescriptionDisables fast stamina. Requires cheats.
Commandcitadel_dps_multiplier
Values
  • number
Default1.0
DescriptionAdds a multiplier to player damage output. Affects all damage including weapon and ability damage. Requires cheats.
Commandcitadel_enable_no_hero_death
ValuesNone
Default-
DescriptionEnables invincibility (your health will never go below 1). Requires cheats.
Commandcitadel_disable_no_hero_death
ValuesNone
Default-
DescriptionDisables invincibility. Requires cheats.
Commandcitadel_display_new_player_recommendations
Values
  • true/false
Defaulttrue
DescriptionTurns the "Great for New Players" banner on/off when selecting a hero.
Commandcitadel_hero_testing_enabled
Values
  • true/false
Defaultfalse
DescriptionEnables the "Testing Tools" menu from the Hero Sandbox. Enabling the menu does not require cheats, but using any of this menu's functionality will.
Commandcitadel_hero_testing_infinite_money
Values
  • true/false
Defaultfalse
DescriptionGives players infinite souls and ability points.
Commandcitadel_hud_visible
Values
  • true/false
Defaulttrue
DescriptionShows/hides the HUD.
Commandcitadel_pause
ValuesNone
Default-
DescriptionPause the match.
Commandcitadel_player_move_speed_scale
Values
  • number
Default1.0
DescriptionScales movement speed causing players to move faster or slower. Requires cheats.
Commandcitadel_pregame_duration
Values
  • number
Default10.0
DescriptionChanges the duration of the pregame (countdown before the game starts).
Commandcitadel_region_override
Values
  • -1: Auto
  • 0: North America
  • 1: Europe
  • 2: Asia
  • 3: South America
  • 4: Europe (not sure if this is different from 1)
  • 5: Oceania
Default-1
DescriptionOverrides your matchmaking region. (Currently does not work)
Commandcitadel_show_bullet_lag_compensation
Values
  • number
Default0
DescriptionHow long to show bullet hitboxes. Green hitbox is client, red hitbox is server.
Commandcitadel_solo_bot_match
Values
  • true/false
Defaultfalse
DescriptionGets enabled by bot match configs. When disabled, bots don't move. This also enables the pregame countdown. Not sure what else it does.
Commandcitadel_create_unit
Values
  • Hero name from dump_hero_names
Default-
DescriptionSpawns an allied dummy bot in front of the player. Requires cheats
Commandcitadel_spawn_nearby_neutrals
ValuesNone
Default-
DescriptionRespawns nearby neutral camps. Requires cheats.
Commandcitadel_spawn_practice_bots
Values
  • true/false
Defaultfalse
DescriptionEnable to spawn bots when the game starts. You can also set this to true during a game (although setting it to false, kicking bots, and setting it to true again will not respawn bots).
Commandcitadel_spawn_practice_bots_count
Values
  • number
Default-
DescriptionSets how many practice bots to spawn when citadel_spawn_practice_bots is true.
Commandcitadel_test_survey_popup
ValuesNone
Default-
DescriptionShows the post-match survey popup asking players to rate the match.
Commandcitadel_unit_status_use_new
Values
  • true/false
Default-
DescriptionEnables experimental health bars.
Commandcitadel_unlock_flex_slots
ValuesNone
Default-
DescriptionUnlocks all flex slots. Requires cheats.
Commandcitadel_unpause_countdown
Values
  • number
Default3
DescriptionChanges how many seconds the countdown lasts when the game is unpaused. Requires cheats.
Commandcitadel_weapon_damage_multiplier
Values
  • number
Default1.0
DescriptionAdds a multiplier to weapon damage output. It does not affect ability damage. Requires cheats.
Commanddeadlock_early_development_warning_disabled
Values
  • true/false
Defaultfalse
DescriptionDisables the Early Development Build popup when the game starts. This gets set to true if you close the popup after checking "Don't show this again".
Commanddeadlock_get_old_builds
ValuesNone
Default-
DescriptionDownloads and prints out all of the build data for your account prior to the new builds feature. Added in Update:August 6, 2024.
Commanddeadlock_post_match_survey_disabled
Values
  • true/false
Defaultfalse
DescriptionDisables the post-match survey. This gets set to true if you submit or skip a survey after checking "Don't show this again".
Commanddisconnect
ValuesNone
Default-
DescriptionDisconnect from the current match.
Commanddump_hero_names
ValuesNone
Default-
DescriptionLists the internal names of all available heros. Requires cheats.
Commandhealthpct
Values
  • 0 - 100
Default-
DescriptionSets your health to the given percentage of your max health. Requires cheats.
Commandhud_damagemeter
Values
  • true/false
Defaultfalse
DescriptionDisplays your current DPS next to your crosshair. Requires cheats.
Commandhurtme
ValuesNone
Default-
DescriptionDeals 10 damage to yourself. Requires cheats.
Commandkill
Values
  • The name of an NPC or player to kill
Default-
DescriptionKills the target.
Commandkillme
ValuesNone
Default-
DescriptionKills you.
Commandkingme
ValuesNone
Default-
DescriptionGives you 1.2 million souls and levels up all your abilities. Requires cheats.
Commandmap
Values
  • dl_midtown: The main multiplayer map
  • dl_streets: 4 lanes map
  • street_test: Old version of 4 lanes map (before Update:September 26, 2024)
  • new_player_basics: The Hero Sandbox map
  • 1v1_test: Seems like an early, smaller version of street_test
  • hero_testing: Seems like an early Hero Sandbox
Default-
DescriptionStarts a game and loads into the chosen map. When used in a multiplayer lobby, this command will kick everyone from the server. Use changelevel to switch maps without kicking everyone.
Commandcitadel_minimap_unit_click_radius
ValuesNone
Default-
DescriptionMinimap ping radius
Commandcitadel_minimap_max_icon_shrink
Values
  • 1
Default-
DescriptionRange of icons shrinking when grouped (e.g. player icons)
Commandcitadel_minimap_player_width
ValuesNone
Default-
DescriptionDefault minimap player icon sizes
Commandcitadel_minimap_overlap_scan_distance
ValuesNone
Default-
DescriptionHow close icons have to be to shrink (see citadel_minimap_max_icon_shrink)
Commandminimap_update_rate_hz
Values
  • 5
Default-
DescriptionFrequency of minimap updates
Commandcitadel_minimap_zip_line_thickness
Values
  • 5
Default-
DescriptionThickness of ziplines on minimap
Commandselecthero
Values
  • Hero name from dump_hero_names
Default-
DescriptionRequires you to be on the hero selection screen, or to have citadel_hero_testing_enabled set to true.
Commandtrooper_kill_all
ValuesNone
Default-
DescriptionKills all non-neutral creeps and guardians that aren't shielded. Requires cheats.
Commandtrooper_kill_non_bosses
ValuesNone
Default-
DescriptionKills all non-neutral creeps. Requires cheats.

Getting started

Using console commands

Enable Dev command console in the Deadlock settings, press F7, and enter a command. Cheat-requiring commands are intended for Sandbox, Hideout, Explore NYC, or custom lobbies withsv_cheats true enabled.

Auto execute on startup

  1. In <installation path>\steamapps\common\Deadlock\game\citadel\cfg, create a text file namedautoexec.cfg.
  2. Put one console command on each line and save the file.
  3. Open Deadlock's Steam properties and add -console -exec autoexec to Launch Options.

Hosting custom games

  1. Load the map with map dl_midtown. Press P to pause while other players join.
  2. Run status and find the green line containing your Steam ID in the form[A:1:XXXXXXXXXX:XXXXX].
  3. Send that ID to the other players so they can run connect [A:1:XXXXXXXXXX:XXXXX].
  4. Players can select their team and hero, or run changeteam 0 to open that menu again.
  5. Restart the game without kicking everyone by running changelevel dl_midtown.

Adding bots

  1. Before starting the game, run exec citadel_botmatch_practice_6v6.
  2. Run citadel_spawn_practice_bots false so bots do not spawn immediately.
  3. Run citadel_spawn_practice_bots_count 12 to fill the remaining player slots.
  4. Start the game, for example with map street_test, and press P during pregame.
  5. Have human players join teams and select heroes. The changeteam command can help if the menu is glitchy.
  6. Run citadel_spawn_practice_bots true, then press P to unpause and fill the remaining slots.