Headtracking information

Make your game even better
User avatar
BenganJ
Moderator
Posts: 9919
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: Headtracking information

Post by BenganJ » June 2nd, 2020, 2:30 am

@JHTrucker

Yes, definitely! I will add info about it, but not right now, as I'm involved very
heavily in a discussion about UI BGs and map projections with Promods team.
As soon as possible mate!
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
BenganJ
Moderator
Posts: 9919
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: Headtracking information

Post by BenganJ » June 2nd, 2020, 3:53 pm

=============== Folks! ===============

First post updated with link to guidance regarding headtracking use together with the
new ability to open the truck windows.
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
JHTrucker
Expert
Posts: 1329
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: Headtracking information

Post by JHTrucker » June 2nd, 2020, 6:41 pm

@BenganJ - Thanks, it wasn't meant as an urgent request.
I just felt it was a good fit to go with your guidance, as it's not a "must have mod" it's a fix to an issue, but only if you think it's an issue to begin with.
Thanks again.
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
BenganJ
Moderator
Posts: 9919
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: Headtracking information

Post by BenganJ » June 2nd, 2020, 6:47 pm

@JHTrucker

Oh, I thought it was a good idea, might be deleted the day SCS fixes it,
but I'm not that hopeful about that!
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
liberto
Posts: 1
Joined: August 28th, 2021, 11:25 am

Re: Headtracking information

Post by liberto » August 28th, 2021, 11:31 am

Is there a way to change the "camera path" when turning the head? It goes forward after you reach a certain degree and I'd like to not have that (i.e. have my trackir work as a VR headset, only rotate if I rotate, and move forward if I move forward).
Tried to fiddle with things in the controls.sii file, but this is all gibberish to me
User avatar
JHTrucker
Expert
Posts: 1329
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: Headtracking information

Post by JHTrucker » August 28th, 2021, 2:56 pm

@liberto - You need to edit the truck camera files to remove the path.
VR uses that path also... I don't have one to test but it all looks the same to me for TIR & VR.

Without the camera path you won't see the outside of the truck when you put your head out as that camera path is used to switch from inside to outside turning interior off and turning exterior on.

Perhaps try my TrackIR Option 1 window block viewtopic.php?p=25876#p25876
You have much better x/y/z control and when set to 'manual' your head will only go out of the window if you lean towards it whilst turning.
Choose '#1 Manual windows' for easy setup.
There's a lot of extra features available via the in game menu that you can adjust to suit.

EDIT:
But if you only want to move your head x/y/z without any restrictions, then use this:

With these game standard lines VR (hmdon) has no limits set and so you can move your VR head x/y/z beyond the truck cab.

config_lines[245]: "mix headtrx `clamp(sel(trackiron, trackirx, 0) + sel(eyeposon, eyeposx, 0), -0.1, 0.1) + sel(hmdon, hmdx, 0)`"
config_lines[246]: "mix headtry `clamp(sel(trackiron, trackiry, 0) + sel(eyeposon, eyeposy, 0), -0.05, 0.05) + sel(hmdon, hmdy, 0)`"
config_lines[247]: "mix headtrz `clamp(sel(trackiron, trackirz, 0) + sel(eyeposon, eyeposz, 0), -0.2, 0.05) + sel(hmdon, hmdz, 0)`"

If you want the same for TrackIR or Tobii eye, then change those lines to these:

config_lines[245]: "mix headtrx `sel(trackiron, trackirx, 0) + sel(eyeposon, eyeposx, 0) + sel(hmdon, hmdx, 0)`"
config_lines[246]: "mix headtry `sel(trackiron, trackiry, 0) + sel(eyeposon, eyeposy, 0) + sel(hmdon, hmdy, 0)`"
config_lines[247]: "mix headtrz `sel(trackiron, trackirz, 0) + sel(eyeposon, eyeposz, 0) + sel(hmdon, hmdz, 0)`"
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
edo1952
PPM
Posts: 21
Joined: December 16th, 2018, 10:38 am

Re: Headtracking information

Post by edo1952 » September 3rd, 2022, 1:29 am

BenganJ wrote:
January 11th, 2019, 2:39 am
youtube.com/watch?v=BZZQgvLfxKo
Very impressive.
How do you get your headlights to come on so bright in daylight hours ??
TY
User avatar
JHTrucker
Expert
Posts: 1329
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: Headtracking information

Post by JHTrucker » September 3rd, 2022, 12:38 pm

@edo1952 - Headlights were bright during the day in game versions before the new lighting system 1.40+
Your quoted text is from 2019 and so it's from 1.35 or below using DX9.
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