Don't Starve Together

Don't Starve Together

Smooth camera
11 Comments
Ane  [author] 6 May, 2024 @ 11:47am 
I can suggest going to mod's directory (Steam\steamapps\workshop\content\322330\2784538601), opening modmain.lua with a text redactor, and changing 'if button == GLOBAL.MOUSEBUTTON_MIDDLE then' line. You can easily change the button to be either left or right and add a condition like pressed lshift or lcontrol ( GLOBAL.TheInput:IsKeyDown(GLOBAL.KEY_LSHIFT) and GLOBAL.TheInput:IsKeyDown(GLOBAL.KEY_LCTRL) accordingly)
₩Ø₦ÐEƦ 6 May, 2024 @ 10:53am 
Sorry, the middle mouse button is dumb. I would like to be able to change the button
Ane  [author] 5 May, 2024 @ 12:17pm 
Thanks for an advice, but I will. The mod still does though
₩Ø₦ÐEƦ 5 May, 2024 @ 11:42am 
Don't work
goldy 27 Nov, 2022 @ 8:43am 
very useful , thank you.
BolivaroXY 25 Nov, 2022 @ 4:29pm 
wow, this mod is insane
Ane  [author] 15 Sep, 2022 @ 6:29am 
You can do it manually, otherwise, no
doc boy 14 Sep, 2022 @ 7:45pm 
is there a way to reset the camera position back to default?
BendeR 24 Apr, 2022 @ 3:05pm 
thx
Ane  [author] 24 Apr, 2022 @ 2:57pm 
You can change that in the 48th line of modmain.lua in the mod directory:
"if button == GLOBAL.MOUSEBUTTON_MIDDLE then" into "if button == GLOBAL.MOUSEBUTTON_LEFT then".
However you may want to add some additional condition like a pressed left shift:
"if button == GLOBAL.MOUSEBUTTON_LEFT and GLOBAL.TheInput:IsKeyDown(GLOBAL.KEY_LSHIFT) then"
BendeR 24 Apr, 2022 @ 2:37pm 
Hi. How to change button "middle mouse" on "left button mouse"?