TRACKIR Closed window block (possible) solutions. Updated 27/06/2020

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

Re: TRACKIR Open/Close window block (possible) solutions.

Post by JHTrucker » June 17th, 2020, 7:28 pm

First post updated with additional line 243 option for ETS2 using standard scs trucks only.

The truck camera files determine where the closed window block point is located.
In ETS2 all standard scs trucks are blocked at 115 degrees left or right.
In ATS all standard scs trucks are blocked at different points from 100 degrees to 130 degrees. This makes it impossible to have one line 243 formula for ATS, so the one stated in the first post is a compromise to cater for all models, including modded trucks and non scs trucks in both ATS or ETS2.
If, when you turn to the closed window your head goes through it a bit and then has a bounce back to the block point, you should use either one of these 2 lines:
(for LHD trucks):
config_lines[243]: "mix headtron `(trackiryaw / 2.5) + 0.30 + sign(trackiron)`"
OR
(for RHD trucks):
config_lines[243]: "mix headtron `(trackiryaw / 2.5) - 0.30 + sign(trackiron)`"


First post updated with this additional line 250 & amended line 194.

config_lines[194]: "mix looklranaraw `deadzone(sel(trackiron, trackiryaw, 0), 0.49)`"
config_lines[250]: "mix headtrwmon `0`"

In garage upgrades screen where you can look around your truck/trailer, the camera view goes crazy... fixed, almost.

In driving view, cam 1, TIR controls the view only. If TIR is turned off, controller/mouse takes over.
In garage upgrades screen the view is controlled by the mouse as you look around the truck trailer. Ok.
If you then click "walk mode" the view is controlled by TIR/controller/mouse all at the same time. As we control the controller function with our head we therefore have TIR and controller moving the view at the same time. Not good.
If you want to pick an interior. That view is also controlled by TIR/controller/mouse. Not good.

This update tries to fix the above behaviour, but i'm now limited to what's possible.
So i've disabled TIR in "walk mode" and given the controller function a dead zone so your head left/right doesn't rotate the view and instead you only have mouse control. Better.
Note: The dead zone is the same amount you turn your head to reach the closed window. So as long as you don't move your head too far, left or right, the view should stay in mouse control. I can't increase the dead zone further, as we need the controller function for moving through the window in the driving screen.

For best results, when in garage upgrades screen, pause TIR in it's software if possible. My TIR software allows me to setup a hotkey for "pause", i then just pause as required and my head movements are no longer used in game until i "un pause".
For best AA results always use latest files.
First post STEP 2 files updated 10/04/2020 viewtopic.php?f=19&t=1000
Additional non standard screen configs to try: viewtopic.php?p=17658#p17658
User avatar
JHTrucker
Posts: 602
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Open/Close window block (possible) solutions.

Post by JHTrucker » June 27th, 2020, 6:04 pm

First post updated: Line 194 amended & Option 7 advanced edits added.
"How it works" moved to the top.
For best AA results always use latest files.
First post STEP 2 files updated 10/04/2020 viewtopic.php?f=19&t=1000
Additional non standard screen configs to try: viewtopic.php?p=17658#p17658
alonzam99
Posts: 60
Joined: April 17th, 2020, 2:47 pm

Re: TRACKIR Open/Close window block (possible) solutions.

Post by alonzam99 » July 1st, 2020, 12:15 pm

There is no solution to the control the outside of the window yet ?
User avatar
JHTrucker
Posts: 602
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Open/Close window block (possible) solutions.

Post by JHTrucker » July 3rd, 2020, 5:38 pm

@alonzam99 - Well on page 9 i posted this:

Why can't we control the outside view with my option 7? My better explanation:
viewtopic.php?p=24040#p24040

Guess you missed that or didn't understand.

Remember, i'm trying to make a game feature work for head tracking that SCS have deliberately disabled in the game code.

When 1.38 public version appears, i'll test to see if there's any more i can do to satisfy your demands!
For best AA results always use latest files.
First post STEP 2 files updated 10/04/2020 viewtopic.php?f=19&t=1000
Additional non standard screen configs to try: viewtopic.php?p=17658#p17658
alonzam99
Posts: 60
Joined: April 17th, 2020, 2:47 pm

Re: TRACKIR Open/Close window block (possible) solutions.

Post by alonzam99 » July 4th, 2020, 3:20 pm

JHTrucker wrote:
July 3rd, 2020, 5:38 pm
@alonzam99 - Well on page 9 i posted this:

Why can't we control the outside view with my option 7? My better explanation:
viewtopic.php?p=24040#p24040

Guess you missed that or didn't understand.

Remember, i'm trying to make a game feature work for head tracking that SCS have deliberately disabled in the game code.

When 1.38 public version appears, i'll test to see if there's any more i can do to satisfy your demands!
Yes I saw it, I just asked if there's any update about the outside window control (as you said, maybe something in 1.38)..
User avatar
JHTrucker
Posts: 602
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Closed window block (possible) solutions. Updated 27/06/2020

Post by JHTrucker » July 4th, 2020, 5:02 pm

@alonzam99 Have you updated to the latest block version? or are you running 1.38 OB?
No outside control fix yet, but much improved by having a game menu, i think.
DO NOT TRY IT IF YOU ARE ON 1.38 OB
For best AA results always use latest files.
First post STEP 2 files updated 10/04/2020 viewtopic.php?f=19&t=1000
Additional non standard screen configs to try: viewtopic.php?p=17658#p17658
alonzam99
Posts: 60
Joined: April 17th, 2020, 2:47 pm

Re: TRACKIR Closed window block (possible) solutions. Updated 27/06/2020

Post by alonzam99 » July 4th, 2020, 6:18 pm

JHTrucker wrote:
July 4th, 2020, 5:02 pm
@alonzam99 Have you updated to the latest block version? or are you running 1.38 OB?
No outside control fix yet, but much improved by having a game menu, i think.
DO NOT TRY IT IF YOU ARE ON 1.38 OB
yes I saw it. I will download it and will try in the coming week when I'll have time to play the game
User avatar
JHTrucker
Posts: 602
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Closed window block (possible) solutions. Updated 27/06/2020

Post by JHTrucker » July 4th, 2020, 7:02 pm

alonzam99 wrote:
July 4th, 2020, 6:18 pm
JHTrucker wrote:
July 4th, 2020, 5:02 pm
@alonzam99 Have you updated to the latest block version? or are you running 1.38 OB?
No outside control fix yet, but much improved by having a game menu, i think.
DO NOT TRY IT IF YOU ARE ON 1.38 OB
yes I saw it. I will download it and will try in the coming week when I'll have time to play the game
Don't forget to make the required changes to controls.sii file to go with that mod.
For best AA results always use latest files.
First post STEP 2 files updated 10/04/2020 viewtopic.php?f=19&t=1000
Additional non standard screen configs to try: viewtopic.php?p=17658#p17658
Post Reply