Console commands: Difference between revisionsGive feedback
I simply thought it a good idea to document a change in command console, when I tried to use this command, it didn't work. |
→Hosting Custom Games: Change map name for the command to restart the game |
||
| Line 13,328: | Line 13,328: | ||
** You may want to pause the game immediately after joining by pressing '''P''' to give other players time to join the match. | ** 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> | * 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 | ** Find a green line in the console that looks like this: <code>[Client] steamid : [A:1:XXXXXXXXXX:XXXXX] (XXXXXXXXXXXXXXXXX)</code> (the Xs will be replaced with numbers) | ||
** Select the part after <code>steamid</code> that looks like this, including the square brackets: <code>[A:1:XXXXXXXXXX:XXXXX]</code> | ** 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" | ** 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). | * 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>. | * 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 | * If you ever want to restart the game, the host can run <code>changelevel dl_midtown</code> . | ||
=== Adding Bots === | === Adding Bots === | ||