Deadlock

Deadlock

30 ratings
Useful Deadlock commands
By LiL Iroh 女
Useful console commands in deadlock for practice and having fun with friends etc.
3
   
Award
Favorite
Favorited
Unfavorite
Basic information
How to open console
You can open the console by using F7 by default

How to set up a config file for commands on startup
You can also set up a config file if you have any commands you would like to run automatically on startup, Eg. putting “citadel_unit_status_use_new true” in your config file (without the " ") will make sure you always have the new health bars enabled.
  1. In Steam, right click Deadlock and choose properties. In General > Launch Options, add -exec autoexec
  2. In Steam, right click Deadlock and choose Manage > Browse Local Files. Navigate to game > citadel > cfg. Create a new file called autoexec.cfg.
  3. Copy paste the commands you wish to run at startup into that config file.

Bonus
Link to a list of all deadlock commands [deadlocked.wiki] very usefull for finding commands you can't find online, Tip use Ctrl+F and type in a keyword of what you want the command to do.
Practice Commands
Empty map with useful cheats enabled:
"map dl_streets"
Once you're in the map
"citadel_crate_respawn_interval 0; sv_cheats 1; sv_allchat 1; sv_alltalk 1; citadel_allow_duplicate_heroes 1; host_timescale 1; citadel_coop_sandbox 1; citadel_hero_testing_enabled 1; sv_cheats 1; citadel_hero_testing_infinite_money true; citadel_allow_purchasing_anywhere true; ai_step; kingme; toggle hud_damagemeter 1"

Orb Spawner:
"ent_create citadel_herotest_orbspawner"
possible bind
"bind 10 ent_create citadel_herotest_orbspawner"

Pause and Unpause Troopers:
"ai_step" & "ai_resume"
Generally useful commands - No sv_cheats enabled
The following commands do not require you to enable cheats and can thus be used in public games and ranked.

  • mm_prefer_solo_only — If you prefer playing with other solo queue players
  • citadel_unit_status_use_new true — new health bar
  • deadlock_post_match_survey_disabled true — Disables the post-match survey. This gets set to true if you submit or skip a survey after checking “Don’t show this again”.
  • bind key command — to attach a command or input value to a key (replace key and command)
  • unbind key — to unbind the action from a key (replace key)
  • citadel_hud_visible — to show or hide the HUD
Generally Useful Commands - sv_cheats true
All of these require entering sv_cheats true first
  • citadel_hero_testing_enabled true — Enables the “Testing Tools” menu from the Hero Sandbox. Enabling the menu does not require cheats, but using any of this menu’s functionality will.
  • noclip — allows you to fly around the map and trough walls
  • citadel_allow_purchasing_anywhere — allows the purchase of items anywhere on the map
  • toggle hud_damagemeter 1 — show damage per second
  • cl_showpos 1 — Shows hero position and velocity
  • kill — die immediately
  • trooper_kill_all — kill all troopers
  • kingme — Gives you 1.2 million souls and levels up all your abilities.
  • citadel_hero_testing_infinite_money true — Gives players infinite souls and ability points.
  • trooper_kill_all — Kills all non-neutral creeps and guardians that aren’t shielded.
  • dump_hero_names — shows a list of all the Heroes in the game including unreleased heroes
  • selecthero hero_name — change hero to whatever hero name you write down, can be used to play unreleased hero's
  • getpos — get your current coordinates (Useful for taking screenshots in the same exact position for comparisons combined with setpos and citadel_hud_visible false/true)
  • setpos — move to the mentioned coordinates
  • explode — die immediately
  • hurtme — deal 10 damage to self
  • ent_create citadel_item_pickup — spawn soul urn.
  • ent_create citadel_item_pickup_rejuv — spawn rejuv
  • npc_create neutral_trooper_weak — Jungle Camp T1
  • npc_create neutral_trooper_strong — Jungle Camp T2
  • npc_create neutral_trooper_normal — Jungle Camp T3
Playing unreleased hero's
  • dump_hero_names — shows a list of all the Heroes in the game including unreleased heroes
  • selecthero hero_name — change hero to whatever hero name you write down, can be used to play unreleased hero's
Hosting Custom Games
[OUTDATED] but you might still get something out of it / figure our how to get it to work, I'm currently quite busy :(
[DISCLAMER] This section has been shamlessly stolen from https://deadlocked.wiki/Console_commands
  • The host starts a custom game by loading into the map with map street_test
  • You may want to pause the game immediately after joining by pressing P to give other players time to join the match.
  • The host finds their ID by running status
  • Find a green line in the console that looks like this: [Client] steamid : [A:1:XXXXXXXXXX:XXXXX] (XXXXXXXXXXXXXXXXX) (the Xs will be replace with numbers)
  • Select the part after steamid that looks like this, including the square brackets: [A:1:XXXXXXXXXX:XXXXX]
  • Right click and choose "Copy Selected Text"
  • The host sends players the ID they just copied. Players can now connect to the game by opening their console and running connect [A:1:XXXXXXXXXX:XXXXX] (replace the part after connect with the ID they got from the host).
  • Upon joining, players will be able to select their team and hero. To bring up this menu again, players can run changeteam 0.
  • If you ever want to restart the game, the host can run changelevel street_test.
Adding Bots
  • On the main menu, before you start the game, run exec citadel_botmatch_practice_6v6_hard to load the bot config.
  • You can replace hard with easy or medium to choose the bot difficulty.
  • If you're already in a game, you can perform these steps then run changelevel street_test to restart the game instead of starting a new one.
  • Run citadel_spawn_practice_bots false so that bots won't spawn immediately when the game starts.
  • Run citadel_spawn_practice_bots_count 12 to ensure that bots fill all remaining slots (they'll be added until both teams have 6 players).
  • Start the game (i.e. map street_test) and press P to pause the game during the pregame (as soon as you load in).
  • You can use citadel_pregame_duration before starting the game to increase the duration of the pregame if you want.
  • Allow all other human players to connect and select their team and hero.
  • The team/hero menu can be a bit glitchy. Players can use the changeteam command instead (see table above for command description).
  • Remember to choose your (the host's) own team and hero as well. This may automatically unpause the game - press P after selecting a team to pause again.
  • After all human players have joined teams and selected heroes, the host runs citadel_spawn_practice_bots true, then presses P again to unpause the game. Bots should fill the remaining slots on each team.
If this guide helped you please consider leaving a like :)
3 Comments
Big doge 30 Jan @ 10:45am 
/フフ       :steamhappy:ム`ヽ
/ ノ)         ) ヽ
/ |  ( ͡° ͜ʖ ͡°)ノ⌒(
/ ノ⌒7⌒ヽーく  \ /
丶_ ノ 。   ノ、 。|/
   `ヽ `ー-'_人`ーノ
    丶  ̄ _人'彡ノ Как получить инвайт в Deadlock? Если хочешь получить инвайт в Deadlock - заходи ко мне в руководства:steamhappy:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3405637483
Big doge 30 Jan @ 10:45am 
/フフ       :steamhappy:ム`ヽ
/ ノ)         ) ヽ
/ |  ( ͡° ͜ʖ ͡°)ノ⌒(
/ ノ⌒7⌒ヽーく  \ /
丶_ ノ 。   ノ、 。|/
   `ヽ `ー-'_人`ーノ
    丶  ̄ _人'彡ノ Как получить инвайт в Deadlock? Если хочешь получить инвайт в Deadlock - заходи ко мне в руководства:steamhappy:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3405637483