Categories: Dota 2Guides

[Guide] How to use/enable smart camera follow!

In the last days I saw an increasing number of people wondering how to use smart camera follow like demonstrated in this video on twitch.

I hope this post will help!


First things first: Whenever you click the minimap dota_camera_smart_follow will be disabled and you have to turn it on again.

I don't know why this happens and so far I didn't find any real solution.

Scroll down to get to the script(s) you need to paste into your autoexec.cfg


What you need:

  • autoexec.cfg (create it by making a txt. file and altering both the name and the ending)

  • set the autoexec.cfg on read only after you saved the changes

  • location: %/steam/steamapps/common/dota 2 beta/dota/cfgs/

  • bind "F8" "exec autoexec.cfg" (just an exampel but you need to press that button everytime you hit play after hero selection)

  • -console (for launch options – not needed but could be usefull if you want to change things around without tabbing)


Commands used:

Command Value used Default
dota_smart_camera_toggle
dota_camera_smart_follow_edge_distance 10000
dota_camera_smart_follow_drag_distance 10000
dota_camera_smart_follow_offset_time 10000
dota_camera_smart_follow_offset_reset 1000 8.0
    ____________________


Bold lines within the examples differ from the previous/other one!

    ____________________

Example 1:

alias "+smart_follow" "+dota_camera_follow;dota_smart_camera_toggle"

alias "-smart_follow" ""

dota_camera_smart_follow_offset_time 10000 // time in seconds you're allowed to have your hero off center (10000 should be sufficient)

dota_camera_smart_follow_offset_reset 100 // not sure on this command (default 8.0)

dota_camera_smart_follow_edge_distance 10000 // distance in units you're allowed to edge pan (maybe set it to 500-2000. Anything above 10000 will cover the whole dota map)

dota_camera_smart_follow_drag_distance 10000 // distance in units you're allowed to drag with middle-mouse (500-2000 might be enough for some people)

bind "1" "+smart_follow"

bind "0" "dota_smart_camera_toggle"

    ____________________

Example 2:

alias "+smart_follow" "+dota_camera_follow;dota_smart_camera_toggle"

alias "-smart_follow" "alias +smart_follow +dota_camera_follow"

dota_camera_smart_follow_offset_time 10000 // time in seconds you're allowed to have your hero off center (10000 should be sufficient)

dota_camera_smart_follow_offset_reset 100 // not sure on this command (default 8.0)

dota_camera_smart_follow_edge_distance 10000 // distance in units you're allowed to edge pan (maybe set it to 500-2000. Anything above 10000 will cover the whole dota map)

dota_camera_smart_follow_drag_distance 10000 // distance in units you're allowed to drag with middle-mouse (500-2000 might be enough for some people)

bind "1" "+smart_follow"

bind "0" "dota_smart_camera_toggle"

    ______________________________

Example 3:

alias "+smart_follow" "+dota_camera_follow;dota_smart_camera_toggle"

alias "-smart_follow" "alias +smart_follow +dota_camera_follow; dota_smart_camera_toggle;dota_smart_camera_toggle"

dota_camera_smart_follow_offset_time 10000 // time in seconds you're allowed to have your hero off center (10000 should be sufficient)

dota_camera_smart_follow_offset_reset 100 // not sure on this command (default 8.0)

dota_camera_smart_follow_edge_distance 10000 // distance in units you're allowed to edge pan (maybe set it to 500-2000. Anything above 10000 will cover the whole dota map)

dota_camera_smart_follow_drag_distance 10000 // distance in units you're allowed to drag with middle-mouse (500-2000 might be enough for some people)

bind "1" "+smart_follow"

bind "0" "dota_smart_camera_toggle"

    ______________________________

Issues:

-ALL SCRIPTS:

  • You'll have to press 1 to activate the script once you loaded your autoexec.cfg

  • The key "0" isn't really in efficient reach. You might want to replace it to something like "CAPSLOCK"

  • Whenever you issue commands via the minimap dota_smart_camera_toggle will be disabled

  • You might need to unbind the keys 1 and 0 in the client options


-EXAMPLE 1:

  • Everytime you press 1 it'll toggle between smart_follow on/off

  • Press 0 or 1 to enable/disable it again


-EXAMPLE 2:

  • Pressing 1 only enables smart_follow once and won't work a second time

  • Press 0 if you disabled it by pressing on the minimap or due to spikes/lag (for the latter you should press F8)


-EXAMPLE 3:

  • After you have pressed 1 once to enable the script it'll always toggle twice (on -> off -> on)

  • If you click on the minimap the command is automatically disabled. Pressing 1 in this case would result in: off -> on -> off

  • Press 0 to activate it again and restore the intented behavior


TL;DR: Example 2 and 3 are probably the best to use if you really want to go for it. The values can be altered as desired.

Gamer

Share
Published by
Gamer

Recent Posts

Ledx have been so hard for me this wipe

Not being able to craft them sucks. Especially when everyone I talk to about it…

1 year ago

My interesting and unfortunate Gwent life

First I'd like to say I absolutely love this game it's quality. Basically I first…

1 year ago

Teacher Tuesday 12/Dec/2023 – ask your questions here!

Welcome to Teacher Tuesday, a thread where anyone can ask any type of question without…

1 year ago

This games balance is confusing

I’m kind of new/returning to gwent I played beta and obviously it’s a lot lot…

1 year ago

Summary of 10 Days of Draws from Chaffee’s Bundles

Level 1 Bag (Free with Atmosphere Level 2) 6 small consumable (First Aid, Repair, Fire…

1 year ago

Why is my crew at 135%?

Here's my crew - T34-85M - for the life of me I cant figure out…

1 year ago