TRACKIR Closed window block solutions 1.38 to 1.45 - Updated 12/08/2022

Make your game even better
User avatar
JHTrucker
Expert
Posts: 1330
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Closed window block solutions 1.38/1.39/1.40. Updated 25/05/2021

Post by JHTrucker » July 29th, 2021, 6:29 pm

TrackIR Option 1 Window Block update.

What's new?

New menu mods v3.9 (1.38/1.39/1.40/1.41 SCS or mod Trucks) & v4.9 (1.41 SCS Trucks).
Amended lines - Now have to be shown as 1.38/1.39/1.40 or (1.41) as SCS has now renumbered the lines in controls.sii for 1.41... Thanks SCS!
173(164), 177(168), 250(241), 251(242), 252(243), 254(245), 255(246), 256(247), 278(269).

v4.9 - SCS Daf XG 2021 is now 'v4 Supported'.

v3.9 & v4.9 - Fixed 'Refuel button' not refueling in 1.41.

v3.9 & v4.9 - Added 'Presets' drop down selector to the top of the menu.
Set menu sliders to just how you want them for any given truck and then save as a preset so you can quickly select it again as and when required. For example, the W900 might want increased 'window extra lean out' compared to other trucks without that huge exhaust blocking your view.
Starting presets v4.9:
Disable Option 1 - Remove this mod - Standard TIR only
v3 ATS - Unsupported or MOD Truck - Defaults
v3 ATS - Unsupported or MOD Truck - JHT Defaults
v3 ETS LHD - Unsupported or MOD Truck - Defaults
v3 ETS RHD - Unsupported or MOD Truck - Defaults
v3 ETS LHD - Unsupported or MOD Truck - JHT Defaults
v3 ETS RHD - Unsupported or MOD Truck - JHT Defaults
v4 LHD - Supported SCS Truck - Defaults
v4 RHD - Supported SCS Truck - Defaults
v4 LHD - Supported SCS Truck - JHT Defaults
v4 RHD - Supported SCS Truck - JHT Defaults

Starting presets v3.9:
Disable Option 1 - Remove this mod - Standard TIR only
v3 ATS Truck - Defaults
v3 ATS Truck - JHT Defaults
v3 ETS LHD Truck - Defaults
v3 ETS RHD Truck - Defaults
v3 ETS LHD Truck - JHT Defaults
v3 ETS RHD Truck - JHT Defaults

If you select "Disable Option 1 - Remove this mod - Standard TIR only":
You can then remove the menu mod from your game profile (if a "no mods" profile is required - Multiplayer?) which reverts the code back to game standard TrackIR without having to default all the controls.sii line edits yourself.

Use one of the supplied presets to suit the truck you are currently driving.
The preset name will change to 'Custom' when you adjust the sliders. Click '+' and type a name for your preset, v4 LHD SCS W900 or v3 RHD DAF 2021 XG, for example.
All presets are saved in your games home directory (the one with your MOD folder).
Example - C:\Users\TEST\Documents\American Truck Simulator\MOD
Example - C:\Users\TEST\Documents\American Truck Simulator\eye_tracking_presets\xxxxxx.sii etc
This folder is only created by the game if you have a Tobii Eye device. If you have and don't use Tobii Eye now then just rename your original folder to "OLD eye_tracking_presets" to avoid problems.

v3.9 & v4.9 - A new feature added.
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.
Note: This feature will only be enabled if 'Lean Zone' slider = 2.99. Therefore you don't have to use it. It's always disabled when using v4.x Manual mode.
If you use one of my preset "... JHT Defaults", to create your own, then this feature is enabled as long as 'Lean Zone' slider = 2.99.

v4.9 - Edited supported truck cameras files to remove camera path when looking to passenger side. That movement is now within my controls.sii code.

Option 1 setup post: viewtopic.php?p=25876#p25876
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR edits: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
User avatar
JHTrucker
Expert
Posts: 1330
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Closed window block solutions 1.38/1.39/1.40/1.41. Updated 29/07/2021

Post by JHTrucker » July 31st, 2021, 5:57 pm

TrackIR Option 7 Window Block update.

What's new?

New menu mod 1.41v4 for game versions 1.38/1.39/1.40/1.41.
Amended lines - Now have to be shown as 1.38/1.39/1.40 or (1.41) as SCS has now renumbered the lines in controls.sii for 1.41... Thanks SCS!
201(192), 204(195), 250(241), 254(245) & 128(463)

Added 'Presets' drop down selector to the top of the menu.
Set menu sliders to just how you want them for any given truck and then save as a preset so you can quickly select it again as and when required.
Starting presets:
Disable Option 7 - Remove this mod - Standard TrackIR only
LHD ATS Defaults
LHD ETS Defaults
RHD ETS Defaults

If you select "Disable Option 7 - Remove this mod - Standard TIR only":
You can then remove the menu mod from your game profile (if a "no mods" profile is required - Multiplayer?) which reverts the code back to game standard TrackIR without having to default all the controls.sii line edits yourself.

Use one of the supplied presets to suit the truck you are currently driving.
The preset name will change to 'Custom' when you adjust the sliders. Click '+' and type a name for your preset, LHD SCS W900 or RHD DAF 2021 XG, for example.
All presets are saved in your games home directory (the one with your MOD folder).
Example - C:\Users\TEST\Documents\American Truck Simulator\MOD
Example - C:\Users\TEST\Documents\American Truck Simulator\eye_tracking_presets\xxxxxx.sii etc
This folder is only created by the game if you have a Tobii Eye device. If you have and don't use Tobii Eye now then just rename your original folder to "OLD eye_tracking_presets" to avoid problems.


Option 7 setup post: viewtopic.php?p=19250#p19250
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR edits: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
User avatar
JHTrucker
Expert
Posts: 1330
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Closed window block solutions 1.38/1.39/1.40/1.41. Updated 31/07/2021

Post by JHTrucker » September 28th, 2021, 7:54 pm

Option 1 Window Block update:

Standard unrealistic cameras (2/3/4/6/7/8/0) can now be used without 'head switching' back to CAM 1 when using previous v4.x mods.
Note:
New CAM 2 is now used to select the Passenger Seat.
New CAM 3 is now used to select the Sleeper Area.
Original CAM 2 is now accessed via 'shift+2'
Original CAM 3 is now accessed via 'shift+3'

New Menu Mod.
New 'Cabin Camera Creator' Menu Mod, used when required only, to position CAM 2 & CAM 3 to exactly where you want them in any given truck and save as a preset.

A new option for refueling. When you are finished refueling outside you will remain outside when you let go of the refuel button. You can therefore have a better look around without having to keep the refuel button pressed. You now enter the cab again by looking up at the driver side window, passenger side window or pressing CAM 1.

'Option 1 Window block' is now known as 'TrackIR Driving Enhancements' as it's now gone way beyond just 'window blocking'.

Menu mods 'TrackIR Driving Enhancements FOV xx.scs' (old v4.x) or 'TDE (Unsupported).scs' (old v3.x).
You'll need to re-apply all line edits and follow the config_local.cfg instruction also.
Any presets you created in v4.9 or v3.9 can still be used but you'll want to prefix them with 'CAM 1:'
The new location is here: viewtopic.php?p=46457#p46457
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR edits: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
User avatar
JHTrucker
Expert
Posts: 1330
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Closed window block solutions 1.38 to 1.43 - Updated 15/01/2022

Post by JHTrucker » January 15th, 2022, 4:57 pm

TrackIR Option 7 Window Block update:

What's new?

If used - X, Y & Z movement is now slowly reduced to zero when looking towards the drivers side window.
This prevents unwanted 'jumps' in head movement when the code is checking if the window is closed.

Amended line edits:
"mix headtrx...
"mix headtren...

New line edits:
"mix headtry...
"mix headtrz...

New mod 'TIR Option 7 Window Block Menu V5.scs'.
There's nothing new in the mod... I've just made a slight adjustment to the layout of the menu and removed the game version number from it's name.
As this is just a modded Tobii Eye menu, as long as SCS don't make changes to their Tobii Eye menu, this should just keep working with newer game versions also.

The above 4 line edit changes and the new menu mod are date highlighted in the first post.
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR edits: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
User avatar
JHTrucker
Expert
Posts: 1330
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Closed window block solutions 1.38 to 1.43 - Updated 20/01/2022

Post by JHTrucker » January 20th, 2022, 5:53 pm

TrackIR Option 7 Window Block update:

What's new?

I should have thought of this before I published V5 above...

New menu mod V6.
Lines 276, 277 & 278 amended.
"mix headtrx...
"mix headtry...
"mix headtrz...

Added tick box to menu:
Enable x/y/z movement when 'On Demand' is activated.
If you're using x/y/z movement, this will enable it to work outside the window, but only when 'On Demand' is activated.

Added example 'window block point values' to menu:
Examples using game standard trucks -- ATS: Kenworth W900=0.00, Mack Anthem=5.00 & Others=1.10 -- ETS2: All 2.90

I now consider 'Option 7' to be complete.

Try 'TrackIR Driving Enhancements' if you want more features...
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR edits: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
User avatar
JHTrucker
Expert
Posts: 1330
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Closed window block solutions 1.38 to 1.43 - Updated 15/02/2022

Post by JHTrucker » February 15th, 2022, 5:50 pm

TrackIR Option 7 Window Block update:

What's new?

Line 'config_lines[276]: "mix headtrx...' amended to better fix movement 'jumps'.
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR edits: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
User avatar
JHTrucker
Expert
Posts: 1330
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Closed window block solutions 1.38 to 1.43 - Updated 15/02/2022

Post by JHTrucker » March 11th, 2022, 5:50 pm

TrackIR Option 7 Window Block update:

What's new?

Amended 'config_lines[199]: "mix camzoom...' to work better when looking towards the passenger side with high 'zoom zone' slider values.
This now uses TIRx & TIRz inconjunction with 'Trueview'. I'll assume newer TrackIR / software etc already has this enabled so that you always lean towards where you are looking.
Here's what my old (2005) TrackIR3 setup looks like:
Image

Added 'config_lines[275]: "mix headtrroll...' to remove 'jump' at window block point when head roll is enabled.
Your head will level out as you look towards the closed drivers window. With the window open and 'on demand' activated you'll have full head roll movement inside and out.

config_lines[56]: "constant c_ht_roll 1.000000" <-- Only if you want TIR head roll enabled otherwise keep on 0.000000

EDIT: 16/03/2022 - 'TrackIR Driving Enhancements' has just been updated to include the option to use the same g_cam_window_block solution I developed here, so if you want more features to go with the same window blocking method, try it out. viewtopic.php?p=46457#p46457
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR edits: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
User avatar
JHTrucker
Expert
Posts: 1330
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Closed window block solutions 1.38 to 1.44 - Updated 15/05/2022

Post by JHTrucker » May 15th, 2022, 8:38 pm

TrackIR Option 7 Window Block update:

TIR Option 7 Window Block Menu V6.1.scs - Game Version 1.38 to 1.43
TIR Option 7 Window Block Menu V7.0.scs - Game Version 1.44
Note: Both mods have the same options but due to SCS changing the Tobii Eye menu in 1.44 you now need to use the correct version for your game. Using the wrong mod will cause some sliders to not work or you'll get a CTD.

Trigger 'Zoom View' is now 0.0 to 1.0 - Default 0.9 (for both mods).

Note:
You will need to re-save any presets you may have already created or you'll see a harmless "YELLOW - <WARNING> Ignoring obsolete attribute 'gaze_view_scale' of unit..." text in the console / game log.

Line edit config_lines[205]: "mix camzoom..." amended and date highlighted.
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR edits: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
User avatar
JHTrucker
Expert
Posts: 1330
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Closed window block solutions 1.38 to 1.45 - Updated 12/08/2022

Post by JHTrucker » August 12th, 2022, 5:08 pm

TrackIR Option 7 Window Block update:

Added 'mp_mod_optional: true' to 'TIR Option 7 Window Block Menu V8.0.scs' mod as per the SCS 1.45 Blog so you can join multiplayer servers whilst still using it.

Note: Convoy host must tick 'Enable Optional Mods' when creating the server.

SCS Blog: 1.45 Update Release.
"If you are a modder in our community, please note that your modification must be tagged as "mp_mod_optional" to be recognised as a MOD that can be ignored by a convoy server that allow for missing optional MODs."

That statement from SCS is rather vague, a map mod can't possibly be 'optional' for example, so i'm sure the game code must scan 'optional' mods for files that cannot be 'optional' and then block them.
With that in mind, my mods may or may not be allowed, now or at some point in the future.
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR edits: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
User avatar
JHTrucker
Expert
Posts: 1330
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Closed window block solutions 1.38 to 1.45 - Updated 12/08/2022

Post by JHTrucker » October 19th, 2022, 6:01 pm

TrackIR Option 7 Window Block update:

What's new? - Nothing, if you're already setup and working.

For easy testing, I've added a game default 'controls.sii' file with all current line edits applied to it.
By using this '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 this file and apply the line edits to your 'controls.sii' file instead. The choice is yours!

Added external links to mod so you don't need to register on here.
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR edits: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
Post Reply