Help Support Our Growing Community

DOTAFire is a community that lives to help every Dota 2 player take their game to the next level by having open access to all our tools and resources. Please consider supporting us by whitelisting us in your ad blocker!

Want to support DOTAFire with an ad-free experience? You can support us ad-free for less than $1 a month!

Go Ad-Free
Smitefire logo

Join the leading DOTA 2 community.
Create and share Hero Guides and Builds.

Create an MFN Account






Or

List of useful console/launch commands in Dota 2

Please review our General Rules & Guidelines before posting or commenting anywhere on DOTAFire.

Forum » General Discussion » List of useful console/launch commands in Dota 2 2 posts - page 1 of 1
Permalink | Quote | PM | +Rep by Pu12e » January 18, 2013 9:04am | Report
List of useful console/launch commands in Dota 2
List of console and launch commands anyone? Throw any useful ones you know (and what they do) in this thread and I'll add them. I only know a few so would but nice to know other out there.

Launch Options
To open, right click Dota 2 on your Steam library, click Properties, and click Set Launch Options. There must be a space after each option (ex. -novid -console)

-novid Skips valve intro video
-console Enables consoles in game (default hotkey is `)
-windowed -w # -h # -noborder Window mode with no border, REPLACE # WITH YOUR DESIRED W AND H

Console
Enabled via Launch Options. Default key is ` or ~. If you have a keyboard without this key you can rebind this key by typing "bind KEY toggleconsole" in console. This can also be enabled by adding a auto-execution file described below.

net_graph 1 Displays network information such as fps and ping.
dota_camera_accelerate 49 This will make the camera stop exactly where you want it, 0 will make you unable to move your camera. Thanks uw_NB and Pyros.
dota_force_right_click_attack 1 This will enable right click deny.
dota_minimap_hero_size 600 changes the hero marker size in minimap
dota_hud_health_bars 3 0 = disable hp bars, 1 = no dividing blocks in the healthbar, 3 = the default with the blocks
dota_health_per_vertical_marker 250 changes the block size in health bars, 250 = new block every 250 hp

Changing In-game Avatars
Type in the corresponding command in console to set up your in-game avatar.

Changes the avatar that is shown when you invite players to a party:

dota_set_avatar 0 - Default
dota_set_avatar 1 - Crystal Maiden
dota_set_avatar 2 - Kunkka
dota_set_avatar 3 - Faceless Void
dota_set_avatar 4 - Furion
dota_set_avatar 5 - Yurnero
dota_set_avatar 6 - Bloodseeker
dota_set_avatar 7 - Lich
dota_set_avatar 8 - Axe
dota_set_avatar 9 - Pudge
dota_set_avatar 10 - Puck

How to set up auto-execution file for console commands.
If you don't want to type in console commands every time you open up steam you can create an auto-execution file which will do whatever is in the file at launch.

Create a notepad file and save it as autoexec.cfg. Save this file in this directory: steam/steamapps/common/dota 2 beta/dota/cfg

Then just type in the console command just as you would type it in console, and when you launch DoTA2 it'll already be enabled. Use // to make a comment and each new line is a new command. Here is an example how your file might look.

//console (it won't pop-up itself like when u set running option -console)
con_enable 1
//console toggle
bind "C" "toggleconsole"
// right-click deny
dota_force_right_click_attack 1

Pu12e


Notable (11)
Posts: 540
Steam: Pu12e
View My Blog
Permalink | Quote | PM | +Rep by Contractual » January 19, 2013 9:37am | Report
Reserved in case an interesting conversation or debate comes up. :P

Contractual


Notable (3)
Posts: 85
View My Blog

Quick Reply

Please log in or sign up to post!

DOTAFire is the place to find the perfect build guide to take your game to the next level. Learn how to play a new hero, or fine tune your favorite DotA hero’s build and strategy.

Copyright © 2019 DOTAFire | All Rights Reserved