How to open console in Dota 2

Tips for beginners

The console in Dota 2 is a toolkit for changing game parameters by entering text expressions. Thanks to the console, players have the opportunity to fine-tune the client to their unique style of play by making changes to the settings.

Gaining access to the console

To access the console, you need to:

  • Launch the Steam client, open the «Library» tab.
  • Find Dota 2 in the list of available games.
  • Open the context menu by right-clicking on the game name.
  • Select «Properties».
  • In the «General» section, find the «Set launch options» field.
  • In the parameter line, you need to write «-console» (with a hyphen, without quotes). Apply the changes with the «OK» button.

Thus, each time the program is launched, it should open the console automatically. You may be interested in consolidating your success by writing «con_enable 1» in the window that opens at startup.

As a result of this action, you will be able to open the console by pressing the key specified for this purpose in the settings (by default, it is the «\» sign above Enter). If desired, you can assign a convenient button yourself. This function is available in the «Settings Control Interface» menu. To close the console window in Dota 2, you should press the same key that opens it.

Now you can delete the console («-console») in the launch options (point 6).

To automatically activate the necessary commands every time you start Dota 2, you have to add them to the «autoexec.cfg» file. You should create this file in a text editor and put it in the «…\steamapps\common\dota 2 beta\dota\cfg» folder.

Console commands in Dota 2

The list of available console commands looks like this:

  • autoconfig sets the default graphics settings;
  • dota_minimap_disable_rightclick 0 disables the ability to move by pressing the right mouse button on the minimap;
  • dota_health_per_vertical_marker sets the number of health points contained in one division of the bar above the character (250);
  • dota_ability_quick_cast 0/1 disables/enables the ability to cast a directed ability on your hero by double-clicking;
  • dota_force_right_click_attack 1 makes it possible to last hit allied creeps with a right-click;
  • glow_outline_effect_enable 1/0 – disables/enables highlighting of allies;
  • dota_player_units_auto_attack 0/1 disables/enables automatic attack;
  • dota_sf_game_end_delay 0 disables the final table after the end of the match;
  • dota_disable_range_finder 1 displays the range of abilities on the minimap.
  • cl_showfps 1 turns on the FPS indicator (Frames per Second) on the screen;
  • dota_apm turns on the APM (Actions per Minute) indicator on the screen.

The following commands can only be used in single player mode:

  • dota_hero_level «number» changes the level of the hero;
  • dota_ability_debug_enable enables the mode of endless use of abilities and items;
  • dota_bot_give_level «number» changes the power of dota bot characters;
  • dota_spawn_rune restores magic runes;
  • dota_hero_respawn teleports or respawns a hero in the base;
  • dota_bot_give_item «name» adds an item to the inventory of allied characters;
  • dota_give_gold «amount» adds gold to the account;
  • dota_hero_refresh restores HP and MP, resets the cooldown of abilities and items;
  • dota_create_item «name» adds a specific item to the inventory.

It should be noted that using console commands is not considered cheating and does not result in a ban. Commands, which provide an unfair advantage, can only be used in single-player matches, as well as in private friendly games.

Leave a comment

Log in to your account to have
an opportunity to leave a comment