Since Valve removed support for advanced autoexec, this config is most likely completely unusuable. If you don't know exactly what you're doing, don't attempt to use this.
Here is an official statement of the author, explaining the situation.
In the unlikely case that anyone from Valve reads this: please re-consider your decision and just prevent multiple abilities/items per keypress. That would make awesome customization available again.
Here's a list of some relevant projects:
⛔ Disclaimer: These projects MIGHT be forbidden by Valve and MAY lead to a VAC ban.
- @AveYo's D-OPTIMIZER / Project Arcana (uses dota addons / vpk)
- @Karrandalf's Project Oracle (uses AutoHotkey)
This is a system of .cfg
files that controls almost all aspects of the game.
Using this, you have full control over what Valve lets you configure: you can tweak every aspect of the game by modifying text files, and also create special functions and keybinds that are not possible to make from the in-game menu.
Easy to share, easy to customise.
-
Remove all in-game keybinds. Do this by left clicking on a bind, then click the
X
that appears. If you want to be safe, press F12 in-game to save a screenshot of your binds so you don't forget them if you ever wish to go back and uninstall my engine. -
Choose one of the keyboard layouts (found inside either the Dota2 Reborn folder). You can look in the keyboard layout visual images folder to see how the layout will be. I recommend using "super compact layout" since it's the one we've worked the most on. If you are experienced, you can take the Dota2 Core and start building your layout from scratch.
-
Copy the contents from inside of the folder you've chosen to
\Steam\SteamApps\common\dota 2 beta\game\dota\cfg\
. Keep the file structure you see inside the folder as it is.
There are twodota\cfg
folders, one is in thegame
subfolder, one is not, make sure not to confuse them. -
You can modify the files however you want to match your preference, but make sure to read and understand what the files do. There are plenty of comments inside them. The main files which control the binds are the
keybinds_default
,keybinds_alt_pressed
andkeybinds_space_pressed
. -
Once the game loads, the autoexec.cfg will be executed automatically and you'll hear a Hand of Midas sound. Alternatively, press F8 in-game to reload it or force a reload by opening up the console and typing
exec autoexec.cfg
.
-
Just delete the files you pasted in the
cfg
folder. -
Set your keybinds back the way you want them
-
Run this command in the console to enable double-tap for self-cast (if it was affected by the setup in any way)
dota_ability_self_cast_timeout 0.5
Note: Double tap selfcast is intentionally disabled to prevent miscasts. This was done by making the tolerance so low only scripts can trigger it.
That is intended behaviour in my super compact layout, to prevent miscasts. Alt+Key should do self-cast or switch wards. Furthermore, double tap self cast is impossible if you are using quick casts.
This was done by lowering the dota_ability_self_cast_timeout
tolerance from 0.5
to something low like 0.01
. So low that only scripts can trigger it.
You can keep a few keybinds but they will override the .cfg
files, but I cannot guarantee there will be no conflicts. Be careful.
That must be because of your non-standard keyboard. There is a maintained German keyboard layout you should try if you are German, if not you should consider changing your keyboard layout to standard English in Windows options.
For Tilde pinging, some exotic codes for that key are not recognized by the Source engine. Right now, Tilde on English keyboards is `
. If you type your Tilde key and it doesn't look like that then you know why it isn't working.
It says the Alt key was remapped to Tilde. Why do I still have to press Alt+Click on items and abilities to show their status in chat?
That is an issue on Valve's part, as their dota_remap_alt_key
command isn't 100% complete and mostly just moves the map ping functionality, and the in-game ALT+Key commands (which become Tilde+Key commands).
Yes, because otherwise Alt+Key commands would've only worked if you configured them in-game and I would have had less control over the layout from the files. Furthermore, some functionalities, like custom functions, couldn't be bound to ALT+Key if I didn't move the ping key. It's because of the source engine.
No. Those are specially coded keys in the source engine that sadly aren't supported for modification.
Just go into the autoexec.cfg
file and change the dota_remap_alt_key
command to reflect the key that you want to be your secondary "ALT" modifier.
From the files you can't really do that, but there is a visual hack:
- You can put ALT+QWER/DFXCMouse5 or whatever the keys are on each keybind, and you will have Alt+Q", Alt+W"... displayed in-game, even though those are actually (Tilde+Q, Tilde+W...) and no conflicts will exist. I do it like that just as a visual hack to see my key. Mine looks like this (the ALT+Key keybinds are actually Tilde+Key in my super compact layout, and they don't conflict; I just use them to have some labels on my items in-game)
YES OF COURSE, BUT IT'S A KEY IN SUCH A USEFUL POSITION THAT YOU MIGHT AS WELL USE IT. Alternatively, you may change the keybind, or even change how windows handles that pesky button atogether.
Note that if you remap CAPSLOCK in windows, you will also need to do so in your dota config.
The autoexec.cfg
file is loaded and executed automatically by the dota2 client which acts as an engine which loads and combines other .cfg
files into a flexible keyboard layout which is easy to modify.
Take a sniff through the files—there are plenty of explanatory comments in each .cfg
file.
Each config file has its own role. Once you understand what they do, they're easy to tweak.