The online racing simulator
Searching in All forums
(33 results)
2
LupusC
S2 licensed
But this doesn't work when you connect to a client and not to a dedicated server and use replays. When LFS is in the entry screen there are no connections from any player so you get no data.

Hmmm, I think the best method would be waiting for the first command from LFS and then using IS_STA and NCN/NPL you mentioned.

I think it would be great when on starting a replay all player data will be sent with an own command )))
LupusC
S2 licensed
I hope I can clarify my problem.

The centre points represent coordinates. That's fixed

1 int 0 centre X : fp
1 int 4 centre Y : fp
1 int 8 centre Z : fp

The other values are float.

1 float 12 dir X : float
1 float 16 dir Y : float
1 float 20 dir Z : float
1 float 24 limit left : outer limit
1 float 28 limit right : outer limit
1 float 32 drive left : road limit
1 float 36 drive right : road limit

But how do I get out of these float values integer coordinates like the centre coordinates.

If you connect each centre point you get the centre line of the track. But I want to display the road, so I neet the bounding points.

I hope that it's now clear.
LupusC
S2 licensed
Thanks Victor,

Reading readme's is often helpful. <

But I was right that no command is existing that to get all player names with one command.

cu
LupusC
S2 licensed
Hi ,

My question was how I get the integer coordinates for the bounds from the float values.
LupusC
S2 licensed
Thanks for your answer.

Now it's clear for me.

Quote :I wonder what about this subject you don't understand! (in other words, if you can write your own software drawer you should already know about how to give faces colour).

I think I expressed myself wrong. I missed the connection between the points and the vertices. Coloring is now easy.

By the way I use Java.

Thanks a lot.
Retrieving of player names in replays
LupusC
S2 licensed
Hi,

With InSim it is in my opinion not possible to get the player names to the uniqueID's until everyone finished al least one Lap. The SPX gives me only the time and the uniqueID.

Is there an InSim command to retrieve all current player names or am I right that it is not possible?

thx
Creating a 2D image from smx files
LupusC
S2 licensed
Hi,

Has anyone please hints how a track is drawn from smx files? Retrieving the points and vertices is easy. But how to combine them that the result looks like a track( like in the Replay Analyzer)?

What to do with the vertices and how to color that all? I searched in different forums but didn't find anything.

Is there anywhere document where it is explained in detail? The readme to the smx files doesn't explain that.

Thanks for your help
Getting road and track bounds from PTH files
LupusC
S2 licensed
Hi,

I have problems with pth files. My intention is to create a 2D image of the track. Similar to the performance analyzer.

But how do I get/calculate the coordinates for the road and track bounds ? I searched intensively but didn't find anything.

Thanks for help.
2
FGED GREDG RDFGDR GSFDG