I am aware that my proposition does not address point no.4 (oops, that's like.. the key point), but it's been almost a year since the lame change to "one command per bind", and it does not look to be coming back.
Btw, your script needed 3x +dota_camera_follow to also re-center while already following, just thought of mentioning it even if it's RIP.
It was suggested multiple times after the killing of autoexec.cfg as a hotkeys settings toggle option, together with camera lock.
I did not find a way in-game to obtain map-wide camera follow with edge-pan without the use of camera grip (there are some things to do differently with the help of dota_camera_lock, but it's not good enough).
Well-intended client-side mods can achieve it easily, but are too volatile in nature since DOTA code changes frequently (my arcana hotkeys mod still not updated, but it did feature it in an older version..)
And the autohotkey or other external macro suffer from their own quirks, and are not a solution within the scope of this forum.
The Camera Grip: It's never too late to adapt! One thing that helps, is to change default MOUSE3 bind, to a side button such as MOUSE4 (or simply assign MOUSE4 additionally - by cfg).
9 out of 10 mice I've laid my hands on, had an atrocious mouse wheel button, that took at least 4x the strain to press and hold compared to a side button.
Now that's something that would make a lot of people hate it, along with the constant movement of the index finger from over the left button.
I very much value ergonomics over everything when it comes to playing games such as DOTA (one more game.. just one more.. two more).
The Reverse Camera Grip: I was afraid you are more of a Pudge than a Clockwerk guy.
Guess how I've persuaded some of my friends to adapt: making them play Clockwerk and get Ags - it grows on you!
It is however an issue that affects both methods as you can't have free follow without hold select to follow option.
I believe these two options never worked together, and looking at how the camera snaps in different directions I think there is a conflict in the underlying code.
The Camera Grip over Edge Pan: Yes it will stop following, in the same way as the default double-clicking portrait works - it is meant for small distance, and the stop on edge is helping not to get locked in follow mode.
It's just a mouse wheel spin away to get back to tracking in no time after accidentally camera griping over the edge.
One thing that bothers me is that you talk about it as if you use follow at all times - that would explain why camera grip would be needed more often - but still, Edge Panning can be used perfectly fine.
In any case, it would make a strange and arguably sub-par way to play DOTA. I mostly use it during down-time walking across the map, inspecting different units in my control, saving the courier or sometimes strategically in laning phase as pictured in the previous post - using both follow and grip: not so much.
Now let me tell you the one reason why adapting to this method (#2) is worth it: following any selected unit, not just the main hero! That's huge to micro multiple units heroes such as meepo, arc warden, lone druid, any illusion-spamming heroes such as naga, terrorblade, shadow demon (and any hero can become one with Manta Style), any dominating heroes such as chen and enchantress (and any hero can become one with Helm of the Dominator).
It's not only functional, it's even fun!
Personally I use a client-side mod with several alternatives based on underlying commands, going around the cfg bind interface limitations.
I tried to emulate one of them in a way that it will resemble what you are used to in a hero-only perspective of follow / re-center / stop.
However, for any selected unit the mwheeldown part (+dota_camera_follow) needs to be changed to either +cameragrip (to remain in follow mode), or into +dota_control_group 45 (to exit follow mode).
Both alternatives need be assigned to mouse wheel up or down, to take advantage of the fact that these are not real buttons, there is no on-release event, so it won't actually trigger grip mode / easier to activate twice.
The 45 number is chosen as a non-existent control group, and I don't know if you are aware of, but such (malformed) command can also be used to follow the current selected unit.
I guess nothing stops you for using both methods - the unfortunate autohotkey external program for the better, but hero-only +camera_follow SPACE bind, and my mwheelup / mwheeldown binds for the any selected unit.
Anyway, both methods are unintended behavior just as a sticky key would be, and likely a source of annoyance if it sticks or inadvertently affects camera grip or other actions (Valve coding rule: change a thing, break 9k more).
I only ask you to give it one more try, while playing with multiple selections of heroes / illusions / units / couriers.
To summarize #2 (any selected unit perspective) for people stumbling into this thread:
A. reassign / clear any keys that are already used in the GUI Hotkeys setup, so that the binds done in autoexec.cfg work properly in-game:
- SPACE is usually assigned to Recent Event, or as the Select Hero key in OP method, needs to be cleared if chosen as the re-center / exit follow mode
- CAPSLOCK is usually clear - it's a good fit to activate follow mode after TAB-ing trough units
- MWHEELUP is usually assigned to Camera Zoom In, you should set it to ALT + MWHEELUP instead (or + key)
- MWHEELDOWN is usually assigned to Camera Zoom Out, you should set it to ALT + MWHEELDOWN instead (or - key)
- MOUSE4 usually assigned to Voice chat, optionally used as Camera Grip in cfg (can keep both MOUSE3 and MOUSE4 until getting used to)
B. set GUI Option Hold Select Hero to Follow to ON (can also be set in autoexec.cfg)
C. adjust your autoexec.cfg with:
dota_camera_hold_select_to_follow 1; // camera grip will not exit follow mode, only edge pan will
//dota_camera_hold_select_to_follow 0; // camera grip will exit follow mode instantly
bind MOUSE4 "+cameragrip"; // optional Camera Grip on side mouse button - a far more ergonomic choice
bind SPACE "+dota_control_group 45"; // double-tap to follow while pressed / re-center / exit follow mode on release (needs to be a key)
bind CAPSLOCK "dota_camera_center"; // follow mode on any selected unit, not just main hero (same as double-click portrait)
bind MWHEELUP "dota_camera_center"; // enter follow mode, can use camera grip to offset camera (same as double-click portrait)
//// variant 1: temporary offset follow // to stop following, simply edge pan, click portrait once, or double-tap SPACE
bind MWHEELDOWN "+cameragrip"; // re-center camera and resets the offset (needs to be a mwheel)
//// variant 2: global offset follow // to re-center camera, must manually use camera grip in follow mode - double-tapping hero/courier/groups keys won't reset the offset!
//bind MWHEELDOWN "+dota_control_group 45"; // just stops follow mode, without re-center, and without resetting camera grip offset (needs to be a mwheel)