Skip to content

Instantly share code, notes, and snippets.

@ryz
Last active August 29, 2015 14:27
Show Gist options
  • Save ryz/572a2c41f51769bf9c5c to your computer and use it in GitHub Desktop.
Save ryz/572a2c41f51769bf9c5c to your computer and use it in GitHub Desktop.
My Dota 2 autoexec
// Dota 2 autoexec.cfg by ryz
// goes into <steamdir>\steamapps\common\dota 2 beta\dota\cfg\
// Basic autexec functions
con_enable "1"
developer "0"
contimes 5
// Play confirmation sound that the autoexec is loaded
playuisound DOTA_Item.Hand_Of_Midas
//// General game settings
// Deny allied units using right-click (No need to press attack button +right click)
dota_force_right_click_attack "1"
//Double tap ability self cast
dota_ability_quick_cast "1"
//Unified unit orders (on).
dota_player_multipler_orders "1"
//Really bad option if enabled, can fuck up your TPs
dota_reset_camera_on_spawn "0"
// Enables hotkeys for the shop
dota_shop_force_hotkeys "1"
//Disables hero autoattack by default
dota_player_units_auto_attack "0"
dota_player_units_auto_attack_after_spell "0"
//Auto add spawned summons to control group
dota_player_add_summoned_to_selection "1"
// Range indicator of active skill when you hover over the ground / opponent
dota_disable_range_finder "0"
//// Minimap
// Increases the size of heroes on the minimap (default: 700)
dota_minimap_hero_size "1100"
// Minimap icon scaling by heroes proximity to each other
// When heroes are close together, their icons will be reduced in size on the minimap so that you can more easily see
// who is there from the minimap. Without this, icons close together will overlap more and its hard to tell who is
// there by looking at the minimap.
dota_minimap_hero_scalar 1
// Proximity in pixels to begin scaling (default 12)
dota_minimap_hero_scalar_distance 20
// Minimum scaled size (default 500)
dota_minimap_hero_scalar_minimum 600
//Duration of shield/attack pings on towers.
dota_minimap_ping_tag_duration "4"
//Shadow size for the hero name that is drawn on the map
dota_minimap_hero_name_shadowsize "4"
//Display time of Firstblood, killstreaks and multikills notifications.
dota_sf_hud_header_display_time "3"
// Make results appear immediately after game ends (if set to 1, it is delayed by default)
dota_sf_game_end_delay 0
//Stops the screen shaking when certain spells are cast
dota_screen_shake "0"
dota_health_hurt_decay_time_max "0" // Default is 0.8
dota_health_hurt_decay_time_min "0" // Default is 0.3
dota_health_hurt_delay "0" // Default is 0.1
dota_pain_decay "0" // Default is 0.8
dota_pain_factor "0" // Default is 3
dota_pain_multiplier "0" // Default is 0.8
alias "+toprune" "dota_camera_set_lookatpos -2273 1800"
alias "-toprune" "dota_select_all; dota_select_all"
alias "+botrune" "dota_camera_set_lookatpos 3035 -2350"
alias "-botrune" "dota_select_all; dota_select_all"
bind "F4 "+toprune"
bind "F5" "+botrune"
//bind "F4" "dota_camera_setpos -2273 1800" // Top Rune
//bind "F5" "dota_camera_setpos 3035 -2350" // Bot Rune
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment