Last active
December 30, 2015 18:04
-
-
Save pxslip/8711922 to your computer and use it in GitHub Desktop.
My Dota 2 autoexec file - still a work in progress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//first unbind all old key bindings, and clear the console(?) | |
unbindall | |
clear | |
////////////// | |
// SETTINGS // | |
////////////// | |
con_enable "1" | |
dota_force_right_click_attack "1" // Rightclick deny enabled (default 0) | |
dota_health_per_vertical_marker "250" // Health segmenting in the lifebar (default 250) | |
dota_disable_range_finder "1" // Visual spell range indicator activated (default 1) | |
dota_minimap_hero_size "800" // Slightly bigger hero icons on minimap (default 600) | |
dota_player_multipler_orders "1" // Control all units with CTRL click (default 0) | |
dota_player_units_auto_attack "0" // Hero autoattack disabled (default 1) | |
dota_always_show_player_names "1" // Always show player names | |
dota_ability_quick_cast "1" // Doubletapping to selfcast | |
//Fade time on DMG done/received reduced to half duration | |
dota_health_hurt_decay_time_max "0.4" // (Default "0.8") | |
dota_health_hurt_decay_time_min "0.15" // (Default "0.3") | |
dota_health_hurt_delay "0.05" // (Default "0.1") | |
dota_pain_decay "0.4" // (Default "0.8") | |
dota_pain_factor "1.5" // (Default "3") | |
dota_pain_fade_rate "1.5" // (Default "3") | |
dota_pain_multiplier "0.4" // (Default "0.8") | |
/////////////// | |
// Netgraph // | |
////////////// | |
net_graph "1" //Draw the network usage graph. | |
net_graphpos "1" //set the position, 1=right, 2=left, 3=middle | |
net_graphheight "64" //Height of netgraph panel. | |
net_graphinsetbottom 440 //move the graph up by 440 (px?) | |
net_graphinsetleft "42" //net_graph insert from left. | |
net_graphinsetright "-65" //shift the graph over to hide some unnecessary statistics | |
net_graphinsettop "0" //net_graph insert from top. | |
net_graphproportionalfont "0" //Determines whether netgraph font is proportional or not | |
/////////////// | |
// Inventory // | |
/////////////// | |
bind "1" "dota_item_execute 0" //1st slot. | |
bind "2" "dota_item_execute 1" //2nd slot. | |
bind "3" "dota_item_execute 2" //3rd slot. | |
bind "SPACE" "dota_item_execute 3" //4th slot. | |
bind "" "dota_item_execute 4" //5th slot. | |
bind "" "dota_item_execute 5" //6th slot. | |
//////////////// | |
// Chat Wheel // | |
//////////////// | |
// 1=Care | |
// 2=Get Back | |
// 3=Need Wards | |
// 4=Stun | |
// 5=Help | |
// 6=Push | |
// 7=Well Played | |
// 8=Missing | |
// 9=Missing Top | |
// 10=Missing Mid | |
// 11=Missing Bottom | |
/////////////////////////// | |
// Modifier key bindings // | |
/////////////////////////// | |
//Pain in the ass, but required since there is no way to add modifier keys to a binding | |
//NOTE:any alt+key,shift+key,ctrl+key bindings have to be in the [key_name]alias list separated by ';' to work | |
//NOTE:you MUST add the original key binding into the -[key_name]alias list for the original key binding to work correctly! | |
//TODO:create an autexec generator script that includes this feature? | |
alias "+altalias" "bind 1 chatwheel_say 1" | |
alias "-altalias" "bind 1 dota_item_execute 0" | |
bind "ALT" "altalias" | |
alias "+shiftalias" "" | |
alias "-shiftalias" "" | |
bind "SHIFT" "shiftalias" | |
alias "+ctrlalias" "" | |
alias "=strlalias" "" | |
bind "CTRL" "ctrlalias" | |
///////////// | |
// ALIASES // | |
///////////// | |
//Quick Courier - Tilde (`) tells the courier to get all items in stash, send them to the hero, and then reselects your hero | |
//Optional: Uncomment dota_ability_execute 4 to force the courier to use his speed boost, this has potential to waste the boost if you accidentally press it! | |
alias "quick_courier" "dota_select_courier;dota_ability_execute 3;dota_ability_execute 4;dota_ability_execute 5;+dota_camera_follow; -dota_camera_follow" | |
// Shows scoreboard, netgraph and APM in the console | |
alias "+showgraph" "+showscores;net_graph 1;dota_apm;" | |
alias "-showgraph" "-showscores;net_graph 0" | |
// Shows 950 rangeunits, the proximity range to be revealed while smoked, 1000 = lvl4 pudge hook range, 700 = tower range, 1150 = dagger range | |
alias "+range" "dota_range_display 950" | |
alias "-range" "dota_range_display 0" | |
//Rune checker | |
alias "r_c" "r_t" | |
alias "r_t" "dota_camera_setpos -2250 1235 980;alias r_c r_b" | |
alias "r_b" "dota_camera_setpos 3035 -2970 965;alias r_c b_t_h" | |
alias "b_t_h" "+dota_camera_follow; -dota_camera_follow;+dota_camera_follow; -dota_camera_follow;alias r_c r_t" | |
/////////////////// | |
// MISC BINDINGS // | |
/////////////////// | |
bind "F1" "+dota_camera_follow" //rebind follow here ot F1 | |
bind "F2" "+showgraph" //Open | |
bind "F3" "r_c" //Rune checker. | |
bind "F4" "toggleconsole" //show/hide the console window | |
bind "F5" "exec autoexec.cfg" //Refresh autoexec.cfg | |
bind "F6" "" //unused Function key | |
bind "F7" "" //unused function key | |
bind "F8" "gameui_activate" //Open main menu. | |
bind "F9" "screenshot" //Screenshot. | |
bind "F10" "dota_pause" //Pause. | |
bind "F11" "disconnect" //Disconnect. | |
bind "F12" "quit" //Quit from game. | |
///////////////////////// | |
echo "Loaded autoexec.cfg -------HEAR ME ROAR!!--------" | |
echo "Work by parallaxslip" | |
echo "sources - http://pastebin.com/J3L2PdVZ,http://pastebin.com/uM2jZHd3,http://pastebin.com/kxd5aqxK,http://dota2.gamepedia.com/List_of_Console_Commands" | |
///////////////////////// |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment