HowTo: autocenter the interior-cam-view
HowTo: autocenter the interior-cam-view
autocenter the interior-cam-view
cam behavior like a racing-game
this workarround use the ingame trackir-code in ets2 to autocenter the cam.
HowTo:
you have to edit the controls.sii
in the folder "..Documents\Euro Truck Simulator 2\profiles\YourProfileNumber"
change the following lines:
config_lines[132]: "mix trackiron `1 - (mouse.button_left?0 + keyboard.num4?0 + keyboard.num6?0)`"
config_lines[133]: "mix trackiryaw `0.0`"
config_lines[134]: "mix trackirpitch `0.0`"
config_lines[135]: "mix trackirx `0.0`"
config_lines[136]: "mix trackiry `0.0`"
config_lines[137]: "mix trackirz `0.0`"
(edit 2021: the line numbers may be different, depends on GameVersion)
the cam-behavior now change:
for mouseview you have to hold left-mousebutton and move the mouse to look arround.
if you release the left mousebutton the cam will automatic autocenter.
you now need to hold numpad 4 or numpad 6 to view left or right
by release numpad 4 or numpad 6 the cam will automatic autocenter.
you also are able to change mouse.button_left to mouse.button_right or whatever you want.
only for use without trackIR-device
---------
with a trackir-device you only have to change the first line, to something like that:
config_lines[132]: "mix trackiron `trackir.device.active?0- (mouse.button_left?0 + keyboard.num4?0 + keyboard.num6?0)`"
C.Joke
(edit: Im still using it in 2021 with V1.40)
cam behavior like a racing-game
this workarround use the ingame trackir-code in ets2 to autocenter the cam.
HowTo:
you have to edit the controls.sii
in the folder "..Documents\Euro Truck Simulator 2\profiles\YourProfileNumber"
change the following lines:
config_lines[132]: "mix trackiron `1 - (mouse.button_left?0 + keyboard.num4?0 + keyboard.num6?0)`"
config_lines[133]: "mix trackiryaw `0.0`"
config_lines[134]: "mix trackirpitch `0.0`"
config_lines[135]: "mix trackirx `0.0`"
config_lines[136]: "mix trackiry `0.0`"
config_lines[137]: "mix trackirz `0.0`"
(edit 2021: the line numbers may be different, depends on GameVersion)
the cam-behavior now change:
for mouseview you have to hold left-mousebutton and move the mouse to look arround.
if you release the left mousebutton the cam will automatic autocenter.
you now need to hold numpad 4 or numpad 6 to view left or right
by release numpad 4 or numpad 6 the cam will automatic autocenter.
you also are able to change mouse.button_left to mouse.button_right or whatever you want.
only for use without trackIR-device
---------
with a trackir-device you only have to change the first line, to something like that:
config_lines[132]: "mix trackiron `trackir.device.active?0- (mouse.button_left?0 + keyboard.num4?0 + keyboard.num6?0)`"
C.Joke
(edit: Im still using it in 2021 with V1.40)
Last edited by CJoke on 27 Apr 2021 16:34, edited 1 time in total.
Re: HowTo: autocenter the interior-cam-view
I'm using mouse and keyboard combination.
I use letter A to look left and letter B to look right.
If you don't mind telling me how if possible to do this.
TNX
I use letter A to look left and letter B to look right.
If you don't mind telling me how if possible to do this.
TNX
Re: HowTo: autocenter the interior-cam-view
then usezrex01 wrote: I use letter A to look left and letter B to look right.
config_lines[132]: "mix trackiron `1 - (mouse.button_left?0 + keyboard.a?0 + keyboard.b?0)`"
instead
Re: HowTo: autocenter the interior-cam-view
I think I understood what this "autocenter" does for people which doesn't use trackir: snapping back the view after having issued a keystroke for looking to the side. Okay, that seems to make sense, but after several years with trackIR it is hard for me to remember how it was without.CJoke wrote: with a trackir-device you only have to change the first line
But what I didn't get is how snapping back (if my above assumption was correct) could do me any good with trackIR. There is already a button in the software of the device, of free choice, to reset the view. So I guess this is not what you are intending?
Sorry if this sounds clueless, but the only racing sim I ever played was a Mercedes Truck racing game, and that was twelve years ago. Please enlighten me.
Re: HowTo: autocenter the interior-cam-view
it has nothing to do with resting a trackir-device to head-centerposition.Reinhard wrote:(...)CJoke wrote: with a trackir-device you only have to change the first line
But what I didn't get is how snapping back (if my above assumption was correct) could do me any good with trackIR.
I played many racing games before ets2 and most of the racing games have autocenter-keys for look left and right, so I missed that bevavior in ets2.
This workarround is not made for trackIR-users, but it should work with trackIR to.
default ets2 disable mouseview if you use a trackIR-device.
But if you use
config_lines[132]: "mix trackiron `trackir.device.active?0 - (mouse.button_left?0)`"
then you are able to use the mouseview by hold the left mousebutton, if you release left mousebutton the view return to your trackIR view-position.
For example reverse parking and looking back outside left window with mouse, instead of turn the head to left while the eyes keep looking forward.
Last edited by CJoke on 23 Nov 2013 15:28, edited 1 time in total.
Re: HowTo: autocenter the interior-cam-view
Thanks for explaining it, now i get it.
Re: HowTo: autocenter the interior-cam-view
Actually pressing "1" would auto-center view again, is that what you mean?CJoke wrote:I played many racing games before ets2 and most of the racing games have autocenter-keys for look left and right, so I missed that bevavior in ets2.
Re: HowTo: autocenter the interior-cam-view
yes with default ets2 you have to press 1 (or numpad 5),SiSL wrote:Actually pressing "1" would auto-center view again, is that what you mean?CJoke wrote:I played many racing games before ets2 and most of the racing games have autocenter-keys for look left and right, so I missed that bevavior in ets2.
this workarround is to do that full automatic by release the left/right-key
Re: HowTo: autocenter the interior-cam-view
Thank's for the reply.
Will try it out.
TNX
Will try it out.
TNX
Re: HowTo: autocenter the interior-cam-view
Hi ETS2-Simmers,
can someone confirm this workaround is working with the latest patch?
Cheers,
Matze
can someone confirm this workaround is working with the latest patch?
Cheers,
Matze
Who is online
Users browsing this forum: No registered users and 1 guest