The online racing simulator
Getting the coordinates of a place on the track
hi
how can i get the coordinates of a place on the track to add it to insim (C#)?

i have some houses and establishments in the insim that i have their coordinates from other insims. but i want to add new places, so i need the new places coordinates.

how's that done?

thanks a lot
You should drive to the place where you want them and get their coordinates.
Then you could type a command to get your position, or you could make a createbutton to see every different coordinate if you move (If placed inside MCI_Update).
I suggest to use CompCar.

I made a command to toggle the coordinates on and off on my screen.
I am using Createbuttons and drive to the place while you continuesly see your coordinates, if I toggled it on.

Hope it helps
Can use these track images:
https://www.lfsforum.net/showthread.php?p=676857
1 pixel = 1 meter
0:0 is in center of image.
Or see attached image, I added coordinates.

In insim internally coordinates are in different scale, you might have to multiply with 65536.
Attached images
BL_coords.png
Quote from Thijs-boy :You should drive to the place where you want them and get their coordinates.
Then you could type a command to get your position, or you could make a createbutton to see every different coordinate if you move (If placed inside MCI_Update).
I suggest to use CompCar.

I made a command to toggle the coordinates on and off on my screen.
I am using Createbuttons and drive to the place while you continuesly see your coordinates, if I toggled it on.

Hope it helps

Quote from Gutholz :Can use these track images:
https://www.lfsforum.net/showthread.php?p=676857
1 pixel = 1 meter
0:0 is in center of image.
Or see attached image, I added coordinates.

In insim internally coordinates are in different scale, you might have to multiply with 65536.

Thank you both for your help
i made it

FGED GREDG RDFGDR GSFDG