-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautoexec.cfg
233 lines (175 loc) · 9.39 KB
/
autoexec.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
/////////////////////////////////////////////////////////////////////////////////
/////////////////////////// SiN's Dota2 Keybinds v3 /////////////////////////////
/////////////////////////////////////////////////////////////////////////////////
//Updated 17 May 2015
//Special thanks to volvo and the dota2 modding community for making a lot of the scripts used in this file
//also loopuleasa config file as reference to this keybind
//Play a funny confirmation sound that the autoexec loaded
echo "================================================"
echo "===========[AUTOEXEC CONFIG LOADED]============="
echo "================================================"
echo " SiN's Dota2 Keybinds v3"
echo "================================================"
playuisound DOTA_Item.Hand_Of_Midas
// Directions:
// 1. Place script in <Steam folder>/SteamApps/common/dota 2 beta/dota/cfg.
// 2. For changes to take effect, restart Dota or enter "exec autoexec.cfg" into the console.
// Notes:
// Some keys may not work until you unbind them in the GUI settings
////////////////////////////////////////////////////////////
//Basic autoexec functions
////////////////////////////////////////////////////////////
//Enables console
//You can also enable console by adding the "-console" parameter in the launch options, but that opens a console window on game open which is annoying
con_enable "1"
developer "0"
contimes 5
////////////////////////////////////////////////////////////
//General Game Settings
////////////////////////////////////////////////////////////
//Option to right click to deny creeps instead of A + Clicking
dota_force_right_click_attack "1"
//Alt+Rightclick forces your hero to move in that DIRECTION rather than the regular Rightclick which moves your hero to that point.
dota_unit_allow_moveto_direction "1"
////////////////////////////////////////////////////////////
//Manual Keybinds
////////////////////////////////////////////////////////////
//Load the regular keybinds from the external "keybinds_normal.cfg" file
execifexists dota2_keybinding/keybinds_normal.cfg
//Function keys
bind "F8" "exec autoexec.cfg;con_filter_enable 0;"
//Quickcast Keybinds
bind "KP_0" "execifexists dota2_keybinding/keybinds_normal.cfg"
//Smartcast Keybinds
bind "KP_PLUS" "execifexists dota2_smartcast/keybinds_smartcast.cfg"
//Smartcast Q Keybinds
bind "KP_1" "execifexists dota2_smartcast/keybinds_smartcast_q.cfg"
//Smartcast W Keybinds
bind "KP_2" "execifexists dota2_smartcast/keybinds_smartcast_w.cfg"
//Smartcast E Keybinds
bind "KP_3" "execifexists dota2_smartcast/keybinds_smartcast_e.cfg"
//Smartcast R Keybinds
bind "KP_DEL" "execifexists dota2_smartcast/keybinds_smartcast_r.cfg"
//Smartcast Q+W Keybinds
bind "KP_4" "execifexists dota2_smartcast/keybinds_smartcast_q+w.cfg"
//Smartcast Q+R Keybinds
bind "KP_5" "execifexists dota2_smartcast/keybinds_smartcast_q+r.cfg"
//Smartcast W+R Keybinds
bind "KP_6" "execifexists dota2_smartcast/keybinds_smartcast_w+r.cfg"
////////////////////////////////////////////////////////////
//Interface related
////////////////////////////////////////////////////////////
//Show range indicator
dota_disable_range_finder 0
//Prevents you from double pressing to self cast (or makes it really fast so that it only happens with scripts)
dota_ability_self_cast_timeout 0.01
//Show crit, gold, xp overhead
dota_hud_show_overhead_events "1"
//Fade time on DMG done/received
//(I keep all of them to 0 to be instant and have the best feedback when I get )
dota_health_hurt_decay_time_max "0"
dota_health_hurt_decay_time_min "0"
dota_health_hurt_delay "0"
dota_pain_decay "0"
dota_pain_factor "0"
dota_pain_multiplier "0"
dota_pain_fade_rate "0"
////////////////////////////////////////////////////////////
//Minimap related
////////////////////////////////////////////////////////////
//Changes the size of heroes on the minimap
//(I like a high value so I can see their portrait flash on the minimap)
dota_minimap_hero_size 800
////////////////////////////////////////////////////////////
//Camera and shit
////////////////////////////////////////////////////////////
//Minimum time after the mouse enters the minimap before we accept a move command
dota_minimap_misclick_time "0"
////////////////////////////////////////////////////////////
//Netcode Shit
//Altough the lerp value will probably blink red/yellowish in your netgraph, tests have shown that this is likely the most responsive setup possible.
////////////////////////////////////////////////////////////
cl_interp "0.033" // Interpolate object positions starting this many seconds in past (Default 0.055, Min 0.033)
cl_interp_ratio "1" // Multiplies final result of cl_interp (Default 2)
cl_smoothtime "0.01" // When errors occur smooth display over X time, 0 Disables (Default 0.1)
rate "80000" // Total amount of bandwidth Dota 2 may use (Default 80000)
cl_updaterate "30" // Amount of updates recieved from server per second (Default 30, Max 30)
cl_cmdrate "30" // Amount of updates sent to server per second (Default 30, Max 30)
cl_smooth "1"
cl_lagcompensation "1"
cl_pred_optimize "2"
////////////////////////////////////////////////////////////
//Net Graph
////////////////////////////////////////////////////////////
net_graph 1
//768p Enable this command if using 1366x768 resolution
net_graphheight 64
net_graphinsetbottom 422
net_graphinsetleft 0
net_graphinsetright -130
net_graphpos 1
net_graphproportionalfont 0
net_graphtext 1
//1080p Enable this command if using 1920x1080 resolution
//net_graphheight 64
//net_graphinsetbottom 437
//net_graphinsetleft 0
//net_graphinsetright -30
//net_graphpos 1
//net_graphproportionalfont 0
//net_graphtext 1
/////////////////////////
// Multicore Rendering //
/////////////////////////
// WARNING : Delete this section completely if your running on a single core CPU.
// Recommended only if you're running multi-core but who still running single core CPU to play DoTA 2?
r_threaded_shadow_clip 1
r_queued_decals 1
r_queued_post_processing 1
mat_queue_mode 2
cl_threaded_bone_setup 1
cl_threaded_init 1
snd_mix_async 1
////////////////////////////////////////////////////////////
//Graphics, Performance and shit
////////////////////////////////////////////////////////////
fps_max "120" //Forces client to a max FPS limit
mat_vsync "1" //Remove graphic tearing if fps more than monitor refresh rate.
mat_triplebuffered "1" //Enable with vsync for a performance boost if fps is less than 60.
sv_forcepreload "1" //Force server side preloading.
//Some poeple got a fps boost disabling this one
r_fastzreject "0"
////////////////////////////////////////////////////////////
//Custom shit
////////////////////////////////////////////////////////////
// Shuffle camera to rune positions while pressing the keys and back to hero on release
alias "+top_rune" "dota_camera_set_lookatpos -2273 1800"
alias "-top_rune" "dota_recent_event; dota_recent_event; +dota_camera_follow"
alias "+bot_rune" "dota_camera_set_lookatpos 3035 -2350"
alias "-bot_rune" "dota_recent_event; dota_recent_event; +dota_camera_follow"
//Toggle orb autocast
//(one click button to toggle on every auto-cast ability, this works because no hero has more than 1 ability so it just tries to do it for all of them)
alias "orb_toggle" "dota_ability_autocast 0; dota_ability_autocast 1; dota_ability_autocast 2; dota_ability_autocast 3; dota_ability_autocast 4;dota_ability_autocast 5"
////////////////////////////////////////////////////////////
//Shop keyboard shortcuts rebindable
////////////////////////////////////////////////////////////
//Just go into the \Steam\userdata\your_usercode\570\remote\cfg\dotakeys_personal.bak
//Then override the cloud version from steam/userdata/570/dotakeys_personal.bak
//Then you have a new set of keys
//Here are the parts I overwrote: http://pastebin.com/Nscbv3r9
//Changed only the shop slots 7 through 12 with Alt+1 through Alt+6
//Here is a guide on how to do it: http://i.imgur.com/CVS53Fo.jpg
////////////////////////////////////////////////////////////
//Useful Links
////////////////////////////////////////////////////////////
//How to setup autoexec: https://www.youtube.com/watch?v=y7SDwFbKWGc
//List of console commands: http://www.gamerconfig.eu/commands/dota-2/
//Another list of console commands: http://dota2.gamepedia.com/List_of_Console_Commands
//Merlini Vid https://www.youtube.com/watch?v=39HzLkvrecg
//My Launch Options: -novid -noforcemaccel -noforcemspd -useforcedmparms -high -windowed -w 1920 -h 1080 -noborder -override_vpk
//Liquid Tutorial on Customising Dota2: http://www.liquiddota.com/forum/dota-2-general/453984-customising-dota-2
//Website that lets you customise the autoexec.cfg: http://dota2gen.lixend.com/
//Many useful commands for playing with sv_cheats in custom lobbies http://pastebin.com/Vr9z26jT
//Advanced keybinds guide on steam http://steamcommunity.com/sharedfiles/filedetails/?id=17063890
//A spreadsheet with useful stuff https://docs.google.com/spreadsheets/d/1WY_HP4em4_6s5oXRZwmlCZpwjZmBucr-pOELcuEgIsk/edit#gid=497725
//Stuff related to the ALT+Key functionality http://dev.dota2.com/showthread.php?t=128125