VR: GPS in Center of screen

hippo
Posts: 378
Joined: 10 Apr 2013 15:14

VR: GPS in Center of screen

#1 Post by hippo » 19 May 2018 15:55

Hi,

I seem to have a problem with my GPS position on screen in VR.

I use a VIVE, but have been using a monitor recently as the GPS has moved to dead center of the screen. The bottom of the GPS is about level with the top of the steering wheel, and is making driving a bit of a faff. I cant see much, and as I do a lot of quick jobs (I rarely buy a truck so have no option to put a gps in the left corner) I am stuck.

Any ideas of how to move the thing in VR? I have moved it when I had triple screens, is it the same method in VR? I want it lower and to the right or left to cover the center of the dash.

Oh so I wish it was draggable....

Any ideas? Ta
User avatar
klauzzy
Posts: 336
Joined: 22 Oct 2013 17:10
Location: Germany
Contact:

Re: VR: GPS in Center of screen

#2 Post by klauzzy » 19 May 2018 19:23

Why don't you use the navigator in the dashboard of your truck or a portable navigator at the windshield? I'd never use a ui navigator in vr... For me it kills the vr effect a bit.
[ external image ]
Heilbronn 1:1 - Map
hippo
Posts: 378
Joined: 10 Apr 2013 15:14

Re: VR: GPS in Center of screen

#3 Post by hippo » 21 May 2018 21:52

thanks for replying. I do not buy trucks, so I cant put a GPS in the corner. I could buy one I suppose, but it is not my play style. I like random trucks from quick jobs. You get what you get.

I have moved to another game for now, it might be I look at advisor.sii when I feel like it later. Is it still the file that controls the GPS position in VR as well as flat screens? I have not looked for years...

What files control where the gps is positioned? I might make a mod to move it myself.
FlyingPigeon
Posts: 2155
Joined: 14 Feb 2017 11:08

Re: VR: GPS in Center of screen

#4 Post by FlyingPigeon » 22 May 2018 05:14

Isnt it possible that mod add add-on gps in all default quickjob trucks? Or at least the possibilty must be there
Scandinavian truckdriver.
hippo
Posts: 378
Joined: 10 Apr 2013 15:14

Re: VR: GPS in Center of screen

#5 Post by hippo » 22 May 2018 15:51

that sounds like a good idea. Anyone know of a mod that can add a gps to all quick trucks?
hippo
Posts: 378
Joined: 10 Apr 2013 15:14

Re: VR: GPS in Center of screen

#6 Post by hippo » 26 May 2018 10:07

Ok I fixed it. I made a mod to move it to the top of the screen in VR. It should work for all truck, UK included as it is central to both. For me I liked the idea of glancing up to check where I am and stuff, and it works well for me.

Thanks to Komat for his help in making this happen.

It is for the oculus branch, I use a Vive, and sometimes if you want something, you got to do it yourself.

I have uploaded it to Google Drive if you want to try it yourself. Feel free to share and upload or set fire to it. I do not mind.
https://drive.google.com/open?id=1cB6dl ... TKcAj39as8
hippo
Posts: 378
Joined: 10 Apr 2013 15:14

Re: VR: GPS in Center of screen

#7 Post by hippo » 28 May 2018 11:10

I have moved the gps up a little further, after doing the same for non VR. So this mod now moves he GPS for VR and Non VR to the top center of the screen, out of the way.
dave_th
Posts: 155
Joined: 18 Feb 2016 16:59

Re: VR: GPS in Center of screen

#8 Post by dave_th » 20 Dec 2018 14:18

Is there an edit I can make to the .sii file that allows me to move the entire window. I have figured out how to move individual elements like: I wanted the money shown next to the steering wheel so I changed the coordinates to:
coords_l: 785
coords_r: 895
coords_t: 230
coords_b: 208

and time I wanted to make go away completely so I:
coords_l: 785
coords_r: 895
coords_t: 1200
coords_b: 1200

But I cant find the magic that will allow me to move the whole thing at once. Can you point me in the right direction..
Oh and thanks for making this.
hippo
Posts: 378
Joined: 10 Apr 2013 15:14

Re: VR: GPS in Center of screen

#9 Post by hippo » 18 Feb 2019 22:43

hmm, for those that might be interested, what I did was list all the elements in the file in excel or calc or something...

Then I manually copied out the data in the file... so i created a table

Code: Select all

Name		coords_l: coords_r: coords_t: coords_b:
			Left	Right	Top	Bottom
				
Parent Window		0	1440	900	0
advisor.standard	533	919	354	-42
advisor.uk		535	921	354	-42
advisor.area		533	919	354	-42
				
full.advisor		533	919	354	-42
advisor.full.bcg	534	919	287	-42
.icons.bcg		634	796	262	240
.bar.bottom		561	887	67	27
.logo			676	771	-1	-17		etc...
Then I duplicated these columns, so I could then add 546 to all the Top and Bottom columns, and that moved everything 546 up. The value was derived by trial and error and a bit of basic maths, but 546 seemed to put the top of the window at the top of the screen. As I was not adding anything to the left or right, it stayed where it was horizontally, just moved up and down. You need to add it to the top/bottom, or left/right so the size of the window stays constant, and you can use negative too to move in the opposite directions.

Code: Select all

coords_l: coords_r: coords_t: coords_b:
Left	Right	Top	Bottom
			
=C4+0	=D4+0	=E4+0	=F4+0
=C5+0	=D5+0	=E5+546	=F5+546
=C6+0	=D6+0	=E6+546	=F6+546
=C7+0	=D7+0	=E7+546	=F7+546

Code: Select all

coords_l: coords_r: coords_t: coords_b:
Left	Right	Top	Bottom
			
0	1440	900	0
533	919	900	504
535	921	900	504
533	919	900	504
And as the second set of co-ordinate columns are a relative position to the original data, everything moves together. By using two tables, you can use a variable for the movement to semi automate it.

Then all that is left to you is to copy the values back into the Sii file, making sure you concentrate to put the right values against the right elements... it is trickier than is sounds. I am sure some programmer minded person could automate this, but it worked for me to solve the problem I had.
Etsija
Posts: 4
Joined: 02 Oct 2020 14:56

Re: VR: GPS in Center of screen

#10 Post by Etsija » 02 Oct 2020 15:01

I'm sorry to answer to such an old thread, but found your excellent Route Advisor mod by googleing. I'm driving in VR and took your mode to test, @hippo.

Works great! Apart from one thing: I do not have the text line containing the ETA and kilometers left to the destination anymore on the relocated Route Advisor. Now I do not know if this is because of your mod or something else, but would be very grateful for any help on this matter. Cheers.
Post Reply

Return to “General discussion about the game”

Who is online

Users browsing this forum: freiwild4ever, sneg1784 and 12 guests