Page 1 of 7

TrackIR Driving Enhancements - ATS/ETS2 1.41 to 1.52 - Updated 27/09/2024

Posted: September 23rd, 2021, 5:12 pm
by JHTrucker
TrackIR Driving Enhancements. (Originally 'TrackIR Option 1 Window Block').

Note: This isn't a mod to just drop into your mod manager, you'll also need to follow instructions and edit your controls.sii & config_local.cfg files.

For TrackIR or devices that use the games TrackIR inputs.
Your TrackIR device must already be configured and working with the standard game.
Using just Yaw is possible but will result in some limited functionality.
For best results, use at least Yaw, Pitch, X & Z or better still, all 6DOF.

I used my TrackIR 3 (from 2005) to create this using Yaw, Pitch, Roll, X, Y, Z & Trueview enabled.
Image

This won't work for VR. But you can try this "TEST" VR version here: viewtopic.php?p=55557#p55557
This won't work for Tobii Eye. But you can try 'Tobii Eye Driving Enhancements' instead: viewtopic.php?p=57548#p57548

This is for, what I think, is a more realistic sim experience and therefore using a real steering wheel is recommended, not only for driving but also for controlling the 'walking' feature. The goal is to perform every thing in first person and move as seamlessly as possible from inside to outside and back again, be the driver... not the truck!

Updated 27/10/2021 - New menu mods (v2.0) and required date highlighted config_local.cfg & controls.sii file edits on post 2. Updated descriptions in this post.
Updated 06/11/2021 - Date highlighted updated descriptions in this post.
Updated 22/12/2021 - New menu mods (v2.2) and required date highlighted config_local.cfg & controls.sii file edits on post 2. Updated descriptions in this post. What's new, look here: viewtopic.php?p=48312#p48312
Updated 17/01/2022 - New mod 'TDE - Cabin Camera Creator v2' on post 5. Date highlighted controls.sii file edits on post 2. What's new, look here: viewtopic.php?p=49398#p49398
Updated 16/03/2022 - New menu mods (v3.0) and required Date highlighted controls.sii file edits on post 2. Updated descriptions in this post. What's new, look here: viewtopic.php?p=50213#p50213
Updated 22/04/2022 - New menu mods (v4.0) and required Date highlighted controls.sii file edits on post 2. Updated descriptions in this post. What's new, look here: viewtopic.php?p=50547#p50547
Updated 19/05/2022 - New menu mods v4.1 (1.38-1.43) & v5.0 (1.44) and required date highlighted controls.sii file edits (191/195/205/280/283/284/306/313/339/340/375/377/507). Updated descriptions in this post. What's new, look here: viewtopic.php?p=50918#p50918
Updated 15/07/2022 - Date highlighted amended controls.sii file edits (191/195/200'optional post 6'/279/510/513/514). What's new, look here: viewtopic.php?p=51893#p51893
Updated 12/08/2022 - New menu mods v5.1 (1.44 & 1.45) and date highlighted controls.sii file edit (config_lines[284]: "mix headtrz...) for 1.38 to 1.45. What's new, look here: viewtopic.php?p=52736#p52736
Updated 31/10/2022 - Date highlighted amended controls.sii file edits to fix a problem caused by using '-sysmouse' as a game launch option. What's new, look here: viewtopic.php?p=54640#p54640
Updated 16/12/2022 - New menu mods v4.2 (1.38-1.43) & v5.2 (1.44-1.46) and date highlighted controls.sii file edits. What's new, look here: viewtopic.php?p=56190#p56190
Updated 14/02/2023 - New menu mods v4.3 (1.38-1.43) & v5.3 (1.44-1.46) and date highlighted controls.sii file edits. What's new, look here: viewtopic.php?p=57402#p57402
Updated 07/03/2023 - Fixed a glitch in z movement for date highlighted 'mix headtrz...'
Updated 25/03/2023 - Fixed a glitch for sleep activation date highlighted 'mix activate ...'. What's new, look here: viewtopic.php?p=57910#p57910
Updated 01/07/2023 - New menu mods v4.4 (1.38-1.43) & v5.4 (1.44-1.47) and date highlighted controls.sii file edits. What's new, look here: viewtopic.php?p=59545#p59545
Updated 03/07/2023 - Fix for 'mix headtrz...' What's new, look here: viewtopic.php?p=59583#p59583
Update 24/08/2023 - TDE v5.4 and associated line edits still work on game version 1.48 but SCS has added a bug that affects their Tobii Eye menu and therefore also affects my TDE menu... See this post for more info: viewtopic.php?p=60275#p60275
Updated 11/12/2023 - New menu mods v4.5 (1.41-1.43) & v5.5 (1.44+) and date highlighted controls.sii file edits. What's new, look here: viewtopic.php?p=62527#p62527
Updated 06/01/2024 - New menu mod v5.51 (1.44+). What's new, look here: viewtopic.php?p=62993#p62993
Updated 22/01/2024 - Date highlighted controls.sii file edits. What's new, look here: viewtopic.php?p=63183#p63183
Updated 16/02/2024 - New menu mods v4.6 (1.38-1.43) & v5.6 (1.44+) and Date highlighted controls.sii & config_local.cfg file edits. What's new, look here: viewtopic.php?p=63446#p63446
Updated 04/04/2024 - Added first person animated movement. Date highlighted controls.sii file edits. What's new, look here: viewtopic.php?p=63906#p63906
Updated 19/05/2024 - New menu mod v6.0 (1.50). What's new, look here: viewtopic.php?p=64214#p64214
Updated 06/06/2024 - Added first person animated movement to Service/Showroom. Date highlighted controls.sii file edits. What's new, look here: viewtopic.php?p=64457#p64457
Updated 07/07/2024 - New menu mod v6.1 (1.50) and date highlighted controls.sii file edits. What's new, look here: viewtopic.php?p=65068#p65068
Updated 08/08/2024 - New TDE Optional sounds. What's new, look here: viewtopic.php?p=65430#p65430
Updated 22/09/2024 - New mod 'TDE (Unsupported) v7.0 (1.51+)'. What's new, look here: viewtopic.php?p=65781#p65781
Updated 27/09/2024 - New mod 'TrackIR Driving Enhancements v7.0 (1.51+)' and date highlighted controls.sii file edits. What's new, look here: viewtopic.php?p=65886#p65886

=======================================================================================

Confirmed to work for ATS/ETS2 game versions 1.41 to 1.52
Note: From game version 1.51 there's no custom TDE menu due to new UI limitations.

A quick test of Driving Academy (1.52): TDE functions work correctly but when the on screen text
instructions state "press 'complex' to continue", just press your 'Activate' button.

The newly added Freightliner Cascadia 2024 is currently 'unsupported' until I release the next mod update...

From update 11/12/2023 TDE will no longer work for game versions 1.38, 1.39 & 1.40

=======================================================================================

Features:
Game version 1.41 to 1.50: A custom in game menu that has drop down lists, tick boxes & sliders so you can setup all of the 'TrackIR Driving Enhancements' features to suit you and any given truck and then save as a preset.

Game version 1.51+: Uses the in game Tobii Eye menu to select the required presets to suit you and any given truck.
Note: The file used to create the custom TDE menu is no longer available within the game extracted files, hence no custom menu and reduced functionality.

TrackIR 6DOF Yaw, Pitch, Roll, X, Y & Z movements. When driving, those movements can each be disabled via TDE menu, if required, except Yaw. Full TrackIR is auto enabled for non-driving features.

TrackIR X, Y & Z improvements to help see around those massive mirrors or huge side exhaust.

'Window blocking' - Your head remains inside the truck cab when the windows are closed but still has full look left / right movement inside the cab. Open the windows to put your head out.
AMENDED 22/12/2021
Note: 'Window blocking' can be disabled, if required, you'll then have game standard head movement through the open or closed window.

Sit in the passenger seat (cam 2) or lay down / sit in the sleeper area (cam 3) before activating sleep.

NEW 27/10/2021
Exit your truck (cam 4) - Stand outside, in first person, whilst refueling or attach/detach the trailer etc. You can 'walk' around your truck and first trailer, using your real steering wheel to provide the required movement, whilst still having full yaw/pitch/roll/y head movement.

NEW 27/10/2021
'Action' button - Combines multiple tasks to 1 button and your head movement. 'Action' button assigned via TDE menu.

AMENDED 04/04/2024
You can change from driver seat to passenger seat to sleeper area or outside by looking at the location and pressing the 'Action' button.
The movement can be instant, 'Switch To' or auto animated in first person, 'Move To' (TDE Default).

AMENDED 11/12/2023
Inside - You can switch GPS screens or switch dash screens by looking at them and pressing the 'Action' button.
Outside - You can refuel, attach/detach the trailer or load/unload the cargo by looking at their 'trigger zones' and pressing the 'Action' button.
Note: You can still assign individual keys/buttons to those actions, as per default game, if you'd rather keep it that way.

Lean forward to zoom interior camera with your head instead of a button press. This can be disabled, via TDE menu, if required.
NEW 11/12/2023
Optional - Toggle interior camera zoom on/off using the 'Action' button.

AMENDED 22/01/2024
Optional - Adjust the big left/right mirrors whilst sat in the driving seat without using the F4 menu.

NEW 08/08/2024
Optional - Sound effects.

AMENDED 16/02/2024
Optional - Non-linear Brake pedal movement:
This gives a more progressive brake pedal feel, rather than the default linear motion, whilst still having maximum braking force when you fully press your brake pedal.

NEW 22/04/2022
Optional - Control Devcam using your wheel/pedals etc.

By default, both left & right windows operate together when pressing 'open left window' & 'close left window' buttons. This way you only need to use the same two buttons, whether you are driving LHD or RHD trucks. You can still assign all 4 buttons if you want, so the windows once again operate independently.

The ability to disable all the line edits, via the TDE menu, and remove the mod for playing multiplayer, for example, with game standard TrackIR without having to re-edit your controls.sii file.

Quick start setup on post 3, including a pre-configured controls.sii file for easy testing.

Optional - Game version 1.41 to 1.50 only: 'TDE - Cabin Camera Creator' is an additional custom Menu Mod to help you to position your Passenger Seat or Sleeper camera for any given truck and save as a preset. Each TDE mod has passenger seat and sleeper area presets for all game default trucks, you don't have to create any unless you'd like them positioned differently.

For best results always use your own truck rather than a 'quick job' truck.

Here's a quick demo video showcasing some of the above features:

If you're wondering, that box with the coloured buttons on it is just a cheap usb number pad with big plastic buttons stuck to the keys that I use.
White --> TrackIR on/off (in TrackIR software) & Diff Lock
Blue --> Truck lift axle & Trailer lift axle
Red --> Park brake & Action

G27 buttons used for all other things I need to press.

All demo videos are here: viewtopic.php?p=46613#p46613

==============================================================================

TDE cameras: AMENDED 16/02/2024
CAM 1 - Keyboard 1 - Game standard driving view.
CAM 2 - Keyboard 2 - NEW - Passenger Seat. *** You cannot drive from this camera ***
CAM 3 - Keyboard 3 - NEW - Sleeper Area. *** You cannot drive from this camera ***
CAM 4 - Keyboard 4 - NEW - Outside truck. *** You cannot drive from this camera ***
CAM 5 - Keyboard 5 - Game standard chase view.
CAM 6 - Keyboard 6 - Game standard top down view.
CAM 7 - Keyboard 7 - Game standard roof view.
CAM 8 - Keyboard 8 - Game standard Drive-By view.
CAM 9 - Keyboard 9 - Game standard bumper view.
CAM 10 - ALT + Keyboard 9 - Game standard On-Wheel view.
Note 1: You can switch from (cam 1/2/3/4) to (cam 5/6/7/8/9/10) OR switch from (cam 5/6/7/8/9/10) to (cam 1).
Note 2: You can't switch from an external 'driving' camera (cam 5/6/7/8/9/10) to a 'non-driving' camera (cam 2/3/4) to avoid losing control of your truck.
Note 3: Game standard 'Cam Cycle' function is disabled because it breaks TDE functionality.
Remember, this is about realism and keeping everything in first person, so CAM 1, 2, 3 & 4 should be the only cameras to use.

Available cameras when TDE code is disabled (via the TDE menu tick box):
CAM 1 - Keyboard 1 - Game standard driving view.
CAM 2 - Keyboard 2 - Game standard chase view.
CAM 3 - Keyboard 3 - Game standard top down view.
CAM 4 - Keyboard 4 - Game standard roof view.
CAM 5 - Keyboard 5 - Game standard drivers window view (the TDE mod also has to be removed for this camera to work correctly).
CAM 6 - Keyboard 6 - Game standard Bumper view.
CAM 7 - Keyboard 7 - Game standard On-Wheel view.
CAM 8 - Keyboard 8 - Game standard Drive-By view.
CAM 9 - Keyboard 9 - Cam Cycle.

You should take your time to familiarise yourself with all the settings.
(All information is split into sections and contained within the first 10 posts.)
Post 01 - Description - This post.
Post 02 - General Menu Information and Usage - viewtopic.php?p=46458#p46458
Post 03 - Quick start guide - viewtopic.php?p=46459#p46459
Post 04 - Controls.sii file edits (Part 1) - viewtopic.php?p=46460#p46460
Post 05 - Controls.sii file edits (Part 2) - viewtopic.php?p=46461#p46461
Post 06 - Optional edits - viewtopic.php?p=46462#p46462
Post 07 - Cabin Camera Creator - viewtopic.php?p=46506#p46506
Post 08 - Problems & Solutions / To do list - viewtopic.php?p=46559#p46559
Post 09 - Q & A Section - viewtopic.php?p=46612#p46612
Post 10 - TrackIR Driving Enhancements - Demo videos - viewtopic.php?p=46613#p46613

Using the supplied presets in the TDE menu is the easiest way to start. Adjusting the menu sliders and saving as new presets is considered optional.
In the end you'll have:
A couple of 'CAM 1 Driving' presets that you like to use, depending on what truck you are driving.
A lot of Passenger Seat presets to select from, choose the one that matches the truck you are driving.
A lot of Sleeper presets to select from, choose the one that matches the truck you are driving.
So, whilst there's a lot of info here that may put you off doing it, the end result is just a quick change of the presets in the TDE menu for CAM 1, CAM 2 & CAM 3 whenever you change trucks!

==============================================================================

In game menu (Game version 1.41 to 1.50):
Note: This is a modded Tobii Eye menu so ignore the balloon tips.

Menu Mod - TrackIR Driving Enhancement.
Image

Press SHIFT + NUMLOCK to access the menu mod to make changes as required.
Press ESCAPE to go back to driving screen.

The Menu mod is in English only and consists of:-
Enable TDE code (Tick) or Disable TDE code (Untick) then remove this mod to have game standard TrackIR only.
If you need a mod free profile for Multiplayer, for example.

'Current Active Settings - Adjust & Save' [drop down selector].
Select a suitable preset and adjust the sliders to how you want them for any given truck and then save as a preset so you can quickly select them again.
Select "Disable TrackIR for Mouse only - Select another preset to re-enable". This allows you to turn off head tracking whilst in game, if required only.

"CAM 1: Select your 'Saved' Driving Preset" [drop down selector].
Always select the preset you want to use when driving. Whenever you select CAM 1 this preset will be applied overwriting any unsaved custom settings!

"CAM 2: Select Passenger Seat Preset" [drop down selector].
Pressing 'CAM 2' will change your position inside the cabin from driving seat to passenger seat.

"CAM 3: Select Sleeper Preset" [drop down selector].
Pressing 'CAM 3' will change your position inside the cabin from driving seat to sleeper area.

Note: See post 2 'General Menu Information and Usage' for available preset info.

Driving position for LHD Truck (Untick) or for RHD Truck (Tick).
Set this to suit your current truck, so window block and other functions work correctly.

Head movement control.
Auto "Dynamic" - You turn your head and it moves out through the open window.
Manual "Direct" - This mode is for supported SCS trucks only. Your head will only move out through an open window if you also lean sideways towards the open window at the same time as turning your head.
You're in control of all your head movements, there's no auto movement, keep it real.

'Supported' SCS trucks (untick) or 'Unsupported' trucks (Tick).
Unsupported - This mode is for mod trucks that 'TrackIR Driving Enhancements' mod doesn't support and will then work the same as 'TDE (Unsupported)' mod and its features only.
Important: Ensure you pick the correct mode in the 'TrackIR Driving Enhancements' mod menu to suit the truck you are currently driving.

Head rotation towards window - Default 140.
This sets how far you can turn your head towards the closed drivers window, up to 180 degrees.
With the drivers window open or 'window blocking' disabled, your head will fully rotate outside as normal regardless of this setting.

NEW 16/12/2022
Increase to prevent head height auto lowering when turning towards the closed window. - For 'Unsupported' trucks only.
SCS truck camera files are not consistent, some don't auto lower your head when turning out of the window, but most do. Setting 1.00 counteracts that downward movement when the window is closed to give a better 'look back' view. But if there's no auto lowering in the cam file, your head will raise up instead, set to 0.00 in this case.

Auto lean forward when looking over your shoulder - Default 0.50 - Disable Auto Lean 0.00.
This gives you a better 'look back' view through a closed window - Adjust as required: Varies per truck type.
Auto lean is disabled when the window is open and your head passes through the open window as normal. For 'Dynamic (Auto) Mode' only.

AMENDED 16/12/2022
Adjust to keep your head inside the closed window - Disable Window Blocking 0.00
'Supported' Default 0.50 - 'Unsupported' Default 0.70 - Turn towards the closed window & reduce this if you clip through it.

AMENDED 16/03/2022
Window 'extra lean out' - Default 0.0.
Gives a better view out of the window if that huge side exhaust is in the way.
The below required 'extra lean out' values are for use with 'TrackIR Driving Enhancements' mod only.
ATS Day Cab - Window 'Extra Lean Out' 1.0
ATS Sleeper - Window 'Extra Lean Out' 3.0
ETS (cab over) - Window 'Extra Lean Out' 0.0
Those are my recommended lowest defaults for 'Supported only', you can however still set these to how you want them.
Note: CAM 1 Presets within 'TrackIR Driving Enhancements' mod have the above Window 'Extra Lean Out' values set correctly.

Seat 'extra lean back' - Default 0.0
To help see around mirrors. You can lean further back in your seat (when you're turned towards the mirror) with this slider but your head will clip through your seat in some trucks and for them you should reduce this slider value to suit.

Set movement towards passenger side (TIR x) - Default 0.10
Increase sideways movement up to 1.00 but only to the passenger side.
As long as LHD/RHD above is set correctly then you won't slide out of the drivers door.
0.00 = No sideways movement.

Lean Zone. Works in conjunction with 'Move towards passenger side' slider - Default 0.0
By increasing 'Lean Zone' while 'Move towards passenger side' is 0.80, for example, then you can't slide sideways when looking straight ahead. Instead you must turn to passenger side before you can move. Then you will lean towards the passenger side mirror in a more realistic way.
'Lean Zone' 0.0 = Disabled - You can slide sideways up to the limit set by 'Move towards passenger side' slider.
'Lean Zone' 2.5 = You must turn your head >45 degrees to passenger side before you can lean over to the limit set by 'Move towards passenger side' slider.
'Lean Zone' 5.0 = You must turn your head >90 degrees to passenger side before you can lean over to the limit set by 'Move towards passenger side' slider.
'Lean Zone' 2.99 = Is a special mode that also enables 'Auto lean into dash' when you pitch your head down.

'Auto lean into dash' when you pitch your head down (TIR Pitch) - Dynamic mode only. This moves you closer to give an easier to see dash when looking down, you can already do this yourself by leaning forward (TIR z) and lowering your head (TIR y), but this just automates those two inputs.

'Auto move towards closed drivers window' when you pitch your head down (TIR Pitch) - Dynamic mode only. This moves you closer to the door when looking down for a better outside view rather than seeing more of the inside of the door.

Note: The above 2 'special' features will only be enabled if 'Lean Zone' slider = 2.99. Therefore you don't have to use them. It's always disabled when using Manual mode.
If you use one of my presets "... JHT", to create your own, then this feature is enabled as long as 'Lean Zone' slider = 2.99.

Just set the 'Move towards passenger side' slider & 'Lean Zone' slider to what feels right for you.

Your head will auto roll left/right slightly when looking far left/right. Most noticeable when your head is out of the window looking back at your trailer. This roll movement is further increased by the 'Window Extra Lean Out' slider. This auto head roll is disabled if 'Lean Zone' slider = 0.0 and/or TIR roll is disabled via TDE menu).

NEW 16/12/2022
Set height that your head can move up/down in the drivers seat (TIR y) - Default 3.0 - Disable 1.0
Setting this to '1' (lowest value) will disable TIR y for driving seat or '5' (highest value) for 3 times more height movement than game default.
Note: TIR y is always enabled outside for crouching and standing on your tippy toes.

Trigger 'Zoom View' when leaning forward (TIR z) - Default 0.90
As standard, when you lean forward you get closer to the dash.
This adds to that feature by allowing you to lean further forward and thereby trigger the in game 'interior camera zoom' feature.
Set the slider to 0.0 to disable. The lower the value the sooner zoom will be triggered.
Feels right to lean forward to read up coming signs. One less button to press!
The zoom feature in game doesn't work with multimon_config.sii files with fixed FOV values, it therefore means this function will also not work with that setup.

Zoom Zone - Default 0.55
This allows you to set the area to the left & right that "triggering zoom view" is active to prevent unwanted head zoom at higher head angles.
5.00 = Up to 180 degrees left/right (head zoom always on).
2.5 = Up to 90 degrees left/right.
1.25 = Up to 45 degrees left/right (prevent head zoom when looking around at junctions etc).
0.55 = Up to 20 degrees left/right - Default - (good for head zooming to just read upcoming signs in front of you).

NEW 14/02/2023
Set driving Seat 'Head Roll' (TIR roll) movement - Disable 1.00 - Enable 1.01 (min) to 5.00 (max)
Use this to set the amount of head roll whilst driving.

NEW 14/02/2023
Set 'c_ht_roll 0, 1, 2 or 3' for these extra functions: 0=No extra functions : 1=Passenger/Sleeper/Outside 'Head Roll' :
2=Passenger/Sleeper 'Head Zoom' : 3=Passenger/Sleeper/Outside 'Head Roll' & Passenger/Sleeper 'Head Zoom'
Use the console to set the value that gives you the extra features you require.

AMENDED 06/11/2021 (Note: this was 'refuel' button in TDE v1.0).
Action - You can choose your own Action button.
You can change from driver seat to passenger seat to sleeper area or outside by looking at the location and pressing the 'Action' button.
You can attach/detach the trailer outside, refuel outside, switch GPS screens or switch dash screens by looking at them and pressing the 'Action' button.

Reset Head Tracking - Re-centers your in game head.
Existing game function shown here for completeness.

==============================================================================

Game version 1.51+ - There's 2 TDE mods, see post 2 for full details: viewtopic.php?p=46458#p46458
Game version 1.41 to 1.50 - There's 3 menu mods to choose from, as listed below:
'TrackIR Driving Enhancements', 'TDE (Unsupported)' or 'TDE (g_cam_window_block)'. All 3 use the same required controls.sii & config_local.cfg file edits.
(Only use one TDE mod at a time!)

'TrackIR Driving Enhancements' - 'Supported' SCS Trucks as listed:
ATS: Freightliner Cascadia 2019 - International 9900i, International LoneStar & International LT - Kenworth T680 2014, Kenworth T680 2022 & Kenworth W900 - Mack Anthem & Mack Pinnacle - Peterbilt 389 & Peterbilt 579 - Volvo VNL 2014 & Volvo VNL 2018 - Western Star 49X, Western Star 57X & Western Star 5700XE.

ETS2: DAF 2021 XF, DAF 2021 XG, DAF XD, DAF XF105 & DAF XF - Iveco Hi-way & Iveco Stralis - MAN TGX (2020), MAN TGX Euro 5 & MAN TGX Euro 6 - Mercedes Actros & Mercedes New Actros - Renault Magnum, Renault Premium, Renault E-Tech T & Renault T - Scania R2009, Scania R, Scania S, Scania S BEV & Scania Streamline - Volvo FH Classic & Volvo FH.

All other trucks are considered 'Unsupported' - You must therefore set the menu options correctly to use them with this mod.
Note: I don't have any SCS Truck tuning pack DLC's, they may perhaps cause an error or CTD when using this mod?, if so use 'TDE (Unsupported)' Mod instead.

There's 3 modes of control - Auto "Dynamic" / Manual "Direct" / Unsupported.
Auto "Dynamic" - This mode is for supported SCS trucks or mod trucks. You turn your head and it moves out through the open window.
Manual "Direct" - This mode is for supported SCS trucks only. Your head will only move out through an open window if you also lean sideways towards the open window at the same time as turning your head. You're in control of all head movement, keep it real.
Unsupported - This mode is for trucks that are not supported and will then work the same as 'TDE (Unsupported)' mod and its features only.
Important: Ensure you pick the correct mode in the menu to suit the truck you are currently driving.
'Supported' gives you:
High quality interiors always visible while your head is inside the truck cab.
Outside sounds don't increase through a closed window when looking over your shoulder.
Rain drops on the closed drivers window remain visible when looking through it.
You can disable 'window blocking', if required, for game standard head movement.

------------------------------------------------------------------------------

'TDE (Unsupported)' - For any truck:
If you mainly drive mod trucks then use this mod.
But low quality interiors, louder outside sounds & rain in the cab (if raining outside) when looking over your shoulder through a closed drivers window. This is because the game still thinks your head is outside at this point.
'TrackIR Driving Enhancements' mod fixes these issues but for supported SCS trucks only.
You can disable 'window blocking', if required, for game standard head movement, which also prevents the above listed issues.

For further details, see post 2 - 'General Menu Information and Usage' - viewtopic.php?p=46458#p46458

------------------------------------------------------------------------------

NEW 16/03/2022
'TDE (g_cam_window_block)' - For any truck:
If you prefer the window blocking to work the same way as my 'TrackIR Option 7 Window Blocking' mod that uses g_cam_window_block, then use this mod. But you'll hear louder outside sounds when looking through the closed drivers window because of the way SCS implemented this feature, the game still thinks your head is outside at this point. 'TrackIR Driving Enhancements' mod fixes this issue but for supported SCS trucks only.

For further details, see post 2 - 'General Menu Information and Usage' - viewtopic.php?p=46458#p46458

------------------------------------------------------------------------------

Note: The 'TrackIR Driving Enhancements' mod is the best one to use as it will work with 'Supported' game default trucks and mod trucks, but you'll need to ensure you always use the correct settings/presets to suit the truck you are currently driving, a game default truck (supported) or a mod truck (unsupported).
If you want to keep things simple, all trucks considered 'unsupported', use one of the other mods:

'TDE (Unsupported)...' or 'TDE (g_cam_window_block)...'
The only difference between these 2 mods are the way in which the window is blocked.

------------------------------------------------------------------------------

Important Note: TDE has been deliberately coded to make it easy to see if your current truck is 'supported' or 'unsupported':
Using 'TrackIR Driving Enhancements...' mod:
In the driving seat, if your head won't go out of the window, your current truck is 'Supported' but you are using 'Unsupported' presets/settings. Change them to 'Supported'.
If your head is stuck looking back over, your current truck is 'Unsupported' but you are using 'Supported' presets/settings. Change them to 'Unsupported'.

Using 'TDE (Unsupported)...' or 'TDE (g_cam_window_block)...' mods:
If your head is stuck looking back over, you are using 'supported' settings. Always use 'Unsupported' presets/settings.


==============================================================================

Window block comparison:
SCS - g_cam_window_block for mouse users and 'TDE (g_cam_window_block)' mod. The block point for your head is through the glass not before it and so you can't see that the window is slightly open. At this point, even with the window closed, outside sound volume is increased.
'TrackIR Driving Enhancements' mod - Here you can see the window is slightly open and you also get a better look behind view. Outside sound volume only increases when the window is opened.
Image

How 'Window Blocking' works: - For 'Supported' & 'Unsupported' mods only.
You press 'open driver window' button and your head is unblocked, it can now pass through the opening window.
You press 'open driver window' button again and your head is blocked, back to only turning head inside the cab.
You press 'close driver window' button and your head is blocked, back to only turning head inside the cab.

To open driver window to 50% only and therefore still be blocked, do this:
Quick press 'open driver window' button.
When window is ~50% open, quick press 'open driver window' button again. This will stop the window motion and will block your head. So you can open the window as far as you like as long as you then press 'open drivers window' button again to stop the motion and you'll still be blocked.

To open driver window fully, do this:
Quick press 'open driver window' button and leave it to open.
Your head isn't blocked whilst the window is opening, so just wait for it to finish.

Note 1: Pressing 'close driver window' button will always block your head no matter how open the window is.

Note 2: Every time you start the game your head will be blocked whether the window is open or closed. The controls.sii file gets no feedback from the game to set it correctly. Just press 'open driver window' button to get back in sync if required.

Note 3: You should only press the window buttons with the truck electricity on.

Example head movement views:
With the window closed you can't see much behind when driving along a motorway, use your mirrors or open the window if you need to.
Image

With the window closed you can still see behind when entering a motorway as long as you think ahead. Like in real life.
Image

==============================================================================

AMENDED 04/04/2024
Passenger Seat or Sleeper area:
You can 'Switch To' or 'Move To' these positions.
Edit controls.sii and change the first 0 or 1 only:
"mix lookpos9 `0 * (...`" for 'Switch To' - instant movement.
"mix lookpos9 `1 * (...`" for 'Move To' (TDE Default) - animated movement.

CAM 2: Select Passenger Seat Preset [Drop Down List]
Select from the list the correct 'Passenger seat' preset to match the truck you are currently driving. Don't use any other type of preset!

CAM 3: Select Sleeper Preset [Drop Down List]
Select from the list the correct 'Sleeper' preset to match the truck you are currently driving. Don't use any other type of preset!

Both Passenger Seat or Sleeper cameras can be positioned exactly where you want them for any given truck by using 'TDE - Cabin Camera Creator' mod. See this post for more info: viewtopic.php?p=46506#p46506

==============================================================================

AMENDED 16/02/2024
For the best experience use 'Look Action':
Image

D = Drivers Seat, P = Passenger Seat & O = Outside truck

1 = From drivers seat - Look to passenger seat trigger zone and press 'Action'.
2 = From drivers seat - Look to sleeper trigger zone and press 'Action'.
2A - From drivers seat - Look behind passenger seat and press 'Action' *.
2B - From drivers seat - Look further behind you and press 'Action' *.
3 = From drivers seat - With steering centered, look over your shoulder to outside trigger zone and press 'Action'.
4 = From outside drivers door - With steering centered, look up to drivers door window and press 'Action'.
5 = From passenger seat - Look to driver seat trigger zone and press 'Action'.
6 = From passenger seat - Look to sleeper trigger zone and press 'Action'. <- 'Switch To' mode only.
6A - From passenger seat - Look behind drivers seat and press 'Action' *. <- 'Switch To' mode only.
6B - From passenger seat - Look further behind you and press 'Action' *. <- 'Switch To' mode only.
7 = From drivers seat - Look to dash & look down slightly to the trigger zone and press 'Action'.
8 = From drivers seat - Look to gps (windscreen or console mounted) trigger zone and press 'Action'.

NEW 16/02/2024
Notes for above 2A, 2B, 6A & 6B marked as *:
With qualifying sleeper presets you can choose how you want to be positioned in the sleeper area:
Head behind drivers seat with feet behind passenger seat or
Head behind passenger seat with feet behind drivers seat.
Note 1: For 'supported' trucks only. See post 7 'TDE - Cabin Camera Creator' for more info.
Note 2: If a non-qualifying sleeper preset is used, you'll be positioned to where that preset is configured to be no matter how you switch to it.
Note 3: This can be disabled if you'd rather always have your prefered sleeper location selected - See post 6 'TDE - Optional edits' for more info.

NEW 14/02/2023
Not shown on above trigger zones sketch:
9 = From sleeper area - Look up at the ceiling (>90 degrees) and press 'Action' to sleep. You must already be parked on a rest icon.
10 = From sleeper area - Look away from the ceiling and press 'Action' to return to the drivers seat.
11 = From drivers seat - Look down between drivers seat and passenger seat (~90 degrees right LHD or ~90 left RHD & ~60 degrees down) and press 'Action' to switch to devcam. After using devcam in the usual way, press 'Action' again to switch back to outside drivers door.

Note: If your in game head has restricted rotation you still need to rotate your real head towards the trigger zones for them to work.

Example 1: Menu mod 'TrackIR Driving Enhancements' should work ok when using a 'supported' game default truck where driver 'Head Rotation' >=140 (default) & passenger 'Head Rotation' >=160 (default).

Example 2: Menu mod 'TDE (g_cam_window_block).scs' has restricted in game drivers head rotation for that window blocking method to work. Just keep turning your real head for outside trigger zone to work (3).

Look at the red circled area and press 'Action' button to change positions for both LHD & RHD trucks.
Action button is "number pad multiply" - Use the menu to choose your own 'Action' button.

Driver seat -> Centre real steering wheel -> Look over your shoulder to outside (window open or closed) -> Press 'Action' -> Outside.
Image

Outside -> Look up to Driver door window -> Press 'Action' -> Driver seat.
Image

Driver seat -> Look to Passenger side -> Press 'Action' -> Passenger seat.
Image

Driver seat -> Look to Sleeper -> Press 'Action' -> Sleeper (position is whatever you have set for CAM 3.
Image

Passenger seat -> Look to Driver side -> Press 'Action' -> Driver seat.
Image

Passenger seat -> Look to Sleeper -> Press 'Action' -> Sleeper (position is whatever you have set for CAM 3.
Image

Sleeper -> Look away from the ceiling -> Press 'Action' -> Driver seat.
Image

Note: If 'Move To' mode is being used, then after pressing 'Action' you'll be automatically moved in first person to your required location rather than instantly switching to it.
TIP: For driver seat to sleeper area or driver seat to outside, you can avoid the possible feeling of motion sickness by turning your real head back to the centre of your monitor once the animation starts (TrackIR is disabled during the animation), your real head will then be in the correct position when the animation stops and TrackIR is re-enabled.

NEW 06/11/2021
Dashboard display - Step through available displays:
In drivers seat - Look straight ahead and down at the dash display and quick press 'Action' button to step through the screens.
Image

AMENDED 22/01/2024
Centre console GPS or windscreen GPS - Change from on/zoom1/zoom2/zoom3/zoom4/off (1.41-1.45).
Centre console GPS or windscreen GPS - Change from zoom1/zoom2/zoom3/zoom4 (1.46+).

In drivers seat - Look to GPS and quick press 'Action' button to step through the screens.
Image
NEW 22/01/2024
Optional - 'Infotainment Display Mode' (1.46+) - See post 6 "TDE - Optional edits" for more info.
In drivers seat - Look to centre console GPS and press & hold 'Action' button for +1 sec to turn it on/off.

NEW 22/04/2022
Driver seat -> Look down at the floor between drivers seat and passenger seat -> Press 'Action' -> Devcam (under truck).
Optional - Use wheel/pedals/shifter to control the devcam, when finished -> Press 'Action' -> If your wheel is centered you'll be stood outside the drivers door -> Look up to Driver door window -> Press 'Action' -> Driver seat.
Image
Note 1: See post 6 "TDE - Optional edits" for the Devcam line edits & setup options.
Note 2: You can still just use mouse & keyboard.

AMENDED 11/12/2023
Refuel examples:
LHD with pump on left side.
Driver seat -> Centre real steering wheel -> Look over your shoulder to outside -> Press 'Action' -> Outside.
Turn real steering wheel left/right to 'walk' along side the truck or around the front to the other side whilst still being free to look around.
Look down at the fuel tank(s) and quick press 'Action' button -> Refueling. Note: Refueling is toggled on/off by the 'Action' button.
'Walk' back to Driver door by re-centering steering wheel -> Look up to Driver door window -> Press 'Action' -> Driver seat.
Image
Note: Once refueling has started, you are free to look or walk around while you wait. Refueling will stop if you press 'Action' again, fuel tank(s) are full or you re-enter your truck.

LHD with pump on right side.
Image

AMENDED 22/12/2021
Trailer attach example:
Backup to trailer.
Driver seat -> Centre real steering wheel -> Look over your shoulder to outside -> Press 'Action' -> Outside.
'Walk' around front of truck and down the other side to the crank handle - Look down at it - Press 'Action' - Turn and 'walk' back around to the drivers door.
Look up to Driver door window -> Press 'Action' -> Driver seat.
Image

NEW 11/12/2023
Owned trailer cargo load/unload example:
Park your truck and trailer(s).
Driver seat -> Centre real steering wheel -> Look over your shoulder to outside -> Press 'Action' -> Outside.
'Walk' to the back of your first trailer, driver side or passenger side -> Press 'Action' -> Cargo load/unload screen -> Turn and 'walk' back to the drivers door whilst inspecting your trailers cargo (if it was loaded).
Look up to Driver door window -> Press 'Action' -> Driver seat.
Image

AMENDED 11/12/2023
Trigger zones for refuel, crank handle & owned trailers when using the 'Action' button:
It's not possible to distinguish between different truck chassis lengths and where the fuel tank(s) are located.
This pic shows the trigger zones for drivers door (purple), refueling (yellow), 'attach/detach' crank handle (red) and 'own trailer' cargo load/unload (green). Fuel, crank handle and owned trailer zones are the same at the passenger side. These should work for all current truck types and lengths.
Image

Service example:
Driver seat -> Centre real steering wheel -> Look over your shoulder to outside -> Press 'Action' -> Outside.
Press 'Activate' (as normal) to enter service.
Exit service -> Look up to Driver door window -> Press 'Action' -> Driver seat.
Image
Note 1: If you change your truck from LHD to RHD or vice versa then don't forget to change the CAM 1/2/3 Presets to suit before driving away!
Note 2: See post 10, Demo videos, section How to enter Truck Service or Showroom, for enhanced 'walk to' option: viewtopic.php?p=46613#p46613

Showroom example:
Driver seat -> Centre real steering wheel -> Look over your shoulder to outside -> Press 'Action' -> Outside.
Press 'Activate' (as normal) to enter showroom -> buy truck and trade in your current one -> Exit showroom.
Press 'Action' to fix 'missing truck' or 'restricted head yaw movement' problem due to the game auto changing back to the interior camera in this situation.
Image
Look up to Driver door window -> Press 'Action' -> Driver seat.
Image
Note 1: If you change from LHD to RHD or vice versa then don't forget to change the CAM 1/2/3 Presets to suit before driving away!
Note 2: See post 10, Demo videos, section How to enter Truck Service or Showroom, for enhanced 'walk to' option: viewtopic.php?p=46613#p46613

==============================================================================

Outside movement limits:
Enter or exit the truck via the drivers door for LHD or RHD - In either 'Switch To' or 'Move To' mode.
The yellow line represents the 'walk' path around the truck.
Outside the drivers door is the start point when your real steering wheel is centered. Turn it left or right to 'walk' around whilst you have full use of TrackIR yaw/pitch/roll/y to look where you want to.
Image

NEW 16/02/2024
Additionally, enter or exit the truck via the passenger door for LHD or RHD - In 'Switch To' mode only!
Outside the passenger door is the start point when your real steering wheel is centered. Turn it left or right to 'walk' around whilst you have full use of TrackIR yaw/pitch/roll/y to look where you want to.

AMENDED 11/12/2023
Use your real clutch pedal to step away from your truck and trailer (blue line) but keeping parallel with the yellow 'walk' path around your truck and trailer.
Useful if you want to stand back to take a screenshot from eye level, check external cab accessories or step to the side to 'walk' past a wide load on the trailer etc.
Image
Note: Refueling and 'look up to get back into cab' actions are disabled if the clutch pedal is pressed as you won't be next to the truck.

AMENDED 11/12/2023
If your truck and trailer(s) are not inline then you can use your real Accelerator, Brake and Clutch pedals to adjust the 'walk' path to suit.
Quick press Brake Pedal (B) to turn your view and the 'walk' path to the left.
Quick press Accelerator Pedal (A) to turn your view and the 'walk' path to the right.
Quick press Clutch pedal (C) to step away from the truck/trailer(s) - Offset 'walk' path selected - Quick press Clutch pedal (C) again to return to the originally selected 'walk' path.

Image

1 - Yellow - Default walk path selected every time you exit your truck.
2 - Yellow/Red - Press Brake pedal (B) x 1
3 - Yellow/Red - Press Brake pedal (B) x 2
4 - Yellow/Red - Press Brake pedal (B) x 3
5 - Yellow/Red - Press Brake pedal (B) x 4
6 - Yellow/Green - Press Accelerator pedal (A) x 1
7 - Yellow/Green - Press Accelerator pedal (A) x 2
8 - Yellow/Green - Press Accelerator pedal (A) x 3
9 - Yellow/Green - Press Accelerator pedal (A) x 4
10 - Blue - Press Clutch pedal (C) x 1

Note 1: The adjustment point where the path turns is fixed to avoid 'walking' through your truck.

Note 2: If your truck & trailer(s) are not inline and you 'walk' into the side of your trailer, you'll walk straight through it. Collision has been disabled as it's more annoying than useful.

Note 3: Different 'walk' control options available on post 6 'TDE - Optional edits', if required.

Note 4: When using your real steering wheel to provide the walking movement outside, the truck steering wheel, accelerator, brake & clutch pedals are all disabled. You can't therefore drive when outside (CAM 4) or sat on the passenger seat (CAM 2) or in the sleeper area (CAM 3). Don't forget to enable parking brake before moving from the drivers seat and don't change seats whilst driving!

Note 5: Currently FFB is still applied to your FFB wheel when using it for movement and so it can be quite stiff to turn when refueling as the engine has to be off. That can be fixed by using the 'TDE FFB fix' mod, but only if you still drive game version 1.41. See post 8 - 'Problems & solutions' - viewtopic.php?p=46559#p46559

=========================================================================================
Post 01 - Description - viewtopic.php?p=46457#p46457
Post 02 - General Menu Information and Usage - viewtopic.php?p=46458#p46458
Post 03 - Quick start guide - viewtopic.php?p=46459#p46459
Post 04 - Controls.sii file edits (Part 1) - viewtopic.php?p=46460#p46460
Post 05 - Controls.sii file edits (Part 2) - viewtopic.php?p=46461#p46461
Post 06 - Optional edits - viewtopic.php?p=46462#p46462
Post 07 - Cabin Camera Creator - viewtopic.php?p=46506#p46506
Post 08 - Problems & Solutions / To do list - viewtopic.php?p=46559#p46559
Post 09 - Q & A Section - viewtopic.php?p=46612#p46612
Post 10 - TrackIR Driving Enhancements - Demo videos - viewtopic.php?p=46613#p46613

Re: TrackIR Driving Enhancements

Posted: September 23rd, 2021, 5:13 pm
by JHTrucker
TrackIR Driving Enhancements - General Menu Information and Usage:

The below is for game version 1.51+ only (1.41-1.50 further down):

Menu Mod - TrackIR Driving Enhancements - Whilst driving 'supported' or 'unsupported' trucks.
Image
Press SHIFT + NUMLOCK to access the Tobii Eye menu to make changes as required.
Press ESCAPE to go back to driving screen.

The Menu mod is in English only and consists of:-
'Enable Extended View' = Enable TDE code (Tick) or Disable TDE code (Untick) then remove this mod to have game standard TrackIR only.

'Extended View Presets' = Currently selected preset in use, don't change this.

'Pause Extended View (experimental)' = Assign your own Action button.

'Apply Extended View Preset 1' [drop down selector].
Always select the preset you want to use when driving. Whenever you select CAM 1 this preset will be applied.
1SL ATS Day Cab JHT
1SL ATS Day Cab side exhaust JHT
1SL ATS Defaults (max xyz)
1SL ATS Defaults
1SL ATS Manual Head
1SL ATS Sleeper JHT
1SL ATS Sleeper side exhaust JHT
1SL Defaults Manual No Window Blocking
1SL Defaults No Window Blocking <-- Game default TrackIR movement.
1SL ETS Auto Lean 050% JHT
1SL ETS Auto Lean 100% JHT
1SL ETS Defaults (max xyz)
1SL ETS Defaults
1SL ETS Manual Head
1SL SCS YAW & PITCH only
1SL YAW only
1SR Defaults Manual No Window Blocking
1SR Defaults No Window Blocking <-- Game default TrackIR movement.
1SR ETS Auto Lean 050% JHT
1SR ETS Auto Lean 100% JHT
1SR ETS Defaults (max xyz)
1SR ETS Defaults
1SR ETS Manual Head
1SR YAW & PITCH only
1SR YAW only

1UL ATS Defaults (max xyz)
1UL ATS Defaults
1UL ATS JHT Extra Lean out
1UL ATS JHT
1UL Defaults No Window Blocking <-- Game default TrackIR movement.
1UL ETS Defaults (max xyz)
1UL ETS Defaults
1UL ETS JHT
1UL YAW & PITCH only
1UL YAW only
1UR Defaults No Window Blocking <-- Game default TrackIR movement.
1UR ETS Defaults (max xyz)
1UR ETS Defaults
1UR ETS JHT
1UR YAW & PITCH only
1UR YAW only

Key to preset names:
1 = For use with 'preset 1' only.
S = Supported truck.
U = Unsupported truck.
L = LHD truck.
R = RHD truck.
JHT = My preferred settings with restricted 'x' movement until looking at passenger side.

'Apply Extended View Preset 2' [drop down selector].
Pressing 'CAM 2' will change your position inside the cabin from driving seat to passenger seat.
2SL 'Passenger seat for specific truck' (Pick the one that matches your current truck)
2UL 'Passenger seat for specific truck' (Pick the one that matches your current truck)
2UL Generic Passenger Seat 1 to 4 (Pick the one that best suits your current mod truck)
2SR 'Passenger seat for specific truck' (Pick the one that matches your current truck)
2UR 'Passenger seat for specific truck' (Pick the one that matches your current truck)
2UR Generic Passenger Seat 1 to 4 (Pick the one that best suits your current mod truck)

Key to preset names:
2 = For use with 'preset 2' only.
S = Supported truck.
U = Unsupported truck.
L = LHD truck.
R = RHD truck.

'Apply Extended View Preset 3' [drop down selector].
Pressing 'CAM 3' will change your position inside the cabin from driving seat to sleeper area.
3SL 'Sleeper area for specific truck' (Pick the one that matches your current truck)
3UL 'Sleeper area for specific truck' (Pick the one that matches your current truck)
3UL Generic Sleeper 1 to 8 (Pick the one that best suits your current mod truck)
3SR 'Sleeper area for specific truck' (Pick the one that matches your current truck)
3UR 'Sleeper area for specific truck' (Pick the one that matches your current truck)
3UR Generic Sleeper 1 to 8 (Pick the one that best suits your current mod truck)

Key to preset names:
3 = For use with 'preset 3' only.
S = Supported truck.
U = Unsupported truck.
L = LHD truck.
R = RHD truck.

Note:
'CAM 4: MOD CONTROL ONLY - DON'T USE' <--- Don't select these presets as they are selected by the TDE code, when required.


=========================================================================================

Menu Mod - TDE (Unsupported) - Whilst driving with any truck (all trucks will run in unsupported mode).
Image
Press SHIFT + NUMLOCK to access the Tobii Eye menu to make changes as required.
Press ESCAPE to go back to driving screen.

The Menu mod is in English only and consists of:-
'Enable Extended View' = Enable TDE code (Tick) or Disable TDE code (Untick) then remove this mod to have game standard TrackIR only.

'Extended View Presets' = Currently selected preset in use, don't change this.

'Pause Extended View (experimental)' = Assign your own Action button.

'Apply Extended View Preset 1' [drop down selector].
Always select the preset you want to use when driving. Whenever you select CAM 1 this preset will be applied.
1UL ATS Defaults (max xyz)
1UL ATS Defaults
1UL ATS JHT Extra Lean out
1UL ATS JHT
1UL Defaults No Window Blocking <-- Game default TrackIR movement.
1UL ETS Defaults (max xyz)
1UL ETS Defaults
1UL ETS JHT
1UL YAW & PITCH only
1UL YAW only
1UR Defaults No Window Blocking <-- Game default TrackIR movement.
1UR ETS Defaults (max xyz)
1UR ETS Defaults
1UR ETS JHT
1UR YAW & PITCH only
1UR YAW only

Key to preset names:
1 = For use with 'preset 1' only.
U = Unsupported truck.
L = LHD truck.
R = RHD truck.
JHT = My preferred settings with restricted 'x' movement until looking at passenger side.

'Apply Extended View Preset 2' [drop down selector].
Pressing 'CAM 2' will change your position inside the cabin from driving seat to passenger seat.
2UL 'Passenger seat for specific truck' (Pick the one that matches your current truck)
2UL Generic Passenger Seat 1 to 4 (Pick the one that best suits your current mod truck)
2UR 'Passenger seat for specific truck' (Pick the one that matches your current truck)
2UR Generic Passenger Seat 1 to 4 (Pick the one that best suits your current mod truck)

Key to preset names:
2 = For use with 'preset 2' only.
U = Unsupported truck.
L = LHD truck.
R = RHD truck.

'Apply Extended View Preset 3' [drop down selector].
Pressing 'CAM 3' will change your position inside the cabin from driving seat to sleeper area.
3UL 'Sleeper area for specific truck' (Pick the one that matches your current truck)
3UL Generic Sleeper 1 to 8 (Pick the one that best suits your current mod truck)
3UR 'Sleeper area for specific truck' (Pick the one that matches your current truck)
3UR Generic Sleeper 1 to 8 (Pick the one that best suits your current mod truck)

Key to preset names:
3 = For use with 'preset 3' only.
U = Unsupported.
L = LHD truck.
R = RHD truck.

Note:
'CAM 4: MOD CONTROL ONLY - DON'T USE' <--- Don't select these presets as they are selected by the TDE code, when required.


=========================================================================================

The below is for game version 1.41 to 1.50 only:

Note: Whenever you open the menu the top preset 'Current Active Settings - Adjust & Save' will always show the current active settings in use.
For example, if you are on CAM 2 and open the menu it'll display that CAM 2 Passenger Seat preset name or if you are on CAM 6 or refueling and open the menu it'll show 'CAM 4: MOD CONTROL ONLY - DON'T USE'.
Therefore don't make slider adjusts and save as a driving preset as it won't work correctly. Change to CAM 1 before making menu changes.
Image

Available Presets in drop down lists:
'CAM 4: MOD CONTROL ONLY - DON'T USE' <--- Don't select these presets as they are selected by the TDE code, when required.

CAM 1: Driving Presets to use:
CAM 1: Supported ATS LHD SCS Truck - Day Cab - JHT
CAM 1: Supported ATS LHD SCS Truck - Day Cab side exhaust - JHT
CAM 1: Supported ATS LHD SCS Truck - Defaults (max xyz)
CAM 1: Supported ATS LHD SCS Truck - Defaults
CAM 1: Supported ATS LHD SCS Truck - Manual (Direct)
CAM 1: Supported ATS LHD SCS Truck - Sleeper - JHT
CAM 1: Supported ATS LHD SCS Truck - Sleeper side exhaust - JHT

CAM 1: Supported ETS LHD SCS Truck - Defaults (max xyz)
CAM 1: Supported ETS LHD SCS Truck - Defaults
CAM 1: Supported ETS LHD SCS Truck - JHT - Auto Lean 050%
CAM 1: Supported ETS LHD SCS Truck - JHT - Auto Lean 100%
CAM 1: Supported ETS LHD SCS Truck - Manual (Direct)

CAM 1: Supported ETS RHD SCS Truck - Defaults (max xyz)
CAM 1: Supported ETS RHD SCS Truck - Defaults
CAM 1: Supported ETS RHD SCS Truck - JHT - Auto Lean 050%
CAM 1: Supported ETS RHD SCS Truck - JHT - Auto Lean 100%
CAM 1: Supported ETS RHD SCS Truck - Manual (Direct)

CAM 1: Supported LHD - Defaults - Manual - No Window Blocking
CAM 1: Supported LHD - Defaults - No Window Blocking <-- Game default TrackIR movement.

CAM 1: Supported RHD - Defaults - Manual - No Window Blocking
CAM 1: Supported RHD - Defaults - No Window Blocking <-- Game default TrackIR movement.

CAM 1: Supported LHD SCS Truck - YAW only - See below note.
CAM 1: Supported LHD SCS Truck - YAW & PITCH only - See below note.

CAM 1: Supported RHD SCS Truck - YAW only - See below note.
CAM 1: Supported RHD SCS Truck - YAW & PITCH only - See below note.

CAM 1: Unsupported ATS LHD Truck - Defaults
CAM 1: Unsupported ATS LHD Truck - JHT

CAM 1: Unsupported ETS LHD Truck - Defaults
CAM 1: Unsupported ETS LHD Truck - JHT

CAM 1: Unsupported ETS RHD Truck - Defaults
CAM 1: Unsupported ETS RHD Truck - JHT

CAM 1: Unsupported LHD - Defaults - No Window Blocking <-- Game default TrackIR movement.
CAM 1: Unsupported RHD - Defaults - No Window Blocking <-- Game default TrackIR movement.

CAM 1: Unsupported LHD SCS Truck - YAW only - See below note.
CAM 1: Unsupported LHD SCS Truck - YAW & PITCH only - See below note.

CAM 1: Unsupported RHD SCS Truck - YAW only - See below note.
CAM 1: Unsupported RHD SCS Truck - YAW & PITCH only - See below note.

Note: CAM 1 presets for 'YAW only' or 'YAW & PITCH only'.
These are meant for anyone that prefer not to have all the extra head movement whilst driving but can still have all head movement in the passenger seat, sleeper area or outside.
TrackIR software needs to have all 6DOF made available to the game.
In game, selecting 'YAW only' preset will allow YAW head movement only, whilst driving, and all the others, pitch, roll, x, y & z are disabled.
When in the passenger seat or sleeper area you'll have yaw, pitch & roll enabled.
When outside your truck you'll have yaw, pitch, roll & y enabled - Note: x & z are controlled via your steering wheel so that you 'walk' around your truck.
Selecting 'YAW & PITCH only' is the same as above except you have only YAW & PITCH head movement whilst driving.

CAM 2: Passenger Seat Presets to use:
CAM 2: Supported Truck (Pick the one that matches your current 'supported' SCS truck)

CAM 2: Unsupported Template LHD Passenger Seat 1 to 4 (Pick the one that best suits your current mod truck)
CAM 2: Unsupported Template RHD Passenger Seat 1 to 4

CAM 3: Sleeper Presets to use:
CAM 3: Supported Truck (Pick the one that matches your current 'supported' SCS truck)

CAM 3: Unsupported Template LHD Sleeper 1 to 8 (Pick the one that best suits your current mod truck)
CAM 3: Unsupported Template RHD Sleeper 1 to 8

Templates above ---^^^ or User Created Presets Below ---vvv" <--- Don't select.

CAM 1: Your saved 'Driving' presets listed here.

CAM 2: Your saved 'Passenger Seat' Presets listed here.

CAM 3: Your saved 'Sleeper' Presets listed here.

Note: You should always save your presets as "CAM 1:..." for Driving, "CAM 2:..." for Passenger Seat and "CAM 3:..." for Sleeper. That will make it easier to find them in the list.
All presets are saved in your games home directory (the one with your MOD folder).
Example - C:\Users\xxxx\Documents\American Truck Simulator\MOD
Example - C:\Users\xxxx\Documents\American Truck Simulator\eye_tracking_presets\xxxxxx.sii etc

How to change your 'Driving Preset':
Select CAM 1 and then open the Menu Mod.
Use CAM 1 [drop down list] to select a 'CAM 1:...' Driving preset that you want to use.
Image
Exit menu and press CAM 1 to apply the selected preset.

How to adjust your 'Driving Preset':
Select CAM 1 and then open the Menu Mod.
1 - Use 'Current Active Settings' [drop down list] to select a 'CAM 1:...' Driving preset that you want to adjust.
2 - Make your adjustments to the sliders as required and exit menu (press esc) to check how they work on the driving screen.
Don't change cameras as you'll lose your adjustments!
Open Menu Mod again and make further adjustments if required.
3 - Save as a new preset. Click '+' & change 'custom' to 'CAM 1: LHD My driving preset', for example.
4 - Then use CAM 1 [drop down list] to select your new preset 'CAM 1: LHD My driving preset' and exit menu.
Image
Now whenever you press CAM 1 your selected preset 'CAM 1: LHD My driving preset' will get applied.
You can now change to any of the other cameras without losing your settings.

=========================================================================================

In game menus:
The yellow highlighted areas show how each menu mod has to be setup so the code works correctly with it. Using one of the 'CAM 1' presets will always set the required values and then you can change other settings as required, then save your 'CAM 1' preset.

Menu Mod - TrackIR Driving Enhancements - Whilst driving with 'supported' trucks.
Image

Menu Mod - TrackIR Driving Enhancements - Whilst driving with 'unsupported' (mod) trucks.
Image

----------------------------------------------------------------------------------------

Menu Mod - TDE (Unsupported) - Whilst driving with any truck.
Image
Press SHIFT + NUMLOCK to access the menu mod to make changes as required.
Press ESCAPE to go back to driving screen.

The Menu mod is in English only and consists of:-
Enable TDE code (Tick) or Disable TDE code (Untick) then remove this mod to have game standard TrackIR only.
If you need a mod free profile for Multiplayer, for example.

'Current Active Settings - Adjust & Save' [drop down selector].
Select a suitable preset and adjust the sliders to how you want them for any given truck and then save as a preset so you can quickly select them again.
Select "Disable TrackIR for Mouse only - Select another preset to re-enable". This allows you to turn off head tracking whilst in game, if required only.

"CAM 1: Select your 'Saved' Driving Preset" [drop down selector].
Always select the preset you want to use when driving. Whenever you select CAM 1 this preset will be applied overwriting any unsaved custom settings!
CAM 1: Unsupported ATS LHD Truck - Defaults
CAM 1: Unsupported ATS LHD Truck - JHT
CAM 1: Unsupported ETS LHD Truck - Defaults
CAM 1: Unsupported ETS LHD Truck - JHT
CAM 1: Unsupported ETS RHD Truck - Defaults
CAM 1: Unsupported ETS RHD Truck - JHT
CAM 1: Unsupported LHD - Defaults - No Window Blocking <-- Game default TrackIR movement.
CAM 1: Unsupported RHD - Defaults - No Window Blocking <-- Game default TrackIR movement.
CAM 1: Unsupported LHD SCS Truck - YAW only
CAM 1: Unsupported LHD SCS Truck - YAW & PITCH only
CAM 1: Unsupported RHD SCS Truck - YAW only
CAM 1: Unsupported RHD SCS Truck - YAW & PITCH only

"CAM 2: Select Passenger Seat Preset" [drop down selector].
Pressing 'CAM 2' will change your position inside the cabin from driving seat to passenger seat.
CAM 2: Unsupported Truck (Pick the one that matches your current truck)
CAM 2: Unsupported Template LHD Passenger Seat 1 to 4 (Pick the one that best suits your current mod truck)
CAM 2: Unsupported Template RHD Passenger Seat 1 to 4

"CAM 3: Select Sleeper Preset" [drop down selector].
Pressing 'CAM 3' will change your position inside the cabin from driving seat to sleeper area.
CAM 3: Unsupported Truck (Pick the one that matches your current SCS truck)
CAM 3: Unsupported Template LHD Sleeper 1 to 8 (Pick the one that best suits your current mod truck)
CAM 3: Unsupported Template RHD Sleeper 1 to 8

Driving position for LHD Truck (Untick) or for RHD Truck (Tick).
Set this to suit your current truck, so window block and other functions work correctly.

** Set to Dynamic -->.
"Dynamic" - This is a requirement for this menu mod.

** THIS BOX MUST BE TICKED AT ALL TIMES -->
Tick - This is a requirement for this menu mod.

Increase to prevent head height auto lowering when turning towards the closed window.
SCS truck camera files are not consistent, some don't auto lower your head when turning out of the window, but most do. Setting 1.00 counteracts that downward movement when the window is closed to give a better 'look back' view. But if there's no auto lowering in the cam file, your head will raise up instead, set to 0.00 in this case.

Head rotation towards window - Default 140
This sets how far you can turn your head towards the closed drivers window, up to 180 degrees.
With the drivers window open or 'window blocking' disabled, your head will fully rotate outside as normal regardless of this setting.

Auto lean forward when looking over your shoulder - Default 0.50 - Disable Auto Lean 0.00.
This gives you a better 'look back' view through a closed window - Adjust as required: Varies per truck type.

Adjust to keep your head inside the closed window - Disable Window Blocking 0.00
Default 0.70 - Turn towards the closed window & reduce this if you clip through it.

Window 'extra lean out' - Default 0.0.
Gives a better view out of the window if that huge side exhaust is in the way.

Seat 'extra lean back' - Default 0.0
To help see around mirrors. You can lean further back in your seat (when you're turned towards the mirror) with this slider but your head will clip through your seat in some trucks and for them you should reduce this slider value to suit.

Set movement towards passenger side (TIR x) - Default 0.10
Increase sideways movement up to 1.00 but only to the passenger side.
As long as LHD/RHD above is set correctly then you won't slide out of the drivers door.
0.00 = No sideways movement.

Lean Zone. Works in conjunction with 'Move towards passenger side' slider - Default 0.0
By increasing 'Lean Zone' while 'Move towards passenger side' is 0.80, for example, then you can't slide sideways when looking straight ahead. Instead you must turn to passenger side before you can move. Then you will lean towards the passenger side mirror in a more realistic way.
'Lean Zone' 0.0 = Disabled - You can slide sideways up to the limit set by 'Move towards passenger side' slider.
'Lean Zone' 2.5 = You must turn your head >45 degrees to passenger side before you can lean over to the limit set by 'Move towards passenger side' slider.
'Lean Zone' 5.0 = You must turn your head >90 degrees to passenger side before you can lean over to the limit set by 'Move towards passenger side' slider.
'Lean Zone' 2.99 = Is a special mode that also enables 'Auto lean into dash' when you pitch your head down.

'Auto lean into dash' when you pitch your head down (TIR Pitch). This moves you closer to give an easier to see dash when looking down, you can already do this yourself by leaning forward (TIR z) and lowering your head (TIR y), but this just automates those two inputs.

'Auto move towards closed drivers window' when you pitch your head down (TIR Pitch). This moves you closer to the door when looking down for a better outside view rather than seeing more of the inside of the door.

Note: The above 2 'special' features will only be enabled if 'Lean Zone' slider = 2.99. Therefore you don't have to use them.
If you use one of my presets "... JHT", to create your own, then this feature is enabled as long as 'Lean Zone' slider = 2.99.

Just set the 'Move towards passenger side' slider & 'Lean Zone' slider to what feels right for you.

Your head will auto roll left/right slightly when looking far left/right. Most noticeable when your head is out of the window looking back at your trailer. This roll movement is further increased by the 'Window Extra Lean Out' slider. This auto head roll is disabled if 'Lean Zone' slider = 0.0 and/or TIR roll is disabled via TDE menu).

Set height that your head can move up/down in the drivers seat (TIR y) - Default 3.0 - Disable 1.0
Setting this to '1' (lowest value) will disable TIR y for driving seat or '5' (highest value) for 3 times more height movement than game default.
Note: TIR y is always enabled outside for crouching and standing on your tippy toes.

Trigger 'Zoom View' when leaning forward (TIR z) - Default 0.90
As standard, when you lean forward you get closer to the dash.
This adds to that feature by allowing you to lean further forward and thereby trigger the in game 'interior camera zoom' feature.
Set the slider to 0.0 to disable. The lower the value the sooner zoom will be triggered.
Feels right to lean forward to read up coming signs. One less button to press!
The zoom feature in game doesn't work with multimon_config.sii files with fixed FOV values, it therefore means this function will also not work with that setup.

Zoom Zone - Default 0.55
This allows you to set the area to the left & right that "triggering zoom view" is active to prevent unwanted head zoom at higher head angles.
5.00 = Up to 180 degrees left/right (head zoom always on).
2.5 = Up to 90 degrees left/right.
1.25 = Up to 45 degrees left/right (prevent head zoom when looking around at junctions etc).
0.55 = Up to 20 degrees left/right - Default - (good for head zooming to just read upcoming signs in front of you).

Set driving Seat 'Head Roll' (TIR roll) movement - Disable 1.00 - Enable 1.01 (min) to 5.00 (max)
Use this to set the amount of head roll whilst driving.

Set 'c_ht_roll 0, 1, 2 or 3' for these extra functions: 0=No extra functions : 1=Passenger/Sleeper/Outside 'Head Roll' :
2=Passenger/Sleeper 'Head Zoom' : 3=Passenger/Sleeper/Outside 'Head Roll' & Passenger/Sleeper 'Head Zoom'
Use the console to set the value that gives you the extra features you require.

Action - You can choose your own Action button.
You can change from driver seat to passenger seat to sleeper area or outside by looking at the location and pressing the 'Action' button.
You can attach/detach the trailer outside, refuel outside, switch GPS screens or switch dash screens by looking at them and pressing the 'Action' button.

Reset Head Tracking - Re-centers your in game head.
Existing game function shown here for completeness.

----------------------------------------------------------------------------------------

NEW 16/03/2022
Menu Mod - TDE (g_cam_window_block) - Whilst driving with any truck.
Image
Press SHIFT + NUMLOCK to access the menu mod to make changes as required.
Press ESCAPE to go back to driving screen.

The Menu mod is in English only and consists of:-
Enable TDE code (Tick) or Disable TDE code (Untick) then remove this mod to have game standard TrackIR only.
If you need a mod free profile for Multiplayer, for example.

'Current Active Settings - Adjust & Save' [drop down selector].
Select a suitable preset and adjust the sliders to how you want them for any given truck and then save as a preset so you can quickly select them again.
Select "Disable TrackIR for Mouse only - Select another preset to re-enable". This allows you to turn off head tracking whilst in game, if required only.

"CAM 1: Select your 'Saved' Driving Preset" [drop down selector].
Always select the preset you want to use when driving. Whenever you select CAM 1 this preset will be applied overwriting any unsaved custom settings!
CAM 1: (g_cam_window_block) ATS Truck - Defaults
CAM 1: (g_cam_window_block) ATS Truck - JHT
CAM 1: (g_cam_window_block) ETS LHD Truck - Defaults
CAM 1: (g_cam_window_block) ETS LHD Truck - JHT
CAM 1: (g_cam_window_block) ETS RHD Truck - Defaults
CAM 1: (g_cam_window_block) ETS RHD Truck - JHT

"CAM 2: Select Passenger Seat Preset" [drop down selector].
Pressing 'CAM 2' will change your position inside the cabin from driving seat to passenger seat.
CAM 2: Unsupported Truck (Pick the one that matches your current SCS truck)
CAM 2: Unsupported Template LHD Passenger Seat 1 to 4 (Pick the one that best suits your current mod truck)
CAM 2: Unsupported Template RHD Passenger Seat 1 to 4

"CAM 3: Select Sleeper Preset" [drop down selector].
Pressing 'CAM 3' will change your position inside the cabin from driving seat to sleeper area.
CAM 3: Unsupported Truck (Pick the one that matches your current SCS truck)
CAM 3: Unsupported Template LHD Sleeper 1 to 8 (Pick the one that best suits your current mod truck)
CAM 3: Unsupported Template RHD Sleeper 1 to 8

Driving position for LHD Truck (Untick) or for RHD Truck (Tick).
Set this to suit your current truck, so window block and other functions work correctly.

** Set to Dynamic -->.
"Dynamic" - This is a requirement for this menu mod.

** TICK -->
Tick - This is a requirement for this menu mod.

** Set to 9.0 -->
9.0 - This is a requirement for this menu mod.

** Set to 0.00 -->
0.00 - This is a requirement for this menu mod.

Set window block point fine adjustment - Default 0.00
This slider is useful depending on what truck your are driving.
Basically, you can reduce the gap between TrackIR off and controller function auto rotating to the closed window.
Examples using game standard trucks -- ATS: Kenworth W900=0.22, Mack Anthem=0.90 & Others=0.39 -- ETS2: All 0.65

Outside TrackIR Control 'On Demand' activation options:
1 - Look Far Left (LHD) / Right (RHD) & Press Open Drivers Window Button.
Look Far Left (LHD) / Right (RHD) Trigger Point - Default 4.5
2 - Look Far Left (LHD) / Right (RHD) & Look Up or Down.
Look Up / Down Trigger Point - Default 0.6 - Disable 0.0
Note: TrackIR is still active whilst you are looking at the menu's / world map etc and so if you don't use 'On Demand 2' you should set to disable to prevent unwanted triggering.

Set movement towards passenger side (TIR x) - Default 0.10
Increase sideways movement up to 1.00 but only to the passenger side.
As long as LHD/RHD above is set correctly then you won't slide out of the drivers door.
0.00 = No sideways movement.

Lean Zone. Works in conjunction with 'Move towards passenger side' slider - Default 0.0
By increasing 'Lean Zone' while 'Move towards passenger side' is 0.80, for example, then you can't slide sideways when looking straight ahead. Instead you must turn to passenger side before you can move. Then you will lean towards the passenger side mirror in a more realistic way.
'Lean Zone' 0.0 = Disabled - You can slide sideways up to the limit set by 'Move towards passenger side' slider.
'Lean Zone' 2.5 = You must turn your head >45 degrees to passenger side before you can lean over to the limit set by 'Move towards passenger side' slider.
'Lean Zone' 5.0 = You must turn your head >90 degrees to passenger side before you can lean over to the limit set by 'Move towards passenger side' slider.
'Lean Zone' 2.99 = Is a special mode that also enables 'Auto lean into dash' when you pitch your head down.

'Auto lean into dash' when you pitch your head down (TIR Pitch). This moves you closer to give an easier to see dash when looking down, you can already do this yourself by leaning forward (TIR z) and lowering your head (TIR y), but this just automates those two inputs.

Note: The above 'special' feature will only be enabled if 'Lean Zone' slider = 2.99. Therefore you don't have to use them.
If you use one of my presets "... JHT", to create your own, then this feature is enabled as long as 'Lean Zone' slider = 2.99.

Just set the 'Move towards passenger side' slider & 'Lean Zone' slider to what feels right for you.

Set height that your head can move up/down in the drivers seat (TIR y) - Default 3.0 - Disable 1.0
Setting this to '1' (lowest value) will disable TIR y for driving seat or '5' (highest value) for 3 times more height movement than game default.
Note: TIR y is always enabled outside for crouching and standing on your tippy toes.

Trigger 'Zoom View' when leaning forward (TIR z) - Default 0.90
As standard, when you lean forward you get closer to the dash.
This adds to that feature by allowing you to lean further forward and thereby trigger the in game 'interior camera zoom' feature.
Set the slider to 0.0 to disable. The lower the value the sooner zoom will be triggered.
Feels right to lean forward to read up coming signs. One less button to press!
The zoom feature in game doesn't work with multimon_config.sii files with fixed FOV values, it therefore means this function will also not work with that setup.

Zoom Zone - Default 0.55
This allows you to set the area to the left & right that "triggering zoom view" is active to prevent unwanted head zoom at higher head angles.
5.00 = Up to 180 degrees left/right (head zoom always on).
2.5 = Up to 90 degrees left/right.
1.25 = Up to 45 degrees left/right (prevent head zoom when looking around at junctions etc).
0.55 = Up to 20 degrees left/right - Default - (good for head zooming to just read upcoming signs in front of you).

Set driving Seat 'Head Roll' (TIR roll) movement - Disable 1.00 - Enable 1.01 (min) to 5.00 (max)
Use this to set the amount of head roll whilst driving.

Set 'c_ht_roll 0, 1, 2 or 3' for these extra functions: 0=No extra functions : 1=Passenger/Sleeper/Outside 'Head Roll' :
2=Passenger/Sleeper 'Head Zoom' : 3=Passenger/Sleeper/Outside 'Head Roll' & Passenger/Sleeper 'Head Zoom'
Use the console to set the value that gives you the extra features you require.

Action - You can choose your own Action button.
You can change from driver seat to passenger seat to sleeper area or outside by looking at the location and pressing the 'Action' button.
You can attach/detach the trailer outside, refuel outside, switch GPS screens or switch dash screens by looking at them and pressing the 'Action' button.

Reset Head Tracking - Re-centers your in game head.
Existing game function shown here for completeness.

------------------------------------------------------------------------------

How 'Window Blocking' works: - For 'TDE (g_cam_window_block).scs' mod:
Set uset g_cam_window_block "1.0" <-- That will block your head at the window until the window is fully open.
Then open and close the window as required.
How 'g_cam_window_block' works when SCS have hard coded it to be disabled for head tracking users.
At the point of the drivers window, TrackIR is auto disabled, your head then controls the look axis for game controller function so g_cam_window_block can be used to check for block or not, depending on window state.
Once your head is out of the open window you are controlling the game controller function with your head, your real head is looking left so the view auto rotates left. You can't look right without jumping back into the cab/drivers window area, because you are still looking left with your real head. You can't control the outside view.

If you require TrackIR control for the outside view, then you can activate it "on demand".
Once the driver window is open you should then turn your real head far left to look along your truck/trailer (matching the auto rotated view) and then press the "driver window open button" (the window is already fully open anyway), this will trigger unblocking, now let go of the "driver window open button" and you'll have TrackIR control inside and outside whilst the window is open. Once you press "driver window close button", your head will once again be trapped inside the cab. Works the opposite for RHD trucks.

Note: look far left (for LHD) or look far right (for RHD) whilst a quick press of the "driver window open button" is designed to prevent accidentally triggering the unblock when windows are closed and you are quickly looking left/right at a junction, for example. You don't keep pressing the open window button once unblocked.

=========================================================================================

Important Note: TDE has been deliberately coded to make it easy to see if your current truck is 'supported' or 'unsupported':
Using 'TDE (Unsupported)...' or 'TDE (g_cam_window_block)...' mods:
If your head is stuck looking back over, you are using 'supported' settings. Always use 'Unsupported' presets/settings.


=========================================================================================
Post 01 - Description - viewtopic.php?p=46457#p46457
Post 02 - General Menu Information and Usage - viewtopic.php?p=46458#p46458
Post 03 - Quick start guide - viewtopic.php?p=46459#p46459
Post 04 - Controls.sii file edits (Part 1) - viewtopic.php?p=46460#p46460
Post 05 - Controls.sii file edits (Part 2) - viewtopic.php?p=46461#p46461
Post 06 - Optional edits - viewtopic.php?p=46462#p46462
Post 07 - Cabin Camera Creator - viewtopic.php?p=46506#p46506
Post 08 - Problems & Solutions / To do list - viewtopic.php?p=46559#p46559
Post 09 - Q & A Section - viewtopic.php?p=46612#p46612
Post 10 - TrackIR Driving Enhancements - Demo videos - viewtopic.php?p=46613#p46613

Re: TrackIR Driving Enhancements

Posted: September 23rd, 2021, 5:14 pm
by JHTrucker
TrackIR Driving Enhancements - Quick Start Guide.
This is an easy way to test if you want to use TDE or not.

By using the 'quick start' controls.sii file you'll need to re-setup all your game controls for buttons, keys, wheel, pedals, shifter & Force Feedback settings etc.
Or don't use the 'quick start' controls.sii file and instead refer to 'Post 04 - Controls.sii file edits (Part 1)' & 'Post 05 - Controls.sii file edits (Part 2)'. The choice is yours!

NOTE: Using steam controller support may cause problems. I've never used it and have it disabled, that way the game will use all control functions that are specified within the games controls.sii file.
To disable steam controller support:
In Steam Library - Right Click Game - Properties - Controller - Select - Disable Steam Input


=========================================================================================

There's 2 'Quick start' setups, follow the one that matches your game version.

=========================================================================================


Quick start for game version 1.51+:
You need to use the attached mod and set to load last.

NEW 27/09/2024
Download TDE v7.0 (Game version 1.51+).zip --> https://mega.nz/file/SoIXCDqI#tkU10M77T ... rq539Xi7h0
From the zip file, add the mod 'TrackIR Driving Enhancements' to your mod folder.

NEW 27/09/2024
Download TDE controls 27-09-2024.zip --> https://mega.nz/file/Lp4GTJCL#AnkYajKwa ... GfkJ1hFDAs

Look here --> American or Euro Truck Simulator 2\profiles\Your Profile\controls.sii
Rename your controls.sii file for backup.
Copy the supplied controls.sii file into your profile folder.

Look here --> American or Euro Truck Simulator 2\profiles\Your Profile\config_local.cfg
For ATS - Edit your config_local.cfg with the following:
uset g_eye_preset_5 "g:CAM 4 RHD ATS - Path Select"
uset g_eye_preset_4 "g:CAM 4 LHD ATS - Path Select"
uset g_eye_preset_3 "g:3SL Setup Sleeper"
uset g_eye_preset_2 "g:2SL Setup Passenger Seat"
uset g_eye_preset_1 "g:1SL ATS Defaults"

For ETS2 - Edit your config_local.cfg with the following:
uset g_eye_preset_5 "g:CAM 4 RHD ETS - Path Select"
uset g_eye_preset_4 "g:CAM 4 LHD ETS - Path Select"
uset g_eye_preset_3 "g:3SL Setup Sleeper"
uset g_eye_preset_2 "g:2SL Setup Passenger Seat"
uset g_eye_preset_1 "g:1SL ETS Defaults"

Start the game and add the mod 'TrackIR Driving Enhancements' to the top of your mod manager list.

Pick a game default 'supported' LHD truck (see first post for the list of 'supported' trucks), don't use a mod truck for testing!

At the driving screen press F4 to adjust your driving position.
Default FOV is 60 for all 'Supported' trucks.
Click 'Reset to default' and adjust your seat if required.

At the driving screen press '1'.
Look left/right/up/down (your head shouldn't pass through the closed window).
If you're head is stuck looking back over, you're not using a 'supported' truck.
Move sideways left/right (game default movement).
Move forwards/backwards (game default movement).
Move up/down (game default movement).
Assuming your TrackIR is set for yaw/pitch/x/y/z inputs.

At the driving screen press '1', '2', '3' & '4' a few times.
You should jump from driving seat to passenger seat to sleeper to outside drivers door.
Look left/right/up/down in passenger seat, sleeper and outside.
Note: The passenger seat and sleeper position are just generic locations for testing, for best results, choose the correct truck CAM 2 & CAM 3 presets for these in the Tobii Eye menu, preset 2 & 3.

Now re-setup you controls for windows, steering & pedals etc but don't assign any controls to functions shown as 'complex'.

Don't click 'Reset to default' at the bottom of the keys/buttons & controller menus as that will remove the TDE line edits!
You can click 'Force Feedback - Reset to defaults' if required.

NOTE: The supplied controls.sii file is in game version 1.51 format and therefore newer or older game versions will automatically make adjustments to it, as required, and may report the changes in the game log as errors. That's ok, it's just the game cleaning up the file (the first time it's used) to suit the game version you are playing on, it doesn't affect the TDE edits applied to it. Those errors won't appear again.

Refer to 'Post 01 - Description' for help with 'window control', 'look action' and 'walking' around your truck etc.
Refer to 'Post 02 - General Menu Information and Usage' for help with the menu's, choosing presets etc.
Refer to 'post 06 - Optional edits' for some different or additional options.
Refer to 'Post 09 - Q & A Section' for extra help. Including "How to assign keys/buttons that are now shown as 'complex'"
Refer to 'Post 10 - TDE - Demo videos'.

If you need help, just ask.

=========================================================================================

Quick start for game version 1.41 to 1.50:
You need to use one of the attached mods to make changes whilst in game and set to load last.

NEW 16/02/2024
Download TDE v4.6 (Game version 1.41-1.43).zip --> https://mega.nz/file/X4JHyajT#2gYpCVneP ... FroqcL2jT4
OR
NEW 19/05/2024
Download TDE v5.61 (Game version 1.44-1.49).zip --> https://mega.nz/file/fohg2Kha#Fklesm5Zx ... 5L6u1JhzAw
OR
NEW 07/07/2024
Download TDE v6.1 (Game version 1.50).zip --> https://mega.nz/file/vkQiHaLL#Sf_966kNl ... 9DuIVtLPMI
(All have the same look and functions, just use the correct one for your game version).

From the zip file, add the mod 'TrackIR Driving Enhancements.scs' to your mod folder.
(Don't add any other mod from the supplied zip file).

NEW 27/09/2024
Download TDE controls 27-09-2024.zip --> https://mega.nz/file/Lp4GTJCL#AnkYajKwa ... GfkJ1hFDAs

Look here --> American or Euro Truck Simulator 2\profiles\Your Profile\controls.sii
Rename your controls.sii file for backup.
Copy the supplied controls.sii file into your profile folder.

Look here --> American or Euro Truck Simulator 2\profiles\Your Profile\config_local.cfg
For ATS - Edit your config_local.cfg with the following:
uset g_eye_preset_5 "g:CAM 4 RHD ATS - Path Select"
uset g_eye_preset_4 "g:CAM 4 LHD ATS - Path Select"
uset g_eye_preset_3 "g:CAM 3 Setup LHD Sleeper Area"
uset g_eye_preset_2 "g:CAM 2 Setup LHD Passenger Seat"
uset g_eye_preset_1 "g:CAM 1 Supported ATS LHD SCS Truck - Defaults"

For ETS2 - Edit your config_local.cfg with the following:
uset g_eye_preset_5 "g:CAM 4 RHD ETS - Path Select"
uset g_eye_preset_4 "g:CAM 4 LHD ETS - Path Select"
uset g_eye_preset_3 "g:CAM 3 Setup LHD Sleeper Area"
uset g_eye_preset_2 "g:CAM 2 Setup LHD Passenger Seat"
uset g_eye_preset_1 "g:CAM 1 Supported ETS LHD SCS Truck - Defaults"

Start the game and add the mod 'TrackIR Driving Enhancements.scs' to the top of your mod manager list.

Pick a game default 'supported' LHD truck (see first post for the list of 'supported' trucks), don't use a mod truck for testing!

At the driving screen press F4 to adjust your driving position.
Default FOV is 60 for all 'Supported' trucks.
Click 'Reset to default' and adjust your seat if required.

At the driving screen press '1'.
Look left/right/up/down (your head shouldn't pass through the closed window).
If you're head is stuck looking back over, you're not using a 'supported' truck.
Move sideways left/right (game default movement).
Move forwards/backwards (game default movement).
Move up/down (game default movement).
Assuming your TrackIR is set for yaw/pitch/x/y/z inputs.

At the driving screen press '1', '2', '3' & '4' a few times.
You should jump from driving seat to passenger seat to sleeper to outside drivers door.
Look left/right/up/down in passenger seat, sleeper and outside.
Note: The passenger seat and sleeper position are just generic locations for testing, for best results, choose the correct truck CAM 2 & CAM 3 presets for these in the TDE menu.

Now re-setup you controls for windows, steering & pedals etc but don't assign any controls to functions shown as 'complex'.

Don't click 'Reset to default' at the bottom of the keys/buttons & controller menus as that will remove the TDE line edits!
You can click 'Force Feedback - Reset to defaults' if required.

NOTE: The supplied controls.sii file is in game version 1.41 format and therefore newer game versions will automatically make adjustments to it, as required, and may report the changes in the game log as errors. That's ok, it's just the game cleaning up the file (the first time it's used) to suit the game version you are playing on, it doesn't affect the TDE edits applied to it. Those errors won't appear again.

Refer to 'Post 01 - Description' for help with 'window control', 'look action' and 'walking' around your truck etc.
Refer to 'Post 02 - General Menu Information and Usage' for help with the menu's, choosing presets etc.
Refer to 'post 06 - Optional edits' for some different or additional options.
Refer to 'Post 09 - Q & A Section' for extra help. Including "How to assign keys/buttons that are now shown as 'complex'"
Refer to 'Post 10 - TDE - Demo videos'.

The 'TrackIR Driving Enhancements' mod will work with game default trucks and mod trucks, but you'll need to ensure you always use the correct settings/presets to suit the truck you are currently driving, a game default truck (supported) or a mod truck (unsupported).
If you want to keep things simple, all trucks considered unsupported, use one of the other mods:

'TDE (Unsupported)...' or 'TDE (g_cam_window_block)...'
The only difference between these 2 mods are the way in which the window is blocked.

Don't forget to set a suitable 'CAM 1: Driving preset' in which ever TDE menu you use.

If you need help, just ask.

=========================================================================================
Post 01 - Description - viewtopic.php?p=46457#p46457
Post 02 - General Menu Information and Usage - viewtopic.php?p=46458#p46458
Post 03 - Quick start guide - viewtopic.php?p=46459#p46459
Post 04 - Controls.sii file edits (Part 1) - viewtopic.php?p=46460#p46460
Post 05 - Controls.sii file edits (Part 2) - viewtopic.php?p=46461#p46461
Post 06 - Optional edits - viewtopic.php?p=46462#p46462
Post 07 - Cabin Camera Creator - viewtopic.php?p=46506#p46506
Post 08 - Problems & Solutions / To do list - viewtopic.php?p=46559#p46559
Post 09 - Q & A Section - viewtopic.php?p=46612#p46612
Post 10 - TrackIR Driving Enhancements - Demo videos - viewtopic.php?p=46613#p46613

Re: TrackIR Driving Enhancements

Posted: September 23rd, 2021, 5:15 pm
by JHTrucker
TrackIR Driving Enhancements - Controls.sii file edits (Part 1)

Updated 27/09/2024 - See first post for information, descriptions and links.
Always ensure you have applied all previous line edit updates (that you may have missed) before applying the latest update. If in doubt, use the 'Quick Start' controls.sii file or just apply all line edits shown below.

For your reference, here's all the TDE line edits (added to the supplied 'Quick Start' controls.sii file), date highlighted, so you can quickly apply any updates to your TDE controls.sii file.

NOTE: For required mods and edits to your config_local.cfg file, refer to post 3 'Quick Start Guide': viewtopic.php?p=46459#p46459

Make a backup copy of controls.sii for safe keeping, just in case.
Edit with notepad/wordpad etc your controls.sii file.
(American/Euro Truck Simulator 2\profiles\Your Profile\controls.sii)

Note: The line numbers are different between game versions. The numbers shown are from my 1.44 version, yours may be different.
Just match the
"mix name" and paste the highlighted part into the correct line number to suit your game version.

The following lines should be in this format:
config_lines[???]: "mix name `...TDE code...`"
For example: Missing the " from the end of the line will prevent the game from loading the controls.sii file and then it'll reset the whole file back to game defaults.
Take your time to carefully copy/paste all the required line edits.

AMENDED 06/06/2024
config_lines[154]: "mix dbgfovup `(keyboard.numplus?0 * ! c_et_head) + memory(long_press(((((eyepause?0 * ! hmdz?0 * sign(abs(deadzone(clamp(-trackiryaw?0, -c_et_pos, ! c_et_pos), 0.375))) * ! sign(abs(deadzone(trackiryaw?0, 0.55))) * ! abs(sign(deadzone(trackirpitch?0, 0.125)))) + (eyepause?0 * ! hmdz?0 * sign(abs(deadzone(clamp(-trackiryaw?0, -c_et_pos, ! c_et_pos), 0.65))))) * c_et_xscale * c_et_yscale * ! dbgfovup?0) + sign(((eyepause?0 * sign(abs(deadzone(clamp(trackiryaw?0, -c_et_pos, ! c_et_pos), 0.375))) * ! sign(abs(deadzone(trackiryaw?0, 0.55))) * ! abs(sign(deadzone(trackirpitch?0, 0.125))) * ! c_et_xscale) + (eyepause?0 * ! sign(clamp(deadzone(trackirpitch?0 + ((c_etwm_pitsc - 2.5) * 0.2), 0.2), -0.0, 0.5)) * ! abs(sign(deadzone(trackiryaw?0, 0.6))) * sign(deadzone(c_etwm_yawsc, 0.5)) * ! c_et_xscale) + (eyepause?0 * ! c_et_yscale) + (keyboard.key1?0 + keyboard.key2?0 + keyboard.key3?0 + keyboard.key4?0 + mouse.button_left?0 + keyboard.esc?0)) * dbgfovup?0)), 0.000001), ! dbgfovup) * sign(abs(trackir.device.position.yaw?0) + 1) * sign(lookpos9) * c_et_head`"

AMENDED 06/06/2024
config_lines[155]: "mix dbgfovdown `(keyboard.numminus?0 * ! c_et_head) + memory(long_press(((eyepause?0 * sign(abs(deadzone(clamp(trackiryaw?0, -c_et_pos, ! c_et_pos), 0.375))) * ! sign(abs(deadzone(trackiryaw?0, 0.55))) * ! abs(sign(deadzone(trackirpitch?0, 0.125))) * ! c_et_xscale * ! dbgfovdown?0) + (eyepause?0 * ! sign(clamp(deadzone(trackirpitch?0 + ((c_etwm_pitsc - 2.5) * 0.2), 0.2), -0.0, 0.5)) * ! abs(sign(deadzone(trackiryaw?0, 0.6))) * sign(deadzone(c_etwm_yawsc, 0.5)) * ! c_et_xscale * ! dbgfovdown?0) + sign(((eyepause?0 * c_et_xscale) + (! sign(abs(deadzone(trackiryaw?0, 0.3))) * sign(abs(deadzone(trackiryaw?0, 0.1))) * c_et_xscale) + (keyboard.key1?0 + keyboard.key2?0 + keyboard.key3?0 + keyboard.key4?0 + mouse.button_left?0 + keyboard.esc?0)) * dbgfovdown?0)), 0.000001), ! dbgfovdown) * sign(abs(trackir.device.position.yaw?0) + 1) * sign(lookpos9) * c_et_yscale * c_et_head`"

AMENDED 06/06/2024
config_lines[156]: "mix dbgfovreset `(modifier(no_modifier, keyboard.nummultiply?0) * ! c_et_head) + memory(long_press((((eyepause?0 * ! hmdz?0 * abs(sign(deadzone(clamp(trackiryaw?0 * sign(0.5 - c_et_pos), -! c_et_xscale * ! sign(deadzone(c_etwm_yawsc, 0.05)), c_et_xscale), 0.725))) * ! abs(sign(deadzone(sel(c_jisteer, -j_steer?0, j_steer?0), 0.035))) * c_et_xscale) * c_et_xscale * c_et_yscale * ! dbgfovreset?0) + sign(((eyepause?0 * sign(deadzone(clamp(trackirpitch?0, -0.0, 1.0), 0.175)) * ! abs(sign(deadzone(trackiryaw, 0.7))) * ! sign(dclutch?0) * ! c_et_yscale * (! abs(sign(deadzone(sel(c_jisteer, -j_steer?0, j_steer?0), 0.035))))) + (eyepause?0 * ! sign(abs(deadzone(trackiryaw, 0.6))) * c_et_xscale * c_et_yscale) + (sign(abs(trackiryaw)) * c_et_xscale * long_press(! c_et_yscale, 10)) + (keyboard.key1?0 + keyboard.key2?0 + keyboard.key3?0 + keyboard.key4?0 + mouse.button_left?0 + keyboard.esc?0)) * dbgfovreset?0)), 0.000001), ! dbgfovreset) * sign(abs(trackir.device.position.yaw?0) + 1) * sign(lookpos9) * c_et_head`"

AMENDED 07/07/2024
config_lines[157]: "mix dbgshowhud `(keyboard.del?0 * ! c_et_head) + memory(long_press((((eyepause?0 * sign(deadzone(clamp(trackirpitch?0, -0.0, 1.0), 0.175)) * ! abs(sign(deadzone(trackiryaw, 0.7))) * ! sign(dclutch?0) * ! c_et_yscale * (! abs(sign(deadzone(sel(c_jisteer, -j_steer?0, j_steer?0), 0.035))) * ! dbglockrot)) * ! dbgshowhud?0) + sign(((c_et_yscale * ! sign(abs(headtry?0))) + (eyepause?0 * c_et_xscale * c_et_yscale * ! sign(abs(headtry?0))) + (keyboard.key1?0 + keyboard.key2?0 + keyboard.key3?0 + keyboard.key4?0 + mouse.button_left?0 + keyboard.esc?0)) * dbgshowhud?0)), 0.000001), ! dbgshowhud) * sign(abs(trackir.device.position.yaw?0) + 1) * sign(lookpos9) * c_et_head`"

AMENDED 06/06/2024
config_lines[158]: "mix dbgchngpip `(keyboard.ins?0 * ! c_et_head) + (sign(dbgfovup?0 + dbgfovdown?0 + dbgfovreset?0 + dbgshowhud?0 + dbglockpos?0) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * c_et_head)`"

NEW 04/04/2024
config_lines[159]: "mix dbgnextmode `(keyboard.num7?0 * ! c_et_head) + (long_press(dbgchngpip?0, lookpos9) + long_press(dbgchngpip?0, lookpos9 * 2) + long_press(dbgchngpip?0, lookpos9 * 3) + long_press(dbgchngpip?0, lookpos9 * 4) + long_press(dbgchngpip?0, lookpos9 * 5) + long_press(dbgchngpip?0, lookpos9 * 6) + long_press(dbgchngpip?0, lookpos9 * 7) + long_press(dbgchngpip?0, lookpos9 * 8) + long_press(dbgchngpip?0, lookpos9 * 9) + long_press(dbgchngpip?0, lookpos9 * 10) + long_press(dbgchngpip?0, lookpos9 * 11) + long_press(dbgchngpip?0, lookpos9 * 12) + long_press(dbgchngpip?0, lookpos9 * 13) + long_press(dbgchngpip?0, lookpos9 * 14) + long_press(dbgchngpip?0, lookpos9 * 15) + long_press(dbgchngpip?0, lookpos9 * 16) + long_press(dbgchngpip?0, lookpos9 * 17) + long_press(dbgchngpip?0, lookpos9 * 18) + long_press(dbgchngpip?0, lookpos9 * 19) + long_press(dbgchngpip?0, lookpos9 * 20) + long_press(dbgchngpip?0, lookpos9 * 21) + long_press(dbgchngpip?0, lookpos9 * 22) + long_press(dbgchngpip?0, lookpos9 * 23) + long_press(dbgchngpip?0, lookpos9 * 24) + long_press(dbgchngpip?0, lookpos9 * 25) + long_press(dbgchngpip?0, lookpos9 * 26) + long_press(dbgchngpip?0, lookpos9 * 27) + long_press(dbgchngpip?0, lookpos9 * 28) + long_press(dbgchngpip?0, lookpos9 * 29) + long_press(dbgchngpip?0, lookpos9 * 30) + long_press(dbgchngpip?0, lookpos9 * 31) + long_press(dbgchngpip?0, lookpos9 * 32) + long_press(dbgchngpip?0, lookpos9 * 33) + long_press(dbgchngpip?0, lookpos9 * 34) + long_press(dbgchngpip?0, lookpos9 * 35) + long_press(dbgchngpip?0, lookpos9 * 36) + long_press(dbgchngpip?0, lookpos9 * 37) + long_press(dbgchngpip?0, lookpos9 * 38) + long_press(dbgchngpip?0, lookpos9 * 39) + long_press(dbgchngpip?0, lookpos9 * 40) + long_press(dbgchngpip?0, lookpos9 * 41) + long_press(dbgchngpip?0, lookpos9 * 42) + long_press(dbgchngpip?0, lookpos9 * 43) + long_press(dbgchngpip?0, lookpos9 * 44) + long_press(dbgchngpip?0, lookpos9 * 45) + long_press(dbgchngpip?0, lookpos9 * 46) + long_press(dbgchngpip?0, lookpos9 * 47) + long_press(dbgchngpip?0, lookpos9 * 48) + long_press(dbgchngpip?0, lookpos9 * 49) + long_press(dbgchngpip?0, lookpos9 * 50) + long_press(dbgchngpip?0, lookpos9 * 51) + long_press(dbgchngpip?0, lookpos9 * 52) + long_press(dbgchngpip?0, lookpos9 * 53) + long_press(dbgchngpip?0, lookpos9 * 54) + long_press(dbgchngpip?0, lookpos9 * 55) + long_press(dbgchngpip?0, lookpos9 * 56) + long_press(dbgchngpip?0, lookpos9 * 57) + long_press(dbgchngpip?0, lookpos9 * 58) + long_press(dbgchngpip?0, lookpos9 * 59) + long_press(dbgchngpip?0, lookpos9 * 60) + long_press(dbgchngpip?0, lookpos9 * 61) + long_press(dbgchngpip?0, lookpos9 * 62) + long_press(dbgchngpip?0, lookpos9 * 63) + long_press(dbgchngpip?0, lookpos9 * 64) + long_press(dbgchngpip?0, lookpos9 * 65) + long_press(dbgchngpip?0, lookpos9 * 66) + long_press(dbgchngpip?0, lookpos9 * 67) + long_press(dbgchngpip?0, lookpos9 * 68) + long_press(dbgchngpip?0, lookpos9 * 69) + long_press(dbgchngpip?0, lookpos9 * 70) + long_press(dbgchngpip?0, lookpos9 * 71) + long_press(dbgchngpip?0, lookpos9 * 72) + long_press(dbgchngpip?0, lookpos9 * 73) + long_press(dbgchngpip?0, lookpos9 * 74) + long_press(dbgchngpip?0, lookpos9 * 75) + long_press(dbgchngpip?0, lookpos9 * 76) + long_press(dbgchngpip?0, lookpos9 * 77) + long_press(dbgchngpip?0, lookpos9 * 78) + long_press(dbgchngpip?0, lookpos9 * 79) + long_press(dbgchngpip?0, lookpos9 * 80) + long_press(dbgchngpip?0, lookpos9 * 81) + long_press(dbgchngpip?0, lookpos9 * 82) + long_press(dbgchngpip?0, lookpos9 * 83) + long_press(dbgchngpip?0, lookpos9 * 84) + long_press(dbgchngpip?0, lookpos9 * 85) + long_press(dbgchngpip?0, lookpos9 * 86) + long_press(dbgchngpip?0, lookpos9 * 87) + long_press(dbgchngpip?0, lookpos9 * 88) + long_press(dbgchngpip?0, lookpos9 * 89) + long_press(dbgchngpip?0, lookpos9 * 90) + long_press(dbgchngpip?0, lookpos9 * 91) + long_press(dbgchngpip?0, lookpos9 * 92) + long_press(dbgchngpip?0, lookpos9 * 93) + long_press(dbgchngpip?0, lookpos9 * 94) + long_press(dbgchngpip?0, lookpos9 * 95) + long_press(dbgchngpip?0, lookpos9 * 96) + long_press(dbgchngpip?0, lookpos9 * 97) + long_press(dbgchngpip?0, lookpos9 * 98) + long_press(dbgchngpip?0, lookpos9 * 99)) * 0.01 * c_et_head`"

NEW 04/04/2024
config_lines[160]: "mix dbgdraw `(keyboard.num1?0 * ! c_et_head) + long_press(dbgchngpip?0, lookpos9 * 100) * c_et_head`"

NEW 07/07/2024
config_lines[161]: "mix dbglockpos `(keyboard.num0?0 * ! c_et_head) + (long_press(eyepause?0 * ! hmdy * sign((! sign(abs(clamp(msteering, -! c_et_pos * (0.275 - (0.038 * ! sign(abs(0.61 - c_et_zscale)))), c_et_pos * (0.275 - (0.038 * ! sign(abs(0.61 - c_et_zscale))))))) * sign(abs(deadzone(msteering, 0.08))) * ! sign(abs(deadzone(msteering, 0.275)))) + (((sign(sign(abs(deadzone(trackiryaw, 0.7))) + sign(abs(clamp(trackiryaw, -! c_et_pos, c_et_pos)))) * abs(sign(c_et_yawsc - 1.1))) + (sign(abs(deadzone(trackiryaw, 0.5))) * ! abs(sign(c_et_yawsc - 1.1)))) * ! sign(abs(deadzone(msteering, 0.08))))) * c_et_xscale * ! c_et_yscale * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * sign(lookpos9), 600) * c_et_head)`"

NEW 07/07/2024
config_lines[162]: "mix dbglockrot `(keyboard.numperiod?0 * ! c_et_head) + (memory(long_press((((dbglockpos?0 * ! dbglockrot) + ((keyboard.key1?0 + keyboard.key2?0 + keyboard.key3?0 + keyboard.key4?0 + mouse.button_left?0 + keyboard.esc?0 + long_press(! eyepause?0, 100)) * dbglockrot)) * ! c_et_yscale) + (dbglockrot * c_et_yscale), 0.000001), ! dbglockrot) * sign(abs(trackir.device.position.yaw?0) + 1) * c_et_xscale * c_et_head)`"

NEW 06/06/2024
config_lines[163]: "mix dbgslowdwn `(keyboard.pgdn?0 * ! c_et_head) + (long_press(eyeposwmroll, 50) + long_press(eyeposwmroll, 100) + long_press(eyeposwmroll, 150) + long_press(eyeposwmroll, 200) + long_press(eyeposwmroll, 250) + long_press(eyeposwmroll, 300) + long_press(eyeposwmroll, 350) + long_press(eyeposwmroll, 400) + long_press(eyeposwmroll, 450) + long_press(eyeposwmroll, 500)) * 0.1 * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * c_et_head`"

NEW 06/06/2024
config_lines[164]: "mix dbgspeedup `(keyboard.pgup?0 * ! c_et_head) + (long_press(! eyeposwmroll, 50) + long_press(! eyeposwmroll, 100) + long_press(! eyeposwmroll, 150) + long_press(! eyeposwmroll, 200) + long_press(! eyeposwmroll, 250) + long_press(! eyeposwmroll, 300) + long_press(! eyeposwmroll, 350) + long_press(! eyeposwmroll, 400) + long_press(! eyeposwmroll, 450) + long_press(! eyeposwmroll, 500)) * 0.1 * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * c_et_head`"

NEW 27/09/2024
config_lines[180]: "mix dbgmacrolo `(keyboard.p?0 * ! c_et_head) + memory(((c_et_hv_ac * ! dbgmacrolo) + (! c_et_hv_ac * dbgmacrolo)) * c_et_xscale * c_et_yscale, ! dbgmacrolo) * c_et_head`"

AMENDED 04/04/2024
config_lines[191]: "mix cam1 `(((eyepreset1?0 | eyepreset2?0 | eyepreset3?0)) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * abs(sign(c_et_gv_ext - 0.01)) * c_et_head) | (keyboard.key1?0 * ! c_et_head)`"

AMENDED 16/02/2024
config_lines[192]: "mix cam2 `keyboard.key5?0 * c_et_head | keyboard.key2?0 * ! c_et_head`"

AMENDED 16/02/2024
config_lines[193]: "mix cam3 `keyboard.key6?0 * c_et_head | keyboard.key3?0 * ! c_et_head`"

AMENDED 16/02/2024
config_lines[194]: "mix cam4 `keyboard.key7?0 * c_et_head | keyboard.key4?0 * ! c_et_head`"

AMENDED 04/04/2024
config_lines[195]: "mix cam5 `((((sign(eyepreset4?0 + eyepreset5?0) * ! hmdz?0 * (abs(sign(deadzone(clamp(trackiryaw, -c_et_pos, ! c_et_pos), 0.725)) * sign(c_et_xscale - 0.5))) * ! abs(sign(deadzone(msteering?0, 0.035))) * c_et_yscale * ! sign(lookpos9)) + (dbgdraw?0 * dbgfovreset?0 * ! c_et_yscale * sign(lookpos9)) + (camwnd * ! eyeposwmz) + (eyepause?0 * ! eyeposwmz * ! (abs(sign(deadzone(clamp(-trackiryaw, -c_et_pos, ! c_et_pos), 0.375))) * ! sign(abs(deadzone(trackiryaw, 0.55))) * abs(sign(clamp(deadzone(trackirpitch, 0.3), -1.0, 0.0))) * ! sign(deadzone(clamp(trackirpitch, -0.0, 1.0), 0.165))) * c_et_xscale * ! c_et_yscale))) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * c_et_xscale * abs(sign(c_et_gv_ext - 0.01)) * c_et_head) | (keyboard.key5?0 * ! c_et_head)`"

NEW 16/02/2024
config_lines[196]: "mix cam6 `modifier(! alt_only, keyboard.key9?0) * c_et_head | keyboard.key6?0 * ! c_et_head`"

NEW 16/02/2024
config_lines[197]: "mix cam7 `modifier(alt_only, keyboard.key9?0) * c_et_head | keyboard.key7?0 * ! c_et_head`"

NEW 16/02/2024
config_lines[198]: "mix cam8 `keyboard.key8?0 * 1`"

config_lines[199]: "mix camcycle `keyboard.key9?0 * ! c_et_head`"

AMENDED 11/12/2023
config_lines[200]: "mix camdbg `keyboard.key0?0 | (eyepause?0 * ! hmdz?0 * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * ! sign(abs(deadzone(trackiryaw?0, 0.55))) * abs(sign(clamp(deadzone(trackirpitch?0, 0.3), -1.0, 0.0))) * abs(sign(deadzone(clamp(trackiryaw?0, -! c_et_pos, c_et_pos), 0.375)))) * c_et_xscale * c_et_yscale * abs(sign(c_et_gv_ext - 0.01)) * c_et_head`"

NEW 04/04/2024
config_lines[201]: "mix camwnd `keyboard.minus?0 * ! c_et_head | keyboard.key4?0 * c_et_head`"

AMENDED 11/12/2023
config_lines[205]: "mix camzoom `(((sign(clamp(deadzone((-trackirz?0 * ! sign(abs(deadzone(trackiryaw, 0.249999)))) + (trackirz?0 * sign(abs(deadzone(trackiryaw, 0.45)))) + (abs(trackirx?0) * sign(abs(deadzone(trackiryaw, 0.2)))), (c_et_gv_inf * 0.95) * ((1 - abs(clamp(trackiryaw * 0.5, -0.125, 0.125))) * ! sign(abs(deadzone(trackiryaw, 0.224999))) + (0.875 + abs(deadzone(clamp(trackiryaw, -0.45, 0.45), 0.225) * 0.25)) * sign(abs(deadzone(trackiryaw, 0.225))))), -0.0, 1.0)) * ! cam5 * trackiron * sign(c_et_gv_inf) * ! sign(abs(deadzone(trackiryaw, (c_etwm_yawsc * 0.2)))) * c_et_xscale) + (sign(deadzone(clamp(abs(trackirx?0) + abs(trackiry?0) + abs(trackirz?0), -0.0, 1.0), 0.7)) * ! cam5 * trackiron * ! c_et_xscale * ! ((abs(sign(c_ht_roll - 2.0)) + abs(sign(c_ht_roll - 3.0))) - 1))) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * ! hmdz?0 * c_et_head) + (hmdz?0 * c_et_head)`"

AMENDED 16/02/2024
config_lines[213]: "mix lookleft `((keyboard.numslash?0 | semantical.lookleft?0) * ! c_et_head) + ((normalize(sel(c_jzbrake, sel(c_jibrake, -j_brake?0, j_brake?0), sel(c_jibrake, j_brake?1 * -0.5 + 0.5, j_brake?-1 * 0.5 + 0.5)), c_brake_dz) * (1.0 - (sign(abs(deadzone(hmdyaw, 0.5))) * ! abs(sign(c_et_yawsc - 1.19))))) + (normalize(sel(c_jzthrottle, sel(c_jithrottle, -j_throttle?0, j_throttle?0), sel(c_jithrottle, j_throttle?1 * -0.5 + 0.5, j_throttle?-1 * 0.5 + 0.5)), c_throt_dz) * sign(abs(deadzone(hmdyaw, 0.5))) * ! abs(sign(c_et_yawsc - 1.19)))) * ! c_et_yscale * c_et_xscale * ! eyeposwmz * c_et_head`"

AMENDED 16/02/2024
config_lines[214]: "mix lookright `((keyboard.nummultiply?0 | semantical.lookright?0) * ! c_et_head) + ((normalize(sel(c_jzthrottle, sel(c_jithrottle, -j_throttle?0, j_throttle?0), sel(c_jithrottle, j_throttle?1 * -0.5 + 0.5, j_throttle?-1 * 0.5 + 0.5)), c_throt_dz) * (1.0 - (sign(abs(deadzone(hmdyaw, 0.5))) * ! abs(sign(c_et_yawsc - 1.19))))) + (normalize(sel(c_jzbrake, sel(c_jibrake, -j_brake?0, j_brake?0), sel(c_jibrake, j_brake?1 * -0.5 + 0.5, j_brake?-1 * 0.5 + 0.5)), c_brake_dz) * sign(abs(deadzone(hmdyaw, 0.5))) * ! abs(sign(c_et_yawsc - 1.19)))) * ! c_et_yscale * c_et_xscale * ! eyeposwmz * c_et_head`"

NEW 16/03/2022
config_lines[229]: "mix looklranaraw `(deadzone(-sel(c_jilooklr, -j_look_lr?0, j_look_lr?0), c_lr_dz) * ! c_et_head) + (deadzone(sel(trackiron, trackiryaw, 0), 0.5) * ! sign(c_et_gv_end) * ! abs(sign(c_et_gv_ext - 0.025)) * c_et_hv_ac * c_et_head)`"

NEW 16/03/2022
config_lines[232]: "mix looklranaspd `(looklranaraw * c_jrspeed * ! c_et_head) + ((looklranaraw * pow(trackiryaw,4) * 8) * ! sign(c_et_gv_end) * ! abs(sign(c_et_gv_ext - 0.025)) * c_et_hv_ac * c_et_head)`"

AMENDED 04/04/2024
config_lines[235]: "mix lookpos1 `memory(short_press(((eyeposyaw?0 * sign(eyegazex?0)) + (((eyepause?0 | keyboard.key1?0) * cam1?0 | eyepause?0 * dbgshowhud?0 | eyeposyaw?0 * sign(eyegazey?0)) * lookpos1)) * sign(abs(trackir.device.position.yaw?0) + 1), 1000), ! lookpos1) * c_et_head`"

AMENDED 04/04/2024
config_lines[236]: "mix lookpos2 `memory(short_press(((eyepospitch?0 * sign(eyegazex?0) | eyeposyaw?0 * sign(eyegazey?0)) + (((eyepause?0 | keyboard.key1?0) * cam1?0 | eyepause?0 * dbgshowhud?0 | eyepospitch?0 * sign(eyegazey?0) | eyeposyaw?0 * sign(eyegazex?0)) * lookpos2)) * sign(abs(trackir.device.position.yaw?0) + 1), 1000), ! lookpos2) * c_et_head`"

AMENDED 04/04/2024
config_lines[237]: "mix lookpos3 `memory(short_press(((eyeposroll?0 * sign(eyegazex?0) | eyepospitch?0 * sign(eyegazey?0)) + (((eyepause?0 | keyboard.key1?0) * cam1?0 | eyepause?0 * dbgshowhud?0 | eyeposroll?0 * sign(eyegazey?0) | eyepospitch?0 * sign(eyegazex?0)) * lookpos3)) * sign(abs(trackir.device.position.yaw?0) + 1), 1000), ! lookpos3) * c_et_head`"

AMENDED 04/04/2024
config_lines[238]: "mix lookpos4 `memory(short_press(((eyeposx?0 * sign(eyegazex?0) | eyeposroll?0 * sign(eyegazey?0)) + (((eyepause?0 | keyboard.key1?0) * cam1?0 | eyepause?0 * dbgshowhud?0 | eyeposx?0 * sign(eyegazey?0) | eyeposroll?0 * sign(eyegazex?0)) * lookpos4)) * sign(abs(trackir.device.position.yaw?0) + 1), 1000), ! lookpos4) * c_et_head`"

AMENDED 04/04/2024
config_lines[239]: "mix lookpos5 `memory(short_press(((eyeposy?0 * sign(eyegazey?0) | eyeposz?0 * sign(eyegazex?0)) + (((eyepause?0 | keyboard.key1?0) * cam1?0 | eyepause?0 * dbgshowhud?0 | eyeposy?0 * sign(eyegazex?0) | eyeposz?0 * sign(eyegazey?0)) * lookpos5)) * sign(abs(trackir.device.position.yaw?0) + 1), 1000), ! lookpos5) * c_et_head`"

AMENDED 04/04/2024
config_lines[240]: "mix lookpos6 `memory(short_press(((eyeposz?0 * sign(eyegazey?0) | eyeposwmyaw?0 * sign(eyegazex?0)) + (((eyepause?0 | keyboard.key1?0) * cam1?0 | eyepause?0 * dbgshowhud?0 | eyeposz?0 * sign(eyegazex?0) | eyeposwmyaw?0 * sign(eyegazey?0)) * lookpos6)) * sign(abs(trackir.device.position.yaw?0) + 1), 1000), ! lookpos6) * c_et_head`"

AMENDED 04/04/2024
config_lines[241]: "mix lookpos7 `memory(short_press(((eyeposwmyaw?0 * sign(eyegazey?0) | eyeposwmpitc?0 * sign(eyegazex?0)) + (((eyepause?0 | keyboard.key1?0) * cam1?0 | eyepause?0 * dbgshowhud?0 | eyeposwmyaw?0 * sign(eyegazex?0) | eyeposwmpitc?0 * sign(eyegazey?0)) * lookpos7)) * sign(abs(trackir.device.position.yaw?0) + 1), 1000), ! lookpos7) * c_et_head`"

AMENDED 04/04/2024
config_lines[242]: "mix lookpos8 `memory(short_press(((eyeposwmpitc?0 * sign(eyegazey?0)) + (((eyepause?0 | keyboard.key1?0) * cam1?0 | eyepause?0 * dbgshowhud?0 | eyeposwmpitc?0 * sign(eyegazex?0)) * lookpos8)) * sign(abs(trackir.device.position.yaw?0) + 1), 1000), ! lookpos8) * c_et_head`"

AMENDED 06/06/2024
config_lines[243]: "mix lookpos9 `1 * ((20 * ! c_et_xscale * ! sign(c_etwm_yawsc)) + (35 * ! c_et_xscale * sign(c_etwm_yawsc)) + (40 * c_et_xscale) + (80 * c_et_xscale * ! c_et_yscale * eyepause?0)) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * c_et_head`"

NEW 01/07/2023
config_lines[254]: "mix hmdyaw `(((((clamp(trackiryaw, -((0.88 * ! c_et_pos) + (c_et_gv_ext * 1.98 * c_et_pos)), (0.88 * c_et_pos) + (c_et_gv_ext * 1.98 * ! c_et_pos)) * c_ht_on * sign(c_et_gv_end)) + (clamp(trackiryaw, -((0.925 + (c_et_yawsc * 0.015)) * c_et_pos) - (0.88 * ! c_et_pos), ((0.925 + (c_et_yawsc * 0.015)) * ! c_et_pos) + (0.88 * c_et_pos)) * ! c_ht_on * sign(c_et_gv_end)) + (clamp(trackiryaw, -0.99, 0.99) * ! sign(c_et_gv_end))) * c_et_yscale * ! c_et_hv_ac) + (((clamp(trackiryaw, -((0.88 * ! c_et_pos) + (c_et_gv_ext * 1.98 * c_et_pos)), (0.88 * c_et_pos) + (c_et_gv_ext * 1.98 * ! c_et_pos)) * c_ht_on * sign(c_et_gv_end) * abs(sign(c_et_gv_ext - 0.025))) + (clamp(trackiryaw, -1.0, 1.0) * sign(! c_ht_on + ! sign(c_et_gv_end) + ! abs(sign(c_et_gv_ext - 0.025))))) * c_et_yscale * c_et_hv_ac * c_et_hv_mode)) * c_et_head) + (sel(trackiron, trackiryaw, 0) * sign(! c_et_yscale + ! c_et_head))`"

AMENDED 06/06/2024
config_lines[258]: "mix hmdy `(memory(short_press((eyepause?0 * ! abs(sign(deadzone(trackirpitch, 0.29))) * abs(sign(clamp(deadzone(trackirpitch, 0.02), -1.0, 0.0))) * ((((sign(abs(deadzone(trackiryaw, 0.25))) * ! sign(abs(deadzone(trackiryaw, 0.6))) * sign(abs(clamp(trackiryaw, -((c_et_pos * ! eyeposwmy) + (! c_et_pos * eyeposwmy)), ((! c_et_pos * ! eyeposwmy) + (c_et_pos * eyeposwmy))))) * abs(sign(c_et_yawsc - 1.1))) + (! sign(abs(deadzone(trackiryaw, 0.2))) * ! abs(sign(c_et_yawsc - 1.1)))) * (sign(abs(deadzone(clamp(-msteering, -c_et_pos, ! c_et_pos), 0.04)) * ! sign(abs(deadzone(clamp(-msteering, -c_et_pos, ! c_et_pos), 0.115)))) * ! sign(abs(0.61 - c_et_zscale)) + ! sign(abs(deadzone(-msteering, (0.05 * sign(abs(clamp(msteering, -c_et_pos, ! c_et_pos)))) + (0.115 * sign(abs(clamp(-msteering, -c_et_pos, ! c_et_pos))))))) * sign(abs(0.61 - c_et_zscale)))) + (((sign(abs(deadzone(trackiryaw, 0.25))) * ! sign(abs(deadzone(trackiryaw, 0.6))) * sign(abs(clamp(trackiryaw, -((! c_et_pos * ! eyeposwmy) + (c_et_pos * eyeposwmy)), ((c_et_pos * ! eyeposwmy) + (! c_et_pos * eyeposwmy))))) * abs(sign(c_et_yawsc - 1.1))) + (! sign(abs(deadzone(trackiryaw, 0.2))) * ! abs(sign(c_et_yawsc - 1.1)))) * (sign(abs(deadzone(clamp(msteering, -c_et_pos, ! c_et_pos), 0.31 - (0.038 * ! sign(abs(0.61 - c_et_zscale))))) * ! sign(abs(deadzone(clamp(msteering, -c_et_pos, ! c_et_pos), 0.43 - (0.038 * ! sign(abs(0.61 - c_et_zscale)))))))))) * ! sign(dclutch) * ! c_et_yscale * abs(sign(c_et_gv_ext - 0.01)) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1)) + ((keyboard.key1?0 | eyepreset1?0 | eyepreset2?0 | eyepreset3?0 | eyepause?0 | mouse.button_left?0 | keyboard.esc?0) * hmdy * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1)), 5000), ! hmdy) * c_et_head)`"

NEW 11/12/2023
config_lines[259]: "mix hmdz `0 * (memory(short_press((eyepause?0 * camzoom?0 * c_et_xscale * c_et_yscale * ! sign(abs(deadzone(trackiryaw?0, 0.15)))) + ((keyboard.key1?0 | keyboard.key2?0 | keyboard.key3?0 | keyboard.key4?0 | keyboard.key6?0 | keyboard.key7?0 | keyboard.key8?0 | keyboard.key0?0) * hmdz?0), 5000), ! hmdz) * c_et_head)`"

NEW 11/12/2023
config_lines[263]: "mix eyegazex `((((sign(deadzone(lookleft?0, 0.25)) * 0.25) + (sign(deadzone(lookleft?0, 0.5)) * 0.25) + (sign(deadzone(lookleft?0, 0.75)) * 0.25) + (sign(deadzone(lookleft?0, 0.95)) * 0.25)) * abs(sign(c_et_yawsc - 1.19))) + sign(lookleft?0 * ! abs(sign(c_et_yawsc - 1.19)))) * ! c_et_yscale * c_et_xscale * c_et_head`"

NEW 11/12/2023
config_lines[264]: "mix eyegazey `((((sign(deadzone(lookright?0, 0.25)) * 0.25) + (sign(deadzone(lookright?0, 0.5)) * 0.25) + (sign(deadzone(lookright?0, 0.75)) * 0.25) + (sign(deadzone(lookright?0, 0.95)) * 0.25)) * abs(sign(c_et_yawsc - 1.19))) + sign(lookright?0 * ! abs(sign(c_et_yawsc - 1.19)))) * ! c_et_yscale * c_et_xscale * c_et_head`"

NEW 11/12/2023
config_lines[266]: "mix eyeposyaw `(sign(eyegazex?0) * lookpos2?0 | sign(eyegazey?0) * lookpos1?0) * ! c_et_yscale * ! abs(sign(c_et_yawsc - 1.19)) * c_et_head`"

NEW 11/12/2023
config_lines[267]: "mix eyepospitch `(sign(eyegazex?0) * lookpos3?0 | sign(eyegazey?0) * lookpos2?0) * ! c_et_yscale * ! abs(sign(c_et_yawsc - 1.19)) * c_et_head`"

NEW 11/12/2023
config_lines[268]: "mix eyeposroll `(sign(eyegazex?0) * lookpos4?0 | sign(eyegazey?0) * lookpos3?0) * ! c_et_yscale * ! abs(sign(c_et_yawsc - 1.19)) * c_et_head`"

NEW 11/12/2023
config_lines[269]: "mix eyeposx `(sign(eyegazex?0) * ! lookpos1?0 * ! lookpos2?0 * ! lookpos3?0 * ! lookpos4?0 * ! lookpos5?0 * ! lookpos6?0 * ! lookpos7?0 * ! lookpos8?0 | sign(eyegazey?0) * lookpos4?0) * ! c_et_yscale * ! abs(sign(c_et_yawsc - 1.19)) * c_et_head`"

NEW 11/12/2023
config_lines[270]: "mix eyeposy `(sign(eyegazey?0) * ! lookpos1?0 * ! lookpos2?0 * ! lookpos3?0 * ! lookpos4?0 * ! lookpos5?0 * ! lookpos6?0 * ! lookpos7?0 * ! lookpos8?0 | sign(eyegazex?0) * lookpos5?0) * ! c_et_yscale * ! abs(sign(c_et_yawsc - 1.19)) * c_et_head`"

NEW 11/12/2023
config_lines[271]: "mix eyeposz `(sign(eyegazey?0) * lookpos5?0 | sign(eyegazex?0) * lookpos6?0) * ! c_et_yscale * ! abs(sign(c_et_yawsc - 1.19)) * c_et_head`"

NEW 11/12/2023
config_lines[272]: "mix eyeposwmyaw `(sign(eyegazey?0) * lookpos6?0 | sign(eyegazex?0) * lookpos7?0) * ! c_et_yscale * ! abs(sign(c_et_yawsc - 1.19)) * c_et_head`"

NEW 11/12/2023
config_lines[273]: "mix eyeposwmpitc `(sign(eyegazey?0) * lookpos7?0 | sign(eyegazex?0) * lookpos8?0) * ! c_et_yscale * ! abs(sign(c_et_yawsc - 1.19)) * c_et_head`"

AMENDED 06/06/2024
config_lines[274]: "mix eyeposwmroll `memory(short_press((normalize(sel(c_jzclutch, sel(c_jiclutch, -j_clutch?0, j_clutch?0), sel(c_jiclutch, j_clutch?1 * -0.5 + 0.5, j_clutch?-1 * 0.5 + 0.5)), c_clutch_dz) * ! c_et_yscale) + ((eyepause?0 * cam1?0 | eyepreset1?0) * eyeposwmroll), 1000), ! eyeposwmroll) * c_et_head`"

AMENDED 04/04/2024
config_lines[275]: "mix eyeposwmx `1 * memory(short_press((eyepause?0 * sign(abs(deadzone(clamp(-trackiryaw?0, -c_et_pos, ! c_et_pos), 0.8))) * c_et_xscale) + (eyepause?0 * sign(abs(deadzone(clamp(trackiryaw?0, -c_et_pos, ! c_et_pos), 0.65))) * ! sign(abs(deadzone(trackiryaw?0, 0.8))) * ! c_et_xscale * ! sign(lookpos9)) + ((eyepause?0 * cam1?0 | eyepreset1?0) * eyeposwmx) * sign(abs(trackir.device.position.yaw?0) + 1), 5000), ! eyeposwmx) * ! c_et_hv_ac * c_et_head`"

NEW 16/02/2024
config_lines[276]: "mix eyeposwmy `memory(long_press(((! c_et_xscale * c_et_yscale * ! sign(deadzone(c_etwm_yawsc, 0.05)) * ! eyeposwmy) + (c_et_xscale * c_et_yscale * eyeposwmy) + (keyboard.key4?0 * eyeposwmy)), 10), ! eyeposwmy) * c_et_head`"

NEW 16/02/2024
config_lines[277]: "mix eyeposwmz `memory(short_press((((cam2 | cam3 | cam4 | cam6 | cam7 | cam8) * ! eyeposwmz) + ((cam1 | camdbg) * eyeposwmz)), 1000), ! eyeposwmz) * c_et_head`"

AMENDED 04/04/2024
config_lines[278]: "mix headtron `(((trackiron * c_et_hv_mode) + (trackiron * ! c_et_hv_mode * ! c_et_hv_ac)) * abs(sign(c_et_gv_ext - 0.01)) * abs(sign(c_et_gv_ext - 0.025)) * c_et_head) + ((sign(! sign(abs(deadzone(trackiryaw, 0.45 + (c_et_hv_end * 0.2)))) + sign(clamp(-trackiryaw, -0.0, 1.0))) * c_ht_on * ! c_et_pos) + (sign(! sign(abs(deadzone(trackiryaw, 0.45 + (c_et_hv_end * 0.2)))) + sign(clamp(trackiryaw, -0.0, 1.0))) * c_ht_on * c_et_pos) + ! c_ht_on) * trackiron * c_et_head * ! sign(c_et_gv_end) * ! abs(sign(c_et_gv_ext - 0.025)) * c_et_hv_ac | dbgfovreset?0 * ! sign(c_et_gv_end) * ! abs(sign(c_et_gv_ext - 0.025)) * c_et_head | ! c_et_head`"

AMENDED 27/09/2024
config_lines[279]: "mix headtryaw `(((((((((sign(0.5 - c_et_pos) * 10.0) + hmdyaw) * c_ht_on * sign(c_et_gv_end)) + (((sign(0.5 - c_et_pos) * 20.0) + hmdyaw) * sign(! c_ht_on + ! sign(c_et_gv_end)))) * c_et_yscale * ! c_et_hv_ac * c_et_hv_mode * ! dbgfovreset?0 * ! dbgshowhud?0) + (((sign(0.5 - c_et_pos) * 4.0) + hmdyaw + (sign(0.5 - c_et_pos) * 2.0 * abs(sign(deadzone(clamp(trackirx, -! c_et_pos, c_et_pos), 0.4))) * ! sign(c_et_gv_end)) + (sign(0.5 - c_et_pos) * 2.0 * abs(sign(deadzone(clamp(trackirx, -! c_et_pos, c_et_pos), 0.4))) * sign(c_et_gv_end) * ! c_ht_on)) * c_et_yscale * ! c_et_hv_ac * ! c_et_hv_mode * ! dbgfovreset?0 * ! dbgshowhud?0) + ((hmdyaw) * c_et_yscale * c_et_hv_ac * c_et_hv_mode * ! dbgfovreset?0 * ! dbgshowhud?0) + ((clamp((trackiryaw * c_et_yawsc) + (((0.5 - c_et_pos) + (clamp(-msteering, -0.375 * ! c_et_pos, 0.375 * c_et_pos) * 2.667)) * ! abs(sign(c_et_yawsc - 1.1))), -1.75 - (0.75 * (abs(clamp(deadzone(msteering * 2 * ! sign(dclutch?0) * ! eyepause?0, 0.1), -0.25, 0.25)) + sign(sign(dclutch?0) + (eyepause?0 * abs(deadzone(msteering, 0.04)))))), 1.75 + (0.75 * (abs(clamp(deadzone(msteering * 2 * ! sign(dclutch?0) * ! eyepause?0, 0.1), -0.25, 0.25)) + sign(sign(dclutch?0) + (eyepause?0 * abs(deadzone(msteering, 0.04))))))) + (sign(0.5 - c_et_pos) * 25.0) + (((sign(lookpos4) * 0.05) + (sign(lookpos3) * 0.1) + (sign(lookpos2) * 0.15) + (sign(lookpos1) * 0.2)) + -((sign(lookpos5) * 0.05) + (sign(lookpos6) * 0.1) + (sign(lookpos7) * 0.15) + (sign(lookpos8) * 0.2)) + ((((lookleft?0 - lookright?0) * 0.25 * ! c_et_gv_end) + ((eyegazex?0 - eyegazey?0) * 0.25 * c_et_gv_end)) * abs(sign(c_et_yawsc - 1.19)) * ! lookpos1 * ! lookpos2 * ! lookpos3 * ! lookpos4 * ! lookpos5 * ! lookpos6 * ! lookpos7 * ! lookpos8)) * sign(clutch)) * ! c_et_yscale * ! dbgshowhud?0)) * c_et_xscale) + (((sign(0.5 - c_et_pos) * -4.0 * ! c_et_hv_ac) + (clamp(sel(trackiron, trackiryaw, 0), -(c_et_gv_ext * 2), (c_et_gv_ext * 2)) * ! sign(deadzone(c_etwm_yawsc, 0.05))) + (clamp(sel(trackiron, trackiryaw, 0), -(c_et_gv_ext * 2), (c_et_gv_ext * 2)) * sign(deadzone(c_etwm_yawsc, 0.05)) * abs(deadzone(msteering, 0.99))) + (((((-0.7 * ! c_et_pos) + (0.7 * c_et_pos)) * dbgfovup?0) - (deadzone(clamp(msteering, -0.7 * ! c_et_pos, 0.7 * c_et_pos), 0.4) * 1.4 * dbgfovup?0) + (((-c_et_hv_exp + 3.0) * 0.25) * deadzone(clamp(msteering, -! c_et_pos, c_et_pos), (0.7 * dbgfovup?0) + (0.1 * dbgfovdown?0)) * sign(c_et_pos - 0.5)) * sign(0.5 - (eyeposwmx?0 * abs(sign(deadzone(c_et_yawsc - 2.5, 0.9))))) - ((abs(clamp(msteering * 5, -0.5, 0.5)) - abs(deadzone(msteering, 0.5) * 0.5)) * 0.6 * sign(c_et_pos - 0.5) * sign((eyeposwmx?0) + (! gte(abs(c_et_yawsc - 2.5), 0.5))) * dbgfovdown?0)) * sign(deadzone(c_etwm_yawsc, 0.05)))) * ! c_et_xscale * ! dbgfovreset?0 * ! dbgshowhud?0) + (((0.6 - clamp(((1 - abs(msteering)) * 2.5), -0.0, 1.1)) * sign(0.5 - c_et_pos) * c_et_yscale * dbgfovreset?0) + ((-0.5 - clamp((1 - abs(msteering)) * 2.0, -0.0, 0.2125) * 1.5) * sign(0.5 - c_et_pos) * ! c_et_yscale * dbgshowhud?0) + (((-0.5 * sign(deadzone(abs(headtry?0), 0.2125))) + ((0.5 - abs(msteering * 2.1)) * ! sign(deadzone(abs(headtry?0), 0.2125)))) * sign(0.5 - c_et_pos) * c_et_yscale * dbgshowhud?0))) * sign(c_et_gv_ext) * c_et_head) + (sel(trackiron, trackiryaw, 0) * ! c_et_head)`"

AMENDED 06/06/2024
config_lines[280]: "mix headtrpitch `(((((clamp(sel(trackiron, trackirpitch * sign(abs(c_et_gv_ext - 0.502777) * ! dbgfovreset?0 * ! dbgshowhud?0), 0), -0.5 + ((0.4 + clamp(trackirz * 0.444, -0.4, 0.0)) * ! sign(abs(c_et_pitchsc - 2.99))) - abs(pow(clamp(hmdyaw * 2, -0.8, 0.8), 2) * 0.5), 0.5) * c_et_yscale) + (((clamp(-abs(headtrx * 0.1), -0.1, 0.0) * sign(c_et_pitchsc) * sign(clamp(-hmdyaw, -0.0, 1.0)) * ! c_et_pos) + (clamp(-abs(headtrx * 0.1), -0.1, 0.0) * sign(c_et_pitchsc) * sign(clamp(hmdyaw, -0.0, 1.0)) * c_et_pos)) * c_et_yscale) + (sel(trackiron, trackirpitch, 0) * ! c_et_yscale * ! dbgshowhud?0)) * c_et_xscale) + (((clamp(sel(trackiron, trackirpitch, 0), (-0.0 - (c_etwm_pitsc * 0.085) + (-0.175 + clamp((c_etwm_pitsc - 2.5) * 0.1, -0.0, 0.25))), 1.0 ) * abs(deadzone(msteering, 0.99))) + -((abs(clamp(msteering, -0.5, 0.5)) - abs(deadzone(msteering, 0.5) * 0.5)) * 0.4 * ! sign(deadzone(c_etwm_yawsc, 0.05))) + (((((c_etwm_pitsc - 2.5) * 0.2) * abs(deadzone(clamp(msteering, -1.0, 1.0), 0.5))) + -((abs(clamp(msteering * 6, -0.5, 0.5)) - abs(deadzone(msteering * 2, 0.5) * 0.5)) * 0.6 * dbgfovdown?0)) * sign(deadzone(c_etwm_yawsc, 0.05)))) * ! c_et_xscale * ! dbgfovreset?0 * ! dbgshowhud?0) + (((clamp(-(1 - abs(msteering)), -0.2, 0.0) + (clamp(deadzone(1 - abs(msteering), 0.41), -0.0, 0.6) * 0.666)) * c_et_yscale * dbgfovreset?0) + ((0.22 - clamp((1 - abs(msteering)) * 2.0, -0.0, 0.22)) * ! c_et_yscale * dbgshowhud?0) + (clamp(abs(msteering) - 0.26, -0.0, 0.3) * 0.666 * c_et_yscale * dbgshowhud?0))) * sign(c_et_gv_ext) * c_et_head) + (sel(trackiron, trackirpitch, 0) * ! c_et_head)`"

AMENDED 04/04/2024
config_lines[281]: "mix headtrroll `(clamp(deadzone(-hmdyaw, 0.5), -0.9 * ! c_et_pos, 0.9 * c_et_pos) * (0.02 + (c_et_yawsc * 0.004)) * sign(! c_ht_on + ! sign(c_et_gv_end)) * sign(c_et_pitchsc) * c_et_xscale * c_et_yscale * c_et_hv_mode * c_et_head) + (sel(trackiron * sign((c_et_xscale * sign(c_et_hv_exp - 1)) + sign(! c_et_xscale * c_et_yscale * ! ((abs(sign(c_ht_roll - 1.0)) + abs(sign(c_ht_roll - 3.0))) - 1)) + sign(c_et_xscale * ! c_et_yscale * ! ((abs(sign(c_ht_roll - 1.0)) + abs(sign(c_ht_roll - 3.0))) - 1))), trackirroll * ((c_et_xscale * (c_et_hv_exp - 1) * 0.25) + sign(! c_et_xscale * c_et_yscale) + sign(c_et_xscale * ! c_et_yscale)), 0) * (1.0 - (((clamp(hmdyaw * 2.222, -0.0, c_ht_on) * ! c_et_pos) + (clamp(-hmdyaw * 2.222, -0.0, c_ht_on) * c_et_pos)) * ! sign(c_et_gv_end) * ! abs(sign(c_et_gv_ext - 0.025)))) * sign((c_et_xscale * sign(c_et_hv_exp - 1)) + ! c_et_yscale + (! c_et_xscale * abs(deadzone(msteering, 0.99))) + ! c_et_head)) + ((abs(clamp(msteering, -0.5, 0.5)) - abs(deadzone(msteering, 0.5) * 0.5)) * 0.3 * ! c_et_xscale * sign(0.5 - c_et_pos) * ! dbgfovreset?0 * ! dbgshowhud?0 * c_et_head)`"

AMENDED 07/07/2024
config_lines[282]: "mix headtrx `(((((((((sign(clamp(msteering, -c_et_pos, ! c_et_pos))) * abs((0.0 - (abs(deadzone(clamp(msteering * 4, -1.0, 1.0), 0.5)))) * 3.9 * (1 + (dclutch * 2.4))) - ((1.15 * (1 + (dclutch * 4))) * sign(0.5 - c_et_pos))) * ! eyeposwmy) + (((sign(clamp(msteering, -c_et_pos, ! c_et_pos))) * -abs((0.0 - (abs(deadzone(clamp(msteering * 4, -1.0, 1.0), 0.5)))) * 3.9 * (1 + (dclutch * 2.4))) + ((2.75 * (1 + (dclutch * 4))) * sign(0.5 - c_et_pos))) * eyeposwmy) + mpedals + (((clamp(sel(trackiron, -trackirx * 2, 0), -0.25 - (0.75 * (sign(-sign(msteering - 0.15) + 1.0))), (0.25 * (1.0 - (clamp(trackirpitch * 4, -0.0, 1.0) * (1.0 - abs(clamp(msteering * 20, -1.0, 1.0))) * sign(abs(1.01 - c_et_zscale))))) + (0.75 * (sign(sign(msteering - 0.2) + 1.0)))) * ! c_et_pos) + (clamp(sel(trackiron, -trackirx * 2, 0), -(0.25 * (1.0 - (clamp(trackirpitch * 4, -0.0, 1.0) * (1.0 - abs(clamp(msteering * 20, -1.0, 1.0))) * sign(abs(1.01 - c_et_zscale))))) - (0.75 * (sign(-sign(msteering + 0.2) + 1.0))), 0.25 + (0.75 * (sign(sign(msteering + 0.15) + 1.0)))) * c_et_pos)) * (1.0 - abs(clamp(deadzone(msteering * 8, 0.15), -c_et_pos, ! c_et_pos)) + abs(clamp(deadzone(msteering * 3, 0.8), -c_et_pos, ! c_et_pos))) * c_et_hv_end)) * ! c_et_yscale * ! dbgshowhud?0) + ((((0.0 + (trackiryaw * c_et_yawsc)) * ! abs(sign(deadzone(trackiryaw * c_et_yawsc, 0.499999)))) + ((1.0 - (trackiryaw * c_et_yawsc)) * sign(clamp(deadzone(trackiryaw * c_et_yawsc, 0.5), -0.0, 1.0 * c_et_yawsc))) + ((1.0 + (trackiryaw * c_et_yawsc)) * sign(clamp(deadzone(trackiryaw * c_et_yawsc, 0.5), -1.0 * c_et_yawsc, 0.0)))) * dbglockpos * dbgnextmode * 120 * ! c_et_yscale * abs(sign(c_et_yawsc - 1.1))) + ((((clamp(trackirx, -clamp(c_et_hv_res, -0.0, 0.1) + (clamp(abs(hmdyaw * 0.3), -0.0, clamp(c_et_hv_res, -0.0, 0.1))), c_et_hv_res * (1.0 - clamp(hmdyaw * 2.222, -0.0, 1.0) * sign(! c_ht_on + c_et_hv_ac) * c_et_hv_mode * sign(clamp(hmdyaw, -0.0, 1.0)))) * ! c_et_pos) + (clamp(trackirx, -c_et_hv_res * (1.0 - clamp(-hmdyaw * 2.222, -0.0, 1.0) * sign(! c_ht_on + c_et_hv_ac) * c_et_hv_mode * sign(clamp(-hmdyaw, -0.0, 1.0))), clamp(c_et_hv_res, -0.0, 0.1) - (clamp(abs(hmdyaw * 0.3), -0.0, clamp(c_et_hv_res, -0.0, 0.1)))) * c_et_pos)) * c_et_hv_mode * (! sign(c_et_pitchsc) + (abs(deadzone(clamp((-hmdyaw * (6.5 - c_et_pitchsc)) * sign(c_et_pitchsc), -c_et_pos, ! c_et_pos), 0.5))))) + (((clamp(trackirx, -0.2 * ! c_et_pos, 0.2 * c_et_pos) * abs(deadzone(clamp(hmdyaw, -c_et_pos, ! c_et_pos), 0.6)))) * sign(! c_ht_on + ! sign(c_et_gv_end)) * c_et_hv_mode) + (((clamp(deadzone(-hmdyaw, 0.5), -0.75 * ! c_et_pos, 0.75 * c_et_pos) * 0.09 * c_et_gv_end * c_ht_on) + ((abs(clamp(trackirpitch, -0.25, 0.0)) * deadzone(clamp(-hmdyaw * 3, -! c_et_pos, c_et_pos), 0.7) * (1 - abs(deadzone(hmdyaw, 0.425)))) * c_ht_on * ! camzoom * ! sign(abs(c_et_pitchsc - 2.99))) + (deadzone(clamp(-hmdyaw * 0.5, -0.3 * c_et_pos, 0.3 * ! c_et_pos), 0.09)) + ((clamp(deadzone(-hmdyaw, 0.4), -0.4 * ! c_et_pos, 0.4 * c_et_pos) * (c_et_yawsc * 0.3)) * sign(! c_ht_on + ! sign(c_et_gv_end)))) * ! c_et_hv_ac * c_et_hv_mode) + (((clamp(-hmdyaw * 0.44, -0.125 * c_et_pos, 0.125 * ! c_et_pos)) + ((((clamp(trackirx, -0.1 - (((c_et_gv_end * 0.4) + abs(deadzone(clamp(hmdyaw, -0.0, 1.0), 0.4))) * ! c_ht_on) - (c_et_gv_end * 0.4 * c_ht_on), c_et_hv_res) * ! c_et_pos) + (clamp(trackirx, -c_et_hv_res, 0.1 + (((c_et_gv_end * 0.4) + abs(deadzone(clamp(hmdyaw, -1.0, 0.0), 0.4))) * ! c_ht_on) + (c_et_gv_end * 0.4 * c_ht_on)) * c_et_pos)) * sign(c_et_gv_end)) + (clamp(trackirx, -(0.5 * ! c_et_pos + abs(clamp(deadzone(hmdyaw, 0.4), -c_et_pos, ! c_et_pos))) + (c_et_hv_res * c_et_pos), (0.5 * c_et_pos + abs(clamp(deadzone(hmdyaw, 0.4), -! c_et_pos, c_et_pos))) + (c_et_hv_res * ! c_et_pos)) * ! sign(c_et_gv_end))) * (! sign(c_et_pitchsc) + (abs(deadzone(clamp((hmdyaw * (6.5 - c_et_pitchsc)) * sign(c_et_pitchsc), -1.0, 1.0), 0.5))))) * c_et_yscale * ! c_et_hv_ac * ! c_et_hv_mode) + (((((clamp(deadzone(hmdyaw, 0.5), -(0.6 + (c_et_gv_end * 0.2)) * c_et_pos, (0.6 - (c_et_gv_end * 0.2)) * ! c_et_pos) * c_ht_on)) * sign(c_et_gv_end)) + ((clamp(deadzone(-hmdyaw, 0.4), -0.4 * ! c_et_pos, 0.4 * c_et_pos) * (c_et_yawsc * 0.1)) * sign(! c_ht_on + ! sign(c_et_gv_end)) * abs(sign(c_et_gv_ext - 0.025)))) * c_et_hv_ac * c_et_hv_mode)) * c_et_yscale * ! dbgfovreset?0) * c_et_xscale * ! dbgshowhud?0) + (((clamp(-hmdyaw * 0.5, -0.2 - (0.1 * ! c_et_pos), 0.2 + (0.1 * c_et_pos)) * ! sign(c_etwm_yawsc) * (abs(deadzone(msteering, 0.99))) * ! c_et_hv_ac) + (clamp(deadzone(hmdyaw, 0.4), -0.6 * c_et_pos, 0.6 * ! c_et_pos) * ! sign(c_etwm_yawsc) * c_et_hv_ac) + ((clamp(-msteering, -0.5 * c_et_pos, 0.5 * ! c_et_pos) - (((c_et_yawsc - 2.5) * 0.8) - (0.5 * sign(-msteering))) * deadzone(clamp(msteering, -! c_et_pos, c_et_pos), 0.5) * sign(-msteering)) * ! sign(eyeposwmx?0 * sign(deadzone(c_etwm_yawsc, 0.05)))) + ((clamp(-msteering * 2, -0.6 * c_et_pos, 0.6 * ! c_et_pos) - (deadzone(clamp(-msteering, -1.0 * c_et_pos, 1.0 * ! c_et_pos), 0.7) * 0.6)) * eyeposwmx?0 * sign(deadzone(c_etwm_yawsc, 0.05)))) * ! c_et_xscale * ! dbgfovreset?0 * ! dbgshowhud?0) + ((clamp(-(1 - abs(msteering)), -0.345 - (c_et_hv_ac * 0.15), 0.0) * sign(0.5 - c_et_pos) * c_et_yscale * dbgfovreset?0) + (-1.15 * sign(0.5 - c_et_pos) * ! c_et_yscale * dbgshowhud?0) + (-clamp(abs(msteering) - 0.2, -0.0, 0.345 + (c_et_hv_ac * 0.15)) * sign(0.5 - c_et_pos) * c_et_yscale * dbgshowhud?0))) * sign(c_et_gv_ext) * c_et_head) + (clamp(sel(trackiron, trackirx, 0), -0.1, 0.1) * ! c_et_head)`"

AMENDED 04/04/2024
config_lines[283]: "mix headtry `((((((-0.9 + clamp(trackiry, -1.0, 0.15)) * ! c_et_yscale * ! dbgshowhud?0) + (((clamp(trackiry, -clamp((c_et_gv_exp - 1.0) * 0.025, -0.0, 0.05), (c_et_gv_exp - 1.0) * 0.0375) * (1.0 - ((clamp(hmdyaw * 2.222, -0.0, c_ht_on) * ! c_et_pos) - (clamp(-hmdyaw * 2.222, -0.0, c_ht_on) * c_et_pos)) * ! sign(c_et_gv_end) * ! abs(sign(c_et_gv_ext - 0.025)) * c_et_hv_mode * c_et_hv_ac)) + ((clamp((headtrpitch * 0.333), -0.05, 0.0) * clamp(1 - abs(hmdyaw * 3), -0.0, 1.0)) * c_et_hv_mode * ! sign(abs(c_et_pitchsc - 2.99))) + (((deadzone(clamp(hmdyaw, -0.0, clamp(c_ht_on * (c_et_gv_ext * 2), -0.0, 0.9)), 0.45) * (c_et_hv_inf * 0.18) * ! c_et_pos) + (deadzone(clamp(-hmdyaw, -0.0, clamp(c_ht_on * (c_et_gv_ext * 2), -0.0, 0.9)), 0.45) * (c_et_hv_inf * 0.18) * c_et_pos)) * c_et_yscale * sign((sign(c_et_gv_end)) + (sign(c_et_gv_end) * c_et_hv_ac)))) * c_et_yscale * ! dbgfovreset?0)) * c_et_xscale * ! dbgshowhud?0) + ((((abs(clamp(msteering, -0.5, 0.5)) - (abs(deadzone(msteering, 0.5)) * 0.5)) * 0.45 * ! sign(deadzone(c_etwm_yawsc, 0.05))) + ((clamp(abs(msteering), -0.0, (0.15 + (c_etwm_yawsc * 0.04))) + (((c_et_pitchsc - 2.5) * 0.45) - ((0.15 + (c_etwm_yawsc * 0.04)) * abs(msteering))) * deadzone(clamp(abs(msteering * (1.0 + (c_et_pitchsc * 0.1))), -0.0, 1.0), 0.35 + (c_etwm_yawsc * 0.08))) * sign(deadzone(c_etwm_yawsc, 0.05)))) * ! c_et_xscale * ! dbgfovreset?0 * ! dbgshowhud?0) + ((clamp(-deadzone((1 - abs(msteering)), 0.3) * (0.55 - (0.15 * c_et_hv_ac)), -1.0, 0.0) * c_et_yscale * dbgfovreset?0) + (-0.9 * ! c_et_yscale * dbgshowhud?0) + (deadzone(-clamp(abs(msteering) * (0.8 - (0.1 * c_et_hv_ac)), -0.0, 1.0), 0.2125) * c_et_yscale * dbgshowhud?0))) * sign(c_et_gv_ext) * c_et_head) + (clamp(sel(trackiron, trackiry, 0), -0.05, 0.05) * ! c_et_head)`"

AMENDED 07/07/2024
config_lines[284]: "mix headtrz `((((((0.2 - abs(clamp(-msteering * 2, -0.25 * ! c_et_pos, 0.25 * c_et_pos) * ((14 * c_et_zscale) + (dclutch * 50 * (abs(clamp(msteering * 2, -0.375, 0.375)) - abs(deadzone(clamp(msteering * 2, -0.625, 0.625), 0.375))))) * ! c_et_yscale) + abs(deadzone(clamp(-msteering * 1.25, -! c_et_pos, c_et_pos), 0.75) * (3.75 * c_et_zscale) * ! c_et_yscale) + abs(deadzone(msteering, (0.25 * (sign(msteering - (msteering * 2) + abs(msteering))) * c_et_pos) + (0.25 * (-sign(msteering - (msteering * 2) - abs(msteering))) * ! c_et_pos)) * 28) * ! sign((sign(abs(1.01 - c_et_zscale)) + sign(abs(0.61 - c_et_zscale))) - 1)) * ! c_et_yscale * ! dbgshowhud?0) + ((((0.5 - abs(clamp(trackiryaw * c_et_yawsc, -1.0, 1.0))) * ! abs(sign(deadzone(trackiryaw * c_et_yawsc * 0.5, 0.499999)))) - ((0.5 - (abs(trackiryaw * c_et_yawsc) - 1.0)) * abs(sign(deadzone(trackiryaw * c_et_yawsc * 0.5, 0.5))))) * dbglockpos * dbgnextmode * 120 * ! c_et_yscale * abs(sign(c_et_yawsc - 1.1))) + ((clamp(headtrpitch * 3, -0.30, 0.0) * clamp(1 - abs(hmdyaw * 4), -0.0, 1.0) * c_et_hv_mode * ! sign(abs(c_et_pitchsc - 2.99))) + (((clamp(trackirz, -0.275, (0.05 * sign(abs(c_et_pitchsc - 2.99)))) * ! abs(sign(hmdyaw))) + (clamp(trackirz, (-0.275 + abs(clamp(hmdyaw * 0.6, -0.275, 0.275))) * abs(sign(clamp(hmdyaw, -c_et_pos, ! c_et_pos))), ((0.05 * sign(abs(c_et_pitchsc - 2.99))) + ((c_etwm_pitsc * 0.04) * abs(clamp(deadzone(hmdyaw * 3, 0.45), -c_et_pos, ! c_et_pos))) * (1.0 - clamp(abs(hmdyaw * 3), -0.0, 1.0)) * abs(sign(clamp(hmdyaw, -c_et_pos, ! c_et_pos))) * ! sign(abs(c_et_pitchsc - 2.99)))) * ! c_ht_on) + (clamp(trackirz, (-0.275 - abs(clamp(hmdyaw * 0.5, -0.2, 0.2))) * abs(sign(clamp(hmdyaw, -! c_et_pos, c_et_pos))), ((0.05 * sign(abs(c_et_pitchsc - 2.99))) + ((c_etwm_pitsc * 0.01) * abs(clamp(deadzone(hmdyaw * 3, 0.1), -1.0, 1.0))) * abs(sign(clamp(hmdyaw, -! c_et_pos, c_et_pos)))))) + ((clamp(trackirz, -(0.275 - abs(deadzone(clamp(hmdyaw * 0.5, -0.5 * c_et_pos, 0.5 * ! c_et_pos), 0.25))) * (1.0 - abs(deadzone(hmdyaw, 0.5))) * abs(sign(clamp(hmdyaw, -c_et_pos, ! c_et_pos))), ((0.05 * sign(abs(c_et_pitchsc - 2.99))) + ((c_etwm_pitsc * 0.04) * abs(clamp(deadzone(hmdyaw * 3, 0.45), -c_et_pos, ! c_et_pos)))) * c_et_hv_end) * c_ht_on) * (1.0 - abs(clamp(deadzone(hmdyaw * 1.25, 0.65), -c_et_pos, ! c_et_pos) * ! sign(abs(c_et_pitchsc - 2.99))))) + (-abs(deadzone(clamp(-hmdyaw * 0.66, -0.225 * c_et_pos, 0.225 * ! c_et_pos), 0.06) * ! c_et_hv_ac)) + (abs(clamp(deadzone(-hmdyaw, 0.7), -c_et_pos, ! c_et_pos) * 0.1 * ! c_et_hv_ac)) + (-abs(clamp(deadzone(hmdyaw, 0.5), -c_et_pos, ! c_et_pos) * (0.5 * c_et_hv_end) * sign(c_et_gv_end) * c_ht_on))) * c_et_hv_mode * abs(sign(c_et_gv_ext - 0.025))) + ((clamp(sel(trackiron, trackirz, 0), -0.275, 0.05) * (1.0 - abs(clamp(hmdyaw * 2.222, -c_ht_on * c_et_pos, c_ht_on * ! c_et_pos)))) * ! sign(c_et_gv_end) * ! abs(sign(c_et_gv_ext - 0.025)) * c_et_hv_mode * c_et_hv_ac) + (clamp(trackirz, -0.321 - clamp(abs(hmdyaw * 0.7), -0.0, 0.1), clamp(0.0 + abs(hmdyaw * 0.5), -0.0, (deadzone(clamp(abs(hmdyaw), -0.0, 0.12), 0.015)))) * c_ht_on + (clamp(trackirz, -0.321 + clamp(abs(hmdyaw * 0.6), -0.0, 0.021), 0.0) * ! c_ht_on) * abs(sign(deadzone(clamp(trackirx, -! c_et_pos, c_et_pos), 0.2))) + (clamp(trackirz, -0.321 - clamp(abs(hmdyaw * 0.7), -0.0, 0.1), (deadzone(clamp(abs(hmdyaw), -0.0, 0.12), 0.015))) * ! c_ht_on * ! abs(sign(deadzone(clamp(trackirx, -! c_et_pos, c_et_pos), 0.2)))) + (-abs(clamp(-hmdyaw * 0.66, -((0.2 * c_et_pos) + (0.1 * ! c_et_pos)), (0.2 * ! c_et_pos) + (0.1 * c_et_pos))))) * ! c_et_hv_ac * ! c_et_hv_mode) * c_et_yscale * (sign(abs(c_et_gv_ext - 0.502777)) * sign(abs(c_et_gv_ext - 0.505555)) * ! dbgfovreset?0)) * c_et_xscale * ! dbgshowhud?0) + ((((c_etwm_yawsc * 0.5) - abs(clamp(headtryaw, -(0.3 * ! c_et_pos) + (0.15 * c_et_pos), (0.3 * c_et_pos) + (0.15 * ! c_et_pos)) * ! sign(c_etwm_yawsc) * ! c_et_hv_ac)) * (deadzone(clamp(msteering, -! c_et_pos, c_et_pos), 0.3) * sign(c_et_pos - 0.5)) - (0.225 * (1 - abs(msteering)) * ! c_et_hv_ac)) * ! c_et_xscale * ! dbgfovreset?0 * ! dbgshowhud?0) + ((clamp(-(1 - abs(msteering)) * 0.8, -0.25, 0.0) * c_et_yscale * ! c_et_hv_ac * dbgfovreset?0) + (-clamp((abs(msteering) - 0.26) * 1.5, -0.0, 0.25) * c_et_yscale * ! c_et_hv_ac * dbgshowhud?0))) * sign(c_et_gv_ext) * c_et_head) + (clamp(sel(trackiron, trackirz, 0), -0.2, 0.05) * ! c_et_head)`"

*** Required edits continued on the next post! ***

Re: TrackIR Driving Enhancements

Posted: September 23rd, 2021, 5:16 pm
by JHTrucker
TrackIR Driving Enhancements - Controls.sii file edits (Part 2)

*** Required edits continued from the previous post! ***

AMENDED 27/10/2021
config_lines[285]: "mix headtrwmon `trackiron * sign(abs(sign(c_et_gv_ext - 0.01)) + ! c_et_head)`"

NEW 11/12/2023
config_lines[286]: "mix headtrwmyaw `sel(trackiron, trackiryaw, 0)`"

NEW 11/12/2023
config_lines[287]: "mix headtrwmpitc `sel(trackiron, trackirpitch, 0)`"

NEW 11/12/2023
config_lines[288]: "mix headtrwmroll `sel(trackiron, trackirroll, 0)`"

NEW 11/12/2023
config_lines[289]: "mix headtrwmx `clamp(sel(trackiron, trackirx, 0), -0.1, 0.1)`"

NEW 11/12/2023
config_lines[290]: "mix headtrwmy `clamp(sel(trackiron, trackiry, 0), -0.1, 0.1)`"

NEW 11/12/2023
config_lines[291]: "mix headtrwmz `clamp(sel(trackiron, trackirz, 0), -0.1, 0.1)`"

AMENDED 16/02/2024 *** Game version 1.41-1.50 ***
config_lines[295]: "mix steering `(dsteering - (pow(normalize(abs(sel(c_jisteer, -j_steer?0, j_steer?0)), c_steer_dz), (1.0 + c_steer_func * 0.5)) * sign(sel(c_jisteer, -j_steer?0, j_steer?0))) - semantical.steering?0) * sign((c_et_xscale * c_et_yscale) + eyeposwmz + ! c_et_head)`"
OR
NEW 27/09/2024 *** Game version 1.51+ ***
config_lines[295]: "mix steering `(dsteering - memory(j_steer_c?1, (pow(normalize(abs(sel(c_jisteer, -j_steer?0, j_steer?0)), c_steer_dz), (1.0 + c_steer_func * 0.5)) * sign(sel(c_jisteer, -j_steer?0, j_steer?0)))) - semantical.steering?0) * sign((c_et_xscale * c_et_yscale) + eyeposwmz + ! c_et_head)`"

AMENDED 04/04/2024
config_lines[296]: "mix msteering `((-mouse.rel_position.x?0 * c_msens) * ! c_et_head) + (-sel(c_jisteer, -j_steer?0, j_steer?0) * sign(0.5 - eyeposwmy) * ! eyeposwmz * c_et_xscale * ! dbgshowhud?0 * sign(! dbgfovreset?0 + ! c_et_yscale) * c_et_head) + (1.0 - (abs(clamp((dbgfovup) - dbgnextmode - (dbgdraw * 0.01), -1.0, 1.0)) * sign(lookpos9))) * sign(! c_et_xscale + dbgfovreset?0 + dbgshowhud?0) * sign(-0.5 + c_et_pos) * c_et_head`"

AMENDED 16/02/2024
config_lines[297]: "mix mpedals `((-mouse.rel_position.y?0 * c_msens) * ! c_et_head) + ((((((lookleft?0 * ! c_et_gv_end) + (eyegazex?0 * c_et_gv_end)) * 14 * (abs(deadzone(clamp(msteering, -! eyeposwmy, eyeposwmy), ((0.25 - (0.05 * ! sign(abs(0.61 - c_et_zscale)))) * (! c_et_pos * ! eyeposwmy | c_et_pos * eyeposwmy)) + ((0.538 - (0.063 * ! sign(abs(0.61 - c_et_zscale)))) * (c_et_pos * ! eyeposwmy | ! c_et_pos * eyeposwmy)))) + abs(deadzone(clamp(msteering, -eyeposwmy, ! eyeposwmy), ((0.4 - (0.038 * ! sign(abs(0.61 - c_et_zscale)))) * (! c_et_pos * ! eyeposwmy | c_et_pos * eyeposwmy)) + (0.1 * (c_et_pos * ! eyeposwmy | ! c_et_pos * eyeposwmy)))))) + (((lookright?0 * ! c_et_gv_end) + (eyegazey?0 * c_et_gv_end)) * 14 * (-abs(deadzone(clamp(msteering, -! eyeposwmy, eyeposwmy), (0.1 * (! c_et_pos * ! eyeposwmy | c_et_pos * eyeposwmy)) + ((0.4 - (0.038 * ! sign(abs(0.61 - c_et_zscale)))) * (c_et_pos * ! eyeposwmy | ! c_et_pos * eyeposwmy)))) + -abs(deadzone(clamp(msteering, -eyeposwmy, ! eyeposwmy), ((0.538 - (0.063 * ! sign(abs(0.61 - c_et_zscale)))) * (! c_et_pos * ! eyeposwmy | c_et_pos * eyeposwmy)) + ((0.25 - (0.05 * ! sign(abs(0.61 - c_et_zscale)))) * (c_et_pos * ! eyeposwmy | ! c_et_pos * eyeposwmy))))))) * abs(sign(c_et_yawsc - 1.19)) * ! lookpos1 * ! lookpos2 * ! lookpos3 * ! lookpos4 * ! lookpos5 * ! lookpos6 * ! lookpos7 * ! lookpos8) + (((sign(lookpos4) * 3) + (sign(lookpos3) * 6) + (sign(lookpos2) * 9) + (sign(lookpos1) * 12)) * (abs(deadzone(clamp(msteering, -! eyeposwmy, eyeposwmy), ((0.375 - (0.175 * ! sign(abs(0.61 - c_et_zscale)))) * (! c_et_pos * ! eyeposwmy | c_et_pos * eyeposwmy)) + ((0.638 - (0.188 * ! sign(abs(0.61 - c_et_zscale)))) * (c_et_pos * ! eyeposwmy | ! c_et_pos * eyeposwmy)))) + abs(deadzone(clamp(msteering, -eyeposwmy, ! eyeposwmy), ((0.418 - (0.038 * ! sign(abs(0.61 - c_et_zscale)))) * (! c_et_pos * ! eyeposwmy | c_et_pos * eyeposwmy)) + (0.1 * (c_et_pos * ! eyeposwmy | ! c_et_pos * eyeposwmy)))))) + (((sign(lookpos5) * 3) + (sign(lookpos6) * 6) + (sign(lookpos7) * 9) + (sign(lookpos8) * 12)) * (-abs(deadzone(clamp(msteering, -! eyeposwmy, eyeposwmy), (0.1 * (! c_et_pos * ! eyeposwmy | c_et_pos * eyeposwmy)) + ((0.418 - (0.038 * ! sign(abs(0.61 - c_et_zscale)))) * (c_et_pos * ! eyeposwmy | ! c_et_pos * eyeposwmy)))) + -abs(deadzone(clamp(msteering, -eyeposwmy, ! eyeposwmy), ((0.638 - (0.188 * ! sign(abs(0.61 - c_et_zscale)))) * (! c_et_pos * ! eyeposwmy | c_et_pos * eyeposwmy)) + ((0.375 - (0.175 * ! sign(abs(0.61 - c_et_zscale)))) * (c_et_pos * ! eyeposwmy | ! c_et_pos * eyeposwmy))))))) * sign(clutch) * ! c_et_yscale * ! eyeposwmz * c_et_head`"

AMENDED 16/02/2024 *** Game version 1.41-1.50 ***
config_lines[300]: "mix aforward `(normalize(sel(c_jzthrottle, sel(c_jithrottle, -j_throttle?0, j_throttle?0), sel(c_jithrottle, j_throttle?1 * -0.5 + 0.5, j_throttle?-1 * 0.5 + 0.5)), c_throt_dz) + semantical.aforward?0) * sign((c_et_xscale * c_et_yscale) + eyeposwmz + ! c_et_head)`"
OR
NEW 27/09/2024 *** Game version 1.51+ ***
config_lines[300]: "mix aforward `(memory(j_throttle_c?1, normalize(sel(c_jzthrottle, sel(c_jithrottle, -j_throttle?0, j_throttle?0), sel(c_jithrottle, j_throttle?1 * -0.5 + 0.5, j_throttle?-1 * 0.5 + 0.5)), c_throt_dz)) + semantical.aforward?0) * sign((c_et_xscale * c_et_yscale) + eyeposwmz + ! c_et_head)`"

AMENDED 16/02/2024 *** Game version 1.41-1.50 ***
config_lines[301]: "mix abackward `(normalize(sel(c_jzbrake, sel(c_jibrake, -j_brake?0, j_brake?0), sel(c_jibrake, j_brake?1 * -0.5 + 0.5, j_brake?-1 * 0.5 + 0.5)), c_brake_dz) + semantical.abackward?0) * sign((c_et_xscale * c_et_yscale) + eyeposwmz + ! c_et_head)`"
OR
NEW 27/09/2024 *** Game version 1.51+ ***
config_lines[301]: "mix abackward `(memory(j_brake_c?1, normalize(sel(c_jzbrake, sel(c_jibrake, -j_brake?0, j_brake?0), sel(c_jibrake, j_brake?1 * -0.5 + 0.5, j_brake?-1 * 0.5 + 0.5)), c_brake_dz)) + semantical.abackward?0) * sign((c_et_xscale * c_et_yscale) + eyeposwmz + ! c_et_head)`"

AMENDED 06/06/2024
config_lines[304]: "mix dclutch `((((normalize(sel(c_jzclutch, sel(c_jiclutch, -j_clutch?0, j_clutch?0), sel(c_jiclutch, j_clutch?1 * -0.5 + 0.5, j_clutch?-1 * 0.5 + 0.5)), 0.1) * 1.5 * ! c_et_gv_end) + (((sign(deadzone(normalize(sel(c_jzclutch, sel(c_jiclutch, -j_clutch?0, j_clutch?0), sel(c_jiclutch, j_clutch?1 * -0.5 + 0.5, j_clutch?-1 * 0.5 + 0.5)), 0.1), 0.25)) * 0.25) + (sign(deadzone(normalize(sel(c_jzclutch, sel(c_jiclutch, -j_clutch?0, j_clutch?0), sel(c_jiclutch, j_clutch?1 * -0.5 + 0.5, j_clutch?-1 * 0.5 + 0.5)), 0.1), 0.5)) * 0.25) + (sign(deadzone(normalize(sel(c_jzclutch, sel(c_jiclutch, -j_clutch?0, j_clutch?0), sel(c_jiclutch, j_clutch?1 * -0.5 + 0.5, j_clutch?-1 * 0.5 + 0.5)), 0.1), 0.75)) * 0.25) + (sign(deadzone(normalize(sel(c_jzclutch, sel(c_jiclutch, -j_clutch?0, j_clutch?0), sel(c_jiclutch, j_clutch?1 * -0.5 + 0.5, j_clutch?-1 * 0.5 + 0.5)), 0.1), 0.95)) * 0.25)) * c_et_gv_end)) * abs(sign(c_et_yawsc - 1.19))) + (((0.2 * dbgslowdwn * eyeposwmroll) + (0.2 * (1 - dbgspeedup) * ! eyeposwmroll)) * ! abs(sign(c_et_yawsc - 1.19)))) * ! c_et_yscale * ! eyeposwmz * c_et_head`"

AMENDED 16/02/2024 *** Game version 1.41-1.50 ***
config_lines[305]: "mix clutch `(normalize(sel(c_jzclutch, sel(c_jiclutch, -j_clutch?0, j_clutch?0), sel(c_jiclutch, j_clutch?1 * -0.5 + 0.5, j_clutch?-1 * 0.5 + 0.5)), c_clutch_dz) + semantical.clutch?0) + (! c_et_yscale * ! eyeposwmz * c_et_head)`"
OR
NEW 27/09/2024 *** Game version 1.51+ ***
config_lines[305]: "mix clutch `(memory(j_clutch_c?1, normalize(sel(c_jzclutch, sel(c_jiclutch, -j_clutch?0, j_clutch?0), sel(c_jiclutch, j_clutch?1 * -0.5 + 0.5, j_clutch?-1 * 0.5 + 0.5)), c_clutch_dz)) + semantical.clutch?0) + (! c_et_yscale * ! eyeposwmz * c_et_head)`"

AMENDED 06/06/2024
keyboard.enter?0 is game default, if you have something different then it's ok to keep it, just add the rest of the line.
config_lines[306]: "mix activate `keyboard.enter?0 | (hmdy | (! eyepause?0 * dbglockrot?0 * ! c_et_yscale) | (eyepause?0 * ! hmdy * (sign(abs(deadzone(clamp(-msteering, -c_et_pos, ! c_et_pos), 0.47))) | sign(abs(deadzone(clamp(msteering, -c_et_pos, ! c_et_pos), 0.715 - (0.038 * ! sign(abs(0.61 - c_et_zscale))))))) * ! c_et_yscale * ! dbgshowhud?0 * abs(sign(c_et_gv_ext - 0.01)) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1)) | (eyepause?0 * sign(clamp(deadzone(trackirpitch?0, 0.5 - ((c_etwm_pitsc - 2.5) * 0.2)), -0.0, 0.5)) * sign(deadzone(c_etwm_yawsc, 0.5)) * ! c_et_xscale * ! sign(abs(deadzone(trackiryaw, 0.6))) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1))) * ! eyeposwmz * c_et_head`"

AMENDED 16/02/2024
keyboard.t?0 is game default, if you have something different then it's ok to keep it, just add the rest of the line.
config_lines[313]: "mix attach `keyboard.t?0 | (eyepause?0 * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * (sign(abs(deadzone(clamp(-msteering, -c_et_pos, ! c_et_pos), 0.16)) * ! sign(abs(deadzone(clamp(-msteering, -c_et_pos, ! c_et_pos), 0.37)))) | sign(abs(deadzone(clamp(msteering, -c_et_pos, ! c_et_pos), 0.47 - (0.038 * ! sign(abs(0.61 - c_et_zscale))))) * ! sign(abs(deadzone(clamp(msteering, -c_et_pos, ! c_et_pos), 0.6 - (0.038 * ! sign(abs(0.61 - c_et_zscale)))))))) * abs(sign(deadzone(clamp(trackirpitch, -1.0, 0.0), 0.05))) * ! c_et_yscale * abs(sign(c_et_gv_ext - 0.01))) * ! eyeposwmz * c_et_head`"

AMENDED 31/10/2022
If you want to have both windows open together using only the left open button, then do this:
config_lines[339]: "mix rwinopen `(sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * lwinopen?0)`"

AMENDED 31/10/2022
If you want to have both windows close together using only the left close button, then do this:
config_lines[340]: "mix rwinclose `(sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * lwinclose?0)`"

Then just assign buttons in game for open/close left window only, otherwise assign both windows buttons in game as normal.

AMENDED 22/01/2024
keyboard.i?0 is game default, if you have something different then it's ok to keep it, just add the rest of the line.
config_lines[375]: "mix display `keyboard.i?0 | short_press(eyepause?0 * abs(sign(deadzone(clamp(trackirpitch, -1.0, 0.0), 0.01))) * (! sign(abs(deadzone(trackiryaw, 0.015)))) * c_et_xscale * c_et_yscale * abs(sign(c_et_gv_ext - 0.01)), 500) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * ! hmdx * c_et_head`"

AMENDED 22/01/2024
config_lines[377]: "mix dashmapzoom `short_press(eyepause?0 * ! abs(sign(deadzone(trackirpitch, 0.33))) * (sign(abs(deadzone(clamp(-trackiryaw, -c_et_pos, ! c_et_pos), 0.06))) * ! sign(abs(deadzone(trackiryaw, 0.275))) | sign(abs(deadzone(clamp(trackiryaw, -c_et_pos, ! c_et_pos), 0.03))) * ! sign(abs(deadzone(trackiryaw, 0.15)))) * c_et_xscale * c_et_yscale * abs(sign(c_et_gv_ext - 0.01)), 500) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * ! hmdx * c_et_head`"

AMENDED 31/10/2022
config_lines[507]: "mix headtren `(((lwinopen?0 * ! c_et_pos) + (lwinclose?0 * ! c_et_pos * ! c_ht_on) + (rwinopen?0 * c_et_pos) + (rwinclose?0 * c_et_pos * ! c_ht_on)) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * abs(sign(c_et_gv_ext - 0.025)) * c_et_head) + ((lwinclose?0 * abs(sign(trackiryaw?0 + 2)) * ! c_et_pos * ! c_ht_on) + (rwinclose?0 * abs(sign(trackiryaw?0 + 2)) * c_et_pos * ! c_ht_on) + ((lwinopen?0 * sign(deadzone(trackiryaw?0, (0.725 + (c_et_gv_res * 0.25)))) * ! c_et_pos * c_ht_on) + (rwinopen?0 * sign(deadzone(-trackiryaw?0, (0.725 + (c_et_gv_res * 0.25)))) * c_et_pos * c_ht_on)) + ((sign(deadzone(trackiryaw?0, (0.725 + (c_et_gv_res * 0.25)))) * abs(sign(deadzone(trackirpitch?0, (c_et_hv_inf * 0.5)))) * ! c_et_pos * c_ht_on) + (sign(deadzone(-trackiryaw?0, (0.725 + (c_et_gv_res * 0.25)))) * abs(sign(deadzone(trackirpitch?0, (c_et_hv_inf * 0.5)))) * c_et_pos * c_ht_on)) * sign(c_et_hv_inf)) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * ! sign(c_et_gv_end) * c_et_hv_ac * ! abs(sign(c_et_gv_ext - 0.025)) * c_et_head`"

config_lines[509]: "mix eyepause `keyboard.nummultiply?0`"

AMENDED 07/07/2024
config_lines[510]: "mix eyepreset1 `(((eyepause?0 * ! sign(lookpos9) * sign(deadzone(clamp(trackirpitch?0, -0.0, 1.0), 0.175))) * ! abs(sign(deadzone(trackiryaw, 0.7))) * ! sign(dclutch?0) * ! c_et_yscale * ((! abs(sign(deadzone(msteering?0, 0.05))) * ! eyeposwmy) | (sign(abs(deadzone(clamp(msteering, -c_et_pos, ! c_et_pos), 0.3 - (0.038 * ! sign(abs(0.61 - c_et_zscale))))) * ! sign(abs(deadzone(clamp(msteering, -c_et_pos, ! c_et_pos), 0.35 - (0.038 * ! sign(abs(0.61 - c_et_zscale))))))) * eyeposwmy)) | (long_press(dbgchngpip?0, lookpos9 * 20) * dbgshowhud?0 * ! c_et_yscale * sign(lookpos9)) | (eyepause?0 * sign(abs(deadzone(clamp(trackiryaw?0, -c_et_pos, ! c_et_pos), 0.375))) * ! sign(abs(deadzone(trackiryaw?0, 0.55))) * ! abs(sign(deadzone(trackirpitch?0, 0.125))) * ! c_et_xscale * ! sign(lookpos9)) | (eyepause?0 * ! sign(clamp(deadzone(trackirpitch?0 + ((c_etwm_pitsc - 2.5) * 0.2), 0.2), -0.0, 0.5)) * ! abs(sign(deadzone(trackiryaw?0, 0.6))) * sign(deadzone(c_etwm_yawsc, 0.5)) * ! c_et_xscale * ! sign(lookpos9)) | (dbgdraw?0 * dbgfovdown?0 * ! c_et_xscale * sign(lookpos9))) * abs(sign(c_et_gv_ext - 0.01)) * ! dbglockrot * c_et_head) + (keyboard.key1?0 * c_et_head)`"

AMENDED 04/04/2024
config_lines[511]: "mix eyepreset2 `((eyepause?0 * ! sign(lookpos9) * sign(deadzone(clamp(trackirpitch?0, -0.0, 1.0), 0.175))) * ! abs(sign(deadzone(trackiryaw, 0.7))) * ! sign(dclutch?0) * ! c_et_yscale * ((! abs(sign(deadzone(msteering?0, 0.05))) * eyeposwmy) | (sign(abs(deadzone(clamp(msteering, -c_et_pos, ! c_et_pos), 0.3 - (0.038 * ! sign(abs(0.61 - c_et_zscale))))) * ! sign(abs(deadzone(clamp(msteering, -c_et_pos, ! c_et_pos), 0.37 - (0.038 * ! sign(abs(0.61 - c_et_zscale))))))) * ! eyeposwmy)) | (eyepause?0 * ! sign(lookpos9) + (dbgfovup?0 * sign(lookpos9))) * ! hmdz?0 * sign(abs(deadzone(clamp(-trackiryaw?0, -c_et_pos, ! c_et_pos), 0.375))) * ! sign(abs(deadzone(trackiryaw?0, 0.55))) * ! abs(sign(deadzone(trackirpitch?0, 0.125))) * c_et_xscale * c_et_yscale | keyboard.key2?0) * abs(sign(c_et_gv_ext - 0.01)) * ! eyeposwmz * c_et_head`"

AMENDED 04/04/2024
config_lines[512]: "mix eyepreset3 `(((eyepause?0 * ! sign(lookpos9)) + (dbgfovup?0 * sign(lookpos9))) * ! hmdz?0 * sign(abs(deadzone(clamp(-trackiryaw?0, -c_et_pos, ! c_et_pos), 0.65)) * c_et_xscale * c_et_yscale) | eyepause?0 * ! sign(lookpos9) * sign(abs(deadzone(clamp(trackiryaw?0, -c_et_pos, ! c_et_pos), 0.65)) * ! c_et_xscale * c_et_yscale) | keyboard.key3?0) * abs(sign(c_et_gv_ext - 0.01)) * ! eyeposwmz * c_et_head`"

AMENDED 04/04/2024
config_lines[513]: "mix eyepreset4 `(sign(eyepause?0 * ! hmdz?0 * abs(sign(deadzone(clamp(trackiryaw?0, -! c_et_xscale * ! sign(deadzone(c_etwm_yawsc, 0.05)), c_et_xscale), 0.725))) * ! abs(sign(deadzone(sel(c_jisteer, -j_steer?0, j_steer?0), 0.035))) * c_et_yscale * ! sign(lookpos9)) | (dbgdraw?0 * dbgfovreset?0 * c_et_yscale * sign(lookpos9)) | (camwnd * ! eyeposwmz) | camdbg?0 * ! hmdz?0 * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * sign(deadzone(clamp(-trackiryaw?0, -0.0, 1.0), 0.375)) * ! sign(abs(deadzone(trackiryaw?0, 0.55))) * abs(sign(clamp(deadzone(trackirpitch?0, 0.3), -1.0, 0.0))) * c_et_xscale | (keyboard.key5?0 | keyboard.key6?0 | keyboard.key7?0 | keyboard.key8?0 | keyboard.key9?0 | keyboard.key0?0)) * abs(sign(c_et_gv_ext - 0.01)) * ! c_et_pos * c_et_head`"

AMENDED 04/04/2024
config_lines[514]: "mix eyepreset5 `(sign(eyepause?0 * ! hmdz?0 * abs(sign(deadzone(clamp(-trackiryaw?0, -! c_et_xscale * ! sign(deadzone(c_etwm_yawsc, 0.05)), c_et_xscale), 0.725))) * ! abs(sign(deadzone(sel(c_jisteer, -j_steer?0, j_steer?0), 0.035))) * c_et_yscale * ! sign(lookpos9)) | (dbgdraw?0 * dbgfovreset?0 * c_et_yscale * sign(lookpos9)) | (camwnd * ! eyeposwmz) | camdbg?0 * ! hmdz?0 * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * sign(deadzone(clamp(trackiryaw?0, -0.0, 1.0), 0.375)) * ! sign(abs(deadzone(trackiryaw?0, 0.55))) * abs(sign(clamp(deadzone(trackirpitch?0, 0.3), -1.0, 0.0))) * c_et_xscale | (keyboard.key5?0 | keyboard.key6?0 | keyboard.key7?0 | keyboard.key8?0 | keyboard.key9?0 | keyboard.key0?0)) * abs(sign(c_et_gv_ext - 0.01)) * c_et_pos * c_et_head`"

Close and save
TIP: Copy your TDE controls.sii file as a backup in case the game resets it. You can then use your backup, once you've fixed the problem with it, rather than having to copy/paste all lines again.

TIP: Re-open the saved control.sii file before running the game for the first time. This prevents the game resetting your controls.sii file if you made an error.
Open the console, if you see one of the above lines in red text, you need to check that line again for a typo or a bad copy/paste. Save the controls.sii file but don't close it and then run the game to check again.
Once you're happy there are no red error's you should keep the controls.sii file closed.
Here is an example of an error in line config_lines[245]: "mix headtrx `........ as indicated in the red box. The green box is how it should look when correct.
Image
Example errors in your game.log.txt file and how to fix them:
This error will prevent TDE from working all together. It's caused by missing a " from the end of one of the line edits. Be careful when copy/pasting as this error can cause the game to reset the whole file back to game defaults.
00:00:04.454 : <ERROR> [unit] File '<C:/Users/xxxx/Documents/American Truck Simulator | /home>/profiles/xxxx/controls.sii', line 519:
00:00:04.454 : <ERROR> Expecting string value, found '"'
00:00:04.454 : <ERROR> load_unit_tree() - Failed to load unit tree from file (/home/profiles/xxxx/controls.sii)

To locate the problem subtract 6 from the line number stated. For example: 519-6=513
So the error is caused by the line starting "config_lines[513]:..."
Re-copy/paste the matching "mix name..." line edit from your line 513 into your controls.sii file.

This error will allow some TDE functions to work but the TDE function associated to this line won't. The game will reset this line to game default.
00:00:04.453 : <ERROR> [inp] line "mix name...`" is malformed
Re-copy/paste the matching "mix name..." line edit into your controls.sii file.


NOTE: Don't change any key bindings in the game menu's that state "complex".
The above edits are the reason those are "complex".


Don't click 'Reset to default' at the bottom of the keys/buttons & controller menus as that will remove the TDE line edits!
You can click 'Force Feedback - Reset to defaults' if required.

=========================================================================================
Post 01 - Description - viewtopic.php?p=46457#p46457
Post 02 - General Menu Information and Usage - viewtopic.php?p=46458#p46458
Post 03 - Quick start guide - viewtopic.php?p=46459#p46459
Post 04 - Controls.sii file edits (Part 1) - viewtopic.php?p=46460#p46460
Post 05 - Controls.sii file edits (Part 2) - viewtopic.php?p=46461#p46461
Post 06 - Optional edits - viewtopic.php?p=46462#p46462
Post 07 - Cabin Camera Creator - viewtopic.php?p=46506#p46506
Post 08 - Problems & Solutions / To do list - viewtopic.php?p=46559#p46559
Post 09 - Q & A Section - viewtopic.php?p=46612#p46612
Post 10 - TrackIR Driving Enhancements - Demo videos - viewtopic.php?p=46613#p46613

Re: TrackIR Driving Enhancements

Posted: September 23rd, 2021, 5:21 pm
by JHTrucker
TrackIR Driving Enhancements - Optional edits.

You should have already applied all of the edits from posts 4 & 5 before trying these. If you don't like these and want to revert back to my originals, just re-apply the same "mix name" from posts 4 & 5.

Backup your controls.sii file first in case you break it when applying these edits!

Updated 27/09/2024 - Amended as per date highlighted items (3, 8 & 11).

====================================================================================================

What optional edits are there?
1 - Change TDE menu access key.
2 - Outside 'walking' alternatives. Amended 16/02/2024
3 - Adjust the big left/right mirrors whilst sat in the driving seat without using the F4 menu. Amended 27/09/2024
4 - Original TDE refueling - (Press & Hold). New 11/12/2023
5 - Use 'Look Action' to turn centre console 'Infotainment Display' on/off (1.46+). New 22/01/2024
6 - Toggle interior zoom on/off. New 11/12/2023
7 - Sound the horn as a reminder that your steering is not centered when you are trying to get out of your truck. Amended 20/07/2024
8 - Non-linear Brake pedal movement. Amended 27/09/2024
9 - Enable/Disable sleeper preset 'flip' function. New 16/02/2024
10 - Enable/Disable automatic animated first person movement. Amended 06/06/2024
11 - TDE Optional Sounds. Amended 27/09/2024
12 - Control Devcam with wheel/pedals/shifter etc. Amended 31/10/2022
13 - Alternate Window controls - Automated.

Note: The line numbers are different between game versions. The numbers shown are from my 1.44 version, yours may be different.
Just match the
"mix name" and paste the highlighted part into the correct line number to suit your game version.

====================================================================================================

1 - Change TDE menu access key:
config_lines[379]: "mix eyecfg `keyboard.tab?0`" <--- Example using TAB key instead of default shift+numlock

====================================================================================================

2 - Outside 'walking' alternatives:

The TDE default 'Path Select' is considered the best option to use as detailed in the first post.
But, here's a list of all possible options available that have been used during TDE development.

All outside options have full TrackIR Yaw, Pitch, Roll & Y. Steering wheel provides X (across front of truck) & Z (down sides of truck).

Key to descriptions:
Path Select = Accelerator/brake pedals select different walk paths. Clutch pedal selects offset path.
Variable Movement = Accelerator/brake/clutch pedals provide continuous variable movement towards or away from your truck/trailer(s).
Step Movement = Accelerator/brake/clutch pedals provide stepped movement towards or away from your truck/trailer(s). Easier to control.
Extra = Also enables TrackIR to provide a small amount of X movement towards or away from your truck/trailer(s).
Always Face truck = When your head is centered you'll always be facing your truck as you 'walk' around it. Look left/right when 'walking'. This might feel strange when 'walking' around the front of the truck as the view auto rotates.

These edits are for your config_local.cfg file.

Amended 16/02/2024
Walk around ATS truck (or any truck with a hood).

uset g_eye_preset_5 "g:CAM 4 RHD ATS - Path Select" <-- TDE default
uset g_eye_preset_4 "g:CAM 4 LHD ATS - Path Select" <-- TDE default
OR
uset g_eye_preset_5 "g:CAM 4 RHD ATS - Path Select Extra"
uset g_eye_preset_4 "g:CAM 4 LHD ATS - Path Select Extra"
OR
uset g_eye_preset_5 "g:CAM 4 RHD ATS - Variable Movement"
uset g_eye_preset_4 "g:CAM 4 LHD ATS - Variable Movement"
OR
uset g_eye_preset_5 "g:CAM 4 RHD ATS - Variable Movement Extra"
uset g_eye_preset_4 "g:CAM 4 LHD ATS - Variable Movement Extra"
OR
uset g_eye_preset_5 "g:CAM 4 RHD ATS - Step Movement"
uset g_eye_preset_4 "g:CAM 4 LHD ATS - Step Movement"
OR
uset g_eye_preset_5 "g:CAM 4 RHD ATS - Step Movement Extra"
uset g_eye_preset_4 "g:CAM 4 LHD ATS - Step Movement Extra"
OR
uset g_eye_preset_5 "g:CAM 4 RHD ATS - Always Face Truck"
uset g_eye_preset_4 "g:CAM 4 LHD ATS - Always Face Truck"

----------

Walk around ETS truck (or any truck that's 'cab over' style).

uset g_eye_preset_5 "g:CAM 4 RHD ETS - Path Select" <-- TDE default
uset g_eye_preset_4 "g:CAM 4 LHD ETS - Path Select" <-- TDE default
OR
uset g_eye_preset_5 "g:CAM 4 RHD ETS - Path Select Extra"
uset g_eye_preset_4 "g:CAM 4 LHD ETS - Path Select Extra"
OR
uset g_eye_preset_5 "g:CAM 4 RHD ETS - Variable Movement"
uset g_eye_preset_4 "g:CAM 4 LHD ETS - Variable Movement"
OR
uset g_eye_preset_5 "g:CAM 4 RHD ETS - Variable Movement Extra"
uset g_eye_preset_4 "g:CAM 4 LHD ETS - Variable Movement Extra"
OR
uset g_eye_preset_5 "g:CAM 4 RHD ETS - Step Movement"
uset g_eye_preset_4 "g:CAM 4 LHD ETS - Step Movement"
OR
uset g_eye_preset_5 "g:CAM 4 RHD ETS - Step Movement Extra"
uset g_eye_preset_4 "g:CAM 4 LHD ETS - Step Movement Extra"
OR
uset g_eye_preset_5 "g:CAM 4 RHD ETS - Always Face Truck"
uset g_eye_preset_4 "g:CAM 4 LHD ETS - Always Face Truck"

Note: If you drive ATS trucks (with a hood) in ETS2 then you'll need to use the ATS line edits instead to avoid 'walking' through the truck hood.

Apart from the presets marked as "TDE default" (see first post for their help info) all the other options require you to keep a constant pressure on your pedals to hold the 'walk' path in position.

If your truck and trailer(s) are not inline then you can use your real accelerator and brake pedals to adjust the walk path to suit.
Press Accelerator Pedal (A) to turn your view and the path to the right.
Press Brake Pedal (B) to turn your view and the path to the left.
Note: The view is turned to help point you in the direction the path will take.
Turn your real steering wheel as normal to 'walk' the adjusted path whilst keeping a constant pressure on the required pedal.
Image
Note: If your pedals have "dirty pots" then the movement will be jittery due to the fluctuating values coming from the pedals potentiometers. In this case, use the preset with the "Pedal stepped" option.

Use your real clutch pedal to move away from your truck and trailer (blue line) but keeping parallel with the yellow 'walk' path around your truck and trailer.
Useful if you want to stand back to take a screenshot from eye level, check external cab accessories or step to the side to 'walk' past a wide load on the trailer etc.
Image
Note: Refueling and 'look up to get back into cab' actions are disabled if the clutch pedal is pressed as you won't be next to the truck.

====================================================================================================

3 - Adjust the big left/right mirrors whilst sat in the driving seat without using the F4 menu: Amended 27/09/2024

Demo video shows: 'Action' as 'numpad multiply' & Adjust mirrors with 'numpad2/4/6/8' (down/left/right/up).

Driver seat -> Press & Hold 'Action' for +1 sec whilst looking at the near mirror -> 'Mirror Adjust Mode' enabled (slow flash F2 HUD mirrors 3 times).
Driver seat -> Adjust the mirrors, only the mirror you are looking at is moved.
Driver seat -> Quick Press 'Action' whilst looking away from the mirrors -> 'Mirror Adjust Mode' Disabled (fast flash F2 HUD mirrors 2 times).
Note 1: 'Mirror Adjust Mode' is automatically disabled after 2 minutes or if you don't look at the mirrors for at least 6 seconds.
Note 2: Some setups, multi monitor, wide fov etc can cause a problem of missing truck chassis parts in the drivers side mirror.
Fix that by changing the below to "0":
Your Profile - config_local.cfg - uset g_baked_vehicle "0" <- Default "1"

----------

What you'll need:
4 keys/buttons to adjust the mirrors (left/right/up/down), these 4 can be the same keys/buttons as used for other assignments, if required.
The setup example below is using my G27 shifter D-PAD to adjust the mirrors.
The D-PAD is also used to raise/lower suspension and raise/lower truck/trailer lift axles when 'Mirror Adjust Mode' is disabled.

Example:
joy.pov1_left?0 - Adjust mirror left or Truck lift axle up/down.
joy.pov1_right?0 - Adjust mirror right or Trailer lift axle up/down.
joy.pov1_up?0 - Adjust mirror up or Suspension up (front & rear together).
joy.pov1_down?0 - Adjust mirror down or Suspension down (front & rear together).

How it works:
Enable 'Mirror Adjust Mode' - Press & Hold Action for +1 sec whilst looking at the near mirror (F2 HUD mirrors will step slowly through their on screen positions 3 times to indicate you have enabled 'Mirror Adjust Mode').
Press D-PAD left/right/up/down whilst looking at the mirror you want to adjust, any other actions assigned to the D-PAD are disabled.
Disable 'Mirror Adjust Mode' - Quick Press Action whilst NOT looking at the near mirror (F2 HUD mirrors will step faster through their on screen positions 2 times to indicate you have disabled 'Mirror Adjust Mode') or it will also disable (without flashing F2 mirrors) if you move from the drivers seat, press 'Action', press ESC to access desktop options or press F4 to access the 'Vehicle adjustments menu' (Mirrors/Lights/Seat position).
Note 1: 'Mirror Adjust Mode' will auto disable itself after 2 minutes of being enabled or if you look straight ahead for more than 6 seconds (F2 HUD mirrors will step faster through their on screen positions 2 times). This is to prevent it from being left enabled, in case you also have other actions assigned to the same adjustment keys/buttons.
Note 2: Your preferred F2 mirror positions, on or off, will be kept.

Line edits:
Amended 27/09/2024
config_lines[257]: "mix hmdx `memory(long_press((eyepause?0 * sign(abs(deadzone(clamp(trackiryaw, -c_et_pos, ! c_et_pos), 0.1))) * ! sign(abs(deadzone(trackiryaw, 0.35))) * ! sign(abs(deadzone(trackirpitch?0, 0.1))) * c_et_xscale * c_et_yscale * ! hmdx) + (((eyepause?0 * ! (sign(abs(deadzone(clamp(trackiryaw, -c_et_pos, ! c_et_pos), 0.1))) * ! sign(abs(deadzone(trackiryaw, 0.35))) * ! sign(abs(deadzone(trackirpitch?0, 0.1)))) * c_et_xscale * c_et_yscale) | (keyboard.esc?0 | keyboard.f4?0 | eyepreset2?0 | eyepreset3?0 | eyepreset4?0 | eyepreset5?0 | (long_press(hmdx?0, 120000)) | (long_press(! sign(abs(deadzone(trackiryaw, 0.05))), 6000)))) * hmdx), 1000 - (999 * hmdx)), ! hmdx) * c_et_head`"

New 27/09/2024
F2 HUD mirrors used to indicate you have enabled/disabled 'Mirror Adjust Mode'.
keyboard.f2?0 is game default, if you have something different then it's ok to keep it, just add the rest of the line.
config_lines[364]: "mix showmirrors `keyboard.f2?0 | (((long_press(hmdx, 200) - long_press(hmdx, 300) + long_press(hmdx, 500) - long_press(hmdx, 600) + long_press(hmdx, 800) - long_press(hmdx, 900) + long_press(hmdx, 1100) - long_press(hmdx, 1200) + long_press(hmdx, 1400) - long_press(hmdx, 1500) + long_press(hmdx, 1700) - long_press(hmdx, 1800) + long_press(hmdx, 2000) - long_press(hmdx, 2100) + long_press(hmdx, 2300) - long_press(hmdx, 2400) + long_press(hmdx, 2600) - long_press(hmdx, 2700) + long_press(hmdx, 2900) - long_press(hmdx, 3000) + long_press(hmdx, 3200) - long_press(hmdx, 3300) + long_press(hmdx, 3500) - long_press(hmdx, 3600)) + ((long_press(! hmdx, 100) - long_press(! hmdx, 150) + long_press(! hmdx, 250) - long_press(! hmdx, 300) + long_press(! hmdx, 400) - long_press(! hmdx, 450) + long_press(! hmdx, 550) - long_press(! hmdx, 600) + long_press(! hmdx, 700) - long_press(! hmdx, 750) + long_press(! hmdx, 850) - long_press(! hmdx, 900) + long_press(! hmdx, 1000) - long_press(! hmdx, 1050) + long_press(! hmdx, 1150) - long_press(! hmdx, 1200)) * c_et_xscale * c_et_yscale * ! dbgfovreset)) * c_et_head)`"

config_lines[414]: "mix cmirrorsel `hmdx?0 * sign(abs(deadzone(clamp(trackiryaw, -c_et_pos, ! c_et_pos), 0.05)))`"
config_lines[415]: "mix fmirrorsel `hmdx?0 * sign(abs(deadzone(clamp(-trackiryaw, -c_et_pos, ! c_et_pos), 0.1)))`"

config_lines[416]: "mix mirroryawl `joy.pov1_left?0 * hmdx?0`"
config_lines[417]: "mix mirroryawr `joy.pov1_right?0 * hmdx?0`"
config_lines[418]: "mix mirrorpitu `joy.pov1_up?0 * hmdx?0`"
config_lines[419]: "mix mirrorpitl `joy.pov1_down?0 * hmdx?0`"

Now prevent the existing use of joy.pov1_left?0 / joy.pov1_right?0 / joy.pov1_up?0 / joy.pov1_down?0 from operating when adjusting mirrors by adding '* ! hmdx?0' to all lines that contain them.
Note: If you're using new keys/buttons that haven't been assigned to other functions, then you don't need to do the below.

Example only: Front and rear suspension adjust up/down at the same time:
config_lines[313]: "mix frontsuspup `joy.pov1_up?0 * ! hmdx?0`"
config_lines[314]: "mix frontsuspdwn `joy.pov1_down?0 * ! hmdx?0`"
config_lines[315]: "mix rearsuspup `frontsuspup?0`"
config_lines[316]: "mix rearsuspdwn `frontsuspdwn?0`"

Example only: Truck lift axle up/down:
config_lines[335]: "mix liftaxle `joy.pov1_left?0 * ! hmdx?0`"

Example only: Trailer lift axle up/down:
config_lines[336]: "mix liftaxlet `joy.pov1_right?0 * ! hmdx?0`"

With the above examples, suspension & lift axles will go up & down when pressing the D-Pad, as normal, but only when 'Mirror Adjust Mode' is disabled.

New 27/09/2024
Note 1: Originally the way to indicate that 'Mirror Adjust Mode' was enabled was to use the lighthorn, you should now remove that lighthorn line edit if you used this prior to the 27/09/2024 update.
config_lines[279]: "mix lighthorn ``" <-- Or assign a lighthorn button in game as required.
Note 2: You can now use, if required, 'TDE Optional Sounds #2 & #3' as they make use of the lighthorn.

----------

OPTIONAL - Reset the mirrors to their default position.
Examples:
Use a new key/button.
With 'Mirror Adjust Mode' enabled - Look at left or right mirror - Press 'R' to reset that mirrors position.
keyboard.r?0 is my example only, replace as required with your preferred key/button.
config_lines[420]: "mix mirrorreset `keyboard.r?0 * (cmirrorsel?0 | fmirrorsel?0)`"
OR
Use light modes toggle key/button to avoid assigning another key/button.
With 'Mirror Adjust Mode' enabled - Look at left or right mirror - Press 'L' to reset that mirrors position.
keyboard.l?0 is game default, if you have something different then it's ok to keep it, just add the rest of the line.
config_lines[354]: "mix light `keyboard.l?0 * ! hmdx?0`"
config_lines[420]: "mix mirrorreset `keyboard.l?0 * (cmirrorsel?0 | fmirrorsel?0)`"
Note: Your lights won't change when 'Mirror Adjust Mode' is enabled. Your lights will function as normal when 'Mirror Adjust Mode' is disabled.
OR
Use the horn instead, if you have it already assigned.
With 'Mirror Adjust Mode' enabled - Look at left or right mirror - Press 'Horn' to reset that mirrors position (the horn will sound at the same time).
config_lines[420]: "mix mirrorreset `horn?0 * (cmirrorsel?0 | fmirrorsel?0)`"

====================================================================================================

4 - Original TDE refueling (Press & Hold): New 11/12/2023

Stand in the fuel tank trigger zone and press & hold 'Action'. Refueling will stop if you 'walk' out of the trigger zone or stop pressing 'Action'.

config_lines[258]: "mix hmdy `(eyepause?0 * (sign(abs(deadzone(clamp(-msteering, -c_et_pos, ! c_et_pos), 0.04)) * ! sign(abs(deadzone(clamp(-msteering, -c_et_pos, ! c_et_pos), 0.115)))) | sign(abs(deadzone(clamp(msteering, -c_et_pos, ! c_et_pos), 0.35 - (0.038 * ! sign(abs(0.61 - c_et_zscale))))) * ! sign(abs(deadzone(clamp(msteering, -c_et_pos, ! c_et_pos), 0.43 - (0.038 * ! sign(abs(0.61 - c_et_zscale)))))))) * ! sign(dclutch) * ! c_et_yscale * abs(sign(c_et_gv_ext - 0.01)) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1)) * c_et_head`"
Image
Note 1: Not all fuel tanks are in the 'yellow' trigger zone - Expanding the trigger zone would cause possible 'activation' when exiting or entering the truck.
Note 2: For best results, use the new (TDE default) refuel toggle option instead, replace above line with the same one shown is post 4.

====================================================================================================

5 - Use 'Look Action' to turn centre console 'Infotainment Display' on/off (1.46+): New 22/01/2024

In drivers seat - Look to centre console GPS and press & hold 'Action' button for +1 sec to turn it on/off.

config_lines[386]: "mix infotainment `long_press(eyepause?0 * ! abs(sign(deadzone(trackirpitch, 0.33))) * (sign(abs(deadzone(clamp(-trackiryaw, -c_et_pos, ! c_et_pos), 0.06))) * ! sign(abs(deadzone(trackiryaw, 0.275)))) * c_et_xscale * c_et_yscale * abs(sign(c_et_gv_ext - 0.01)), 1200) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * ! hmdx * c_et_head`"

Demo video available - see post 10 viewtopic.php?p=46613#p46613

====================================================================================================

6 - Toggle interior zoom on/off: New 11/12/2023

config_lines[259]: "mix hmdz `1 * (memory... <-- Head zoom toggle mode on
On (1) - In the drivers seat look straight ahead and lean forward to trigger head zoom - Quick press 'Action' - You can now lean back and the view will remain zoomed in whilst you look around - Look straight ahead and quick press 'Action' again to turn off 'always zoomed in'.

config_lines[259]: "mix hmdz `0 * (memory... <-- Head zoom toggle mode off (TDE default)
Off (0) - Head zoom only activates based on your TDE menu settings.

Note: When 'Head Zoom' is toggled on changing from driving seat to passenger seat to sleeper or outside is disabled as this would be a disaster whilst driving!

====================================================================================================

7 - Sound the horn as a reminder that your steering is not centered when you are trying to get out of your truck: Amended 20/07/2024

Driver seat -> Centre real steering wheel -> Look over your shoulder to outside (window open or closed) -> Press 'Action' -> Outside.

keyboard.h?0 is game default, if you have something different then it's ok to keep it, just add the rest of the line.
config_lines[319]: "mix horn `keyboard.h?0 | sign(eyepause?0 * abs(sign(deadzone(clamp(trackiryaw?0, -c_et_pos, ! c_et_pos), 0.725))) * abs(sign(deadzone(sel(c_jisteer, -j_steer?0, j_steer?0), 0.036))) * c_et_xscale * c_et_yscale) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * c_et_head`"

If you don't use the horn and don't want it assigned then just remove keyboard.h?0 | from the start of the above line.

Note: This won't work if you choose to use 'TDE Optional sounds #1 or #2'. It will work with 'TDE Optional sounds #3'.

====================================================================================================

8 - Non-linear Brake pedal movement: Amended 27/09/2024
This gives a more progressive brake pedal feel, rather than the default linear motion, whilst still having maximum braking force when you fully press your brake pedal. This doesn't affect the 'Braking intensity' menu slider, although you may want to adjust it.
Image
With 'Option 1 or 2' you won't have the default 'instant brakes' when you lightly press your brake pedal, you'll therefore need to press your brake pedal further down for the same required braking force.

Progressive brake pedal - Option 1:
*** Game version 1.41-1.50 ***
config_lines[301]: "mix abackward `abs(pow(normalize(sel(c_jzbrake, sel(c_jibrake, -j_brake?0, j_brake?0), sel(c_jibrake, j_brake?1 * -0.5 + 0.5, j_brake?-1 * 0.5 + 0.5)), c_brake_dz), 2) + semantical.abackward?0) * sign((c_et_xscale * c_et_yscale) + eyeposwmz + ! c_et_head)`"
OR
*** Game version 1.51+ ***
config_lines[301]: "mix abackward `(memory(j_brake_c?1, abs(pow(normalize(sel(c_jzbrake, sel(c_jibrake, -j_brake?0, j_brake?0), sel(c_jibrake, j_brake?1 * -0.5 + 0.5, j_brake?-1 * 0.5 + 0.5)), c_brake_dz), 2))) + semantical.abackward?0) * sign((c_et_xscale * c_et_yscale) + eyeposwmz + ! c_et_head)`"

Progressive brake pedal - Option 2:
*** Game version 1.41-1.50 ***
config_lines[301]: "mix abackward `abs(pow(normalize(sel(c_jzbrake, sel(c_jibrake, -j_brake?0, j_brake?0), sel(c_jibrake, j_brake?1 * -0.5 + 0.5, j_brake?-1 * 0.5 + 0.5)), c_brake_dz), 3) + semantical.abackward?0) * sign((c_et_xscale * c_et_yscale) + eyeposwmz + ! c_et_head)`"
OR
*** Game version 1.51+ ***
config_lines[301]: "mix abackward `(memory(j_brake_c?1, abs(pow(normalize(sel(c_jzbrake, sel(c_jibrake, -j_brake?0, j_brake?0), sel(c_jibrake, j_brake?1 * -0.5 + 0.5, j_brake?-1 * 0.5 + 0.5)), c_brake_dz), 3))) + semantical.abackward?0) * sign((c_et_xscale * c_et_yscale) + eyeposwmz + ! c_et_head)`"

Progressive brake pedal - Option 3 (not shown on graph, its just more progressive than 2):
*** Game version 1.41-1.50 ***
config_lines[301]: "mix abackward `abs(pow(normalize(sel(c_jzbrake, sel(c_jibrake, -j_brake?0, j_brake?0), sel(c_jibrake, j_brake?1 * -0.5 + 0.5, j_brake?-1 * 0.5 + 0.5)), c_brake_dz), 4) + semantical.abackward?0) * sign((c_et_xscale * c_et_yscale) + eyeposwmz + ! c_et_head)`"
OR
*** Game version 1.51+ ***
config_lines[301]: "mix abackward `(memory(j_brake_c?1, abs(pow(normalize(sel(c_jzbrake, sel(c_jibrake, -j_brake?0, j_brake?0), sel(c_jibrake, j_brake?1 * -0.5 + 0.5, j_brake?-1 * 0.5 + 0.5)), c_brake_dz), 4))) + semantical.abackward?0) * sign((c_et_xscale * c_et_yscale) + eyeposwmz + ! c_et_head)`"

If you don't like these, just re-apply the same line edit from post 5.

====================================================================================================

9 - Enable/Disable sleeper preset 'flip' function: New 16/02/2024

config_lines[275]: "mix eyeposwmx `1 * memory... <-- TDE default - 'Flip' function on.
From drivers seat -> Look behind passenger seat and press 'Action' -> Laid down with head behind passenger seat and feet behind drivers seat.
From drivers seat -> Look further behind you and press 'Action' -> Laid down with head behind drivers seat and feet behind passenger seat.

config_lines[275]: "mix eyeposwmx `0 * memory... <-- 'Flip' function off.
From drivers seat -> Look towards sleeper area and press 'Action' -> You'll be positioned exactly where your sleeper preset was created to be.

Note 1: This 'flip' function requires a qualifying sleeper preset. See post 7 'TDE - Cabin Camera Creator' for more info.
Note 2: When using a non-qualifying sleeper preset, you'll always be positioned exactly where your sleeper preset was created to be, regardless of 'flip' Enable/Disable setting.

====================================================================================================

10 - Enable/Disable automatic animated first person movement: Amended 06/06/2024

There's 2 modes to choose from, 'Switch To' or 'Move To' (TDE default):
config_lines[243]: "mix lookpos9 "mix lookpos9 `1 * ((20 * ! c_et_xscale * ! sign(c_etwm_yawsc)) + (35 * ! c_et_xscale * sign(c_etwm_yawsc)) + (40 * c_et_xscale) + (80 * c_et_xscale * ! c_et_yscale * eyepause?0)) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1) * c_et_head`"

Change 0 * (... for 'Switch to' mode - Instant movement.
Change 1 * (... for 'Move to' mode (TDE Default) - Animated movement when using 'Look Action'.

20 = (2.0 seconds) Driver seat to passenger seat.
35 = (3.5 seconds) Driver seat to sleeper area.
40 = (4.0 seconds) Driver seat to outside.
80 = (8.0 seconds) Outside when 'walking' to service or showroom. The speed here is actually a comnination of 40 + 80 = 12 seconds max.

Speed up or slow down the animation movement by changing (20/35/40/80) to a value that suits you.

Note 1: Changing any of these (20/35/40/80) to 0 will disable it's 'move to' animation and set it to be 'switch to' mode only, leaving the non-zero others as 'move to'.
Note 2: Pressing 1, 2, 3 or 4 will always be instant movement, regardless of the above settings.

====================================================================================================

11 - TDE Optional Sounds: Amended 27/09/2024

These optional mods & required line edits re-purposes the trucks horn, air horn & light horn as required, so their new sounds can be triggered to play by the TDE code.
Using your trucks indicators and hazard lights, in a timely manner, is all you need to let the traffic know what you are going to do.

*** These may not work as intended if you already use sound mods ***
*** They may work if other sound mods are placed below TDE sound mods ***
*** Watch the demo video to hear what sounds to expect ***

There's 3 mods and associated line edits to choose from, only use one at a time.
Note 1: Choose the mod based on what horns you like to keep using as a horn, if any.
Note 2: There's 2 versions of each mod, Male & Female, use the correct one to match with your in game character.

New 08/08/2024
Download TDE Optional Sounds.zip --> https://mega.nz/file/394mXa4b#psRooOYPL ... 0vOg2fMeWI
Note 1: The above download contains all 3 mod options, #1, #2 & #3.
Note 2: Place your chosen mod below the main TDE mod you are using in the mod manager.

#1 - Supported trucks - Only the trucks light horn can still be used. Amended 27/09/2024
'Creak' of drivers door when getting in/out of the truck.
'Gasp' when moving to/from drivers seat.
'Yawn' when moving into the sleeper area.
'Quick creak' (supported) or 'Quick horn' (unsupported) if you try to exit your truck whilst the steering isn't centered.
Note: 'Yawn' & 'Gasp' require supported trucks that you own equipped with an air horn, quick job trucks may not work (no yawn) if they don't have an air horn fitted.

config_lines[277]: "mix horn `((sign((dbgfovreset?0 * sign(long_press(dbgchngpip?0, lookpos9 * 20)) * ! sign(long_press(dbgchngpip?0, (lookpos9 * 20) + 720))) + (dbgshowhud?0 * sign(long_press(dbgchngpip?0, lookpos9 * 10)) * ! sign(long_press(dbgchngpip?0, (lookpos9 * 10) + 720)))) * gte(lookpos9, 10) * ! dbgmacrolo) + (sign(eyepause?0 * ! long_press(eyepause?0, 200) * abs(sign(deadzone(clamp(trackiryaw?0, -c_et_pos, ! c_et_pos), 0.725))) * abs(sign(deadzone(sel(c_jisteer, -j_steer?0, j_steer?0), 0.036))) * c_et_xscale * c_et_yscale) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1))) * c_et_head`"

config_lines[278]: "mix airhorn `sign((dbgfovreset?0 * sign(long_press(dbgchngpip?0, lookpos9 * 5)) * ! sign(long_press(dbgchngpip?0, (lookpos9 * 5) + 200))) + (dbgfovreset?0 * sign(long_press(dbgchngpip?0, (lookpos9 * 100) - 200)) * gte(lookpos9, 25)) + (dbgshowhud?0 * sign(long_press(dbgchngpip?0, lookpos9 * 28)) * ! sign(long_press(dbgchngpip?0, (lookpos9 * 28) + 200))) + (dbgshowhud?0 * sign(long_press(dbgchngpip?0, lookpos9 * 70)) * ! sign(long_press(dbgchngpip?0, (lookpos9 * 70) + 200)) * gte(lookpos9, 25)) + (dbgfovup?0 * ! sign(deadzone(c_etwm_yawsc, 0.5)) * sign(long_press(dbgchngpip?0, 1)) * ! sign(long_press(dbgchngpip?0, 200))) + (dbgfovup?0 * ! sign(deadzone(c_etwm_yawsc, 0.5)) * sign(long_press(dbgchngpip?0, (lookpos9 * 100) - 200)) * ! sign(long_press(dbgchngpip?0, lookpos9 * 100))) + (dbgfovup?0 * sign(deadzone(c_etwm_yawsc, 0.5)) * sign(long_press(dbgchngpip?0, 1))) + (dbgfovdown?0 * sign(long_press(dbgchngpip?0, 1)) * ! sign(long_press(dbgchngpip?0, 200))) + (dbgfovdown?0 * sign(long_press(dbgchngpip?0, (lookpos9 * 100) - 200)) * ! c_et_xscale * c_et_yscale)) * gte(lookpos9, 15) * ! dbgmacrolo * c_et_head`"

config_lines[279]: "mix lighthorn ``" <-- Or assign a light horn button in game as required.

----------

#2 - Supported trucks - Only the trucks air horn can still be used. Amended 27/09/2024
'Creak' of drivers door when getting in/out of the truck.
'Yawn' when moving into the sleeper area.
'Quick creak' (supported) or 'Quick horn' (unsupported) if you try to exit your truck whilst the steering isn't centered.

config_lines[277]: "mix horn `((sign((dbgfovreset?0 * sign(long_press(dbgchngpip?0, lookpos9 * 20)) * ! sign(long_press(dbgchngpip?0, (lookpos9 * 20) + 720))) + (dbgshowhud?0 * sign(long_press(dbgchngpip?0, lookpos9 * 10)) * ! sign(long_press(dbgchngpip?0, (lookpos9 * 10) + 720)))) * gte(lookpos9, 10) * ! dbgmacrolo) + (sign(eyepause?0 * ! long_press(eyepause?0, 200) * abs(sign(deadzone(clamp(trackiryaw?0, -c_et_pos, ! c_et_pos), 0.725))) * abs(sign(deadzone(sel(c_jisteer, -j_steer?0, j_steer?0), 0.036))) * c_et_xscale * c_et_yscale) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1))) * c_et_head`"

config_lines[278]: "mix airhorn ``" <-- Or assign an air horn button in game as required.

config_lines[279]: "mix lighthorn `sign((dbgfovup?0 * sign(deadzone(c_etwm_yawsc, 0.5)) * sign(long_press(dbgchngpip?0, 200)) * ! sign(long_press(dbgchngpip?0, 300)))) * gte(lookpos9, 15) * c_et_head`"

----------

#3 - For all trucks, supported or unsupported - The trucks horn & air horn can still be used. Amended 27/09/2024
'Yawn' when moving into the sleeper area.

config_lines[277]: "mix horn ``" <-- Or assign a horn button in game as required.

config_lines[278]: "mix airhorn ``" <-- Or assign an air horn button in game as required.

config_lines[279]: "mix lighthorn `sign((dbgfovup?0 * sign(deadzone(c_etwm_yawsc, 0.5)) * sign(long_press(dbgchngpip?0, 200)) * ! sign(long_press(dbgchngpip?0, 300)))) * gte(lookpos9, 15) * c_et_head`"

====================================================================================================

12 - Control Devcam with your wheel/pedals/shifter etc (Line numbers from game version 1.43): New 22/04/2022

Steering Wheel = Devcam look left/right
Accelerator Pedal = Devcam move forwards
Brake Pedal = Devcam move backwards
H-Shifter 3rd = Devcam pitch down
H-Shifter 4th = Devcam pitch up
H-Shifter 1st = Devcam move left
H-Shifter 5th = Devcam move right
If you don't have a H-Shifter then you can assign a joystick or use wheel buttons/D-Pad instead.

Note 1: You need to edit your global config.cfg file to enable Devcam usage, otherwise none of the below edits will work.
uset g_developer "1"

Note 2: When DEVCAM is used your truck steering/accelerator/brake/clutch functions are disabled, otherwise your truck would drive around as you move the DEVCAM.

Throttle pedal = Devcam move forwards
config_lines[181]: "mix dbgfwd `keyboard.num8?0 | (normalize(sel(c_jzthrottle, sel(c_jithrottle, -j_throttle?0, j_throttle?0), sel(c_jithrottle, j_throttle?1 * -0.5 + 0.5, j_throttle?-1 * 0.5 + 0.5)), c_throt_dz) + semantical.aforward?0) * ! c_et_yscale * ! sign(abs(steering?0)) * ! sign(aforward?0) * ! sign(abackward?0) * sign(clutch?0)`"

Brake pedal = Devcam move backwards
config_lines[182]: "mix dbgback `keyboard.num5?0 | (normalize(sel(c_jzbrake, sel(c_jibrake, -j_brake?0, j_brake?0), sel(c_jibrake, j_brake?1 * -0.5 + 0.5, j_brake?-1 * 0.5 + 0.5)), c_brake_dz) + semantical.abackward?0) * ! c_et_yscale * ! sign(abs(steering?0)) * ! sign(aforward?0) * ! sign(abackward?0) * sign(clutch?0)`"

H-Shifter Gear 1st = Devcam move left
config_lines[183]: "mix dbgleft `keyboard.num4?0 | (-mouse.rel_position.x?0 + (gear2?0 * ! c_et_yscale * ! sign(abs(steering?0)) * ! sign(aforward?0) * ! sign(abackward?0) * sign(clutch?0)))`"

H-Shifter Gear 5th = Devcam move right
config_lines[184]: "mix dbgright `keyboard.num6?0 | (-mouse.rel_position.x?0 + (gear6?0 * ! c_et_yscale * ! sign(abs(steering?0)) * ! sign(aforward?0) * ! sign(abackward?0) * sign(clutch?0)))`"

Use your left indicator or any gamepad/joystick button to speed up. Mouse wheel can still be used.
Replace joy.b5?0 (left flappy paddle on G27 wheel) with your preferred button.
config_lines[203]: "mix camzoomin `mouse.wheel_up?0 | joy.b5?0 * ! c_et_yscale * ! sign(abs(steering?0)) * ! sign(aforward?0) * ! sign(abackward?0) * sign(clutch?0) | semantical.camzoomin?0`"

Use your right indicator or any gamepad/joystick button to slow down. Mouse wheel can still be used.
Replace joy.b6?0 (right flappy paddle on G27 wheel) with your preferred button.
config_lines[204]: "mix camzoomout `mouse.wheel_down?0 | joy.b6?0 * ! c_et_yscale * ! sign(abs(steering?0)) * ! sign(aforward?0) * ! sign(abackward?0) * sign(clutch?0) | semantical.camzoomout?0`"

Steering Wheel = Devcam look left/right
You can change '2' to adjust the speed of look left/right turning.
config_lines[215]: "mix camuilr `(-mouse.rel_position.x?0 * c_msens) + ((dsteering - (pow(normalize(abs(sel(c_jisteer, -j_steer?0, j_steer?0)), c_steer_dz), (1.0 + c_steer_func * 0.5)) * sign(sel(c_jisteer, -j_steer?0, j_steer?0))) - semantical.steering?0) * ! c_et_yscale * ! sign(abs(steering?0)) * ! sign(aforward?0) * ! sign(abackward?0) * sign(clutch?0) * 2)`"

H-Shifter Gear 3rd / 4th = Devcam look up/down
You can change '1' to adjust the speed of look up/down movement.
4th (pull gearstick towards you) Pitch up - 3rd (push gearstick away) Pitch down - Aeroplane mode
config_lines[216]: "mix camuiud `(-mouse.rel_position.y?0 * sel(c_minvert, -c_msens, c_msens)) + ((gear5?0 - gear4?0) * ! c_et_yscale * ! sign(abs(steering?0)) * ! sign(aforward?0) * ! sign(abackward?0) * sign(clutch?0) * 1)`"

Note 1: My G27 H-Shifter - gear2?0 = 1st : gear4?0 = 3rd : gear5?0 = 4th : gear6?0 = 5th
Note 2: This won't change how your gears work, it's just using the H-Shifter as a 6 way selector switch and so you may have to change gear2?0 / gear4?0 / gear5?0 / gear6?0 to suit your particular shifter setup.

--------------------

If you don't have a H-Shifter use a Joystick up/down/left/right (assign to both look axis in controls menu) = Devcam look up/down & move left/right.

Joystick left = Devcam move left
config_lines[183]: "mix dbgleft `keyboard.num4?0 | (deadzone(-sel(c_jilooklr, -j_look_lr?0, j_look_lr?0), c_lr_dz) * ! c_et_yscale * ! sign(abs(steering?0)) * ! sign(aforward?0) * ! sign(abackward?0) * sign(clutch?0))`"

Joystick right = Devcam move right
config_lines[184]: "mix dbgright `keyboard.num6?0 | (deadzone(sel(c_jilooklr, -j_look_lr?0, j_look_lr?0), c_lr_dz) * ! c_et_yscale * ! sign(abs(steering?0)) * ! sign(aforward?0) * ! sign(abackward?0) * sign(clutch?0))`"

Joystick up/down = Devcam look up/down
You can change '2' to adjust the speed of look up/down movement.
If you have "Look up/down" set with "Inverted and Centered" use this line:
config_lines[216]: "mix camuiud `(-mouse.rel_position.y?0 * sel(c_minvert, -c_msens, c_msens)) + (deadzone(-sel(c_jilookud, -j_look_ud?0, j_look_ud?0), c_ud_dz) * ! c_et_yscale * ! sign(abs(steering?0)) * ! sign(aforward?0) * ! sign(abackward?0) * sign(clutch?0) * 2)`"

If you have "Look up/down" set with "Centered" use this line:
config_lines[216]: "mix camuiud `(-mouse.rel_position.y?0 * sel(c_minvert, -c_msens, c_msens)) + (deadzone(sel(c_jilookud, -j_look_ud?0, j_look_ud?0), c_ud_dz) * ! c_et_yscale * ! sign(abs(steering?0)) * ! sign(aforward?0) * ! sign(abackward?0) * sign(clutch?0) * 2)`"

--------------------

If you don't have a H-Shifter or Joystick for up/down/left/right then use wheel buttons/D-pad etc = Devcam look up/down & move left/right.

Wheel button = Devcam move left
Replace joy.b1?0 with the button you want to use.
config_lines[183]: "mix dbgleft `keyboard.num4?0 | (joy.b1?0 * ! c_et_yscale * ! sign(abs(steering?0)) * ! sign(aforward?0) * ! sign(abackward?0) * sign(clutch?0))`"

Wheel button = Devcam move right
Replace joy.b2?0 with the button you want to use.
config_lines[184]: "mix dbgright `keyboard.num6?0 | (joy.b2?0 * ! c_et_yscale * ! sign(abs(steering?0)) * ! sign(aforward?0) * ! sign(abackward?0) * sign(clutch?0))`"

Wheel buttons = Devcam look up/down
Replace joy.b3?0 (up) & joy.b4?0 (down) with the buttons you want to use.
You can change '2' to adjust the speed of look up/down movement.
config_lines[216]: "mix camuiud `(-mouse.rel_position.y?0 * sel(c_minvert, -c_msens, c_msens)) + ((joy.b3?0 - joy.b4?0) * ! c_et_yscale * ! sign(abs(steering?0)) * ! sign(aforward?0) * ! sign(abackward?0) * sign(clutch?0) * 2)`"

====================================================================================================

13 - Alternate Window controls - Automated:
Only try if you are really not happy with the default 'Manual window controls'.

I developed and used the below automation process for game version 1.37 as there was no way to do the manual method.
When game version 1.38 came out I worked out a way for the 'basic' manual control method (as shown in the first post) and I've kept using that ever since.

Note: The line numbers are different between game versions. The numbers shown are from my 1.44 version, yours may be different.
Just match the
"mix name" and paste the highlighted part into the correct line number to suit your game version.

The logitech profiler software V5.10.127 that i use for my G27 wheel is used to record key strokes & timing and you assign 2 wheel buttons for open both windows & close both windows. The 'TrackIR Driving Enhancements' zip file contains my ETS2 & ATS Logitech profiles for your info.
Read through the post first to see if you understand what i've written before trying this option or not.

I use these keys to operate the windows, you'll need to substitute yours in lines 507/339/340/341/342 or keep mine while testing this setup:
Open windows = keyboard.darrow?0 - down arrow - (opens the windows)
Close windows = keyboard.uarrow?0 - up arrow - (closes the windows)
Set open state = keyboard.larrow?0 - left arrow - (unblocks your head)
Set closed state = keyboard.rarrow?0 - right arrow - (blocks your head)

config_lines[507]: "mix headtren `keyboard.larrow?0 & c_ht_on & ! keyboard.uarrow?0 | keyboard.rarrow?0 & ! c_ht_on & ! keyboard.darrow?0`"

Note: logic for example, line 306 right window open will only operate if down arrow is pressed and up arrow isn't being pressed at the same time. You should therefore, in game, give each window button press 3 seconds before pressing again because of the automation.
config_lines[339]: "mix rwinopen `keyboard.darrow?0 & ! keyboard.uarrow?0 | semantical.rwinopen?0`"

config_lines[340]: "mix rwinclose `keyboard.uarrow?0 & ! keyboard.darrow?0 | semantical.rwinclose?0`"

config_lines[341]: "mix lwinopen `keyboard.darrow?0 & ! keyboard.uarrow?0 | semantical.lwinopen?0`"

config_lines[342]: "mix lwinclose `keyboard.uarrow?0 & ! keyboard.darrow?0 | semantical.lwinclose?0`"

Close and save.

Here is my way to add the automation process for above 'arrow keys'
Use logitech profiler software that I use for my G27 wheel (you'll need similar key recording software, sorry I can't help with that bit).
Record key strokes/timing and assign 2 wheel buttons for open both windows & close both windows.

Export the profile and edit with notepad to change timing values to be exactly what is required.
Import the updated profile.

Use the below work flow for what should happen:-

LWMB = Left Wheel Middle Button - open windows.
RWMB = Right Wheel Middle Button - close windows.

Note only LWMB or RWMB are pressed in game. The rest are recorded key strokes played back when LWMB or RWMB are pressed.

Quick press LWMB and the following happens:
Down arrow is pressed for 3 seconds to get ~70% window open.
Press Left arrow key to change variable state to opened.
The window is now open enough to put your head out.

Another Quick press LWMB and the following happens:
Down arrow is pressed for 3 seconds to get 100% window open.
Press Left arrow key - variable state kept at opened.
The window is now fully open to put your head out.

Quick press RWMB and the following happens:
Press Right arrow key to change to closed variable state to stop head being trapped!
Up arrow is pressed for 3 seconds to get ~30% window open from 100% open.
The window is now 30% open and you can't put your head out.

Another Quick press RWMB and the following happens:
Press Right arrow key - variable state kept at closed.
Up arrow is pressed for 3 seconds to get 100% window closed.
The window is now closed and you can't put your head out.

Quick list of window options:
LWMB -> 70% open -> RWMB -> closed.
LWMB -> 70% open -> LWMB -> fully open -> RWMB -> 30% open -> RWMB -> closed.

So you can have the windows closed and not be able to put your head out of the window.
Or you can have the windows open 30% to hear the outside world whilst not being able to put your head out of the window.
Or you can have the windows 70% open to hear the outside world and can put your head out of the window.
Or you can have the windows fully open to hear the outside world and still put your head out of the window.
I drive with windows at 30% open and then LWMB to 100% open to look out as required and then RWMB to go back to 30% open. Simple.

The keys you need to record for the above.
Window open command:
"down"(hold for 3 sec)"left"(quick press)

Window close command:
"right"(quick press)"up"(hold for 3 sec)

Based on my G27 logitech profile pause values, here is what you should try to emulate (lower=faster):
This is what the exported logitech profile looks like, just the recorded part of the xml file:-

-<Command Name="Open Window" Id="4">
<Event Type="Key" Up="false" Keyname="DOWN"/>
<Event Type="Pause" Time="3000"/>
<Event Type="Key" Up="true" Keyname="DOWN"/>
<Event Type="Pause" Time="66"/>
<Event Type="Key" Up="false" Keyname="LEFT"/>
<Event Type="Pause" Time="66"/>
<Event Type="Key" Up="true" Keyname="LEFT"/>
</Command>
-<Command Name="Close window" Id="5">
<Event Type="Key" Up="false" Keyname="RIGHT"/>
<Event Type="Pause" Time="66"/>
<Event Type="Key" Up="true" Keyname="RIGHT"/>
<Event Type="Pause" Time="66"/>
<Event Type="Key" Up="false" Keyname="UP"/>
<Event Type="Pause" Time="3000"/>
<Event Type="Key" Up="true" Keyname="UP"/>
</Command>

If you use Logitech profiler software V5.10.127 with a G27 wheel, you can:-
1 - export your current ATS or ETS2 profile for backup and then import attached profile and change your device setting in the profile to match how you like the specific game settings set.
Then add the "open window" & "close window" commands to the controller buttons.
Click from the right list of buttons and select command as shown in this pic:

Image

2 - If you have no profiles setup and instead just use global settings for all games, then you can import the attached profile and change it's device setting in the profile to match your global settings.
The game will use this profile. Then add the "open window" & "close window" commands to the controller buttons as stated above. Delete the profile and the game will be back to using your global settings.

3 - Record both open and close windows commands as detailed above and then export your profile to edit the timings.
Here is what my profile looks like using notepad/wordpad to view it. The highlighted part is the recorded commands with the timings now edited to suit (in blue).

<?xml version="1.0" encoding="utf-8"?>
<GameProfile xmlns="http://www.logitech.com/schemas/2009/ga ... "><Profile GUID="{E42F9C9E-FEB2-48E1-8ED8-72BF41FDAA89}" Publisher="Custom User Profile" Author="John" Revision="85:12/07/2020" Installed="false"><Name>ATS</Name><Signature Key="" Value="" Shortcut="" /><Target IconIndex="0"><Name>amtrucks.exe</Name></Target><Macros><Command Id="1" Name="Mouse Left Button"><Event Type="Mouse" DeltaX="0" DeltaY="0" Mask="1" /></Command><Command Id="2" Name="Mouse Middle Button"><Event Type="Mouse" DeltaX="0" DeltaY="0" Mask="4" /></Command><Command Id="3" Name="Mouse Right Button"><Event Type="Mouse" DeltaX="0" DeltaY="0" Mask="2" /></Command><Command Id="4" Name="Open Window"><Event Type="Key" Keyname="DOWN" Up="false" /><Event Type="Pause" Time="3000" /><Event Type="Key" Keyname="DOWN" Up="true" /><Event Type="Pause" Time="66" /><Event Type="Key" Keyname="LEFT" Up="false" /><Event Type="Pause" Time="66" /><Event Type="Key" Keyname="LEFT" Up="true" /></Command><Command Id="5" Name="Close window"><Event Type="Key" Keyname="RIGHT" Up="false" /><Event Type="Pause" Time="66" /><Event Type="Key" Keyname="RIGHT" Up="true" /><Event Type="Pause" Time="66" /><Event Type="Key" Keyname="UP" Up="false" /><Event Type="Pause" Time="3000" /><Event Type="Key" Keyname="UP" Up="true" /></Command></Macros><Assignments DeviceModel="57"><Mapping><Source Type="Axis" ID="0" /><Destination Type="Axis" ID="1" /></Mapping><Mapping><Source Type="Axis" ID="2" /><Destination Type="Axis" ID="4" /></Mapping><Mapping><Source Type="Axis" ID="3" /><Destination Type="Axis" ID="8" /></Mapping></Assignments><Assignments DeviceModel="45"><Mapping><Source Type="Axis" ID="0" /><Destination Type="Axis" ID="1" /></Mapping><Mapping><Source Type="Axis" ID="1" /><Destination Type="Axis" ID="2" /></Mapping><Mapping><Source Type="Axis" ID="2" /><Destination Type="Axis" ID="4" /></Mapping></Assignments><Assignments DeviceModel="43"><Mapping><Source Type="Axis" ID="0" /><Destination Type="Axis" ID="1" /></Mapping><Mapping><Source Type="Axis" ID="2" /><Destination Type="Axis" ID="4" /></Mapping><Mapping><Source Type="Axis" ID="3" /><Destination Type="Axis" ID="8" /></Mapping></Assignments><DeviceSpecialOptions><SpecialOptions DeviceModel="57"><ForceOptions Enable="true" OverallAttenuation="100" SpringAttenuation="100" DamperAttenuation="100" DefaultSpringEnabled="true" DefaultSpringAttenuation="100" /><WheelOptions Enable="true" CombinePedals="false" OperatingRange="900" /><GameOptions Enable="true" AllowGameSettings="true" /></SpecialOptions></DeviceSpecialOptions></Profile></GameProfile>

=========================================================================================
Post 01 - Description - viewtopic.php?p=46457#p46457
Post 02 - General Menu Information and Usage - viewtopic.php?p=46458#p46458
Post 03 - Quick start guide - viewtopic.php?p=46459#p46459
Post 04 - Controls.sii file edits (Part 1) - viewtopic.php?p=46460#p46460
Post 05 - Controls.sii file edits (Part 2) - viewtopic.php?p=46461#p46461
Post 06 - Optional edits - viewtopic.php?p=46462#p46462
Post 07 - Cabin Camera Creator - viewtopic.php?p=46506#p46506
Post 08 - Problems & Solutions / To do list - viewtopic.php?p=46559#p46559
Post 09 - Q & A Section - viewtopic.php?p=46612#p46612
Post 10 - TrackIR Driving Enhancements - Demo videos - viewtopic.php?p=46613#p46613

Re: TrackIR Driving Enhancements

Posted: September 25th, 2021, 8:33 pm
by JHTrucker
'TDE - Cabin Camera Creator' for use with 'TrackIR Driving Enhancements' mods only.

Updated 17/01/2022 - New mod 'TDE - Cabin Camera Creator v2'.
Updated 16/03/2022 - New mods, 2 'g_cam_window_block' versions added within 'TDE - Cabin Camera Creator v2.1.zip' & New 'Passenger Seat & Sleeper Presets v2.zip'
Updated 22/04/2022 - New 'Passenger Seat & Sleeper Presets v3.zip'
Updated 19/05/2022 - New menu mods v2.1 (1.38-1.43) & v3.0 (1.44). New 'Passenger Seat & Sleeper Presets v4.zip'
Updated 12/08/2022 - New menu mods v3.1 (1.44 & 1.45). New 'Passenger Seat & Sleeper Presets v5.zip'
Updated 16/12/2022 - New menu mods v2.2 (1.38-1.43) & v3.2 (1.44-1.46).
Updated 14/02/2023 - New menu mods v4.0 (1.38-1.43) & v5.0 (1.44-1.46). New 'Passenger Seat & Sleeper Presets v5.1.zip
Updated 01/07/2023 - New menu mods v4.1 (1.38-1.43) & v5.1 (1.44-1.47) and various text amendments.
Updated 11/12/2023 - New menu mods v4.2 (1.41-1.43) & v5.2 (1.44+). Changes to game version text only.
Updated 16/02/2024 - Added "How to add a qualifying sleeper 'flip' preset"
Updated 19/05/2024 - New menu mod v6.0 (1.50).
========================================================================================

This mod will enable you to position the 'CAM 2 Passenger Seat' or 'CAM 3 Sleeper' camera to exactly where you want them within any given truck cab and then saved as a preset for easy selecting when using 'TrackIR Driving Enhancements' menu.
Note 1: You don't need to use 'TDE Cabin Camera Creator' if you just want to use my supplied 'Passenger Seat & Sleeper Presets' within each TDE mod.

Note 2: This mod is not compatible with game version 1.51+ and will cause a crash to desktop if used.

========================================================================================

'TDE Cabin Camera Creator' information:

Important - Load order:
Image
1 - 'TDE - Cabin Camera Creator' ABOVE the 'Main TDE mod'.
Create, adjust & save CAM 2 & CAM 3 presets only.

2 - 'TDE - Cabin Camera Creator' BELOW the 'Main TDE mod'.
Create, adjust & save CAM 1 driving presets only.

For best results use 'TrackIR Driving Enhancements' mod with a supported SCS truck.
Using an unsupported/mod truck and 'TDE (Unsupported) mod is ok but you will see a low quality interior (including rain if it's raining) & louder outside sounds as you look around if 'Head Max look left/right limit' slider is greater than 90 degrees and/or 'Camera rotation' slider is turned towards driver side.

How to use this mod:
Add 'TDE - Cabin Camera Creator.scs' to your mod manager above the 'TrackIR Driving Enhancements' mod you're using.
In game set your driving seat position (F4) to how you like it for CAM 1.
This is important as it's the origin of CAM 2 & CAM 3 and can therefore change how CAM 2 & CAM 3 are positioned if you adjust your seat afterwards.
Example: I set the driving seat to its middle position for front/back & up/down first and then create the camera presets. Then when I adjust my driving seat it shouldn't affect these presets too much. Note: If your driving seat is fully forward and you then position a sleeper preset against the back wall of the cab then when you move your driving seat back that sleeper preset will also move back and may therefore be shown through the cab wall.

Note: See top of post 1 for game versions that are confirmed to work.
NEW 19/05/2024
TDE - Cabin Camera Creator - v4.2, v5.21 & v6.0.zip --> https://mega.nz/file/OkhExSBA#34yf-tfUk ... Ss_ZdDMyQI

Note: "TDE - Cabin Camera Creator" isn't a standalone mod. It needs all of the controls.sii file line edits that "TrackIR Driving Enhancements" uses. If you only want internal cameras and nothing else in this topic then use "Extra Cabin Cameras" viewtopic.php?p=44428#p44428

In game menu:
Note: This is a modded Tobii Eye menu so ignore the balloon tips.
There's 3 mods to choose from for each game version, v4.2 (1.41-143), v5.21 (1.44-1.49) or v6.0 (1.50), but all are basically the same, the only difference is the text reference in the menu to the 'Main TDE mod' in use as a reminder so you don't choose the wrong 'CAM 1 Driving Preset'. So use the 'TDE - Cabin Camera Creator' mod from the folder that matches the main 'TrackIR Driving Enhancements' mod that you're currently using.
The red highlighted box shows the text reference that can be:
'TrackIR Driving Enhancements', 'TDE (Unsupported)' or 'TDE (g_cam_window_block)'.
Image

Press SHIFT + NUMLOCK to access menu mod to make changes as required.
Press ESCAPE to go back to driving screen.

The Menu mod is in English only and consists of:-
Here's what each option does from top to bottom - if you need to translate them.

You should already be on CAM 1, 2 or 3 before opening this menu. Then select a Camera Preset 'CAM 2:.. or CAM 3:..' to adjust

Current Active Settings - Adjust & Save '+' [Drop down list]
If this states "CAM 4: MOD CONTROL ONLY - DON'T USE" - Close the menu - Press CAM 1 - Re-open menu and then adjust as required.

CAM 2: Test Your Passenger Seat Preset [Drop down list]
Add your saved CAM 2 preset to here to test switching cameras.

CAM 3: Test Your Sleeper Preset [Drop down list]
Add your saved CAM 2 preset to here to test switching cameras.

Head: Max Look Left / Right Limit
Used to restrict head movement when using 'TDE (Unsupported)' to prevent seeing driver appear and/or low quality interior when looking around.
Also when laid on the bed you only need 90 degrees left / right head movement.

Move Left / Right : Left=0.0 - Driving Seat=2.5 - Right=5.0

Move Up / Down : Low=0.0 - Driving Seat=2.5 - High=5.0

Move Forward / Backward : Driving Seat=0.0 - Behind=5.0

Pitch : 90 Degrees Down=0.0 - Level=2.5 - 90 Degrees Up=5.0 (Unsupported trucks are limited by their camera file to ~70 degrees)

Rotate : 90 degrees Left=1.0 - Centre=3.0 - 90 degrees Right=5.0

Amended 01/07/2023
Supported (Untick) or Unsupported (Tick) - Set this to ensure the correct camera type for your truck.

LHD Truck (Untick) or RHD Truck (Tick) - Set this to ensure the correct camera type for your truck.

NEW 17/01/2022
CAM 1: Select your 'Saved' Driving Preset [Drop down list]
Always select the preset you want to use when driving. Whenever you select CAM 1 this preset will be applied overwriting any unsaved custom settings!

NEW 17/01/2022
Action - You can choose your own Action button. (Shown for your reference).

NEW 17/01/2022
Reset Head Tracking - Re-centers your in game head. (Shown for your reference).

========================================================================================

How to add your own preset:
Select CAM 1 and then open the Menu Mod.
1 - Use 'Current Active Settings' [drop down list] to select a 'CAM 2:...' or 'CAM 3:...' preset that you want to adjust.
2 - Make your adjustments to the sliders as required and exit menu (press esc) to check how they look on the driving screen.
Don't change cameras as you'll lose your adjustments!
Open Menu Mod again and make further adjustments if required.
3 - Save as a new preset. Click '+' & change 'custom' to 'CAM 2:....' for passenger seat or 'CAM 3:....' for sleeper, for example, 'CAM 3: Supported LHD Renault T Sleeper'.
4 - Then use the CAM 2 or CAM 3 [drop down list] to select your new preset and exit menu.
You can now change cameras.
Image

You can also delete presets. Use 'Current Active Settings' [drop down list], click 'x' and the currently displayed preset will be deleted.
Note: You can't delete or change the mod standard presets.

All presets created are stored in the games 'eye_tracking_presets' folder and always listed below "Templates above ---^^^ or User Created Presets Below ---vvv" in the menu's drop down lists.

Change trucks if required so you can create more camera presets, adjusting your driving seat first.

Remove 'TDE - Cabin Camera Creator.scs' mod from your mod manager or simply change the load order as shown above.
In game open 'TrackIR Driving Enhancements' menu 'SHIFT+NUMLOCK' and select from the 'CAM 2: Passenger Seat' drop down list or 'CAM 3: Sleeper' drop down list the presets you created.

You can now access those new presets by pressing CAM 2 or CAM 3 buttons.
Always press CAM 1 before driving.

=========================================================================================

How to add a qualifying sleeper 'flip' preset (for 'Supported' only):
What is this?
With qualifying sleeper presets you can use 'Look Action' to choose how you want to be positioned in the sleeper area:
Laid down with head behind drivers seat and feet behind passenger seat
OR
Laid down with head behind passenger seat and feet behind drivers seat.
Note: All the 'supported' sleeper presets within the TDE mod are 'qualifying' presets.

To do this:
Create your 'supported' sleeper preset but position it at the passenger side of the sleeper area.
Use 'Move Left / Right' slider so CAM 3 is located at the passenger side of the sleeper and adjust the other sliders to suit if you are laid down or sat up etc. Save preset.

Then with that new preset set at CAM 3:
From drivers seat - Look behind passenger seat and press 'Action'.
From drivers seat - Look further behind you and press 'Action'.
OR
From passenger seat - Look behind drivers seat and press 'Action' - 'Switch to' mode only.
From passenger seat - Look further behind you and press 'Action' - 'Switch to' mode only.

You should have changed sides within the sleeper depending on how you looked into the sleeper.

=========================================================================================
Post 01 - Description - viewtopic.php?p=46457#p46457
Post 02 - General Menu Information and Usage - viewtopic.php?p=46458#p46458
Post 03 - Quick start guide - viewtopic.php?p=46459#p46459
Post 04 - Controls.sii file edits (Part 1) - viewtopic.php?p=46460#p46460
Post 05 - Controls.sii file edits (Part 2) - viewtopic.php?p=46461#p46461
Post 06 - Optional edits - viewtopic.php?p=46462#p46462
Post 07 - Cabin Camera Creator - viewtopic.php?p=46506#p46506
Post 08 - Problems & Solutions / To do list - viewtopic.php?p=46559#p46559
Post 09 - Q & A Section - viewtopic.php?p=46612#p46612
Post 10 - TrackIR Driving Enhancements - Demo videos - viewtopic.php?p=46613#p46613

Re: TrackIR Driving Enhancements

Posted: September 28th, 2021, 7:55 pm
by JHTrucker
TrackIR Driving Enhancements - Problems & Solutions.
Your particular setup may prevent you from using these. Therefore they're not part of the main controls.sii file edits post.

Note: The line numbers are different between game versions. The numbers shown are from my 1.44 version, yours may be different.
Just match the
"mix name" and paste the highlighted part into the correct line number to suit your game version.

==========================================================================================================

Problem (minor): When the truck is switched off you can press the window buttons and your head will be blocked/unblocked even though the windows are not moving, no electricity.
Note: When using 'Supported' & 'Unsupported' mods only.

Solution: Auto turn ignition on when pressing window buttons. This will not start your engine, just turn on electricity.
Note: The 'mix engineelect' input line toggles electricity on/off and so isn't suitable, hence why ignition is used.
You may not want to do this if you have an actual ignition switch / button box type setup.

New line edit:
config_lines[305]: "mix ignitionon `(lwinopen?0 | lwinclose?0 | rwinopen?0 | rwinclose?0) * sign(abs(mouse.rel_position.x?0 + trackir.device.position.yaw?0) + 1)`"

==========================================================================================================

Problem: 'Walking' using a FFB wheel can be annoying if it's too stiff or springy with the engine switched off.

Solution: Disable FFB when engine is switched off.
For ATS & ETS2 game versions 1.38/1.39/1.40/1.41 only and when using in game FFB.
The attached 'TDE FFB FIX for 1.38 to 1.41.zip' file contains 3 mods to reduce the FFB wheel stiffness when the engine is switched off so that the wheel is much easier to turn when used to 'walk' outside the truck or move from drivers seat to passenger seat or sleeper area.

Choose one of the following mods:
TDE FFB FIX 0 - 1.41.scs - No FFB when engine is switched off - Wheel is loose.
TDE FFB FIX 1 - 1.41.scs - FFB is the same with the engine switched on or off.
TDE FFB FIX 2 - 1.41.scs - FFB is slightly stiffer with the engine switched off compared to on but not a stiff as game standard.
TDE FFB FIX for 1.38 to 1.41.zip --> https://mega.nz/file/24YVnKBY#582ucC42E ... 3wNieH255Y
Note: All 3 have centre spring disabled with engine switched off so that the wheel doesn't move on it's own.
I use 'TDE FFB FIX 2 - 1.41.scs' with my G27 wheel on ETS2 1.41.

This mod will do nothing for game version 1.42+ due to the new FFB system that was added to game version 1.42 that removes the line edits that my mod uses.

==========================================================================================================

Problem: When playing multiplayer the other players trucks are seen as driverless.

Solution: Re-enable the trucks driver model (that TDE removes) by loading this mod above the main TDE mod that you are using:
TDE Optional multiplayer fix.zip --> https://mega.nz/file/GgAkjSQa#RRJ5zXHI1 ... 76f0t0vgIs
Note: This also means that your driver model will now be seen sat in your drivers seat when ever you are outside of your truck or inside your truck when using TDE (Unsupported) or TDE (g_cam_window_block) mods.
For best results, don't use this mod if you only play with TDE in singleplayer.

==========================================================================================================

Problem: The outside FOV when 'walking' around the truck is too low.

Solution: Add one of the following mods:
Note: TDE default for outside FOV is 49.
TDE Optional outside FOV 55
TDE Optional outside FOV 60
TDE Optional outside FOV 65
TDE Optional outside FOV 70
TDE Optional outside FOV 75
NEW 27/09/2024
TDE Optional outside FOV change - v1.2.zip --> https://mega.nz/file/W0gzAJJK#WB3GFiO59 ... ryhsmpSXpo
Just place one of the mods, from the zip, above your current TDE mod in the mod manager list.

==========================================================================================================

Problem:

Solution:

==========================================================================================================
==========================================================================================================
==========================================================================================================

TrackIR Driving Enhancements - To do list:

1 - Disable FFB when using FFB wheel for outside movement etc (for 1.42+) - May be impossible as I've already tried a few different ways...
A new way to 'walk', that doesn't require rotating your FFB wheel all the time, is being developed for a future TDE version.

2 - Remove the annoying balloon tip boxes from the TDE menus... but haven't been able to so far... I think the tooltip text is inside one of the locked files as it doesn't appear to be inside 'base.scs' of 'def.scs'.
Thanks to game version 1.51 and it's new UI, there's no longer a TDE custom menu and therefore no requirement to fix the tooltips!

3 - ?


Q & A on next post. Scroll down.

=========================================================================================
Post 01 - Description - viewtopic.php?p=46457#p46457
Post 02 - General Menu Information and Usage - viewtopic.php?p=46458#p46458
Post 03 - Quick start guide - viewtopic.php?p=46459#p46459
Post 04 - Controls.sii file edits (Part 1) - viewtopic.php?p=46460#p46460
Post 05 - Controls.sii file edits (Part 2) - viewtopic.php?p=46461#p46461
Post 06 - Optional edits - viewtopic.php?p=46462#p46462
Post 07 - Cabin Camera Creator - viewtopic.php?p=46506#p46506
Post 08 - Problems & Solutions / To do list - viewtopic.php?p=46559#p46559
Post 09 - Q & A Section - viewtopic.php?p=46612#p46612
Post 10 - TrackIR Driving Enhancements - Demo videos - viewtopic.php?p=46613#p46613

Re: TrackIR Driving Enhancements

Posted: October 1st, 2021, 2:24 pm
by JHTrucker
TrackIR Driving Enhancements - Q & A Section:

Controller questions:
Q - TDE doesn't work or the control.sii file changes when using a gamepad controller, can this be fixed?

A - Using the steam controller support may cause problems. I've never used it and have it disabled, that way the game will use all control functions that are specified within the games controls.sii file.
To disable steam controller support:
In Steam Library - Right Click Game - Properties - Controller - Select - Disable Steam Input

General questions:
Q - Do I have to apply all those line edits every time SCS update the game?
A - No. At least I've never had to. The line numbers may change but that's not a problem.

Q - Do I need to press '1' every time I start the game?
A - No. Just when ever you open the menu and change CAM 1 to a different 'driving preset' and close it, you then have to apply that preset by pressing '1'.

Q - I don't like having my head blocked, can I keep all the other TDE features except this?
A - Yes. Use either 'TrackIR Driving Enhancements' or 'TDE (Unsupported)' and set "CAM 1: Driving preset" to 'CAM 1: Supported LHD (or RHD) Truck - Defaults - No Window Blocking' or 'CAM 1: Unsupported LHD (or RHD) Truck - Defaults - No Window Blocking' then adjust sliders to your liking and save.

Q - At game startup I'm using a game default external camera but my driving controls are disabled, why?
A - Just re-select that external camera and you'll have full control once again.

Q - Why doesn't 'head zoom' work for multimonitor setups that use an overridden FOV?
A - SCS coded the 'zoom interior camera' to dynamically reducing your FOV to ~20 to make everything bigger/closer. It can't reduce an overridden FOV.

Q - Can I turn off the animated first person movement, it's giving me feelings of motion sickness?
A - Yes, see post 6 'Optional edits'.
OR
A - To avoid the feeling of motion sickness, turn your real head back to the centre of your monitor once the animation starts (TrackIR is disabled during the animation), your real head will then be in the correct position when the animation stops and TrackIR is re-enabled. Note: YAW remains active during driver to/from passenger seat as this is a single direction movement, therefore you shouldn't need to move your real head during the animation.

Q - Can I use TDE with other camera mods?
A - No, for 'supported' trucks the interior cameras have been extensively modified to suit the TDE requirements.
A - No, for 'unsupported' trucks the TDE code assumes the interior cameras are game default format.
A - For best results, always keep the TDE mod at the top of the mod manager list or atleast above any truck mods.

Q - Can I use TDE with other mods, graphics, sound, physics, traffic, maps etc?
A - Yes, as long as those mods don't require changes to truck camera files.
A - For best results, always keep the TDE mod at the top of the mod manager list.

Q - Using game version 1.44+ I get errors in my game log -> "<WARNING> Ignoring obsolete attribute 'gaze_view_scale' of unit..."
A - Due to SCS changes in 1.44, any presets you saved using game versions 1.41 to 1.43 will need to be re-saved once you change to game version 1.44+ to prevent this harmless 'yellow' warning error in your console / game log.
"<WARNING> Ignoring obsolete attribute 'gaze_view_scale' of unit..."
To fix that:
Use 'Current Active Settings' drop down list to select your preset to convert to 1.44+ format.
Click 'X' to delete it. Preset name will change to 'Custom' but sliders will remain as they were.
Click '+' to save it. Type your preset name.

Q - What is the correct load order when using the optional mods?
A - Here's the load order, from top to bottom, shown in the games mod manager list:

* TDE Optional multiplayer fix <-- Only if you want all multiplayer trucks to be seen with a driver model.
* TDE Optional outside FOV <-- Only if you need a higher FOV for outside.
* TDE Cabin Camera Creator <-- Here if creating your own passenger cam2 / sleeper cam3 presets.
TrackIR Driving Enhancements OR TDE (Unsupported) OR TDE (g_cam_window_block) <-- Main TDE mod, always required.
* TDE Cabin Camera Creator <-- Move to here when not creating your own passenger cam2 / sleeper cam3 presets or remove from list altogether.
* TDE Optional Sounds #1 OR TDE Optional Sounds #2 OR TDE Optional Sounds #3 <-- Extra sounds to compliment TDE features.
* TDE FFB FIX <-- To remove FFB when outside of your truck and 'wheel walking' (game version 1.41 only).

Mods marked with an * are not required, just optional. Place any that you use either above or below the main TDE MOD as shown above.

-----

TDE problems:
Q - In game version 1.51+, my truck is now driving when 'walking' around it, what's wrong?
A - Game update 1.51 automatically replaces the TDE line edits for, "mix steering", "mix aforward", "mix abackward" & "mix clutch" with new game default ones. Just copy/paste the TDE ones from post 5 to fix it. The game shouldn't do that again.
Note: Any profile you use that hasn't been used on game version 1.51+ will get the above problem. There's no fix required if you choose to use the supplied 'quick start' controls.sii file.

Q - TDE doesn't work as I expected it too, what's wrong?
A - Always use Menu mod 'TrackIR Driving Enhancements' and a 'supported' SCS game standard truck (LHD) to test first. All my default settings will work with this combination without making menu changes.
A - Or you made a copy/paste mistake in your controls.sii file.
A - Or you made a copy/paste mistake in your config_local.cfg file.
A - Or watch the demo videos in post 10 so that you know what to expect.

A - Or this error will prevent TDE from working all together. It's caused by missing a " from the end of one of the line edits. Be careful when copy/pasting as this error can cause the game to reset the whole file back to game defaults.
00:00:04.454 : <ERROR> [unit] File '<C:/Users/xxxx/Documents/American Truck Simulator | /home>/profiles/xxxx/controls.sii', line 519:
00:00:04.454 : <ERROR> Expecting string value, found '"'
00:00:04.454 : <ERROR> load_unit_tree() - Failed to load unit tree from file (/home/profiles/xxxx/controls.sii)

To locate the problem subtract 6 from the line number stated. For example: 519-6=513
So the error is caused by the line starting "config_lines[513]:..."
Re-copy/paste the matching "mix name..." line edit from your line 513 into your controls.sii file.

A - Or this error will allow some TDE functions to work but the TDE function associated to this line won't. The game will reset this line to game default.
00:00:04.453 : <ERROR> [inp] line "mix name...`" is malformed
Re-copy/paste the matching "mix name..." line edit into your controls.sii file.

Q - When I use 'look action' or press '4' for outside the interior just changes to low quality, what's wrong?
A - Check that you made the required edits to your config_local.cfg file for 'uset g_eye_preset_4 & 5'

Q - Some of the menu sliders don't work.
A - Ensure you are using the correct mod version to match your game version.

Q - My game crashes to desktop every time I access the menu mod.
A - Check the statement for "Confirmed to work for ATS/ETS2 game versions..." at the top of post 1. Ensure you are using the correct mod for your game version.

Q - I can't select camera 5 (leanout drivers window).
A - Camera 5 has been extensively modified and is therefore no longer user selectable. Headtracking users shouldn't need the original view anyway.

Q - Using 'TrackIR Driving Enhancements' my truck tuning pack DLC doesn't work or CTD, what's wrong?
A - I don't have any SCS Truck tuning pack DLC's, they may cause an error or CTD when using 'TrackIR Driving Enhancements'. In that case use 'TDE (Unsupported)' mod instead.

Q - Using 'TrackIR Driving Enhancements' - My head won't go through the open window, what's wrong?
A - You are using a supported SCS truck but have 'UNSUPPORTED' ticked - Untick to fix or select a 'Supported Preset' for CAM 1.

Q - Using 'TDE (Unsupported)' - My head is stuck looking back over, what's wrong?
A - You need to tick 'THIS BOX MUST BE TICKED AT ALL TIMES' or select an 'Unsupported Preset' for CAM 1.

Q - 'TrackIR Driving Enhancements' - The inside of the truck changes to low quality when looking over my shoulder.
A - Only supported trucks have high quality interiors when looking over your shoulder towards the drivers side window.

Q - 'TrackIR Driving Enhancements' - Headtracking stopped working.
A - You have Unsupported "ticked" and head movement control set to "Direct". Set to "Dynamic" or use a supported truck for manual "Direct" mode.

Q - My head isn't blocked by the closed window and the movement is strange.
A - Ensure you have the correct LHD/RHD menu setting to suit your current truck - Driving position for LHD Truck (Untick) or for RHD Truck (Tick) or select a correct 'Preset' for CAM 1.

Q - The outside view is under the passenger seat inside the truck.
A - Ensure you have the correct LHD/RHD menu setting to suit your current truck - Driving position for LHD Truck (Untick) or for RHD Truck (Tick) or select a correct 'Preset' for CAM 1.

Q - When outside I keep walking through the hood of my truck, what's wrong?
A - Ensure you use the correct preset for 'uset g_eye_preset_4 & 5' see top of post 3 or post 6 for all available options for the config_local.cfg file.

Q - When getting in or out of the truck the animation slightly clips through the steering wheel / drivers seat, what's wrong?
A - The animation path is the same for all trucks, depending on how you position your seat and/or steering wheel you may see this slight clipping issue. This path was created, tweaked and tested on all current trucks with default seat and steering wheel positions, there was no clipping issues noticed.

Q - 'Look Action' doesn't work to get outside.
A - Your real steering wheel needs to be centered before looking over your shoulder and pressing 'Action' to ensure you'll be stood outside the drivers door.

Q - Every time I start the game my head is blocked but the window is open.
A - For supported & unsupported mod only. At game start your head is always blocked as the controls.sii file gets no feedback from the game to set it correctly. Just press open window to get back in sync.

Q - With the truck engine/electrics off I can block/unblock my head even though the windows are not moving.
A - For supported & unsupported mod only. Try my solution in 'Problems & Solutions' (post 8), if you can.

Q - The keys menu has 'complex' shown on buttons that I assigned a button to, now TDE doesn't work properly.
A - The controls.sii file edits detailed in posts 4 & 5 are the reason they are 'complex'. Assign all buttons you need in game and then add all the required line edits again.

Q - Whilst outside, I've accidentally triggered the new refueling toggle when parked on a sleep/service etc icon. Now the game keeps sleeping or entering service everytime I exit it, what can I do?
A - Don't press 'Action' whilst looking at the fuel tanks unless you are parked at a fuel icon. To stop the game looping, press '1' repeatedly until your are placed back into the drivers seat and the game looping should then stop. When outside your truck you need to press your 'Activate' key/button for sleep/service etc to work as expected. You can change refueling back to the old 'press & hold' method if you'd prefer. see post 6 - Optional edits - viewtopic.php?p=46462#p46462

-----

How to assign keys/buttons that are now shown as 'complex':

Q - How can I remove the default key for 'Attach/de-tach trailer' and/or 'Dashboard display' whilst keeping 'Look Action'?
A - Delete the highlighted part as shown below:
A - For 'Attach/de-tach trailer' edit config_lines[313]: "mix attach `keyboard.t?0 | (eyepause?0...`" to be "mix attach `(eyepause?0...`"
A - For 'Dashboard display' edit config_lines[375]: "mix display `keyboard.i?0 | (eyepause?0...`" to be "mix display `(eyepause?0...`"

Q - How can I assign buttons to the window controls? The rights state 'complex'.
A - If you don't want the left & right windows to open and close together, just assign your preferred keys/buttons to all window controls regardless of the 'complex' state.

Q - How can I assign keys/buttons that are now 'complex'?
A - Assign 'Activate' and then re-copy/paste from post 5 'config_lines[306]: "mix activate...' keeping your assigned key/button and just add the rest of the line.
A - You can assign a key/button for 'Attach/de-tach trailer', 'Dashboard display' & 'Dashboard map zoom' but then you'll lose the ability to change them with 'Look Action'.
A - You can assign a key/button for 'Zoom interior view' but then you'll lose the ability to 'Head zoom'.

Q - How can I get 'Look Action' back for 'Attach/de-tach trailer', 'Dashboard display', 'Dashboard map zoom' & 'Infotainment Display'?
A - For 'Attach/de-tach trailer' re-copy/paste from post 5 'config_lines[313]: "mix attach...'
A - For 'Dashboard display' re-copy/paste from post 5 'config_lines[375]: "mix display...'
A - For 'Dashboard map zoom' re-copy/paste from post 5 'config_lines[377]: "mix dashmapzoom...'
A - For 'Infotainment Display' re-copy/paste from post 6 config_lines[386]: "mix infotainment...' (game version 1.46+)

Q - How can I get 'Head zoom' back after changing it to a key/button?
A - Re-copy/paste from post 4 'config_lines[205]: "mix camzoom...'

=========================================================================================
Post 01 - Description - viewtopic.php?p=46457#p46457
Post 02 - General Menu Information and Usage - viewtopic.php?p=46458#p46458
Post 03 - Quick start guide - viewtopic.php?p=46459#p46459
Post 04 - Controls.sii file edits (Part 1) - viewtopic.php?p=46460#p46460
Post 05 - Controls.sii file edits (Part 2) - viewtopic.php?p=46461#p46461
Post 06 - Optional edits - viewtopic.php?p=46462#p46462
Post 07 - Cabin Camera Creator - viewtopic.php?p=46506#p46506
Post 08 - Problems & Solutions / To do list - viewtopic.php?p=46559#p46559
Post 09 - Q & A Section - viewtopic.php?p=46612#p46612
Post 10 - TrackIR Driving Enhancements - Demo videos - viewtopic.php?p=46613#p46613

Re: TrackIR Driving Enhancements

Posted: October 1st, 2021, 2:25 pm
by JHTrucker
TrackIR Driving Enhancements - Demo videos

If you want to see what using 'TrackIR Driving Enhancements' does to your trucking experience, then watch the short videos below. If nothing else, they'll prove all those line edits do work! If what you see isn't worth having, then you've saved yourself some time.
If you like what you see, take your time to set it all up.

NOTE: All videos are:

@720p (recorded on an old camera phone with poor low light capabilities), I'm not showing off game graphics, I'm not a "youtuber" or whatever the trendy new term is, I'm just demonstrating the TDE functions.

Using 'look action' (where needed) - I look at the location and press the 'Action' button.

Using G27 Wheel/Pedals/H-Shifter for driving, 'walking' & Devcam control.

Using 'TrackIR Driving Enhancements' menu mod as its the best, I don't use mod trucks.

Note 1: I don't like seeing an on screen steering wheel, so I have it removed -> config_local.cfg - uset r_steering_wheel "0" <- Default "1" (on) - You can set yours how you like it.
Note 2: I use my own mod (yellow painted man hole covers) to replace the green icons, this isn't part of the TDE mod.

========== As of update 04/04/2024 ==========

The movement to/from driver seat, passenger seat, sleeper area & outside is now animated in first person, see quick example here:

Note: Some of the older demo videos below show the original instant switching method, that will now be seen in game as animated, unless you choose to change it back.

'Move to' mode (new TDE default):
Animated first person movement for enter/exit via driver side only.
Animated first person movement for driver seat to/from passenger seat.
Animated first person movement for driver seat to/from sleeper area.
OR
'Switch to' mode:
Instant enter/exit driver side or passenger side.
Instant change for driver seat to/from passenger seat.
Instant change for driver seat to/from sleeper area.
Instant change for passenger seat to/from sleeper area.
See post 6 'TDE - Optional edits' for more info.


========== TDE Main Features ==========

How to change to/from Drivers Seat, Passenger Seat, Sleeper & Outside.
Driver seat -> Look to Passenger side -> Press 'Action' -> Passenger seat.
Driver seat or Passenger Seat -> Look to Sleeper -> Press 'Action' -> Sleeper (position is whatever you have set for CAM 3).
Passenger seat -> Look to Driver side -> Press 'Action' -> Driver seat.
Sleeper (look away from the ceiling) -> Press 'Action' -> Driver seat.
Driver seat -> Centre real steering wheel -> Look over your shoulder to outside (window open or closed) -> Press 'Action' -> Outside.
Turn real steering wheel left/right to 'walk' along side the truck or around the front to the other side.

Note: The above video was recorded before the new animated first person movement was added.


How to use 'Window Blocking' (using TDE default manual window controls).

Note: If you don't want 'window blocking' use 'TrackIR Driving Enhancements' or 'TDE Unsupported' menu mod and use a 'No Window Blocking' preset.


How to refuel.
Driver seat -> Centre real steering wheel -> Look over your shoulder to outside (window open or closed) -> Press 'Action' -> Outside.
Turn real steering wheel left/right to 'walk' along side the truck or around the front to the other side.
Look down at fuel tank - Quick press 'Action' - Refueling - Allow tank to fill up or quick press 'Action' again to stop refueling, if required.
Turn real steering wheel left/right to 'Walk' back to the drivers door - Look up at drivers door window - Press 'Action' - Drivers seat.

Note: The above video was recorded before the new animated first person movement was added.


How to pickup freight trailer.
Driver seat -> Centre real steering wheel -> Look over your shoulder to outside -> Press 'Action' -> Outside.
'Walk' around front of truck and down the other side to the crank handle (if that's where it is) - Look down at it - Press 'Action' - Turn and 'walk' back around to the drivers door.
Look up to Driver door window -> Press 'Action' -> Driver seat.

Note: The above video was recorded before the new animated first person movement was added.


How to deliver freight trailer.
Driver seat -> Centre real steering wheel -> Look over your shoulder to outside -> Press 'Action' -> Outside.
'Walk' around front of truck and down the other side to the crank handle (if that's where it is) - Look down at it - Press 'Action' - JOB COMPLETE - Pick a new job or Continue - Desktop Drive Button - Turn and 'walk' back around to the drivers door.
Look up to Driver door window -> Press 'Action' -> Driver seat.

Note: When you finish a 'quick job' and you're outside the truck the game will auto change you to inside for your next job but the TDE code is still in outside mode... Press '1' to reset the TDE code back to the driving seat or for best results, always drive your own truck.
Note: The above video was recorded before the new animated first person movement was added.


How to load/unload cargo from your own trailer.
Driver seat -> Centre real steering wheel -> Look over your shoulder to outside -> Press 'Action' -> Outside.
'Walk' to the back of your first trailer, driver side or passenger side -> Press 'Action' -> Cargo load/unload screen -> Turn and 'walk' back to the drivers door whilst inspecting your trailers cargo (if it was loaded).
Look up to Driver door window -> Press 'Action' -> Driver seat.

Note: The above video was recorded before the new animated first person movement was added.


How to 'walk' around your truck and trailer when they are not inline.
Driver seat -> Centre real steering wheel -> Look over your shoulder to outside -> Press 'Action' -> Outside.
Quick Press the Brake pedal (max 4 times) to turn your view and the 'walk' path to the left.
Quick Press the Accelerator pedal (max 4 times) to turn your view and the 'walk' path to the right.
Quick Press the Clutch pedal (max 1 time) to step away from the truck/trailer(s) -> Offset 'walk' path selected -> Quick Press Clutch pedal again to return to the originally selected 'walk' path.
video to be added...


How to change dash and GPS screens.
Driver seat -> Quick Press 'Action' whilst looking at the dash, centre console or GPS -> Screen changes.
Driver seat -> Press & Hold 'Action' for +1 sec whilst looking at the centre console -> Turns on/off

Note: Centre console (Infotainment Display) on/off is 'optional' as it requires game version 1.46+.
To use this 'optional' function you'll need to follow the setup info provided here:
Post 6 - Optional edits - viewtopic.php?p=46462#p46462


How to enter Truck Service or Showroom.
Park your truck on a service or showroom icon.
Driver seat -> Centre real steering wheel -> Look over your shoulder to outside -> Press 'Action' -> Outside.
Look at the entrance door for the Service area or Showroom -> Press & hold 'Action' to walk staight to it, keeping your head still at all times.
Stop pressing 'Action' when you're near to the door, you'll then automatically enter Service / Showroom.
Exit Service / Showroom -> Look up to Driver door window -> Press 'Action' -> Driver seat.

The 'walk to' movement can only be initiated when you are stood on the pink path (see below pic) and looking away from your truck.
Image
Note: You can 'walk' towards the general area of the service/showroom, it doesn't have to be a door, but, keep your head still while 'walking'!


How to sleep.
Park your truck on a sleep icon.
Driver seat -> Look at the sleeper -> Press 'Action' -> laid down in sleeper (or however your sleeper camera is positioned).
Look up at the ceiling (>90 degrees) -> Press 'Action' -> Sleep.
Look away from the ceiling -> Press 'Action' -> Drivers seat.

Note: The above video was recorded before the new animated first person movement was added.


How to exit game (play time over).
Park your truck somewhere suitable.
Driver seat -> Look at the sleeper -> Press 'Action' -> laid down in sleeper (or however your sleeper camera is positioned) -> Now exit game.
The next time you play the game, you'll start from your bed -> Look away from the ceiling -> Press 'Action' -> Drivers seat.

Note: The above video was recorded before the new animated first person movement was added.


========== TDE Additional/Optional Features ==========

How to have optional sound effects.

To use this 'optional' function you'll need to follow the setup info provided here:
Post 6 - Optional edits - viewtopic.php?p=46462#p46462


How to use the optional 'Mirror Adjust Mode'.
Demo video shows: 'Action' as 'numpad multiply' & Adjust mirrors with 'numpad2/4/6/8' (down/left/right/up).

Driver seat -> Press & Hold 'Action' for +1 sec whilst looking at the near mirror -> 'Mirror Adjust Mode' enabled (slow flash F2 HUD mirrors 3 times).
Driver seat -> Adjust the mirrors, only the mirror you are looking at is moved.
Driver seat -> Quick Press 'Action' whilst looking away from the mirrors -> 'Mirror Adjust Mode' Disabled (fast flash F2 HUD mirrors 2 times).
Note: 'Mirror Adjust Mode' is automatically disabled after 2 minutes or if you don't look at the mirrors for at least 6 seconds.
To use this 'optional' function you'll need to follow the setup info provided here:
Post 6 - Optional edits - viewtopic.php?p=46462#p46462


How to pick which side of the sleeper to change to ('Supported' only).
Park your truck on a sleep icon (if you're going to sleep) or anywhere if not.
Driver seat -> Look at the sleeper (behind the passenger seat) -> Press 'Action' -> laid down in sleeper at the passenger side (or however your sleeper camera is positioned).
OR
Driver seat -> Look at the sleeper (behind the driver seat) -> Press 'Action' -> laid down in sleeper at the driver side (or however your sleeper camera is positioned).
Look up at the ceiling (>90 degrees) if you want to sleep -> Press 'Action' -> Sleep.
Look away from the ceiling -> Press 'Action' -> Drivers seat.

Note: The above video was recorded before the new animated first person movement was added.
This function requires one of the qualifying sleeper presets supplied in the mod or you'll need to follow the setup info provided here:
Post 7 'TDE - Cabin Camera Creator' for more info: viewtopic.php?p=46506#p46506


How to get in or out of the truck via the driver side or passenger side.
One day you may be parked too close to an outside object, that would prevent exiting from the drivers side, so you can also exit from the passenger side, to refuel, unload etc...
Driver seat -> Centre real steering wheel -> Look over your shoulder to outside (window open or closed) -> Press 'Action' -> Outside driver side.
OR
Passenger seat -> Centre real steering wheel -> Look over your shoulder to outside (window open or closed) -> Press 'Action' -> Outside passenger side.
Turn real steering wheel left/right to 'walk' along side the truck or around the front to the other side.
Note: If you exit the truck from the driver seat and enter via the passenger seat or exit from the passenger seat and enter via the driver seat, you'll need to re-centre your real steering wheel.

Note: The above video is using 'Switch To' mode, you cannot enter/exit the truck from the passenger seat when using the animated 'Move To' mode.


How to change from Drivers Seat to Devcam and control with your Wheel/Pedals/H-Shifter (Optional).
Driver seat -> Look down at the floor between driver seat and passenger seat -> Press 'Action' -> Devcam (under truck).
Use wheel/pedals/H-shifter to control the Devcam, when finished -> Press 'Action' -> If your wheel is centered you'll be stood outside the drivers door -> Look up to Driver door window -> Press 'Action' -> Driver seat.

Note: The above video was recorded before the new animated first person movement was added.
To use this 'optional' function you'll need to follow the setup info provided here:
Post 6 - Optional edits - viewtopic.php?p=46462#p46462


==============================================================================================================

If you don't have a TrackIR device, look here for alternate setups: viewtopic.php?p=799#p799
As long as your device uses the in game TrackIR inputs, it'll work with my 'TrackIR Driving Enhancements'.


OR perhaps you have a VR headset or use a Tobii Eye device instead, in which case try these:

'VR Driving Enhancements' (TEST): viewtopic.php?p=55557#p55557

'Tobii Eye Driving Enhancements': viewtopic.php?p=57548#p57548

==============================================================================================================

All required information, mods & controls.sii file edits for 'TrackIR Driving Enhancements' are contained in the above 10 posts.
Post 01 - Description - viewtopic.php?p=46457#p46457
Post 02 - General Menu Information and Usage - viewtopic.php?p=46458#p46458
Post 03 - Quick start guide - viewtopic.php?p=46459#p46459
Post 04 - Controls.sii file edits (Part 1) - viewtopic.php?p=46460#p46460
Post 05 - Controls.sii file edits (Part 2) - viewtopic.php?p=46461#p46461
Post 06 - Optional edits - viewtopic.php?p=46462#p46462
Post 07 - Cabin Camera Creator - viewtopic.php?p=46506#p46506
Post 08 - Problems & Solutions / To do list - viewtopic.php?p=46559#p46559
Post 09 - Q & A Section - viewtopic.php?p=46612#p46612
Post 10 - TrackIR Driving Enhancements - Demo videos - viewtopic.php?p=46613#p46613

Any subsequent posts are for comments or update info only.