Editing
Console commands
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Hosting Custom Games == * The host starts a custom game by loading into the map with <code>map street_test</code> ** 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 <code>status</code> ** Find a green line in the console that looks like this: <code>[Client] steamid : [A:1:XXXXXXXXXX:XXXXX] (XXXXXXXXXXXXXXXXX)</code> (the Xs will be replace with numbers) ** Select the part after <code>steamid</code> that looks like this, including the square brackets: <code>[A:1:XXXXXXXXXX:XXXXX]</code> ** 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 <code>connect [A:1:XXXXXXXXXX:XXXXX]</code> (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 <code>changeteam 0</code>. * If you ever want to restart the game, the host can run <code>changelevel street_test</code> . === Adding Bots === * On the main menu, before you start the game, run <code>exec citadel_botmatch_practice_6v6_hard</code> to load the bot config. ** You can replace <code>hard</code> with <code>easy</code> or <code>medium</code> to choose the bot difficulty. ** If you're already in a game, you can perform these steps then run <code>changelevel street_test</code> to restart the game instead of starting a new one. * Run <code>citadel_spawn_practice_bots false</code> so that bots won't spawn immediately when the game starts. * Run <code>citadel_spawn_practice_bots_count 12</code> to ensure that bots fill all remaining slots (they'll be added until both teams have 6 players). * Start the game (i.e. <code>map street_test</code>) and press '''P''' to pause the game during the pregame (as soon as you load in). ** You can use <code>citadel_pregame_duration</code> 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 <code>changeteam</code> 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 <code>citadel_spawn_practice_bots true</code>, then presses '''P''' again to unpause the game. Bots should fill the remaining slots on each team. [[Category:Gameplay]]
Summary:
Please note that all contributions to Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Deadlock:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Discord community
Recent changes
Random page
Tools
What links here
Related changes
Special pages
Page information
Languages
English