Rebind Camera Zoom

Post Reply
brack
Posts: 7
Joined: 13 Aug 2017 05:19

Rebind Camera Zoom

#1 Post by brack » 21 Aug 2017 14:24

Is it possible to rebind the third person or "2" camera zoom from the mouse wheel to something else? I didn't see it listed in the key bindings page.

I like making my cruse control increase/decrease my mouse wheel so I would like to zoom my camera with a different input (perhaps + and -).
User avatar
piva
Posts: 2377
Joined: 29 Oct 2014 16:41

Re: Rebind Camera Zoom

#2 Post by piva » 21 Aug 2017 16:06

I don't test it now but ... wiki
Exterior Camera Data wrote: Vehicle exterior camera vehicle_behind_rotation_camera got new attribute height_limit restricting camera to not raise above specified value in meters.
Looking here http://modding.scssoft.com/wiki/Games/E ... amera_Data
brack
Posts: 7
Joined: 13 Aug 2017 05:19

Re: Rebind Camera Zoom

#3 Post by brack » 23 Aug 2017 22:51

Thanks, but I'm not exactly sure what to do with this. I've never made a mod for ATS if that was your suggestion. Seems like overkill to simply rebind the key for zooming the camera.
IonutL
Posts: 3192
Joined: 13 Apr 2014 20:16

Re: Rebind Camera Zoom

#4 Post by IonutL » 24 Aug 2017 08:54

Don't know if it will actually gonna work, but go to the controls.sii file inside the profiles folder "Documents\American Truck Simulator\profiles\different letters and numbers\controls.sii". Make a backup of it first.Then you can edit it with Notepad if you are on Windows or you can download Notepad++.
Go search for this lines, their numbering may vary so look carefully:

Code: Select all

 config_lines[115]: "mix camzoomin `mouse.wheel_up?0`"
 config_lines[116]: "mix camzoomout `mouse.wheel_down?0`"
You would need to replace them with this lines:

Code: Select all

config_lines[115]: "mix camzoomin `keyboard.numplus?0`"
config_lines[116]: "mix camzoomout `keyboard.numminus?0`"
Also i think it's also useful to delete the part between `` of the following lines:

Code: Select all

config_lines[91]: "mix dbgfovup `keyboard.numplus?0`"
config_lines[92]: "mix dbgfovdown `keyboard.numminus?0`"
so the lines will look like this:

Code: Select all

config_lines[91]: "mix dbgfovup ``"
 config_lines[92]: "mix dbgfovdown ``"
Post Reply

Return to “Gameplay Questions”

Who is online

Users browsing this forum: No registered users and 7 guests