forked from lupuleasa-core/Dota2-TheCore-Config-Engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUseful Extra Commands (Inactive).cfg
189 lines (161 loc) · 11.2 KB
/
Useful Extra Commands (Inactive).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
////////////////////////////////////////////////////////////
//Inactive command section
////////////////////////////////////////////////////////////
//Automatically joins a chat channel at start up
chat_join "channelname"
//Summons are automatically added to your current control group when spawned
dota_player_add_summoned_to_selection "1"
//Jumps to location of most recent ping.
bind "key" "dota_recent_event"
//Space key modifier
alias "+custom_mod" "bind q dota_item_execute 0; bind w dota_item_execute 1;bind e dota_item_execute 2;bind r dota_item_execute 3"
alias "-custom_mod" "bind q dota_ability_execute 0; bind w dota_ability_execute 1;bind e dota_ability_execute 2;bind r dota_ability_execute 3"
bind "space" "+custom_mod"
// Health segmenting in the lifebar (default 250)
dota_health_per_vertical_marker "250"
// Executes the autoexec.cfg with an on-screen feedback.
alias "output" "echo .;echo .;echo .;echo .;echo .;echo .;echo .;echo #######################;echo Custom config executed!;echo
//Show Range command - ONLY WORKS IN BOT MATCHES WITH CHEATS ENABLED SINCE UPDATE
(1025 rangeunits, the proximity range to be revealed while smoked, 1300 = lvl4 pudge hook range, 700 = tower range, 1150 = dagger range)
alias "+range" "dota_range_display 1300"
alias "-range" "dota_range_display 0"
bind "V" "+range"
//Quick courier script
(courier takes stuff from stash, comes to you, uses boost if off cd, and it doesn't de-select your hero)
alias "quick_courier" "dota_select_courier; dota_ability_execute 3; dota_ability_execute 4; dota_ability_execute 5; +dota_camera_follow"
bind "F3" "quick_courier"
//Another simpler quick courier script
alias "quick_courier" "say_team Using courier.; dota_courier_burst; dota_courier_deliver;"
bind "F3" "quick_courier"
//Spectator mode - goes to Free Cam while you hold 0 on numpad and goes back to caster's camera when you release
alias +temporaryFreeCam "dota_spectator_mode 1"
alias -temporaryFreeCam "dota_spectator_mode 3"
bind "KP_0" "+temporaryFreeCam"
//BASE CAMERA (pressing 7 shows radiant fountain, shift+6 shows dire fountain. Good for playing Tinker and queuing item drops)
bind "6" "togglecam"
alias "togglecam" "camradiant"
alias "camradiant" "dota_camera_set_lookatpos -7020 -6721"
alias "camdire" "dota_camera_set_lookatpos 7168 6561"
bind shift +toggleState
alias +toggleState "alias togglecam camdire"
alias -toggleState "alias togglecam camradiant"
//AUTOATTACK/HOLD (Proper Stop and Hold behaviour, basically Stop allows you to spam it to CS and Hold disables your auto-attack)
alias "autoAtkOn_Stop" "dota_player_units_auto_attack 1;dota_stop"
alias "autoAtkOff_Hold" "dota_player_units_auto_attack 0;dota_hold"
bind "S" "autoAtkOn_Stop"
bind "H" "autoAtkOff_Hold"
//UPGRADE COURIER (Good for those moments when the courier is one flying hit away from dying and you don't have time to browse the shop)
alias "upgrade" "dota_shop_force_hotkeys 1;toggleshoppanel;shop_nav_to_tab 0;shop_select_itemrow 8;toggleshoppanel;dota_shop_force_hotkeys 0"
bind "F5" "upgrade"
//AXE ULT (Pretty self explainatory, abuse the vertical markers to know axeactly when to ult with axe, includes aghanim's scepter upgrade, only level 3 tho, so basically it cycles through level 1 ult, level 2, level 3 and aghanim level 3)
alias "hp_axe" "toggle dota_health_per_vertical_marker 250 350 450 625"
bind "F6" "hp_axe"
//Netgraph script (on and off)
alias "showgraph" "showgraph_off"
alias "showgraph_on" "net_graph 1; alias showgraph showgraph_off"
alias "showgraph_off" "net_graph 0; alias showgraph showgraph_on"
bind "your_key_here" "showgraph"
//Scoreboard script (on and off)
alias "showboard" "showboard_on"
alias "showboard_on" "+showscores; alias showboard showboard_off"
alias "showboard_off" "-showscores; alias showboard showboard_on"
//Lone Druid bear script
alias "bear_return" "dota_select_all_others; dota_ability_execute 0; dota_select_all"
alias "bear_phase_boots" "dota_select_all_others; dota_item_execute 0; dota_select_all"
//How to make something toggleable, like the auto attack option
bind j "toggle dota_player_units_auto_attack 0 1; toggle dota_player_units_auto_attack_after_spell 0 1;"
//Self cast script with space as modifier, without using external files (harder to modify)
alias "+spacemod" "+ab0;+ab1;+ab2;+ab3;+ab4;+ab5;+i0;+i1;+i2;+i3;+i4;+i5"
alias "-spacemod" "-ab0;-ab1;-ab2;-ab3;-ab4;-ab5;-i0;-i1;-i2;-i3;-i4;-i5"
bind "space" "+spacemod"
alias "it1_2x" "dota_item_execute 0;dota_item_execute 0"
alias "it2_2x" "dota_item_execute 1;dota_item_execute 1"
alias "it3_2x" "dota_item_execute 2; dota_item_execute 2"
alias "it4_2x" "dota_item_execute 3;dota_item_execute 3"
alias "it5_2x" "dota_item_execute 4;dota_item_execute 4"
alias "it6_2x" "dota_item_execute 5;dota_item_execute 5"
alias "it1_1x" "dota_item_quick_cast 0"
alias "it2_1x" "dota_item_quick_cast 1"
alias "it3_1x" "dota_item_quick_cast 2"
alias "it4_1x" "dota_item_quick_cast 3"
alias "it5_1x" "dota_item_quick_cast 4"
alias "it6_1x" "dota_item_quick_cast 5"
alias "ab1_2x" "dota_ability_execute 0;dota_ability_execute 0"
alias "ab2_2x" "dota_ability_execute 1;dota_ability_execute 1"
alias "ab3_2x" "dota_ability_execute 2;dota_ability_execute 2"
alias "ab4_2x" "dota_ability_execute 3;dota_ability_execute 3"
alias "ab5_2x" "dota_ability_execute 4;dota_ability_execute 4"
alias "ab6_2x" "dota_ability_execute 5;dota_ability_execute 5"
alias "ab1_1x" "dota_ability_quickcast 0"
alias "ab2_1x" "dota_ability_quickcast 1"
alias "ab3_1x" "dota_ability_quickcast 2"
alias "ab4_1x" "dota_ability_quickcast 3"
alias "ab5_1x" "dota_ability_quickcast 4"
alias "ab6_1x" "dota_ability_quickcast 5"
alias +i0 "bind "mouse4" it1_2x" //Change these to your ingame commands
alias +i1 "bind "D" it2_2x" //Change these to your ingame commands
alias +i2 "bind "F" it3_2x" //Change these to your ingame commands
alias +i3 "bind "X" it4_2x" //Change these to your ingame commands
alias +i4 "bind "C" it5_2x" //Change these to your ingame commands
alias +i5 "bind "mouse5" it6_2x" //Change these to your ingame commands
alias -i0 "bind "mouse4" it1_1x" //Change these to your ingame commands
alias -i1 "bind "D" it2_1x" //Change these to your ingame commands
alias -i2 "bind "F" it3_1x" //Change these to your ingame commands
alias -i3 "bind "X" it4_1x" //Change these to your ingame commands
alias -i4 "bind "C" it5_1x" //Change these to your ingame commands
alias -i5 "bind "mouse5" it6_1x" //Change these to your ingame commands
alias +ab0 "bind "Q" ab1_2x" //Change these to your ingame commands
alias +ab1 "bind "W" ab2_2x" //Change these to your ingame commands
alias +ab2 "bind "E" ab3_2x" //Change these to your ingame commands
alias +ab3 "bind "2" ab4_2x" //Change these to your ingame commands
alias +ab4 "bind "3" ab5_2x" //Change these to your ingame commands
alias +ab5 "bind "R" ab6_2x" //Change these to your ingame commands
alias -ab0 "bind "Q" ab1_1x" //Change these to your ingame commands
alias -ab1 "bind "W" ab2_1x" //Change these to your ingame commands
alias -ab2 "bind "E" ab3_1x" //Change these to your ingame commands
alias -ab3 "bind "2" ab4_1x" //Change these to your ingame commands
alias -ab4 "bind "3" ab5_1x" //Change these to your ingame commands
alias -ab5 "bind "R" ab6_1x" //Change these to your ingame commands
//Key to disable/enable open mic
alias "openmic" "voice_vox 1; bind CAPSLOCK closemic;"
alias "closemic" "voice_vox 0; bind CAPSLOCK openmic;"
bind CAPSLOCK openmic
//AUTO-ATTACK toggle command
alias "auto_attack_toggle" "auto_attack_toggle_on"
alias "auto_attack_toggle_on" "echo --Auto-Attack --ON; dota_player_units_auto_attack 1; alias >auto_attack_toggle auto_attack_toggle_off"
alias "auto_attack_toggle_off" "echo --Auto-Attack --OFF; dota_player_units_auto_attack 0; alias >auto_attack_toggle auto_attack_toggle_on"
bind "F12" "auto_attack_toggle"
//Useful guide on how you can make with the toggle and incrementvar commands:
toggle cycles a variable through a list of values. The command
toggle distance 10 20 30 40 50
//will cycle the variable called distance through the listed values each time it is executed.
//incrementvar increments a variable while keeping it within minimum and maximum bounds. The command
incrementvar distance 10 20 2
//will increment distance by 2 and (I think) will wrap 22 back to 10. The way I used it in the script, the value for host timescale wraps back to 1.
//Quick cast or Normal cast toggle (must be first configured here to work properly) - EXPERIMENTED SOMETHING
alias "quick_normal_cast_mode_toggle" "quick_cast_mode_on"
alias "quick_cast_mode_on" "enable_quick_mode;alias quick_normal_cast_mode_toggle quick_cast_mode_off"
alias "quick_cast_mode_off" "disable_quick_mode;alias quick_normal_cast_mode_toggle quick_cast_mode_on"
alias "enable_quick_mode" "alias use_item_0_mod_toggle dota_item_quick_cast 0;alias use_item_1_mod_toggle dota_item_quick_cast 1 alias use_item_2_mod_toggle dota_item_quick_cast 2;alias use_item_3_mod_toggle dota_item_quick_cast 3;alias use_item_4_mod_toggle dota_item_quick_cast 4;alias use_item_5_mod_toggle dota_item_quick_cast 5;alias use_ability_0_mod_toggle dota_ability_quickcast 0; alias use_ability_1_mod_toggle dota_ability_quickcast 1;alias use_ability_2_mod_toggle dota_ability_quickcast 2;alias use_ability_3_mod_toggle dota_ability_quickcast 3;alias use_ability_4_mod_toggle dota_ability_quickcast 4;alias use_ability_5_mod_toggle dota_ability_quickcast 5"
alias "disable_quick_mode" "alias use_item_0_mod_toggle dota_item_execute 0;alias use_item_1_mod_toggle dota_item_execute 1;alias use_item_2_mod_toggle dota_item_execute 2;alias use_item_3_mod_toggle dota_item_execute 3;alias use_item_4_mod_toggle dota_item_execute 4;alias use_item_5_mod_toggle dota_item_execute 5;alias use_ability_0_mod_toggle dota_ability_execute 0;alias use_ability_1_mod_toggle dota_ability_execute 1;alias use_ability_2_mod_toggle dota_ability_execute 2;alias use_ability_3_mod_toggle dota_ability_execute 3;alias use_ability_4_mod_toggle dota_ability_execute 4;alias use_ability_5_mod_toggle dota_ability_execute 5"
//Remap the ALT key with CTRL
dota_remap_alt_key ctrl
bind alt +dota_control_group
//Bind a key for each rune
bind "Z" "dota_camera_set_lookatpos 3035 -2350"
bind "X" "dota_camera_set_lookatpos -2273 1800"
//Bind a key for each rune, with return to hero on release
alias "+toprune" "dota_camera_setpos -2273 1800"
alias "-toprune" "dota_select_all; dota_select_all"
alias "+botrune" "dota_camera_setpos 3035 -2350"
alias "-botrune" "dota_select_all; dota_select_all"
bind "Z" "+toprune"
bind "X" "+botrune"
//Bind a key to look at fountain
alias centerhero "+dota_camera_follow; -dota_camera_follow; +dota_camera_follow; -dota_camera_follow;"
alias +radiantfountain "dota_camera_setpos -6989 -7053 1243"
alias +direfountain "dota_camera_setpos 6976 5753 1238"
alias -radiantfountain centerhero
alias -direfountain centerhero
//bind <key> +radiantfountain
//bind <key> +direfountain