improvement vConsole
#
vConsoleDota2 Tools have a console vConsole2.exe
Today I will show you how to change the functionality of the toolbar. In this article, we will not consider the configuration and standard features of the vConsole program.
Standard toolbar view:
This is the part of the program that we will expand on today. What opportunities will we get :
1) Button launches a tool from the dll (in default config bug reporter and NetGraph ) 1) Button applies a console command (in default config launches AssetBrowser ) 1) Button launches an external program (VsCode , Notepade++, Sublime text, and of course Dota2 Tools )
In variant 1 we probably can't change anything (or it would be very difficult and my knowledge is lacking).
But the other two are just right.
We need this configuration file for the console :
dota 2 beta\game\core\tools\sdk_vconsole_subtools.txt
The file format is the usual key-value. The key parameters that I was able to find for this file:
Many names will speak for themselves.
We are interested in the m_SubTools
section of this file.
#
Important : DOTA2 may overwrite this file after an update (not always), make sure to make a backup copy (with your edits).Examples from my config. restarting the map with clearing the console :
running Dota2 Tools with the test addon and launch parameters:
running a VSCode program with arguments (in this case the workspace is specified):
View of my toolbar without Dota2 tools running :
with running tools :
I hope my article will help you better organize your workspace when developing addons and you will be able to make more good and interesting projects.
PS my native languages BY RUS , I apologize for possible translation inaccuracies.