Topic: Is there a way to bind middle click to toggle dyn cam?
What would be the command line to make this possible? If there is only on/off available instead of toggle, what would be the command line for that?
SOLUTION #1 (thank you Broken for the link and thank you Ubuntu for the solution!):
1. F1
2. bind space "cl_mouse_deadzone 300; cl_mouse_followfactor 60; cl_mouse_max_distance 800; inp_mousesens 800"
3. bind lshift "cl_mouse_deadzone 0; cl_mouse_followfactor 0; cl_mouse_max_distance 400; inp_mousesens 400"
4. F1 to close -- press space to turn dyn cam on, press shift to turn it off!
SOLUTION #2 (by Landil):
1. open config_directory.bat in the teeworlds root
2. copy settings.cfg
3. Paste it twice and rename it to dynon.cfg and dynoff.cfg
4. Open dynon.cfg and alter/add these values :
cl_mouse_deadzone 300
cl_mouse_followfactor 60
cl_mouse_max_distance 800
bind e "exec dynoff.cfg"
5. Open dynoff.cfg and alter/add these values:
cl_mouse_deadzone 0
cl_mouse_followfactor 0
cl_mouse_max_distance 400
bind e "exec dynon.cfg"
6. Save both files.
7. Open settings.cfg and add
bind e "exec dynon.cfg"