3 New Notifications

New Badge Earned
Get 1K upvotes on your post
Life choices of my cat
Earned 210

Drag Images here or Browse from your computer.

Trending Posts
Sorted by Newest First
b
b.sasha 02.04.20 08:47 pm

Simulator TrackIR camera driver (Euro Truck Simulator 2)

TrackIR simulates the operation using the keystrokes and thus allows to move around (not just rotate, but also move) the camera left-right, up-down, forward-back.
Has buttons on and off. In an enabled state does not allow you to control the camera in other ways, as in the present TruckIR, in the off state returns the camera to standard place, remembering the position for the whole flight and restoring it re-enabled.

Test on version 1.4.8
Author: Myau

Installation and nastroeniem folder of your profile (located at C:\Users\Имя_Пользователя\Documents\Euro Truck Simulator 2\profiles\).
The folder will have the name in the form of various digits and letters or only digits. If you have multiple profiles, you will have to experiment to determine the profile folder that you want to modify. Find the folder open it and open the file controls.sii with Notepad.
Looking for lines:


config_lines[129]: mix trackiron `trackir.device.active?0`
config_lines[130]: mix trackiryaw `trackir.device.position.yaw?0`
config_lines[131]: mix trackirpitch `trackir.device.position.pitch?0`
config_lines[132]: mix trackirx `trackir.device.position.x?0`
config_lines[133]: mix trackiry `trackir.device.position.y?0`
config_lines[134]: mix trackirz `trackir.device.position.z?0`

and model them to:


config_lines[129]: mix trackiron `(trackiron + keyboard.pgup?0) * (1 - keyboard.pgdn?0)`
config_lines[130]: mix trackiryaw `(trackiryaw - (keyboard.num6?0 * 0.02) + (keyboard.num4?0 * 0.02))*(1 - keyboard.num8?0)`
config_lines[131]: mix trackirpitch `(trackirpitch - (keyboard.num7?0 * 0.02) + (keyboard.num9?0 * 0.02))*(1 - keyboard.num8?0)`
config_lines[132]: mix trackirx `(trackirx - (keyboard.num1?0 * 0.005) + (keyboard.num3?0 * 0.005))*(1 - keyboard.numslash?0)`
config_lines[133]: mix trackiry `(trackiry - (keyboard.num2?0 * 0.003) + (keyboard.num5?0 * 0.003))*(1 - keyboard.numslash?0)`
config_lines[134]: mix trackirz `(trackirz - (keyboard.numplus?0 * 0.005) + (keyboard.numminus?0 * 0.005))*(1 - keyboard.nummultiply?0)`

Save the changes. You can now log into the game and try out the camera controls.

PageUP - button switch simulation TruckIR. When pressed again, disables the simulation and to re-enable requires that you sequence PageDown, PageUp.
PageDown - button off simulation TruckIR. To activate, just press PageUP.
Num4 - Look left
Num6 - Watch the right
Num7 - Look down
Num9 - Looking up
Num8 - Reset view (looking forward)
NumPlus - movement of the head forward
NumMinus - movement of the head back
NumMultiply (asterisk) - Reset the position of the head
Num5 - adjustable seats up
Num2 - Regularone seats down
Num1 - adjust the chair to the left
Num3 - adjustable seats right
NumSlash (/) - Reset adjustment chairs
Try to release the button at the boundaries of turn/rise/zoom, as for exit, it will require an equally long reverse action, or resetting the corresponding reset button.
Configuration (change only what is indicated under the lines):
config_lines[129]: mix trackiron `(trackiron + keyboard.pgup?0) * (1 - keyboard.pgdn?0)`
keyboard.pgup?0 - button switch simulation
keyboard.pgdn?0 - button off simulation
config_lines[130]: mix trackiryaw `(trackiryaw - (keyboard.num6?0 * 0.02) + (keyboard.num4?0 * 0.02))*(1 - keyboard.num8?0)`
keyboard.num6?0 * 0.02 - Button-glance right * speed of movement
keyboard.num4?0 * 0.02 - Button look left * movement speed
keyboard.num8?0 - reset button view horizontal
config_lines[131]: mix trackirpitch `(trackirpitch - (keyboard.num7?0 * 0.02) + (keyboard.num9?0 * 0.02))*(1 - keyboard.num8?0)`
keyboard.num7?0 * 0.02 - Button look down * the speed of movement
keyboard.num9?0 * 0.02 - Button look up * speed
keyboard.num8?0 - reset button view vertical
config_lines[132]: mix trackirx `(trackirx - (keyboard.num1?0 * 0.005) + (keyboard.num3?0 * 0.005))*(1 - keyboard.numslash?0)`
keyboard.num1?0 * 0.005 - chair motion to the left * the speed of movement
keyboard.num3?0 * 0.005 - chair motion right * speed of movement
keyboard.numslash?0 - reset the seat horizontally
config_lines[133]: mix trackiry `(trackiry - (keyboard.num2?0 * 0.003) + (keyboard.num5?0 * 0.003))*(1 - keyboard.numslash?0)`
keyboard.num2?0 * 0.003 - motion chairs down in speed
keyboard.num5?0 * 0.003 - motion chairs up * speed
keyboard.numslash?0 - reset chairs vertically
config_lines[134]: mix trackirz `(trackirz - (keyboard.numplus?0 * 0.005) + (keyboard.numminus?0 * 0.005))*(1 - keyboard.nummultiply?0)`
keyboard.numplus?0 * 0.005 - movement of the head forward * the speed
keyboard.numplus?0 * 0.005 - movement of the head backward * speed
keyboard.nummultiply?0 - resets the position of the head
3 Comments
Sort by:
b
b.sasha 02.04.20

If correctly to register the vehicle on the driver's camera no longer needed . Who knows what edits can be paszamant values under themselves to edit the values if you do not know much about - just follow the instructions .

B
Barada4 02.04.20

Sorry that is not on! Don't tell me how to install free camera on 1.23?(the numbers change as expected, does not help)

p
petrorlov013 02.04.20

Is there a mod to change the distance of the distance of the camera from the towing vehicle button 2?