VConsole

From Valve Developer Community
Jump to: navigation, search
English (en)中文 (zh)
Edit
Note.pngNote:This page was originally created for Dota 2 Workshop Tools. The content of the article has not been changed yet, but it still applies to the latest versions of the Workshop Tools on all newer Source 2 Source 2 games (Half-Life: Alyx, Counter-Strike 2, etc...).

The new Source 2 console (first introduced with Dota 2 Workshop Tools), called VConsole VConsole works very much like previous iterations of the console in Source engine games. Pressing ~ will open the console. The console will open a new window that can be moved and positioned independently of Dota 2.

VConsole output while an addon is running.

Console Commands

Commands can be issued to the game via the console by typing into the command field. Typing jointeam good followed by Enter when inside an addon will force the player to the good team and allow picking of a hero.

Tips

  • - Cycle through previously issued console commands. These are saved between sessions.
  • Tab - Auto complete a partially typed command.
  • Partially type a command to see a list of all available commands. For example starting to type dota_ will result in all available commands starting with dota_ to be displayed. The arrow keys can be used to cycle through these.

Customization

VConsole can be configured in a number of ways. One of the most powerful additions is the ability to break out certain messages into their own output windows for tracking. For example if you are working on a lot of scripting it may be useful to have all scripting output go to a dedicated window within VConsole for easy tracking.

Split windows to capture different console outputs
  1. Right click on a message and click Open In New Log Viewer
  2. Utilize the small window configuration buttons to choose how the windows are displayed. Side by side for example will display two windows side by side, one will be dedicated to the chosen message type.
Icon-broom.png
This article or section needs to be cleaned up to conform to a higher standard of quality.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.