"Remaining lap dist...
 
Notifications
Clear all

"Remaining lap distance" in Dashboard

4 Posts
2 Users
0 Reactions
2,312 Views
ChrisTheSwede
(@christheswede)
New Member
Joined: 4 years ago
Posts: 4
Topic starter  

Hi,

I'm looking to convert from SimDashboard to SimHub for the display I have on my phone while racing, and I have a SimDashboard dashboard for Dirt Rally 2.0 that I'm trying to replicate with SimHub.

However, I can't find the telemetry text field SimDashboard calls "Remaining Lap Distance" anywhere in the SimHub dashboard creator tool. It's a simple text field that shows the remaining distance, in meters, of the current stage. Can anyone tell me where to find it, what it's called in SimHub, or if it's not supported?

Thanks!

EDIT: I think I figured it out. Didn't find a ready-made function for it but the following works. Will learn this and share the function here once I got it to round to KM when distance is over 1000 meters and so on.

[TrackLength]-[GameRawData.LapDistance]
This topic was modified 4 years ago by ChrisTheSwede

   
Quote
(@bluwaters)
Active Member
Joined: 4 years ago
Posts: 8
 

Hi Chris!!! I just found out about Simhub and have been trying to create my own Dash but i am having problems with the coding/telemetry fields as I don't know much about coding.

I am trying to get the same thing you were looking for in a Percentage field as i've seen some people that have been able to do.  
Is this something you would be able to help with ??
Cheers
Blu


   
ReplyQuote
ChrisTheSwede
(@christheswede)
New Member
Joined: 4 years ago
Posts: 4
Topic starter  

@bluwaters Hey there.

I'm also very new at this, and unfortunately I cannot try it at the moment, but maybe you could try this:

[GameRawData.LapDistance]/[TrackLength]

And to get it to percentages, now I'm wildly guessing about the capabilities of the scripting though:

([GameRawData.LapDistance]/[TrackLength])*100

Good luck!


   
ReplyQuote
(@bluwaters)
Active Member
Joined: 4 years ago
Posts: 8
 

@christheswede hey thanks for the reply ... i also started my own thread with one of the admins reaching out and giving me some coding as well. My thing is learning where to apply the codes as in on which menu item... "Dispaly" "Text" etc etc.   I have found myself just adding a bunch of different windows and assigning the same code to each one and seeing what actually gets any input from the game and then i just remove the others LOL 

I will try yours out tonight....
Thanks again
Blu
PS  I've attached my creation so far ... still a work in progress.


   
ReplyQuote
Share: