Dota 2 status command

Dota 2 status command

Dota 2 status command

Console Commands

Console Commands are options accessible via the Developer Console. The dev console allows the user to create an advanced configuration of game settings, using options not listed within the game’s settings menu.

Commands that are listed as cheats will not work within the normal game. Cheat commands will only work in custom lobbies with cheats enabled. For a list of cheats, see here.

Contents

How to use Console Commands [ edit ]

Commands may be typed directly in the developer console to activate the setting, however it is recommended to create an autoexec. cfg file. The file will automatically run the listed commands when a match starts so they will not have to be manually typed every time.

Steps to create an autoexec. cfg file:

  1. Create a text editable file using Notepad or similar software
  2. Type in the desired commands per line, including the desired values for variables
  3. Save as autoexec. cfg and make sure it is. cfg and not a. Dota 2 status command txt file or any other file extension
  4. Place the file in the \cfg folder found in your install directory, usually C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\dota\cfg

Proper Syntax [ edit ]

When writing a console command, it will normally consist of “blocks” separated by spaces.

Here is an example of a command with each block highlighted for visibility. Block 1 = blue , block 2 = red , and block 3 = green .

bind q “dota_ability_execute 0”

Any command with a third block must encase that block within quotation marks. Placing quotation marks around other blocks may cause errors in which the command will not work.
Code containing only two blocks does not require any quotations.

For an advanced command using incrementvar the proper syntax is as follows:

bind c “incrementvar dota_player_units_auto_attack_mode 1 2 1”

The three numbers are min, max, and delta. Dota 2 status command In the example 1 2 1 the minimum value is 1, the maximum is 2, and the increment is 1. This effectively acts as a toggle, increasing the value by 1 to switch between 1 and 2.
If the values were 0 2 1 instead, it would toggle between three states with each press. Starting at 0, then increasing to 1, then 2, and then looping back to 0.
If the delta was set to 2 instead, 0 2 2 , it would switch from 0 to 2 with each press because the delta would increase 0 by 2 to equal 2.

Adding // in front of a line of code will make the autoexec. cfg ignore that line for input. This allows you to write notes without causing errors.

// Auto attack toggle
bind c “incrementvar dota_player_units_auto_attack_mode 1 2 1”

List of useful Console Commands [ edit ]

Listed on this page are the most common and useful console commands for Dota 2. Irrelevant or unusable console commands are not listed.

Thread: Test/Cheat Commands

Thread Tools
Display
  • Linear Mode
  • Switch to Hybrid Mode
  • Switch to Threaded Mode

Test/Cheat Commands

Test/Cheat Commands
When hosting practice match, you’ll need to “enable cheats” for these to work.
When in game, press enter and type.

Command Example Equivalent Console Command Description/Notes
-lvlup n -lvlup 9000 dota_hero_level n Levels up your hero.
-levelbots n -levelbots 5 dota_bot_give_level n Levels up all bots.
-gold n -gold 15000 dota_give_gold Gives you gold.
-refresh -refresh dota_hero_refresh Resets cooldowns and gives full hp/mana. Dota 2 status command
-respawn -respawn dota_hero_respawn Respawns your hero.
-spawncreeps -spawncreeps dota_spawn_creeps Spawns creeps instantly.
-spawnneutrals -spawnneutrals dota_spawn_neutrals Spawns neutrals instantly.
-disablecreepspawn
-enablecreepspawn
-disablecreepspawn
-enablecreepspawn
dota_creeps_no_spawning_enable
dota_creeps_no_spawning_disable
Disables lane creep spawning. Use – enablecreepspawn to undo this change.
-startgame -startgame dota_start_game Sets timer to 0:00, creeps spawns. game starts.
-allvision
-normalvision
-allvision
-normalvision
dota_all_vision_enable
dota_all_vision_disable
Gives vision for both teams. Use – normalvision to undo this change.
-clearwards -clearwards dota_clear_wards Destroys all wards.
-wtf
-unwtf
-wtf
-unwtf
dota_ability_debug_enable
dota_ability_debug_disable
Removes cooldown, Mana cost etc. Use – unwtf to undo this change.
-dumpbots -dumpbots dota_bot_dump_state Displays AI status.
-timescale n host_timescale
-createhero [enemy] -createhero npc_dota_hero_antimage
-createhero npc_dota_hero_antimage enemy
-createhero antimage
-createhero anti
-createhero npc_dota_goodguys_siege
-createhero goodguys_siege enemy
dota_create_unit Creates the specified unit [as an enemy].

You can create up to 5 Dire heroes with this command, and up to 22 heroes in total.
The prefixes behind the defining hero/unit names can be left out like in the given examples.
The hero names can also be truncated. -item -item item_blink dota_create_item Gives the specified item.

Warning: Do not use uppercase. Give it a try to see what happens. -givebots -givebots item_blink dota_bot_give_item Give all bots the specified item.

List: See above. -ping -ping dota_ping Displays ping time with server along with the packet loss information.
This command can be used in a non-cheat game, too. -spawnrune -spawnrune dota_spawn_rune Spawns an intermediate rune.
Spawn spot and/or the rune type cannot be manipulated.

An alphabetical item list provided by bridger.

If you know more commands/console commands, please let me know. I will add them in here.

Special thanks to ThoAppelsin and budwing for providing some updates to the list.

Last edited by CvP; 02-15-2014 at 10:46 PM .

Dota 2 status command

Leave a comment