Skip to content

Instantly share code, notes, and snippets.

@GlassGhost
Last active October 6, 2015 07:28
Show Gist options
  • Save GlassGhost/2958189 to your computer and use it in GitHub Desktop.
Save GlassGhost/2958189 to your computer and use it in GitHub Desktop.
Dota 2 cfg
//save this file as C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\dota\cfg\autoexec.cfg
//enables console
bind "`" "toggleconsole"
dota_mouse_window_lock "1" //Locks mouse cursor within windows
// allows u to right-click deny but disables auto follow
dota_force_right_click_attack 1
//changes the block size in health bars
dota_health_per_vertical_marker 125
//This toggles 1000 range circle with the "k" key.
alias "range_toggle" "range_on" //this is what happenes when you 1st time press the v key
alias "range_on" "dota_range_display 1000; alias range_toggle range_off" // shows range and transforms the range_toggle command into range_off command. So, when you press v next time, range_off will be executed
alias "range_off" "dota_range_display 0; alias range_toggle range_on" // hides range and transforms the range_toggle command into range_on command. So, when you press v next time, range_on will be executed, and the circle repeats itself.
bind "k" "range_toggle"
//This toggles 1000 auto attack with the "j" key.
//alias "auto_attack_toggle" "auto_attack_on" //this is what happenes when you 1st time press the v key
//alias "auto_attack_on" "dota_player_units_auto_attack 1; alias auto_attack_toggle auto_attack_off" // shows range and transforms the range_toggle command into range_off command. So, when you press v next time, range_off will be executed
//alias "auto_attack_off" "dota_player_units_auto_attack 0; alias auto_attack_toggle auto_attack_on" // hides range and transforms the range_toggle command into range_on command. So, when you press v next time, range_on will be executed, and the circle repeats itself.
//bind "j" "auto_attack_toggle"
//bind "a" "dota_player_units_auto_attack 0;mc_attack" //disables autoattack and attacks when you press a
//bind "s" "dota_player_units_auto_attack 1;dota_stop" //enables autoattack and makes your character stop moving
//bind "h" "dota_player_units_auto_attack 0;dota_hold" //disables autoattack and makes your char stop moving.
dota_minimap_hero_size "500" //changes the hero icon size on the minimap. Default is 600.
// ###Fast Chat
//bind "leftarrow" "say_team miss top"
//bind "rightarrow" "say_team miss bottom"
//bind "downarrow" "say_team miss mid"
//bind "uparrow" "say_team re"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment