TRACKIR Closed window block solutions 1.38/1.39. Updated 29/01/2021

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

Re: TRACKIR Closed window block solutions 1.38. Updated 15/07/2020

Post by JHTrucker » July 21st, 2020, 6:08 pm

@alonzam99
If your head pitch movement isn't very sensitive then you are probably not hitting the right spot.
Look far left and then look far up... don't stop looking up because the in game screen has stopped moving.
But forget it, it's much harder to activate like that. It's better as just look far left & press open button.
NPI AA: viewtopic.php?p=13049#p13049
TRACKIR closed window block: viewtopic.php?p=19250#p19250
Additional non standard screen configs: viewtopic.php?p=17658#p17658
alonzam99
Posts: 100
Joined: April 17th, 2020, 2:47 pm

Re: TRACKIR Closed window block solutions 1.38. Updated 15/07/2020

Post by alonzam99 » July 21st, 2020, 6:43 pm

JHTrucker wrote:
July 21st, 2020, 6:08 pm
@alonzam99
If your head pitch movement isn't very sensitive then you are probably not hitting the right spot.
Look far left and then look far up... don't stop looking up because the in game screen has stopped moving.
But forget it, it's much harder to activate like that. It's better as just look far left & press open button.

The problem with looking far left and then press open window button is that no matter what you do you'll need to open the window 100%(fully opened)
to get outside contro.If I want to only open the window 70% and then look outside with control it is impossible because when I press the open window button again to get full control
then window automatically fully opening.That's the reason that I asked you few days ago if there isn't a way to get outside control without press any button, just like scs's method.
And I don't know if it is goes the same way, but maybe if you have a lines to the far left and then far up, maybe you get find lines to far left and far left ? so it will automatically unblock you when you will
look out of the window without pressing any button/doing any other movement.
User avatar
JHTrucker
Posts: 839
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Closed window block solutions 1.38. Updated 15/07/2020

Post by JHTrucker » July 21st, 2020, 7:20 pm

@alonzam99
I first made it to unblock when just looking far left, but it's really easy to look far left when you are just quick looking left with the window closed and therefore unblock when it shouldn't. Adding press open window button to it makes it much harder to accidentally unblock whilst still feels natural to do.

But i think you are forgetting that gcam doesn't work with TIR on.
Line 250 turns off TIR just before the window point for LHD or RHD.
Game controller function takes over and lets your head auto turn out of the window if gcam lets it.
Line 128 is used to override line 250 to enable "on demand" outside control.

If you want to try just look far left only, then use this:

config_lines[128]: "mix headtren `c_et_head & trackir.device.active?0 & (keyboard.num7?0 & ! c_et_pos & ! c_ht_on | keyboard.num9?0 & c_et_pos & ! c_ht_on | trackir.device.position.yaw?0 / 2 & ! c_et_pos & c_ht_on | -trackir.device.position.yaw?0 / 2 & c_et_pos & c_ht_on)`"

Set gcam to 0.7 But if window is fully open and you close it to 90% open, it'll block... pressing close window button will always block.

There will be no further improvements to option 7.
NPI AA: viewtopic.php?p=13049#p13049
TRACKIR closed window block: viewtopic.php?p=19250#p19250
Additional non standard screen configs: viewtopic.php?p=17658#p17658
alonzam99
Posts: 100
Joined: April 17th, 2020, 2:47 pm

Re: TRACKIR Closed window block solutions 1.38. Updated 15/07/2020

Post by alonzam99 » July 21st, 2020, 7:45 pm

JHTrucker wrote:
July 21st, 2020, 7:20 pm
@alonzam99
I first made it to unblock when just looking far left, but it's really easy to look far left when you are just quick looking left with the window closed and therefore unblock when it shouldn't. Adding press open window button to it makes it much harder to accidentally unblock whilst still feels natural to do.

But i think you are forgetting that gcam doesn't work with TIR on.
Line 250 turns off TIR just before the window point for LHD or RHD.
Game controller function takes over and lets your head auto turn out of the window if gcam lets it.
Line 128 is used to override line 250 to enable "on demand" outside control.

If you want to try just look far left only, then use this:

config_lines[128]: "mix headtren `c_et_head & trackir.device.active?0 & (keyboard.num7?0 & ! c_et_pos & ! c_ht_on | keyboard.num9?0 & c_et_pos & ! c_ht_on | trackir.device.position.yaw?0 / 2 & ! c_et_pos & c_ht_on | -trackir.device.position.yaw?0 / 2 & c_et_pos & c_ht_on)`"

Set gcam to 0.7 But if window is fully open and you close it to 90% open, it'll block... pressing close window button will always block.

There will be no further improvements to option 7.
Tried this line and now it doesn't give me outside control at all , no matter how much left I turn my real head.
User avatar
JHTrucker
Posts: 839
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Closed window block solutions 1.38. Updated 15/07/2020

Post by JHTrucker » July 22nd, 2020, 1:10 am

@alonzam99
It's the same line as the original one i added to the controls.sii file for you minus the 2 required buttons.
Red line 128 in console? bad copy/paste.
here's that file again with the 2 required buttons removed so it should work for just look far left LHD / right RHD .
Works ok for me.

File deleted.
Last edited by JHTrucker on July 23rd, 2020, 1:23 am, edited 1 time in total.
NPI AA: viewtopic.php?p=13049#p13049
TRACKIR closed window block: viewtopic.php?p=19250#p19250
Additional non standard screen configs: viewtopic.php?p=17658#p17658
alonzam99
Posts: 100
Joined: April 17th, 2020, 2:47 pm

Re: TRACKIR Closed window block solutions 1.38. Updated 15/07/2020

Post by alonzam99 » July 22nd, 2020, 12:05 pm

JHTrucker wrote:
July 21st, 2020, 7:20 pm
@alonzam99
I first made it to unblock when just looking far left, but it's really easy to look far left when you are just quick looking left with the window closed and therefore unblock when it shouldn't. Adding press open window button to it makes it much harder to accidentally unblock whilst still feels natural to do.

But i think you are forgetting that gcam doesn't work with TIR on.
Line 250 turns off TIR just before the window point for LHD or RHD.
Game controller function takes over and lets your head auto turn out of the window if gcam lets it.
Line 128 is used to override line 250 to enable "on demand" outside control.

If you want to try just look far left only, then use this:

config_lines[128]: "mix headtren `c_et_head & trackir.device.active?0 & (keyboard.num7?0 & ! c_et_pos & ! c_ht_on | keyboard.num9?0 & c_et_pos & ! c_ht_on | trackir.device.position.yaw?0 / 2 & ! c_et_pos & c_ht_on | -trackir.device.position.yaw?0 / 2 & c_et_pos & c_ht_on)`"

Set gcam to 0.7 But if window is fully open and you close it to 90% open, it'll block... pressing close window button will always block.

There will be no further improvements to option 7.
I think you forgot the right & left windows open buttons in this line and also in the file you gave me right ? or Is it on purpose ?
alonzam99
Posts: 100
Joined: April 17th, 2020, 2:47 pm

Re: TRACKIR Closed window block solutions 1.38. Updated 15/07/2020

Post by alonzam99 » July 22nd, 2020, 12:22 pm

Tried now again the "only look far left" using the file you gave me and still no outside control.I get blocked but when I open the window and look outside, it is automatically look far left with no outside control.
Check your line and maybe you'll find you made a mistake.
User avatar
JHTrucker
Posts: 839
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Closed window block solutions 1.38. Updated 15/07/2020

Post by JHTrucker » July 23rd, 2020, 1:23 am

Line 128 blocks or unblocks.
You didn't want to open window and look far left, so I removed them... that line works fine for me just looking far left but it's far too easy to unblock through a closed window. So use option 7 as intended in the first post. Far left & open window button.
NPI AA: viewtopic.php?p=13049#p13049
TRACKIR closed window block: viewtopic.php?p=19250#p19250
Additional non standard screen configs: viewtopic.php?p=17658#p17658
alonzam99
Posts: 100
Joined: April 17th, 2020, 2:47 pm

Re: TRACKIR Closed window block solutions 1.38. Updated 15/07/2020

Post by alonzam99 » July 23rd, 2020, 10:29 am

JHTrucker wrote:
July 23rd, 2020, 1:23 am
Line 128 blocks or unblocks.
You didn't want to open window and look far left, so I removed them... that line works fine for me just looking far left but it's far too easy to unblock through a closed window. So use option 7 as intended in the first post. Far left & open window button.
I thought that I just need to open the window, look far left and I get outside control, am I wrong?
User avatar
JHTrucker
Posts: 839
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Closed window block solutions 1.38. Updated 15/07/2020

Post by JHTrucker » July 23rd, 2020, 7:02 pm

Correct. But if it doesn't work for you... forget it, it's not a good solution anyway.
NPI AA: viewtopic.php?p=13049#p13049
TRACKIR closed window block: viewtopic.php?p=19250#p19250
Additional non standard screen configs: viewtopic.php?p=17658#p17658
Post Reply