Advertisement
aveyo

autoexec - outdated!

Mar 23rd, 2016
892
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 81.44 KB | None | 0 0
  1. //// AVEYO'S D-OPTIMIZER v2.3rc2 "S U P R E M E" Dota 2 autoexec.cfg!       If downloaded from pastebin, rename extension .c to .cfg
  2. //// Just a quick fix(remove cameragrip from SPACE actions and changed some binds) to make it more compatible with the Test Client
  3.  
  4. //// Was waiting for the complete version of Reborn with in-game panorama ui - new console... and 6.86/Winter came without it :(
  5. //// Stuff used here will most likely be changed/patched in the Spring Update. Develop (sane) habits based on it AT YOUR OWN RISK!
  6. //// Still using Legacy Keys? Then casting enhancements, main feature of this cfg, will be unavailable, so try learning proper keys
  7. ////
  8. //// Edited in SynWrite. To optimally read/edit this script, use a text editor/viewer featuring syntax highlighting set to C++
  9. //// With readability in mind, I've self-imposed a 132chars per line limit, so large aliases were split into many shorter ones.
  10. //// Everything after // becomes a comment and will not be executed, ; is used to combine multiple commands on a single line.
  11. //// This is one more reason why Dota 2 is THE best game in the genre - you can add innovative, brilliant features yourself!
  12.  
  13. ////                                             Current preset: Arrow (hybrid)
  14.  
  15. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  16. ////                                                         ____  ____
  17. ////  1a: [USER] LOCKED HOTKEYS :      Set all Abilities to |ALT|+|KEY| in Dota 2 Menu so that CFG can override them!
  18. ////                                                        ````` `````
  19. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  20. ////           KEY  CMD            ABILITIES             ACTION    SPACE+KEY ACTION                          [GUI DEFAULT COMMAND]
  21. alias -k1 bind "Q" +a1;//                             Ability 1    Ability Learn 1                        [dota_ability_execute 0]
  22. alias -k2 bind "W" +a2;//                             Ability 2    Ability Learn 2                        [dota_ability_execute 1]
  23. alias -k3 bind "E" +a3;//                             Ability 3    Ability Learn 3                        [dota_ability_execute 2]
  24. alias -k4 bind "D" +a4;//                             Ability 4    Ability Learn 4                        [dota_ability_execute 3]
  25. alias -k5 bind "F" +a5;//                             Ability 5    Ability Learn 5                        [dota_ability_execute 4]
  26. alias -k6 bind "R" +a6;//                             Ability 6    Ability Learn 6                        [dota_ability_execute 5]
  27.  
  28. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  29. ////
  30. ////  1b: [USER] FREE HOTKEYS : Press PAUSE or enter RK console command to reload hotkeys on-demand, once you enter a new game!
  31. ////      Needed because Dota 2 will reset all hotkeys to GUI values at each game start/end or when you modify Hotkeys in Menu.
  32. ////            You could prevent that by setting all conflicting keys, not just Abilities, to ALT+KEY in Dota 2 Menu...
  33. ////
  34. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  35.  
  36. ////           KEY  CMD           ABILITIES SET          ACTION    SPACE+KEY ACTION                          [GUI DEFAULT COMMAND]
  37. alias -k7 bind "T" upstats;//                     Upgrade Stats    Upgrade Stats                                [dota_learn_stats]
  38. alias -k8 bind "U" autocastall;//                * Autocast All                                                                [*]
  39. alias -k9 bind "O" dota_ability_learn_mode;//     Ability Learn
  40.  
  41. ////            KEY  CMD              ITEMS              ACTION                                              [GUI DEFAULT COMMAND]
  42. alias -k10 bind "Z" +i1;//                               Item 1                                              [dota_item_execute 0]
  43. alias -k11 bind "X" +i2;//                               Item 2                                              [dota_item_execute 1]
  44. alias -k12 bind "C" +i3;//                               Item 3                                              [dota_item_execute 2]
  45. alias -k13 bind "V" +i4;//                               Item 4                                              [dota_item_execute 3]
  46. alias -k14 bind "B" +i5;//                               Item 5                                              [dota_item_execute 4]
  47. alias -k15 bind "N" +i6;//                               Item 6                                              [dota_item_execute 5]
  48.  
  49. ////            KEY   CMD         CONTROL GROUPS         ACTION    SPACE+KEY ACTION                          [GUI DEFAULT COMMAND]
  50. alias -k16 bind "TAB" gt;//                   Control Group Tab    Next Group Tab (in order 1-10)            [dota_cycle_selected]
  51.  
  52. //// Optimal keys for Items are 123456, close to Abilities. Optimal keys for Selecting Groups are also 123456! Why not use for both?
  53. ////            KEY  CMD       HYBRID ITEMS/GROUPS       ACTION    SPACE+KEY ACTION     CTRL+KEY ACTION      [GUI DEFAULT COMMAND]
  54. alias -k17 bind "1" +h1;//                               Item 1    Select Group 1       Create Group 1       [dota_item_execute 0]
  55. alias -k18 bind "2" +h2;//                               Item 2    Select Group 2       Create Group 2       [dota_item_execute 1]
  56. alias -k19 bind "3" +h3;//                               Item 3    Select Group 3       Create Group 3       [dota_item_execute 2]
  57. alias -k20 bind "4" +h4;//                               Item 4    Select Group 4       Create Group 4       [dota_item_execute 3]
  58. alias -k21 bind "5" +h5;//                               Item 5    Select Group 5       Create Group 5       [dota_item_execute 4]
  59. alias -k22 bind "6" +h6;//                               Item 6    Select Group 6       Create Group 6       [dota_item_execute 5]
  60.  
  61. ////            KEY  CMD           MORE GROUPS           ACTION    SPACE+KEY ACTION     CTRL+KEY ACTION      [GUI DEFAULT COMMAND]
  62. alias -k23 bind "7" +g7;//                             Group  7    Select Group  7      Create Group  7    [+dota_control_group 7]
  63. alias -k24 bind "8" +g8;//                             Group  8    Select Group  8      Create Group  8    [+dota_control_group 8]
  64. alias -k25 bind "9" +g9;//                             Group  9    Select Group  9      Create Group  9    [+dota_control_group 9]
  65. alias -k26 bind "0" +g10;//                            Group 10    Select Group 10      Create Group 10   [+dota_control_group 10]
  66.  
  67. ////            KEY  CMD          UNIT ACTIONS           ACTION    SPACE+KEY ACTION                          [GUI DEFAULT COMMAND]
  68. alias -k27 bind "A" +uA;//                               Attack    Unified Attack (lazy)                               [mc_attack]
  69. alias -k28 bind "S" +uS;//                                 Stop    Unified Stop (lazy)                                 [dota_stop]
  70. alias -k29 bind "M" mc_move;//                             Move
  71. alias -k30 bind "P" mc_patrol;//                         Patrol
  72. alias -k31 bind "H" dota_hold;//                  Hold Position
  73. alias -k32 bind "F1" f1;//                          Select Hero    Select All Units                          [+dota_camera_follow]
  74. //* alias -k33 bind "F13" s1;//                Select All Units    *** use SPACE+F1 instead ***                  [dota_select_all]
  75. //* alias -k34 bind "F14" s2;//          Select All Other Units    *** use SPACE+F2 instead ***           [dota_select_all_others]
  76. alias -k35 bind "F2" f2;//                       Select Courier    Select All Other Units                    [dota_select_courier]
  77. alias -k36 bind "F3" f3;//                Courier Deliver Items    Courier Speed Burst                      [dota_courier_deliver]
  78. //* alias -k37 bind "F15" s3;//             Courier Speed Burst    *** use SPACE+F3 instead ***               [dota_courier_burst]
  79. alias -k38 bind "-" use_item_client player_loadout action_item;//  Action Item
  80. alias -k39 bind "=" use_item_client current_hero taunt;//          Taunt Item
  81.  
  82. ////            KEY  CMD              SHOP               ACTION    SPACE+KEY ACTION                          [GUI DEFAULT COMMAND]
  83. alias -k40 bind "F4" f4;//                            Open Shop    Open Secret Shop                              [toggleshoppanel]
  84. alias -k41 bind "F5" dota_purchase_quickbuy;//         Quickbuy
  85. alias -k42 bind "F8" dota_purchase_stickybuy;//       Stickybuy
  86. //* alias -k43 bind "F16" stash_grab_all;//          Take Stash    *** use SPACE instead ***
  87.  
  88. ////            KEY  CMD         PLAYER ACTIONS          ACTION    SPACE+KEY ACTION                          [GUI DEFAULT COMMAND]
  89. alias -k44 bind "`" +sb;//                           Scoreboard    W33fresh                                          [+showscores]
  90. alias -k45 bind "J" dota_glyph;//                Activate Glyph
  91. alias -k46 bind "F9" dota_pause;//                        Pause
  92. alias -k47 bind "F6" jpeg_screenshot;//              Screenshot    F6 is such a bad choice! Better use ALt+F6 in GUI / PRINTSCREEN
  93. //* alias -k48 bind "F12" toggleconsole;//              Console    Set it up at the end of this section instead!
  94.  
  95. ////            KEY  CMD          CAMERA ACTIONS         ACTION    SPACE+KEY ACTION                          [GUI DEFAULT COMMAND]
  96. alias -k49 bind "UPARROW" +forward;//            Camera Forward
  97. alias -k50 bind "DOWNARROW" +back;//                Camera Back
  98. alias -k51 bind "LEFTARROW" +moveleft;//            Camera Left
  99. alias -k52 bind "RIGHTARROW" +moveright;//         Camera Right
  100. alias -k53 bind "SEMICOLON" +cameragrip;//          Camera Grip
  101. alias -k54 bind "BACKSPACE" +recent;//        Show Recent Event                                                [dota_recent_event]
  102. alias -k55 bind "I" inspectheroinworld;//         Showcase View
  103.  
  104. ////            KEY  CMD               CHAT              ACTION    SPACE+KEY ACTION                          [GUI DEFAULT COMMAND]
  105. alias -k56 bind "ENTER" say;//                        Chat Team
  106. alias -k57 bind "KP_ENTER" say;//                      Chat All
  107. alias -k58 bind "Y" +chatw;//                         ChatWheel    ChatWheel Next preset                              [+chatwheel]
  108. //alias -k59 bind "G" +iv_voicerecord_party;//      Voice (party)
  109. //alias -k60 bind "MOUSE4" +voicerecord;//           Voice (team)
  110.  
  111. ////            KEY CMD           CHAT PHRASES           ACTION    PHRASE DESCRIPTION
  112. alias -k61 bind "SEMICOLON" chatwheel_say "7";//  Chat Phrase 1    Well played (7)        ; :
  113. alias -k62 bind "[" chatwheel_say "2";//          Chat Phrase 2    Get Back (2)           [ {                    entirely optional
  114. alias -k63 bind "]" chatwheel_say "6";//          Chat Phrase 3    Push (6)               ] }
  115. alias -k64 bind "'" chatwheel_say "8";//          Chat Phrase 4    Missing (8)            ' "
  116.  
  117. ////            KEY  CMD             D-OPTIMIZER         ACTION    DESCRIPTION
  118. alias -k65 bind "SPACE" +spacemod;//             SPACE MODifier    Called SPACE MODifier for a reason, but you could use other key
  119. alias -k66 bind "CAPSLOCK" aa_dtap;//               Auto Attack    Doubletap to toggle, so it won't affect typing each time!
  120. alias -k67 bind "INS" cc;//                 Global Cast Control    Alter the way you use Abilities & Items! (optional A/S, too)
  121. alias -k68 bind "DEL" ss;//                     Select Summoned    Same as GUI option, no more need to open Settings each time
  122. alias -k69 bind "HOME" uo;//                     Unified Orders    Same as GUI option, no more need to open Settings each time
  123. alias -k70 bind "END" mo;//                    Multiunit Orders    The "secret" meepo ez mode! No need to Tab in-between orders
  124. alias -k71 bind "PGUP" rc;//             RightClick Deny/Follow    Same as GUI option, no more need to open Settings each time
  125. alias -k72 bind "PGDN" hr;//                      Hold 2 Repeat    Experimental Attack/Stop/Rightclick repeat until released!
  126. alias -k73 bind "F10" fp;//             FPS / Panorama Previews    Menu FPS, AVG FPS log to file, network display + PP on/off
  127. alias -k74 bind "F11" dc;//           D-Console (no healthbars)    In-game Console with hidden healthbars for legibility!
  128. alias -k75 bind "F7" hm;//           HealthBars Vertical Marker    From 125 to 700, reset to default with SPACE+F7!
  129. alias -k76 bind "SCROLLLOCK" lw;//       Locked Window/Edge Pan    Useful when running in a window or on multiple displays
  130. alias -k77 bind "L" lc;//                   Locked Chase camera    Built-in Dota 2 option, but with no GUI option available
  131. alias -k78 bind "K" uc;//                 Unlocked Chase camera    Same as double-clicking portrait, gets canceled by Pan Scan
  132. alias -k79 bind "/" fc;//                          Focus Camera    Single OR DoubleTap to center camera on selection seamlessly
  133. alias -k80 bind "KP_PLUS" gv;//                     Game Volume    Quickly Mute, Half, Max
  134. alias -k81 bind "KP_MINUS" mv;//                   Music Volume    Quickly Mute, Half, Max
  135. alias -k82 bind "KP_DIVIDE" nq_nxt;//   Network Quality Presets
  136. alias -k83 bind "KP_MULTIPLY" vq_nxt;//   Video Quality Presets
  137. alias -k84 bind "KP_1" +c1;//            Radiant t1 bot CamZone
  138. alias -k85 bind "KP_2" +c2;//                  Rune bot CamZone
  139. alias -k86 bind "KP_3" +c3;//               Dire t1 bot CamZone                                                       keypad
  140. alias -k87 bind "KP_4" +c4;//          Radiant ancients CamZone    Default to only jump while key is pressed      top 7 8 9
  141. alias -k88 bind "KP_5" +c5;//                 River mid CamZone    then return to current selection.              mid 4 5 6
  142. alias -k89 bind "KP_6" +c6;//             Dire Ancients CamZone    SPACE+KEY - remain on jump location!           bot 1 2 3
  143. alias -k90 bind "KP_7" +c7;//            Radiant t1 top CamZone                                                   thr  0  .
  144. alias -k91 bind "KP_8" +c8;//                  Rune top CamZone
  145. alias -k92 bind "KP_9" +c9;//               Dire t1 top CamZone
  146. alias -k93 bind "KP_0" +c10;//           Radiant throne CamZone
  147. alias -k94 bind "KP_DEL" +c11;//            Dire throne CamZone
  148.  
  149. ////            KEY  CMD                   RELIABLE KEYS DAEMON    PERIODICALLY FORCE THESE CFG BINDS, OVERRIDING ANY GUI CHANGES!
  150. alias -rk1 bind "F12" toggleconsole;//                  Console    Prevent having no access to Console because of a bad layout!
  151. alias -rk2 bind "PAUSE" reload;//               Reload All Keys    SPACE+PAUSE = EE (exec autoexec) to reload everything from disk!
  152. alias -rk3 bind "APP" +dhelp;//                     Help Screen    While key is hold, hides on release (or enter ? or / in Console)
  153.  
  154. //// You might have noticed the 'alias -k00 ' prefix. It can be safely removed, binds will still work without it.
  155. //// It's added so that hotkeys can be refreshed on-demand, not just at startup, without reloading the whole autoexec.cfg file!
  156. //// You can add five more (-k95 to -k99) without further code changes. Example: alias -k96 bind "MOUSE5" UC;//Toggle Unlocked Chase
  157.  
  158. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  159. ////
  160. ////  2: [USER] PRESETS : SWITCH BY REPLACING THE VALUE UNDER QUOTES WITH ONE OF THE CHOICES ON THE RIGHT
  161. ////                                                                                                            CHOICE=[description]
  162. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  163.  
  164. //// {SPACE} is the perfect modifier, used extensively by this CFG, but chances are you're already using this key for something else
  165. //// So here is an option to import your former action and incorporate it, just replace # with your action - example: "dota_stop"
  166. //// For convenience, you can add it to trigger as soon as you press SPACE, or after releasing key
  167. alias #old_hold "#";//
  168. alias #old_release "#";//
  169. //// -------------------------------------------------------------------------------------------------------------------------------
  170. alias #cc "EASY";//         CC Innovative Global CastControl {INS}                                              CAST QUICK EASY FAST
  171. alias #cc_over "U_QUICK";// CC Overrides (default: hardcoded for Attack/Stop keys)                        U_QUICK=[override] #=[off]
  172. ////                        Can be used to hardcode CC mode for abilities and items, too. EX: alias #cc_over "A_FAST;I_EASY;U_QUICK"
  173. //// -------------------------------------------------------------------------------------------------------------------------------
  174. alias #ah "AH0";//          AH Optional AltHack (ALT+QWEASD = inventory) {ALT} remmaped to {Z}                    AH0=[off] AH1=[on]
  175. //// -------------------------------------------------------------------------------------------------------------------------------
  176. alias #hy "_HYBRID";//      HY Hybrid Items/Groups: 123456=Use_Item # SPACE+123456=Select_Group #             _HYBRID _ITEMS _GROUPS
  177. //// -------------------------------------------------------------------------------------------------------------------------------
  178. alias #1st "HERO";//        Cycle groups starts with HERO/GROUP {SPACE}+{TAB}                        HERO=[hero, then g1] GROUP=[g1]
  179. //// -------------------------------------------------------------------------------------------------------------------------------
  180. alias #fc "FC0";//          FC FOCUS CAMERA {\} Manual:doubletap SPACE Auto:F1/TAB/SPACE+TAB/SPACE+123456         FC1=[on] FC0=[off]
  181. //// -------------------------------------------------------------------------------------------------------------------------------
  182. alias #cw "CW1";//          CW Chatwheel initial preset {Y} - swap with {SPACE} + {Y}                                    MC1 MC2 MC3
  183. //// -------------------------------------------------------------------------------------------------------------------------------
  184. alias #cz "CZ1";//          CZ CamZones jumps {kp_0} to {kp_9}                         CZ1=[return after release] CZ0=[stay on jump]
  185. //// -------------------------------------------------------------------------------------------------------------------------------
  186. alias #sl "SL1";//          SL Static LoadOut - Static portraits and up to 14 heroes pick                LS0=[Animated] SL1=[Static]
  187. //// -------------------------------------------------------------------------------------------------------------------------------
  188. alias #nq "NQ_HIGH";//      NQ Network Quality {KP_DIVIDE}                                                   NQ_LOW NQ_HIGH NQ_ULTRA
  189. //// -------------------------------------------------------------------------------------------------------------------------------
  190. alias #vq "VQ_OPTIMAL";//   VQ Video Quality {KP_MULTIPLY}                    VQ_POTATO VQ_LOW VQ_OPTIMAL VQ_MEDIUM VQ_HIGH VQ_ULTRA
  191. //// -------------------------------------------------------------------------------------------------------------------------------
  192. alias #ss "SS1";//          SS Auto Select Summoned Units {DEL}                                          SS0=[Exclude] SS1=[AutoSel]
  193. alias #uo "UO1";//          UO Unified Unit Orders {HOME}                                               UO0=[Distinct] UO1=[Unified]
  194. alias #mo "MO1";//          MO Multiunit Orders {END} - the "secret" easy mode for Meepo                MO0=[TabToCast] MO1=[ReCast]
  195. alias #rc "RC1";//          RC RightClick Deny or Follow {PGUP}                                              RC0=[Follow] RC1=[Deny]
  196. //// -------------------------------------------------------------------------------------------------------------------------------
  197. alias #hr_snd "snd_gamevolume 0.5";// HR Hold2Repeat {PGDN} - Restore Game sounds volume after muting                            0.5
  198. //// -------------------------------------------------------------------------------------------------------------------------------
  199. alias #cls "CLEAR";//       Clear console history on reload/startup                                               CLEAR=[on] #=[off]
  200. alias #pop "SHOWCONSOLE";// Pop-up Console at first startup to show help screen                             SHOWCONSOLE=[on] #=[off]
  201.  
  202. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  203. ////
  204. ////  3: [USER] GUI OPTIONS : UNCOMMENT ANY THAT YOU WANT HARDCODED BY THE CFG                [ ] : default  * : changed by this cfg
  205. ////
  206. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  207.  
  208. //// GAME
  209. //* dota_player_units_auto_attack 0;//            [0]  Auto Attack                                    AA toggle starts with this off
  210. //* dota_player_units_auto_attack_after_spell 1;//[1]  Auto Attack After Spell                        AA toggle starts with this on
  211. //dota_player_auto_purchase_items 0;//              [0]  Auto Purchase Items
  212. //* dota_player_add_summoned_to_selection 0;//    [0]  Auto Select Summoned Units               Set #ss in section 2.PRESETS instead
  213. //* dota_ability_quick_cast 1;//                 *[0]  Double Tap Ability to Self Cast                Already enabled by CastControl
  214. //* dota_player_multipler_orders 1;//            *[0]  Unified Unit Orders                      Set #uo in section 2.PRESETS instead
  215. dota_player_teleport_requires_halt 1;//          *[0]  Teleport Requires Stop
  216. //* dota_force_right_click_attack 1;//           *[0]  Force Right-Click Attack                 Set #rd in section 2.PRESETS instead
  217. dota_show_hero_finder 0;//                       *[1]  Holding ALT Highlights Hero
  218. //dota_enable_range_finder 1;//                    *[0]  Show Ability Rangefinder While Casting
  219. dota_always_show_player_names 0;//                [0]  Show Player Names Over Healthbar
  220. dota_hud_healthbar_number 1;//                    [1]  Show Hitpoints Over Player Healthbar
  221. //dota_shop_force_hotkeys 0;//                      [0]  Shop Always Uses Hotkeys
  222. //dota_spectator_use_broadcaster_stats_panel 1;//   [1]  Use Broadcaster Stats
  223. dota_hud_colorblind 0;//                          [0]  Colorblind Mode
  224. dota_settings_quick_target_attack 1;//           *[0]  Quick Attack Altered by CastControl if #cc_override=off
  225. dota_settings_targeted_attack_move 1;//          *[0]  Smart Attack Move
  226.  
  227. //// MINIMAP
  228. dota_minimap_simple_colors 0;//                   [0]  Use Simple Colors in Minimap
  229. dota_minimap_hide_background 0;//                 [0]  Hide Minimap Background
  230. dota_minimap_show_hero_icon 1;//                  [1]  Show Hero Icons on Minimap with ALT
  231. dota_minimap_always_draw_hero_icons 1;//         *[0]  Minimap ALT always on Names/Icons always on
  232. //dota_hud_flip 0;//                                [0]  Show Minimap on the Right
  233.  
  234. //// CAMERA
  235. //dota_camera_reverse 0;//                          [0]  Reverse Camera Grip
  236. //dota_camera_edgemove 1;//                         [1]  Edge Pan
  237. dota_screen_shake 1;//                            [1]  Enable Screen Shake
  238. dota_reset_camera_on_spawn 0;//                  *[1]  Move Camera on Respawn
  239. dota_camera_deatheffect 0;//                     *[1]  Camera Color-shift when Dead Still forced always on
  240. //dota_camera_dotatv_smooth_drag 1;//              *[0]  Smoothdrag Camera when Spectating
  241. //dota_camera_speed 5000;//                     *[3000]  Camera Speed More DotA-like
  242. //dota_camera_accelerate 50;//                    *[49]  Camera Deceleration
  243.  
  244. //// PROFILE
  245. //* not_available_in_cfg;//                       [ ]  Expose Public Match Data
  246. //dota_ignore_nonfriend_invites 0;//                [0]  Block party invites from non-friends
  247. //* dota_ignore_nonfriend_guild_invites;//        [ ]  Block guild invites from non-friend Guild still not implemented
  248. dota_rp_hide_party_unless_open 1;//              *[0]  Hide party status when not in an Open Party
  249. dota_open_party_manual_accept_invites 1;//       *[0]  Don't auto-accept party invites while in an Open Party
  250. //dota_trading_show_requests_from 1;//              [1]  Trade invites from: 1=Guildmates and Friends,0=Friends Only,2=Anyone
  251.  
  252. //// CHAT
  253. //dota_chat_enable_whispers 1;//                    [1]  Display Steam messages as whispers
  254. dota_join_regional_chat_channel 0;//             *[1]  Join regional chat channel on startup - Privacy issue as it's default
  255. //dota_chat_allow_global 0;//                      *[1]  Allow chat messages from a channel to appear in tabs for other chat
  256.  
  257. //// CHATWHEEL - FOR REFERENCE, OVERRIDEN BY CHATWHEEL PRESETS
  258. //chat_wheel_phrase_0 "8";//                      [8]  Missing!
  259. //chat_wheel_phrase_1 "1";//                      [1]  Careful!                   phrase_6
  260. //chat_wheel_phrase_2 "2";//                      [2]  Get Back!           phrase_5 < >  phrase_7
  261. //chat_wheel_phrase_3 "3";//                      [3]  We need wards.    phrase_4 <  o  > phrase_0
  262. //chat_wheel_phrase_4 "4";//                      [4]  Stun now!           phrase_3 < > phrase_1
  263. //chat_wheel_phrase_5 "5";//                      [5]  Help!                     phrase_2
  264. //chat_wheel_phrase_6 "6";//                      [6]  Push now
  265. //chat_wheel_phrase_7 "7";//                      [7]  Well played!
  266.  
  267. //// APPLICATION
  268. dota_activate_window_on_match_found 1;//         *[0]  Bring to foreground when match found
  269. //* con_enable 1;//                              *[0]  Enable console                                              Already forced on
  270. //dota_armory_automatically_add_new_item_to_collection 0;//  [0] Add New Items to Collection Tab
  271. //dota_hide_tips_on_loading_screens 0;//            [0]  Hide Tips on Loading Screens
  272. //dota_default_spoilers_blocked 1;//               *[0]  Default Tournament Spoiler Block to On
  273.  
  274. ////  AUDIO VOLUME
  275. //volume 1.0;//                                    *[1]  Master Volume
  276. //snd_gamevolume 0.5;//                            *[1]  Game Sounds
  277. //snd_musicvolume 0.4;//                           *[1]  Music
  278. //snd_voipvolume 1.0;//                            *[1]  Voice
  279. //snd_gamevoicevolume 0.6;//                       *[1]  Unit Speech
  280. //dota_speech_level 1;//                           *[2]  Unit Speech Level 0=Off 1=Events 2=All
  281.  
  282. //// AUDIO
  283. //sound_device_override 0;//                        [0]  Sound Device Better set the default in OS settings
  284. //speaker_config -1;//                             [-1]  Speakers configuration 1=headphones 2=stereo 4=4.0 5=5.1 7=7.1
  285. snd_mute_losefocus 0;//                          *[1]  !Play Sound in Desktop Dislike these inversed gui-cvars
  286. chat_sound 0;//                                   [0]  Chat Message Sound
  287. //dota_mute_cobroadcasters 0;//                     [0]  Mute Co-Broadcasters
  288. dsp_slow_cpu 1;//                                *[0]  !High Quality Audio Dislike these inversed gui-cvars
  289. closecaption 0;//                                 [0]  Use Captions
  290. //dota_force_default_respawn_stinger 0;//           [0]  Always use default respawn music
  291. //snd_autodetect_latency 0;//                       [0]  Autodetect Audio Latency
  292.  
  293. //// VOICE - FOR REFERENCE, BETTER USE GUI FOR THIS
  294.  //**command broken atm: voice_vox 0;//           [0]  Enable Open Mic Party=1 Team=2
  295. //voice_threshold 5000;//                     *[4000]  Open Mic Threshold
  296. //voice_always_sample_mic 0;//                    [0]  Streamlined Push To Talk Enable if voice hotkey gives fps loss
  297.  
  298. //// NETWORK - FOR REFERENCE, SET NQ PRESET INSTEAD
  299. //* cl_cmdrate 30;//                             [30]  Network Quality A Low=15, High=30
  300. //* cl_updaterate 30;//                          [30]  Network Quality B Low=15, High=30
  301. //* dota_hud_netgraph 0;//                        [0]  Display Network Information
  302.  
  303. //// VIDEO - FOR REFERENCE, SET VQ PRESET INSTEAD
  304. //// - Use advanced settings                                                   VQ presets: Low  OPTIMAL  Medium  High  Ultra
  305. //dota_portrait_animate 1;//                      [ ]  * Animate Portrait                  ...    ...    ...    ...    ...
  306. //* r_deferred_additive_pass 1;//                 [1]  Additive Light Pass                 OFF     ON     ON     ON     ON
  307. //* r_deferred_simple_light 1;//                  [1]  World Lighting                      OFF    OFF     ON     ON     ON
  308. //* r_ssao 1;//                                   [1]  Ambient Occlusion                   OFF    OFF    OFF    OFF     ON
  309. //dota_ambient_creatures 1;//                     [1]  Ambient Creatures                   OFF    OFF    OFF    OFF     ON
  310. //* r_dota_normal_maps 1;//                       [1]  Normal Maps                         OFF    OFF     ON     ON     ON
  311. //r_dashboard_render_quality 1;//                 [ ]  * High Quality Dashboard            ...    ...    ...    ...    ...
  312. //* r_dota_fxaa 1;//                              [1]  Anti-Aliasing                       OFF    OFF    OFF    OFF     ON
  313. //* r_deferred_specular 1;//                      [1]  Specular                            OFF    OFF     ON     ON     ON
  314. //* r_deferred_specular_bloom 1;//                [1]  Specular and Light Blooms           OFF    OFF    OFF     ON     ON
  315. //* dota_cheap_water 1;//                         [0]  !High Quality Water                 OFF    OFF    OFF     ON     ON
  316. //* r_deferred_height_fog 1;//                    [1]  Atmospheric Fog                     OFF    OFF    OFF     ON     ON
  317.  //* not_available_in_cfg;//                           VSync
  318. //* r_texture_stream_mip_bias 0;//                [0]  Texture Quality                     LOW    MED    MED     HI     HI
  319. //* r_texturefilteringquality 3;//                [3]  Texture Filtering                     1      1      3      3      3
  320. //* cl_globallight_shadow_mode 3;//               [2]  Shadow Quality                      LOW     HI     HI     HI    ULT
  321. //* mat_viewportscale 1.0;//                      [1]  Render Quality                       80     85     90    100    100
  322. //// "Animate Portrait" and "High Quality Dashboard" can be hard-coded above, since those are not touched by VQ PRESETS
  323.  
  324. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  325. ////
  326. ////  4: [USER] EXTRA TWEAKS : HERE IS WHERE YOU SHOULD ADD YOUR OWN STUFF BUT THERE IS NOT MUCH ROOM LEFT (READ END COMMENTS)
  327. ////          IF YOU DON'T SEE THE LINE "Writing configuration for slot 0" AFTER YOU ENTER EE IN CONSOLE (EXEC AUTOEXEC)
  328. ////    YOU NEED TO //COMMENT SOME HOTKEYS/OPTIONS/TWEAKS OR WRITE THEM IN A SEPARATE personal.cfg FILE, THAT GETS CHAIN-LOADED
  329. ////
  330. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  331. //fps_max 59.01f;//                      [120] FPS Max, 59.01f has subjectively less inputlag at 60Hz
  332. //engine_no_focus_sleep 50;//            [20] FPS limit while alt-tab 0=disable and waste power - might be needed when streaming
  333. m_rawinput 1;//                        [0] Use Raw Input for mouse input - It's noticeable specially with Hold2Repeat
  334. snd_mixahead 0.1;//                    [0.05] Sound engine buffer - Increased to fix crackling, but can lead to delayed sounds
  335. dota_camera_disable_zoom 1;//          [0] Disable camera zoom - mostly for broken mousewheels
  336. dota_health_per_vertical_marker 250;// [250] Health Bar Vertical Marker - should keep default here and use F7 key/HB cmd to toggle
  337. dota_health_hurt_threshold 1;//        [0.01] Health bars threshold once receiving hit, 1+ for instant damage
  338. dota_minimap_misclick_time 0;//        [0.2] Minimap miss click detection 0=every click counts
  339. dota_minimap_creep_scale 1.5;//        [1.0] Slightly bigger Creep dots on minimap
  340. dota_minimap_hero_size 800;//          [600]  Slightly bigger Hero icons on minimap
  341. dota_friendly_color_b 0.05;//          [0] More noticeable friendly highlights - blue component
  342. dota_friendly_color_g 1;//             [1] More noticeable friendly highlights - green component
  343. dota_friendly_color_r 0.05;//          [0] More noticeable friendly highlights - red component
  344. dota_enemy_color_b 0.05;//             [0] More noticeable enemy/friendly highlights - blue component
  345. dota_enemy_color_g 0.05;//             [0] More noticeable enemy/friendly highlights - green component
  346. dota_enemy_color_r 1;//                [1] More noticeable enemy/friendly highlights - red component
  347. dota_chat_mute_all 0;//                [0] Mute all human chat - You will only see ChatWheel messages
  348. //voice_chat_bubbles 1;//                [1] Show Voice bubbles - If you get random polygon lines bug when someone speaks, set to 0
  349. //dota_show_itempickups 1;//             [1] Show Item pickups - If multiple instances triggered by teammates lowers fps, set to 0
  350. //dota_map_preload 0;//                  [0] Preload map assets, at the cost of increased first load time, might not work properly
  351. //r_experimental_lag_limiter 0;//        [0] VSync without increased latency - only if you can maintain high fps (dev.dota t=184108)
  352. //r_frame_sync_enable 1;//               [1] Disable frame sync for broken systems - only do it as a last resort (dev.dota t=174732)
  353. //input_button_code_is_scan_code 0;//    [0] Bind keys based on keyboard position, not key name (hit and miss, better set it in GUI)
  354.  
  355. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  356. ////
  357. ////  4: [EXPERT-ONLY] D-CODE-BASE : TOUCH ONLY IF YOU KNOW WHAT YOU ARE DOING, AND EVEN THEN, SEARCH FOR USAGE ELSEWHERE IN THE CFG
  358. ////
  359. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  360.  
  361. //// FORCE CONSOLE TO GRAB SOME INITIAL SPEW INSTEAD OF STARTING EMPTY WHEN NOT USING LAUNCH OPTION -CONSOLE
  362. con_enable 1; // Enable Console
  363. showconsole;  // It happens at an early stage of loading so you don't actually see it open,
  364. hideconsole;  // since it's being imediately followed by hideconsole. Placed here intentionally, to filter out above section's spew
  365.  
  366. //// AVEYO's INNOVATIVE ECHO ALTERNATIVE WITH ON-THE-FLY COLORS :                 IT'S GLOBAL - OTHER FUNCTIONS DEPEND ON THIS CODE!
  367. //// COMMANDS:                        OUTPUT:                    DESCRIPTION:
  368. //// setinfo VAR "TXT";VAR;       //  VAR = TXT               // Prints pairs, on a newline. Spaces need quotes. VAR can be " "
  369. //// grep .     TXT;              //  TXT                     // Prints TXT inline. Quotes not needed. Trims spaces. Usable in alias
  370. //// grep . .   TXT;              //  .   TXT                 // Prints TXT inline, but prepends it with . keeping leading spaces
  371. //// cmd                          //  cmd = value             // Prints cmd = value pair
  372. //// cmd | grep !@#;              //                          // Hides unwanted output of cmd command itself
  373. //// cmd | say_student;           //  [Student]X:cmd = value  // Exports console cmd output to in-game message
  374. //// #echo_off; #echo_on          //                          // Disable/Enable all console output, to filter unwanted spew
  375. //// log_color Console RGBA;      //                          // Changes all console text color. Not very useful by itself
  376. //// #echo;                       //                          // Starts a new line, should be used before GREP
  377. //// grep . TXT;grep . TXT;       //  TXTTXT                  // A sequence of grep commands prints on the same line,
  378. //// grep . TXT;#echo;grep . TXT; //  TXT                     // While #echo prefix adds newline support for the awesome ascii art!
  379. ////                                  TXT
  380. alias #echo_off "log_flags Console General +donotecho | grep !@#";alias #echo_on "log_flags Console General -donotecho | grep !@#";
  381. alias #color_none "log_color Console General C0C0C000 | grep !@#"; // invisible color - text can still be selected/copied/pasted
  382. alias #color_default "log_color Console General 00000000 | grep !@#;alias #color #color_default";setinfo = "";alias # "";//     init
  383. alias #echo "#color_none;=;#color";// basically sets invisible color, prints a newline (actually: = = ) then restores previous color
  384. //// COLOR PRESETS! Define your own using the same template
  385. alias #color_cyan "log_color Console General 00FFFFFF | grep !@#;alias #color #color_cyan";
  386. alias #color_yellow "log_color Console General FFFF00FF | grep !@#;alias #color #color_yellow";
  387. alias #color_green "log_color Console General 00FF00FF | grep !@#;alias #color #color_green";
  388.  
  389. //// LOADING CONSOLE MESSAGE AT STARTUP                                                                 SHOWCASING ECHO ALTERNATIVE!
  390. #color_cyan;grep . D-OPTIMIZER ;#color_default;grep . v2.3rc: Enter ;#color_green;grep . ? ;//        Mixing multiple colors inline!
  391. #color_default;grep . to show the help screen!;#echo;//   Splitting long code on multiple lines, while echoing on just a single one!
  392. say_student . D-OPTIMIZER;// don't remove this first say_student else it prints garbage 1st run (or replace it with say_student " ")
  393. //// -------------------------------------------------------------------------------------------------------------------------------
  394.  
  395. //// AVEYO's INNOVATIVE WAIT/DELAY & (SAFE)LOOPS :
  396. //// blink cmd delay value1 value2   // toggles cmd alternatively between values after a set delay, in a loop! value must be numeric
  397. //// execute_command_every_frame cmd // loops the respective command/alias - by itself can hinder performance if fps is very high
  398. //// - Combining both with clever numeric-looking aliases, I've made possible a customized delay / loop engine (that can be layered)
  399. //// - Global defines: #, -1.000000 = do-nothing; #stop = terminate any wait/loop (stuff to hide output + #daemon layer launcher)
  400. alias # "";alias -1.000000 "";alias #stop "#echo_off;blink crosshair 1 1;blink;execute_command_every_frame #;#daemon;#echo_on";
  401.  
  402. //// AVEYO's LEET INTRO: POPUP CONSOLE WITH HELP SCREEN 10 SECONDS AFTER STARTUP                              SHOWCASING WAIT/DELAY!
  403. //// - Defining delay: alias numeric-looking-name "#stop;commands you want to use" - must start with #stop else it will keep looping
  404. alias 2.000000 "top_bar_message Loading_D-OPTIMIZER-please_wait... 0";// instead of doing-nothing(-1), show top bar loading message
  405. alias 1337.000000 "#stop;top_bar_message 0;fp_net;?;#pop";// define list of commands (hide top bar message,?=print help,pop console)
  406. //// - Triggering delay: blink execute_command_every_frame delay-in-seconds(20) hard-coded-do-nothing(-1) numeric-looking-name(1337)
  407. blink execute_command_every_frame 20 2 1337;//comment this line to disable INTRO, or just disable console popup in section 2:PRESETS
  408. //// - What happens: for the first 10 seconds(20) blink sets execute_command_every_frame to 2=topbarmessage (normaly to 1=donothing)
  409. //// then after 10 seconds(20) blink sets execute_command_every_frame to 1337.000000 and executes the list of commands,
  410. //// while ending looping after parsing the #stop alias.       Why 20=10s? because blink sets the cmd to either value, half the time
  411. //// -------------------------------------------------------------------------------------------------------------------------------
  412.  
  413. //// AVEYO's ENHANCED CAMERA CONTROLS                                             IT'S GLOBAL - OTHER FUNCTIONS DEPEND ON THIS CODE!
  414. //// - LOCKED WINDOW FOR MOUSE AND EDGE PAN : hotkey = {SCROLLLOCK} cmd = LW    No need to alt-tab on windowed mode or multi-monitor
  415. alias LW1 "dota_mouse_window_lock 1;dota_camera_edgemove 1;alias LW LW0;setinfo LW. Yes;say_student . Window=Locked";
  416. alias LW0 "dota_mouse_window_lock 0;dota_camera_edgemove 0;alias LW LW1;setinfo LW. No;say_student . Window=Unlocked";
  417. alias LW LW0;// startup - not used, next toggle = unlocked window
  418.  
  419. //// - LOCKED CHASE CAMERA : hotkey = {L} console cmd = LC                                           Persistent across camzone jumps
  420. alias #lc0 "dota_camera_lock 0";alias #ch0 "-dota_camera_center_on_hero";alias lc0 "#lc0;alias #lcr lc0;alias LC lc1";
  421. alias #lc1 "dota_camera_lock 1";alias #ch1 "+dota_camera_center_on_hero";alias lc1 "#lc1;alias #lcr lc1;alias LC lc0";
  422. lc0;// startup - hardcoded, off
  423.  
  424. //// - UNLOCKED CHASE CAMERA : hotkey = {K} console cmd = UC                      Innovative way to obtain edge pan unlock on-demand
  425. //// Done properly, no more pre-Reborn junk code - works for any unit selected, not just main hero, same as doubleclick on portrait
  426. alias 3.000000 "#stop;#lc0;#lcr;alias UC uc1";alias #self "#ch1;#ch0;#lc1;blink execute_command_every_frame 0.1 -1 3";
  427. alias uc0 "#self;alias UC uc1";alias uc1 "#lc0;dota_camera_center;alias UC uc0";
  428. alias UC uc1;// startup - not used, next toggle = locked chase
  429.  
  430. //// - FOCUS CAMERA : hotkey = {APP}  console cmd = FC                 Single-tap to focus on any selected unit, not just main hero!
  431. alias FC1 "alias #sel #self;alias #selhy #self;alias FC FC0;setinfo FC. Tap;say_student . Focus=Tap";
  432. alias FC0 "alias #sel #;alias #selhy #;alias FC FC1;setinfo FC. DoubleTap;say_student . Focus=DoubleTap";
  433. #fc;// startup - import user preference (defaults to off)
  434.  
  435. //// STICKY CAMERA GRIP: hotkey = { } - Disable with {SPACE}
  436. //alias +stickycamgrip "+cameragrip";alias -stickycamgrip "#";
  437. //// -------------------------------------------------------------------------------------------------------------------------------
  438.  
  439. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  440. ////
  441. ////  5: [EXPERT-ONLY] D-CODE-SNIPPETS : MOST OF THESE DEPEND ON SECTION 4:D-CODE-BASE AND ON EACH OTHER (ORDERED ACCORDINGLY)
  442. ////
  443. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  444.  
  445. //// AVEYO's RELOAD KEYS - MANUALLY, WITHOUT EXEC AUTOEXEC : hotkey = {PAUSE} console cmd = RK                       DEPENDS ON ECHO
  446. //// - One of the most annoying thing Dota 2 does is that it will reset all CFG binds to GUI values if set to the same key.
  447. //// - It does it at game start, and again at game end! Even worse: changing GUI Hotkeys can make CFG binds stop working mid-game!
  448. //// - To prevent it, you would normally have to set all conflicting hotkeys as Alt+key in GUI, and "exec autoexec" to force keys.
  449. //// - Reloading autoexec would also reset temporary options and toggles (like AA,SS etc.) unless you keep binds in a separate file.
  450. alias rk_1 "-k1;-k2;-k3;-k4;-k5;-k6;-k7;-k8;-k9;-k10;-k11;-k12;-k13;-k14;-k15;-k16;-k17;-k18;-k19;-k20;-k21;-k22;-k23;-k24;-k25";
  451. alias rk_2 "-k26;-k27;-k28;-k29;-k30;-k31;-k32;-k33;-k34;-k35;-k36;-k37;-k38;-k39;-k40;-k41;-k42;-k43;-k44;-k45;-k46;-k47;-k48";
  452. alias rk_3 "-k49;-k50;-k51;-k52;-k53;-k54;-k55;-k56;-k57;-k58;-k59;-k60;-k61;-k62;-k63;-k64;-k65;-k66;-k67;-k68;-k69;-k70;-k71";
  453. alias rk_4 "-k72;-k73;-k74;-k75;-k76;-k77;-k78;-k79;-k80;-k81;-k82;-k83;-k84;-k85;-k86;-k87;-k88;-k89;-k90;-k91;-k92;-k93;-k94";
  454. alias RK "#echo_off;rk_1;rk_2;rk_3;rk_4;-k95;-k96;-k97;-k98;-k99;-rk1;-rk2;-rk3;#echo_on";alias reload "RK";
  455. RK;// startup - apply
  456. //// -------------------------------------------------------------------------------------------------------------------------------
  457.  
  458. //// AVEYO's RELIABLE KEYS DAEMON : console cmd = RD (to toggle daemon on/off)                               SHOWCASING (SAFE)LOOPS!
  459. //// The Leet Intro above is awesome and all, but the underlying functions were always meant for this...
  460. //// - Quite often in localized layouts, the Console hotkey can become unavailable so you can't even reload autoexec to fix stuff
  461. //// Introducing the Reliable Keys Daemon! Periodically force the basic keys F12=Console , PAUSE=Reload Keys(RK) , APP=Help Screen
  462. //// - So now you can always press PAUSE at the start of a new game to force the rest of the keys back to CFG binds!
  463. //// - Note that you still need to set Abilities to ALT+KEY in Hotkeys Menu to unlock them
  464. //// Running a daemon constantly is powerful, but also dangerous. Don't modify it unless you understand it (#stop - #daemon - #stop)
  465. alias #kd "#echo_off;-rk1;-rk2;-rk3;#echo_on";alias #tick "#";// can have a silly daemon progress, if replacing "#" with "grep . ."
  466. alias -2.000000 "#stop;#kd;#tick";alias #loopKD "blink execute_command_every_frame 10 -1 -2";//   refresh keys each 5s(10) if KD=kd1
  467. alias KD0 "alias #daemon #;alias KD KD1;setinfo KD. N";alias KD1 "alias #daemon #loopKD;alias KD KD0;setinfo KD. Y";
  468. KD1;// startup - hardcoded, on
  469. //// -------------------------------------------------------------------------------------------------------------------------------
  470.  
  471. //// AVEYO'S INNOVATIVE GLOBAL CASTCONTROL : hotkey = {INS} console cmd = CC                       v4: MADE CASTCONTROL GREAT AGAIN!
  472. //// Forget about built-in Cast and Quickcast(still included), and use the supercharged, safe, helpful EASYCAST(tm) and FASTCAST(tm)
  473. //// There is less confusion now, as both featured modes will trigger ability/item after holding the key pressed (0.33s),
  474. //// and so preventing accidental trigger by just a short tap, while working properly(all issues resolved!) with dtap to selfcast.
  475. //// CastControl for Force Attack/Stop keys made optional since it might affect last-hitting habits (the hold or dtap to trigger)
  476. alias A_ "alias -a1;alias -a2;alias -a3;alias -a4;alias -a5;alias -a6;";//                                                [_]release
  477. alias I_ "alias -i1;alias -i2;alias -i3;alias -i4;alias -i5;alias -i6;";
  478. alias U_ "U_R";alias U_R "alias -uA -uni;alias -uS -uni;dota_player_auto_repeat_right_mouse 0;alias HR HR1";
  479. //// CC=Cast (standard, as in GUI)
  480. alias osd_cast "setinfo CC. Cast;say_student . CC=Cast";
  481. alias a1c "dota_ability_execute 0";alias a2c "dota_ability_execute 1";alias a3c "dota_ability_execute 2";//                   [c]ast
  482. alias a4c "dota_ability_execute 3";alias a5c "dota_ability_execute 4";alias a6c "dota_ability_execute 5";//                [a]bility
  483. alias A_cast "A_;alias +a1 a1c;alias +a2 a2c;alias +a3 a3c;alias +a4 a4c;alias +a5 a5c;alias +a6 a6c;alias A_CC A_CAST";
  484. alias i1c "dota_item_execute 0";alias i2c "dota_item_execute 1";alias i3c "dota_item_execute 2";//                            [i]tem
  485. alias i4c "dota_item_execute 3";alias i5c "dota_item_execute 4";alias i6c "dota_item_execute 5";
  486. alias I_cast "I_;alias +i1 i1c;alias +i2 i2c;alias +i3 i3c;alias +i4 i4c;alias +i5 i5c;alias +i6 i6c;alias I_CC I_CAST";
  487. alias uAc "+uni;dota_settings_quick_target_attack 0;mc_attack";alias uSc "+uni;dota_stop";//                [u]nified[A]ttack/[S]top
  488. alias U_cast "U_R;alias +uA uAc;alias +uS uSc;alias U_CCR U_CAST;alias U_CC U_CAST";
  489. alias CAST "A_cast;I_cast;U_cast;#cc_over;dota_ability_quick_cast 1;dota_ability_self_cast_timeout 0.6;alias CC QUICK;osd_cast";
  490. //// CC=QuickCast (standard, as in GUI)
  491. alias osd_quick "setinfo CC. QuickCast;say_student . CC=QuickCast";
  492. alias a1q "dota_ability_quickcast 0";alias a2q "dota_ability_quickcast 1";alias a3q "dota_ability_quickcast 2";//        [q]uickcast
  493. alias a4q "dota_ability_quickcast 3";alias a5q "dota_ability_quickcast 4";alias a6q "dota_ability_quickcast 5";
  494. alias A_quick "alias +a1 a1q;alias +a2 a2q;alias +a3 a3q;alias +a4 a4q;alias +a5 a5q;alias +a6 a6q;A_;alias A_CC A_QUICK";
  495. alias i1q "dota_item_quick_cast 0";alias i2q "dota_item_quick_cast 1";alias i3q "dota_item_quick_cast 2";
  496. alias i4q "dota_item_quick_cast 3";alias i5q "dota_item_quick_cast 4";alias i6q "dota_item_quick_cast 5";
  497. alias I_quick "alias +i1 i1q;alias +i2 i2q;alias +i3 i3q;alias +i4 i4q;alias +i5 i5q;alias +i6 i6q;I_;alias I_CC I_QUICK";
  498. alias uAq "+uni;dota_settings_quick_target_attack 1;mc_attack";alias uSq "+uni;dota_stop";
  499. alias U_quick "U_R;alias +uA uAq;alias +uS uSq;alias U_CCR U_QUICK;alias U_CC U_QUICK";
  500. alias QUICK "A_quick;I_quick;U_quick;#cc_over;alias CC EASY;osd_quick";
  501. //// Due to command buffer limitation, special modes are combined to keep the code tight, but is still comprehensable
  502. alias #esc "-dota_ability_execute";alias #release "#stop;A$;I$;U$";alias #cancel "#stop;#esc;A_CC;I_CC;U_CC";//       Global defines
  503. alias #selfcast "dota_ability_quick_cast 1;dota_ability_self_cast_timeout 0.33";alias _dtap "_tap;_tap;#release;#esc";
  504. alias 6.000000 "#stop;_hold";alias #w_hold "blink execute_command_every_frame 0.3 -1 6";//       trigger only if key is held shortly
  505. alias 7.000000 "_release";alias #w_release "blink execute_command_every_frame 0.33 -1 7";//      wait for doubletap on releasing key
  506. alias A$ "alias +a1 +a1$;alias +a2 +a2$;alias +a3 +a3$;alias +a4 +a4$;alias +a5 +a5$;alias +a6 +a6$";//                    [$]pecial
  507. alias +a1$ "alias _tap a1c;alias _hold a1q;alias -a1 #w_release;alias +a1 _dtap;A_set";//   _tap: save a reference to current button
  508. alias +a2$ "alias _tap a2c;alias _hold a2q;alias -a2 #w_release;alias +a2 _dtap;A_set";//   _hold: save a reference to active action
  509. alias +a3$ "alias _tap a3c;alias _hold a3q;alias -a3 #w_release;alias +a3 _dtap;A_set";// #w_release: set doubletap timer on release
  510. alias +a4$ "alias _tap a4c;alias _hold a4q;alias -a4 #w_release;alias +a4 _dtap;A_set";//  _dtap: set next press to perform selfcast
  511. alias +a5$ "alias _tap a5c;alias _hold a5q;alias -a5 #w_release;alias +a5 _dtap;A_set";// *_set: dynamic setup - do _tap act or not,
  512. alias +a6$ "alias _tap a6c;alias _hold a6q;alias -a6 #w_release;alias +a6 _dtap;A_set";//         reset next press, start hold timer
  513. alias I$ "alias +i1 +i1$;alias +i2 +i2$;alias +i3 +i3$;alias +i4 +i4$;alias +i5 +i5$;alias +i6 +i6$";
  514. alias +i1$ "alias _tap i1c;alias _hold i1q;alias -i1 #w_release;alias +i1 _dtap;I_set";
  515. alias +i2$ "alias _tap i2c;alias _hold i2q;alias -i2 #w_release;alias +i2 _dtap;I_set";
  516. alias +i3$ "alias _tap i3c;alias _hold i3q;alias -i3 #w_release;alias +i3 _dtap;I_set";
  517. alias +i4$ "alias _tap i4c;alias _hold i4q;alias -i4 #w_release;alias +i4 _dtap;I_set";
  518. alias +i5$ "alias _tap i5c;alias _hold i5q;alias -i5 #w_release;alias +i5 _dtap;I_set";
  519. alias +i6$ "alias _tap i6c;alias _hold i6q;alias -i6 #w_release;alias +i6 _dtap;I_set";
  520. alias U$ "alias +uA +uA$;alias +uS +uS$";
  521. alias +uA$ "alias _tap uAc;alias _hold uAq;alias -uA #w_release;alias +uA _dtap;U_set";
  522. alias +uS$ "alias _tap uSc;alias _hold uSq;alias -uS #w_release;alias +uS _dtap;U_set";
  523. //// (Re)Introducing EASYCAST(tm) : HOLD=Quickcast DOUBLETAP=Selfcast (SHORT)TAP=Manual Cast(LMB/hold=Trigger, RMB/SPACE=Cancel)
  524. alias osd_easy "setinfo CC. EasyCast;say_student . CC=EasyCast(tm)";alias _set_easy "_tap;alias _release #release;A$;I$;U$;#w_hold";
  525. alias A_EASY "A$;alias A_set _set_easy;alias A_CC A_EASY";alias I_EASY "I$;alias I_set _set_easy;alias I_CC I_EASY";
  526. alias U_EASY "U_R;U$;alias U_set _set_easy;alias U_CCR U_EASY;alias U_CC U_EASY";
  527. alias EASY "A_EASY;I_EASY;U_EASY;#cc_over;#selfcast;alias CC NEAT;osd_easy";
  528. //// (Re)Introducing NEATCAST(tm) : HOLD=Quickcast DOUBLETAP=Selfcast (SHORT)TAP=Nothing (great to prevent accidental trigger)
  529. alias osd_neat "setinfo CC. NeatCast;say_student . CC=NeatCast(tm)";alias _set_neat "alias _release #cancel;#w_hold";
  530. alias A_NEAT "A$;alias A_set _set_neat;alias A_CC A_NEAT";alias I_NEAT "I$; alias I_set _set_neat;alias I_CC I_NEAT";
  531. alias U_NEAT "U_R;U$;alias U_set _set_neat;alias U_CCR U_NEAT;alias U_CC U_NEAT";
  532. alias NEAT "A_NEAT;I_NEAT;U_NEAT;#cc_over;#selfcast;alias CC FAST;osd_NEAT";
  533. //// (Re)Introducing FASTCAST(tm) : HOLD=Nothing DOUBLETAP=Selfcast (SHORT)TAP=Quickcast      If Neatcast is not fast enough for you
  534. //// Speed comes with a cost: doubletap no longer toggles ward/sentry packs or TP/relocate to fountain, but to closest location
  535. alias osd_f "setinfo CC. FastCast;say_student . CC=FastCast(tm)";alias _set_fast "_hold;alias _hold;alias _release #cancel;#w_hold";
  536. alias A_FAST "A$;alias A_set _set_fast;alias A_CC A_FAST";alias I_FAST "I$; alias I_set _set_fast;alias I_CC I_FAST";
  537. alias U_FAST "U_R;U$;alias U_set _set_fast;alias U_CCR U_FAST;alias U_CC U_FAST";
  538. alias FAST "A_FAST;I_FAST;U_FAST;#cc_over;#selfcast;alias CC CAST;osd_f";
  539. #cc_over;#cc;// startup - import user preference (defaults to Attack/Stop hardcoded to Quickcast, and global CC to EasyCast)
  540. //// -------------------------------------------------------------------------------------------------------------------------------
  541.  
  542. //// AUTOCAST ALL : hotkey = {U}                                      A simple brute-force, better toggle it by hand in custom games
  543. alias autoc1 "dota_ability_autocast 0;dota_ability_autocast 1;dota_ability_autocast 2;dota_ability_autocast 3";
  544. alias autocastall "autoc1;dota_ability_autocast 4;dota_ability_autocast 5";
  545. //// -------------------------------------------------------------------------------------------------------------------------------
  546.  
  547. //// OPTIONAL ALTHACK - {ALT} + {QWE ASD} = INVENTORY : console cmd = AH (to toggle)
  548. alias +althack "bind Q +i1;bind W +i2;bind E +i3;bind A +i4;bind S +i5;bind D +i6;A_;I_;U_";alias -althack "RK";//
  549. alias AH1 "dota_remap_alt_key Z;bind ALT +althack;alias #ah AH1;alias AH AH0;setinfo AH. On";// ALT is remapped so use Z for pings..
  550. alias AH0 "dota_remap_alt_key #;unbind ALT;alias #ah AH0;alias AH AH1;setinfo AH. Off";
  551. #ah;// startup - import user preference
  552. //// -------------------------------------------------------------------------------------------------------------------------------
  553.  
  554. //// CONTROL GROUPS 1-10 WITH OPTIONAL SELECTION-FOCUS
  555. alias +g1 "#lcr;+dota_control_group 1;#selhy;alias nextg +g2";alias +g2 "#lcr;+dota_control_group 2;#selhy;alias nextg +g3";
  556. alias +g3 "#lcr;+dota_control_group 3;#selhy;alias nextg +g4";alias +g4 "#lcr;+dota_control_group 4;#selhy;alias nextg +g5";
  557. alias +g5 "#lcr;+dota_control_group 5;#selhy;alias nextg +g6";alias +g6 "#lcr;+dota_control_group 6;#selhy;alias nextg +g7";
  558. alias +g7 "#lcr;+dota_control_group 7;#sel;alias nextg +g8";alias +g8 "#lcr;+dota_control_group 8;#sel;alias nextg +g9";
  559. alias +g9 "#lcr;+dota_control_group 9;#sel;alias nextg +g10";alias +g10 "#lcr;+dota_control_group 10;#sel;alias nextg +g1";
  560. alias -g1 "-dota_control_group 1";alias -g2 "-dota_control_group 2";alias -g3 "-dota_control_group 3";
  561. alias -g4 "-dota_control_group 4";alias -g5 "-dota_control_group 5";alias -g6 "-dota_control_group 6";
  562. alias -g7 "-dota_control_group 7";alias -g8 "-dota_control_group 8";alias -g9 "-dota_control_group 9";
  563. alias -g10 "-dota_control_group 10";
  564. //// -------------------------------------------------------------------------------------------------------------------------------
  565.  
  566. //// AVEYO's HYBRID ITEMS / GROUPS : console cmd = HY (to toggle 123456 = HYBRID / GROUPS / ITEMS)
  567. //// HYBRID USAGE: {123456} = Use item # , {SPACE} + {123456} = Select group # , {CTRL} + {123456} = Set group #
  568. alias hy0a "alias +h1 +g1;alias +h2 +g2;alias +h3 +g3;alias +h4 +g4;alias +h5 +g5;alias +h6 +g6";
  569. alias hy1a "alias +h1 +i1;alias +h2 +i2;alias +h3 +i3;alias +h4 +i4;alias +h5 +i5;alias +h6 +i6";
  570. alias hy0 "hy0a;alias -h1 -g1;alias -h2 -g2;alias -h3 -g3;alias -h4 -g4;alias -h5 -g5;alias -h6 -g6";
  571. alias hy1 "hy1a;alias -h1 -i1;alias -h2 -i2;alias -h3 -i3;alias -h4 -i4;alias -h5 -i5;alias -h6 -i6";
  572. alias +setgroup "alias #selhy #;hy0";alias -setgroup "alias #selhy #sel;hy1";alias hy_static "unbind CTRL;alias hy_h;alias hy_r";
  573. alias _GROUPS "hy0;hy_static;alias HY _ITEMS;setinfo HY. Groups;say_student . 123456=Groups";
  574. alias _ITEMS "hy1;hy_static;alias HY _HYBRID;setinfo HY. Items;say_student . 123456=Items";
  575. alias _HYBRID "bind CTRL +setgroup;alias hy_h hy0;alias hy_r hy1;alias HY _GROUPS;setinfo HY. Hybrid;say_student . 123456=Hybrid";
  576. #hy;// startup - import user preference                           CTRL is hardcoded since it's the only modifier able to save groups
  577. //// -------------------------------------------------------------------------------------------------------------------------------
  578.  
  579. //// AVEYO'S AUTOATTACK: doubletap-to-toggle hotkey = {CAPSLOCK} console cmd = AA                       Chat is safe from ALLCAPS :D
  580. alias osd_aa0 "setinfo AA. Off;say_student . AutoAttack=Off";alias osd_aa1 "setinfo AA. On;say_student . AutoAttack=On";
  581. alias aa2 "dota_player_units_auto_attack 0;dota_player_units_auto_attack_after_spell 1;alias AA aa0;osd_aa0";
  582. alias aa1 "dota_player_units_auto_attack 1;dota_player_units_auto_attack_after_spell 1;mc_attack;#esc;alias AA aa0;osd_aa1";
  583. alias aa0 "dota_player_units_auto_attack 0;dota_player_units_auto_attack_after_spell 0;dota_hold;dota_stop;alias AA aa1;osd_aa0";
  584. alias 5.000000 "#stop;alias aa_dtap aa_toggle";alias #w_aa "blink execute_command_every_frame 0.5 -1 5";
  585. alias aa_toggle "alias aa_dtap aa;#w_aa";alias aa_dtap "aa_toggle";
  586. aa2;// startup - hardcoded, auto attack after spell, further toggle will only change to all-off or all-on
  587. //// -------------------------------------------------------------------------------------------------------------------------------
  588.  
  589. //// SELECT SUMMONED UNITS: hotkey = {DEL} console cmd = SS
  590. alias SS0 "dota_player_add_summoned_to_selection 0;alias SS SS1;setinfo SS. Exclude;say_student . Summoned=Exclude";
  591. alias SS1 "dota_player_add_summoned_to_selection 1;alias SS SS0;setinfo SS. AutoSel;say_student . Summoned=AutoSel";
  592. #ss;// startup - import user preference
  593. //// -------------------------------------------------------------------------------------------------------------------------------
  594.  
  595. //// UNIFIED ORDERS: hotkey = {HOME} console cmd = UO
  596. alias uo0 "dota_player_multipler_orders 0;alias UO uo1;setinfo UO. Distinct;say_student . UnitOrders=Distinct";
  597. alias uo1 "dota_player_multipler_orders 1;alias UO uo0;setinfo UO. Unified;say_student . UnitOrders=Unified";
  598. #uo;// startup - import user preference
  599. //// -------------------------------------------------------------------------------------------------------------------------------
  600.  
  601. //// MULTIUNIT ORDERS: hotkey = {END} console cmd = MO          The "secret" Meepo easy mode - TabToSelect=optional so just spam QW
  602. alias MO0 "dota_player_smart_multiunit_cast 0;alias MO MO1;setinfo MO. TabToCast;say_student . MultiOrders=TabToCast";
  603. alias MO1 "dota_player_smart_multiunit_cast 1;alias MO MO0;setinfo MO. ReCast;say_student . MultiOrders=ReCast";
  604. #mo;// startup - import user preference
  605. //// -------------------------------------------------------------------------------------------------------------------------------
  606.  
  607. //// RIGHTCLICK DENY OR FOLLOW: hotkey = {PGUP} console cmd = RC
  608. alias RC0 "dota_force_right_click_attack 0;alias RC RC1;setinfo RC. Follow;say_student . RightClick=Follow";
  609. alias RC1 "dota_force_right_click_attack 1;alias RC RC0;setinfo RC. Deny;say_student . RightClick=Deny";
  610. #rc;// startup - import user preference
  611. //// -------------------------------------------------------------------------------------------------------------------------------
  612.  
  613. //// AVEYO'S EXPERIMENTAL HOLD2REPEAT ATTACK/STOP/RIGHTCLICK: hotkey = {PGDN} console cmd = HR  Hold to repeat action until released
  614. alias osd_hr0 "setinfo HR. No;say_student . Hold2Repeat=No";alias osd_hr1 "setinfo HR. Yes;say_student . Hold2Repeat=Yes";
  615. alias #err1 "dota_sf_hud_error_msg 1";alias #err0 "dota_sf_hud_error_msg 0";
  616. alias 10.000000 "snd_gamevolume 0;mc_attack;#esc";alias 11.000000 "dota_stop";alias _hr_undo "#cancel;#hr_snd;-uni;#err1";
  617. alias +uAr "#err0;uAq;alias -uA _hr_undo;#loopAH";alias #loopAH "blink execute_command_every_frame 0.05 -1 10";
  618. alias +uSr "#err0;uSq;alias -uS _hr_undo;#loopSH";alias #loopSH "blink execute_command_every_frame 0.05 -1 11";
  619. alias HR1 "dota_player_auto_repeat_right_mouse 1;alias +uA +uAr;alias +uS +uSr;alias U_ #;alias U_CC #;alias HR HR0;osd_hr1";
  620. alias HR0 "dota_player_auto_repeat_right_mouse 0;U_R;U_CCR;alias U_ U_R;alias U_CC U_CCR;alias HR HR1;osd_hr0";
  621. alias HR "HR1";// startup - not used, next toggle = on
  622. //// -------------------------------------------------------------------------------------------------------------------------------
  623.  
  624. //// AVEYO'S SPACE MODIFIER - MAIN : hotkey = {SPACE}                                  ENABLE/DISABLE ACTIONS IN the sm_ DEFINITIONS
  625. alias #spacemod "alias +spacemod +sm;alias -spacemod -sm";#spacemod;// Startup / Reset after doubletap timer
  626. //// Hardcoded on-hold: cancel cast / restore hbars / hybrid-123456=groups / unlockcam / sm_hold actions / import old_hold pref
  627. //// Hardcoded on-release: hybrid-123456=items / lockcam=restore / sm_release actions / start dtap timer / import old_release pref
  628. alias +sm "#cancel;dc0;hy_h;#lc0;sm_hold;#old_hold";alias -sm "hy_r;#lcr;sm_release;sm2x;#old_release";
  629. alias 4.000000 "#stop;#spacemod";alias #w_sm_dtap "blink execute_command_every_frame 0.5 -1 4";// Wait for doubletap then call reset
  630. alias sm2x "alias +spacemod sm_dtap;alias -spacemod #spacemod;#w_sm_dtap";// Temporarily set next press to sm_dtap actions
  631. //// [User] On DoubleTap actions: Unlock Camera / Focus on current selected unit
  632. alias sm_dtap "LC0;#self";
  633. //// [User] On Press/Hold actions: alternative actions for keys:  F1 F2 F3 F4 / Tab / Q W E R T / A S / Y / F7 / ` / KP_0-KP_9
  634. alias sm_hold    "F1234_h;gt_h;learn_h;uni_h;cw_h;hm_h;sb_h;reload_h;CZ0;stash_grab_all";//+cameragrip removed for testclient compat
  635. //// [User] On Release actions: Reset above keys to default actions
  636. alias sm_release "F1234_r;gt_r;learn_r;uni_r;cw_r;hm_r;sb_r;reload_r;#cz";//-cameragrip removed for testclient compatibility
  637.  
  638. //// SPACEMOD - F1/F2/F3/F4 : {F1}=Select Hero {F2}=Select Courier {F3}=Courier Deliver {F4}=Shop
  639. ////                {SPACE} + {F1}=Select All  {F2}=Select Others  {F3}=Courier Burst   {F4}=Secret Shop
  640. alias HERO "+dota_camera_follow;-dota_camera_follow;#sel;alias nextg +g1";alias GROUP +g1;alias sshop openshop_category 2;
  641. alias F1234_h "alias f1 dota_select_all;alias f2 dota_select_all_others;alias f3 dota_courier_burst;alias f4 sshop";
  642. alias F1234_r "alias f1 hero;alias f2 dota_select_courier;alias f3 dota_courier_deliver;alias f4 toggleshoppanel";
  643. F1234_r;// startup - hardcoded, default actions
  644.  
  645. //// SPACEMOD - GROUP TAB : {TAB} = Cycle Selection with optional focus
  646. ////              {SPACE} + {TAB} = Cycle Hero, then Groups in 1-10 order, resets on release          Can also start Groups directly
  647. alias next "dota_cycle_selected;#sel";alias gt_h "alias gt nextg";alias gt_r "alias gt next;alias nextg #1st";
  648. gt_r;// startup - hardcoded, default cycle
  649.  
  650. //// SPACEMOD - ABILITY LEARN : {SPACE} + {QWER} = Ability Learn , {SPACE} + {T} = Upgrade Stats       DEPENDS ON GLOBAL CASTCONTROL
  651. alias alm "dota_ability_learn_mode";alias a1l "alm;a1c;alm;#esc";alias a2l "alm;a2c;alm;#esc";alias a3l "alm;a3c;alm;#esc";
  652. alias a4l "alm;a4c;alm;#esc";alias a5l "alm;a5c;alm;#esc";alias a6l "alm;a6c;alm;#esc";alias ups_on "alm;dota_learn_stats;alm;#esc"
  653. alias learn_h "#esc;A_;alias +a1 a1l;alias +a2 a2l;alias +a3 a3l;alias +a4 a4l;alias +a5 a5l;alias +a6 a6l;alias upstats ups_on";
  654. alias upstats "dota_learn_stats";alias learn_r "A_CC";// startup - hardcoded, off
  655.  
  656. //// SPACEMOD - LAZY UNIFIED ORDERS : {SPACE} + {A}/{S} = Select All, then Attack/Stop, on release = Hero
  657. //// CTRL is better in any way, as it can lead with any unit, without altering selection on release - this is only for convenience
  658. alias uni_h "alias +uni dota_select_all;alias -uni hero";alias uni_r "alias +uni #;alias -uni #"
  659.  
  660. //// SPACEMOD - CHATWHEEL : {Y} = ChatWheel ,  {SPACE} + {Y} = Next ChatWheel        In reverse, too! i.e. hold {Y} then tap {SPACE}
  661. alias cw_use "+chatwheel";alias cw_rev "CWR;cw_use";alias cw_def "cw_use;alias +spacemod cw_rev;alias -spacemod #;alias -chatw cw_r"
  662. alias cw_nxt "CW;cw_use";alias cw_h "alias +chatw cw_nxt;alias -chatw #";alias cw_r "-chatwheel;alias +chatw cw_def;#spacemod";
  663. //// ChatWheel presets: since it works seamlessly and in reverse, too, it could accommodate a large number of presets (3 included)
  664. ////                     MISSING_8                                   GET_BACK_2                         ENEMY_INCOMING_31
  665. ////      REUSE_COURIER_44  < >  CHECK_RUNES_58          UNDER_TOWER_37  < >  TOWER_AND_BACK_81  SPLIT_PUSH_34  < >  PUSH_6
  666. ////  INVISIBLE_ENEMY_32  <  o  >  WE_NEED_WARDS_3  SPLIT_AND_FARM_17  <  o  >  GROUP_UP_15        DEWARD_45  <  o  >  LETS_SMOKE_59
  667. ////             MY_BAD_68  < >  STACK_AND_PULL_48         GAME_TIME_57  < >  ROSHAN_53              BUY_TP_43  < >  GG_WP_76
  668. ////                       HELP_5                                   ATTACK_NOW_18                        DON'T_GIVE_UP_64
  669. alias cw1a "chat_wheel_phrase_0 3;chat_wheel_phrase_1 48;chat_wheel_phrase_2 5;chat_wheel_phrase_3 68;chat_wheel_phrase_4 32";
  670. alias cw1b "chat_wheel_phrase_5 44;chat_wheel_phrase_6 8;chat_wheel_phrase_7 58";alias cw1 "cw1a;cw1b;alias CW cw2;alias CWR cw3";
  671. alias cw2a "chat_wheel_phrase_0 15;chat_wheel_phrase_1 53;chat_wheel_phrase_2 18;chat_wheel_phrase_3 57;chat_wheel_phrase_4 17";
  672. alias cw2b "chat_wheel_phrase_5 37;chat_wheel_phrase_6 2;chat_wheel_phrase_7 81";alias cw2 "cw2a;cw2b;alias CW cw3;alias CWR cw1";
  673. alias cw3a "chat_wheel_phrase_0 59;chat_wheel_phrase_1 76;chat_wheel_phrase_2 64;chat_wheel_phrase_3 43;chat_wheel_phrase_4 45";
  674. alias cw3b "chat_wheel_phrase_5 34;chat_wheel_phrase_6 31;chat_wheel_phrase_7 6";alias cw3 "cw3a;cw3b;alias CW cw1;alias CWR cw2";
  675. #cw;cw_r;// startup - import user preference of cw preset, then apply it
  676.  
  677. //// SPACEMOD - HEALTHBARS VERTICAL MARKER: {F7} = Toggle From 175 to 700 in 75 steps , {SPACE}+F7 = Reset to 250
  678. alias hm "#hm;incrementvar dota_health_per_vertical_marker 175 700 75;hideconsole;dota_health_per_vertical_marker | say_student";
  679. alias hm_h "alias #hm dota_health_per_vertical_marker 175";alias hm_r "alias #hm #";
  680. hm_r;// startup - hardcoded, 250
  681.  
  682. //// SPACEMOD - SCORES : {`} (TILDE) = Scoreboard , {SPACE} + {`} = w33fresh (a cookie for the current champion - he's won it!)
  683. alias score "+showscores";alias +sb "#board";alias -sb "-showscores";alias sb_r "alias #board score";
  684. alias w33ha "dota_dev hero_refresh;dota_spawn_neutrals;say /laugh";alias sb_h "alias #board w33ha";// useful in test games :D
  685. sb_r;// startup - hardcoded to show scores
  686.  
  687. //// SPACEMOD - RELOAD : {PAUSE} = Reload Keys , {SPACE} + {PAUSE} = Reload autoexec.cfg and refresh everything from disk
  688. alias reload_r "alias reload RK";alias reload_h "alias reload EE";
  689. reload_r;// startup - hardcoded to reload keys
  690.  
  691. //// SPACEMOD - CAMZONES : {KP_0-KP_9}=CZ:CamZones - Return after releasing key (default) OR Stay at jump zone
  692. ////             {SPACE} + {KP_0-KP_9}=CZ:CamZones - Like above, inversed!
  693. //// Look at t1-towers/runes/ancients/thrones                              Returns to current selected unit - not just to main hero!
  694. alias top_rune dota_camera_set_lookatpos -1800 1200;alias bot_rune dota_camera_set_lookatpos 2400 -2100;                //KEYPAD
  695. alias top_radiant dota_camera_set_lookatpos -5900 2200;alias top_dire dota_camera_set_lookatpos -5500 5700;          //TOP 7 8 9
  696. alias ancients_radiant dota_camera_set_lookatpos -2700 200;alias ancients_dire dota_camera_set_lookatpos 3900 -600;  //MID 4 5 6
  697. alias bot_radiant dota_camera_set_lookatpos 5100 -5700;alias bot_dire dota_camera_set_lookatpos 6200 -1900;          //BOT 1 2 3
  698. alias throne_radiant dota_camera_set_lookatpos -5800 -5700;alias throne_dire dota_camera_set_lookatpos 5500 5000;    //THR 0   .
  699. alias mid_river dota_camera_set_lookatpos -500 -400;
  700. alias #ch "#lc0;alias #cr RETURN";// need to unlock camera before jumping, and import RETURN preference
  701. alias +c1 "#ch;bot_radiant;alias -c1 #cr";alias +c2 "#ch;bot_rune;alias -c2 #cr";alias +c3 "#ch;bot_dire;alias -c3 #cr";
  702. alias +c4 "#ch;ancients_radiant;alias -c4 #cr";alias +c5 "#ch;mid_river;alias -c5 #cr";alias +c6 "#ch;ancients_dire;alias -c6 #cr";
  703. alias +c7 "#ch;top_radiant;alias -c7 #cr";alias +c8 "#ch;top_rune;alias -c8 #cr";alias +c9 "#ch;top_dire;alias -c9 #cr";
  704. alias +c10 "#ch;throne_radiant;alias -c10 #cr";alias +c11 "#ch;throne_dire;alias -c11 #cr";
  705. alias cz0 "alias RETURN cz_stay;alias CZ cz1;setinfo CZ. Stay";alias cz1 "alias RETURN cz_return;alias CZ cz0;setinfo CZ. Return";                    //hero
  706. alias cz_stay "alias #lcr #;alias #cr #;alias #recent #";alias cz_return "#self;alias #recent REV";
  707. alias rev1 "#ch;dota_recent_event;alias REV rev0";alias rev0 "#ch;dota_recent_event;#self;alias REV rev1";alias REV rev1;
  708. alias +recent "REV";alias -recent "#cr;#recent;#cr";// Includes a semi-fix for Recent Event always returning to main hero
  709. #cz;// startup - import user preference
  710. //// -------------------------------------------------------------------------------------------------------------------------------
  711.  
  712. ////// D-CONSOLE : hotkey = {F11} console cmd = DC                             A quick fix for the healthbars visible trough console
  713. alias dc0 "dota_hud_healthbars 3;hideconsole;alias DC dc1";alias dc1 "dota_hud_healthbars 0;showconsole;alias DC dc0";
  714. dc0;// startup - hardcoded, off (restores healhbars and hides console)
  715. //// -------------------------------------------------------------------------------------------------------------------------------
  716.  
  717. //// AVEYO's D-OPTIMIZER HELP SCREEN! hotkey = {APP} console cmd = ? or /                                  OPTIONAL, DEPENDS ON ECHO
  718. //// Code under quotes is stand-alone! works just fine if you remove the alias ?xx " part and the ending ";
  719. //// Was incapsulated here so that it can be shown on-demand without reloading autoexec.cfg (EE) - is not needed for normal echo use
  720. alias ?0 "#color_cyan;#cls;";                                // clear console history, only if globally enabled in section 2:PRESETS
  721. alias ?1 "#echo;grep . .  _______             ______    ______    ________   __   ___  ___   __   ________   _______   ______  ;";
  722. alias ?2 "#echo;grep . . |   __  \           /      \  |   _  \  |        | |  | |   \/   | |  | |       /  |   ____| |   _  \ ;";
  723. alias ?3 "#echo;grep . . |  |  |  |         |  ,--,  | |  |_)  | '--|  |--' |  | |  \  /  | |  | `---/  /   |  |__    |  |_)  |;";
  724. alias ?4 "#echo;grep . . |  |  |  | AVEYO`S |  |  |  | |   ___/     |  |    |  | |  |\/|  | |  |    /  /    |   __|   |      / ;";
  725. alias ?5 "#echo;grep . . |  '--'  |         |  '--'  | |  |         |  |    |  | |  |  |  | |  |   /  /---, |  |____  |  |\  \ ;";
  726. alias ?6 "#echo;grep . . |_______/           \______/  |__|         |__|    |__| |__|  |__| |__|  /_______| |_______| |__| \__\;";
  727. alias ?7 "#echo;grep . . ;#color_default;";
  728. alias ?8 "#echo;grep . .  Press ;#color_green;grep . F12 ;#color_default;grep . to toggle Console, ;#color_green;grep . ? ;";
  729. alias ?9 "#color_default;grep . to show this screen again;#echo;grep . . ;";
  730. alias ?10 "#echo;grep . .  AA Auto Attack   CAPSLOCK  :  CW  Chatwheel presets  SPACE+Y  :  LW  Locked Window     SCROLLLOCK ;";
  731. alias ?11 "#echo;grep . .  CC Cast Control       INS  :  CZ  CameraZones jump    KP_0-9  :  LC  Locked Chase Camera        L ;";
  732. alias ?12 "#echo;grep . .  SS Select Summoned    DEL  :  SL  Static LoadOut          ..  :  UC  Unlocked Chase Camera      K ;";
  733. alias ?13 "#echo;grep . .  UO Unified Orders    HOME  :  GV  Global volume      KP_PLUS  :  FC  Focus Camera on select     / ;";
  734. alias ?14 "#echo;grep . .  MO Multiunit Orders   END  :  MV  Music volume      KP_MINUS  :  ..  HealthBars VertMarker     F7 ;";
  735. alias ?15 "#echo;grep . .  RD RMB Deny/Follow   PGUP  :  NQ  Net Quality      KP_DIVIDE  :  BB  StartGame+Bots  NN:NoBots .. ;";
  736. alias ?16 "#echo;grep . .  HR Hold2Repeat A/S   PGDN  :  VQ  Video Quality  KP_MULTIPLY  :  FF  EndGame/StopDemo/Refresh  .. ;";
  737. alias ?17 "#echo;grep . .  AH AltHack QWEASD=inv  ..  :  FP  FPS / Previews         F10  :  EE  Reload autoexec  SPACE+PAUSE ;";
  738. alias ?18 "#echo;grep . .  HY Hybrid Items/Groups ..  :  DC  D-Console (no-hbars)   F11  :  ?   Show this help!  In-game:APP ;";
  739. alias ?19 "#echo;grep . . ;";
  740. alias ?20 "#echo;grep . .  ;#color_green;grep . SPACE;#color_default;grep . MOD - alternative actions for F1 F2 F3 F4 : TAB ;";
  741. alias ?21 "grep . : Q W E R T : A S : Y : F7 : ` : KP_0 - KP_9;";
  742. alias ?22 "#echo;grep . . ;";
  743. alias ?23 "#echo;grep . .  Global Cast Control :   on TAP   :  on HOLD  : on DOUBLETAP : on SPACE+KEY :        Notes;";
  744. alias ?24 "#echo;grep . .      EASYCAST(tm)    : ManualCast : Quickcast :   Selfcast   : Hybrid/Learn : no issues, default;";
  745. alias ?25 "#echo;grep . .      NEATCAST(tm)    :    None    : Quickcast :   Selfcast   : Hybrid/Learn : same, without helper;";
  746. alias ?26 "#echo;grep . .      FASTCAST(tm)    :  Quickcast :   None    : * Selfcast * : Hybrid/Learn : only partial selfcast;";
  747. alias ?27 "#echo;grep . . ;#color_yellow;";
  748. alias ?28 "#echo;grep . .  Unlock Abilities by setting them to ALT+KEY in Dota 2 Menu - ALT+Q, ALT+W...;";
  749. alias ?29 "#echo;grep . .  All other keys can be forced to CFG values by pressing PAUSE at game start!;";
  750. alias ?30 "#color_default;#echo;";
  751. ////////////////////////[- - - - - - - 105: max width for printed text without wrapping at 1280*xxx resolution - - - - - - - - -]///
  752. alias ?t "#echo;AA. | CC. | SS. | UO. | MO. | RC. | NQ. | VQ. | grep .;#echo";alias / "?";// Also show current values for toggles
  753. alias ? "?0;?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;?t";
  754. alias +dhelp "clear;?;dc1;#echo_off";alias -dhelp "dc0;#echo_on";//show while dhelp key is pressed, no console spam, hide on release
  755. //// -------------------------------------------------------------------------------------------------------------------------------
  756.  
  757. //// FPS OSD AND PANORAMA PREVIEWS(COSMETICS, ARCANA PREVIEW IN PANORAMA MENU): hotkey = {F10} console cmd = FP     PP=just previews
  758. alias pp0 "#echo_off;@panorama_disable_render_callbacks 1;#echo_on;alias PP pp1";
  759. alias pp1 "#echo_off;@panorama_disable_render_callbacks 0;#echo_on;alias PP pp0";
  760. alias fp_none "@panorama_show_fps 0;cl_showfps 0;dota_hud_netgraph 0;pp0;alias FP fp_pan";                             //nothing
  761. alias fp_pan "@panorama_show_fps 1;cl_showfps 0;dota_hud_netgraph 0;pp1;alias FP fp_avg;dota_ping"; //panorama fps, on menu too
  762. alias fp_avg "@panorama_show_fps 0;cl_showfps 4;dota_hud_netgraph 0;pp1;alias FP fp_net;dota_ping";//avg fps + log @ prof_dota.csv
  763. alias fp_net "@panorama_show_fps 0;cl_showfps 0;dota_hud_netgraph 1;pp1;alias FP fp_none";//   default Display Network Information
  764. fp_pan;pp0;// startup - hardcoded to panorama fps on, previews off (the LEET INTRO will change it to fp_net after the initial delay)
  765. //// -------------------------------------------------------------------------------------------------------------------------------
  766.  
  767. //// AVEYO'S STATIC LOADOUT: console cmd = SL          STATIC PORTRAITS AND UP TO 14 HEROES TO CHOOSE FROM WITHOUT SCROLL IN ALLPICK
  768. alias sl0a "sf_fulldeck_intro_curve 0.5;sf_fulldeck_intro_time 0;sf_fulldeck_raise_speed 10;sf_loadout_tutorial_enable 1";
  769. alias sl0b "sf_turntable_curve_16x10 0.69;sf_turntable_curve_16x9 0.65;sf_turntable_curve_4x3 0.76;sf_turntable_curve_5x4 0.76";
  770. alias sl0c "sf_turntable_end 1;sf_turntable_indent 0.05;sf_turntable_moviecards_fromcenter 3;sf_turntable_scale_max_ingame 150";
  771. alias sl0d "sf_turntable_scale_min 80;sf_turntable_tint_curve 0.9";alias SL0 "sl0a;sl0b;sl0c;sl0d;alias SL SL1;setinfo SL. Animated"
  772. alias sl1a "sf_fulldeck_intro_curve 0;sf_fulldeck_intro_time 0;sf_fulldeck_raise_speed 0;sf_loadout_tutorial_enable 0";
  773. alias sl1b "sf_turntable_curve_16x10 0.44;sf_turntable_curve_16x9 0.41;sf_turntable_curve_4x3 0.51;sf_turntable_curve_5x4 0.51";
  774. alias sl1c "sf_turntable_end 0;sf_turntable_indent 0.02;sf_turntable_moviecards_fromcenter 0;sf_turntable_scale_max_ingame 80";
  775. alias sl1d "sf_turntable_scale_min 80;sf_turntable_tint_curve 1";alias SL1 "sl1a;sl1b;sl1c;sl1d;alias SL SL0;setinfo SL. Static";
  776. #sl;// startup - import user preference
  777. //// -------------------------------------------------------------------------------------------------------------------------------
  778.  
  779. //// GLOBAL VOLUME OFF, HALF, MAX: hotkey = {KP_PLUS} console cmd = GV
  780. alias GV "incrementvar volume 0.0 1.0 0.5;volume | say_student";
  781.  
  782. //// MUSIC VOLUME OFF, HALF, MAX: hotkey = {KP_MINUS} console cmd = MV
  783. alias MV "incrementvar snd_musicvolume 0.0 0.8 0.4;snd_musicvolume | say_student";
  784.  
  785. //// AVEYO'S NETWORK QUALITY PRESETS: hotkey = {KP_DIVIDE}/ console cmd = NQ     TOGGLING IN-GAME(LIVE) IS ONLY PARTIAL - RECONNECT!
  786. alias 12.000000 "#stop;#echo_off;cl_fullupdate;#echo_on";alias #liveupdate "blink execute_command_every_frame 1 -1 12";
  787. alias nq0 "cl_interp_threadmodeticks 0;cl_smoothtime 0.1;net_splitrate 1";alias osd_nq0 "setinfo NQ. Low;say_student . Net=Low";
  788. alias nq1 "cl_interp_threadmodeticks 1;cl_smoothtime 0.05;net_splitrate 2";alias osd_nq1 "setinfo NQ. High;say_student . Net=High";
  789. alias nq_nxt "NQ;#liveupdate";alias osd_nq2 "setinfo NQ. Ultra;say_student . Net=Ultra";
  790. alias NQ_LOW  "nq0;rate 40000;cl_updaterate 15;cl_cmdrate 15;cl_interp_ratio 2;cl_interp 0.066667;alias NQ NQ_HIGH;osd_nq0";
  791. alias NQ_HIGH "nq0;rate 80000;cl_updaterate 30;cl_cmdrate 30;cl_interp_ratio 2;cl_interp 0.05;alias NQ NQ_ULTRA;osd_nq1";
  792. alias NQ_ULTRA "nq1;rate 160000;cl_updaterate 40;cl_cmdrate 60;cl_interp_ratio 1;cl_interp 0.033333;alias NQ NQ_LOW;osd_nq2";
  793. #nq;// startup - import user preference
  794.  
  795. //// AVEYO'S VIDEO PRESETS: hotkey = {KP_MULTIPLY}* console cmd = VQ        TOGGLING IN-GAME(LIVE) IT'S ONLY PARTIAL - CAN BE UNSAFE
  796. alias U1 "cl_globallight_shadow_mode 3;r_ssao 1;r_dota_fxaa 1;dota_ambient_creatures 1;dota_ambient_creatures_pop 0";
  797. alias U0 "cl_globallight_shadow_mode 2;dota_ambient_creatures 0;dota_ambient_creatures_pop 1;r_dota_fxaa 0;r_ssao 0";
  798. alias H1 "dota_cheap_water 0;mat_viewportscale 1.0;r_deferred_height_fog 1;r_deferred_specular_bloom 1;r_texture_stream_mip_bias 0";
  799. alias H0 "dota_cheap_water 1;r_deferred_height_fog 0;r_deferred_specular_bloom 0;r_texture_stream_mip_bias 1;mat_viewportscale .9f";
  800. alias m1a "cl_particle_fallback_base 0;cl_particle_fallback_multiplier 0;cl_particle_sim_fallback_threshold_ms 6";
  801. alias m0a "cl_particle_fallback_base 4;cl_particle_fallback_multiplier 1;cl_particle_sim_fallback_threshold_ms 4";
  802. alias m1b "dota_allow_clientside_particles 1;dota_use_animated_inventory_icons 1;r_texturefilteringquality 3";
  803. alias m0b "dota_allow_clientside_particles 0;dota_use_animated_inventory_icons 0;r_texturefilteringquality 1";
  804. alias M1 "m1a;m1b;r_dota_normal_maps 1;r_deferred_simple_light 1;r_deferred_specular 1";
  805. alias M0 "m0a;m0b;r_dota_normal_maps 0;r_deferred_simple_light 0;r_deferred_specular 0;mat_viewportscale 0.85f";
  806. alias L1 "r_deferred_additive_pass 1";alias vq_r "r_textures_evict_all";alias vq_nxt "VQ;#liveupdate";
  807. alias L0 "r_deferred_additive_pass 0;r_texture_stream_mip_bias 2;cl_globallight_shadow_mode 1;mat_viewportscale 0.8f";
  808. alias p1a "cloth_update 1;cloth_step 1;cloth_simulate 1;cl_ragdoll_limit 20;enable_boneflex 1;flex_smooth 1";
  809. alias p0a "cloth_update 0;cloth_step 0;cloth_simulate 0;cl_ragdoll_limit 10;enable_boneflex 0;flex_smooth 0";
  810. alias p1b "r_PhysPropStaticLighting 1;rope_subdiv 2;rope_smooth 1;rope_averagelight 1;rope_rendersolid 1;r_ropetranslucent 1";
  811. alias p0b "r_PhysPropStaticLighting 0;rope_subdiv 1;rope_smooth 0;rope_averagelight 0;rope_rendersolid 0;r_ropetranslucent 0";
  812. alias P1 "p1a;p1b;voice_chat_bubbles 1;dota_show_itempickups 1";   //Potato disables voice bubbles+item pickups, use 1 below to undo
  813. alias P0 "p0a;p0b;voice_chat_bubbles 0;dota_show_itempickups 0;cl_globallight_shadow_mode 0;mat_viewportscale 0.7f";
  814. alias VQ_ULTRA   "U1;H1;M1;L1;P1;vq_r;alias VQ VQ_HIGH;setinfo VQ. Ultra;say_student . Video=Ultra";
  815. alias VQ_HIGH    "U0;H1;M1;L1;P1;vq_r;alias VQ VQ_MEDIUM;setinfo VQ. High;say_student . Video=High";
  816. alias VQ_MEDIUM  "U0;H0;M1;L1;P1;vq_r;alias VQ VQ_OPTIMAL;setinfo VQ. Medium;say_student . Video=Medium";
  817. alias VQ_OPTIMAL "U0;H0;M0;L1;P1;vq_r;alias VQ VQ_LOW;setinfo VQ. Optimal;say_student . Video=Optimal";
  818. alias VQ_LOW     "U0;H0;M0;L0;P1;vq_r;alias VQ VQ_POTATO;setinfo VQ. Low;say_student , Video=Low";
  819. alias VQ_POTATO  "U0;H0;M0;L0;P0;vq_r;alias VQ VQ_ULTRA;setinfo VQ. Potato;say_student , Video=Potato";
  820. #vq;// startup - import user preference
  821. //// -------------------------------------------------------------------------------------------------------------------------------
  822.  
  823. //// RELOAD THIS AUTOEXEC.CFG hotkey = PAUSE cmd = EE              USE IT TO RESTORE STARTUP KEY BINDINGS, TOGGLES AND OTHER OPTIONS
  824. alias EE "#cls;exec autoexec | grep !@#;#stop;top_bar_message 0;fp_net;jointeam good";//also launches hero picker if it did not show
  825.  
  826. //// END GAME (DISCONNECT) / STOPDEMO / REFRESH MAIN MENU cmd = FF
  827. alias FF "sv_cheats 1;sv_cheats 0;stopdemo;disconnect;dota_wearables_clientside 0;dota_bot_practice_start 0;hideconsole";
  828.  
  829. //// START GAME VS. BOTS cmd = BB     Without hats for vanilla bugged Dota 2 feeling (immortals=won't go away, heropicker=hilarious)
  830. alias sv_1 "sv_cheats 0;sv_cheats 1;sv_lan 1;sv_stats 0;sv_maxclientframes 144;sv_voiceenable 0;tv_enable 0;host_limitlocal 1";
  831. alias BB "sv_1;dota_wearables_clientside 1;dota_creeps_no_spawning 0;dota_bot_practice_start 1;hideconsole;map dota";
  832.  
  833. //// START TEST GAME cmd = NN                                      For testing, no bots and no creeps, EZ mode enabled, hats enabled
  834. alias sv_2 "sv_1;ZZ;dota_wearables_clientside 0;dota_creeps_no_spawning 1;dota_bot_practice_start 0;hideconsole;map dota";
  835. alias NN "sv_2;blink execute_command_every_frame 120 14 15";alias 14.000000 "jointeam good;-rk1;-rk2;-rk3";alias 15.000000 "#stop";
  836.  
  837. //// EZ MODE IN TEST GAME cmd = ZZ          No shop restrictions (all shops in range, buy out-of-stock, ignore costs) Less hp towers
  838. alias ZZ "incrementvar dota_easy_mode 0 1 1;incrementvar dota_easybuy 0 1 1;hideconsole;dota_easybuy | say_student";
  839. alias zz0 "dota_easy_mode 0;dota_easybuy 0";
  840. zz0;// startup - hardcoded, off
  841.  
  842. //// LVLUP ALL HEROES +5 IN TEST GAME cmd = LL
  843. alias LL "dota_dev hero_level 5;dota_bot_give_level 5;hideconsole";
  844.  
  845. //// W33FRESH HERO IN TEST GAME hotkey = {SPACE}+{~} cmd = WW
  846. alias WW "dota_dev hero_refresh;dota_spawn_neutrals;hideconsole";
  847.  
  848. //// OMFG I just hate the new +query command, being used to type Q - tab - enter to quit
  849. alias Q "quit"
  850.  
  851. execifexists personal.cfg;          // Chainload a file named personal.cfg - you should add your own extra stuff there
  852. dota_keybindings_cloud_disable 0;   // [0] This option is broken! Hotkeys will always reset each time you open Dota 2 so keep it 0
  853. key_updatelayout;writekeybindings;host_writeconfig; // Update game kb layout to current windows kb setting; saves keys/cvars to disk
  854. //// JUST A FEW TWEAKS INCLUDED, BECAUSE SOURCE 2 CAN'T ACCEPT MANY MORE COMMANDS. GABEN, PLEASE!
  855. //// GET OVER YOUR MS BACKGROUND AND ++ THE COMMAND BUFFER LIMIT, 32KB WAS, AND STILL IS, NOT ENOUGH :)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement