Dirt Rally 2.0
 
Notifications
Clear all

Dirt Rally 2.0

9 Posts
2 Users
1 Reactions
6,485 Views
(@bluwaters)
Active Member
Joined: 4 years ago
Posts: 8
Topic starter  

Hey Guys!
I'm new to SimHub and been playing around with creating my own Mobile Dash for DirtRally 2.0>
I am not too good with coding and telemetry but I was wondering if anyone could point me in the direction of how to add the "Stage Length Remaining" to my Dash?  

The other thing... is there a way to find out what Telemetry is fully available so we can add it to our custom dashboards?
Thanks
blu


   
Quote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 732
 

Hi it does not exists as "is" but you can use a simple calculation :

(1-[TrackPositionPercent]) * [TrackLength]

 

For the available properties you can check the "available properties section you have a status : 


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

Thanks for the reply. I will try and figure it out 🙂


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

@admin5435 ... ok quick question... is there a way I can turn the value to show 1-100% instead of it counting down in what i presume is Meters from the end of the stage?

I am trying to get it to show me how much of the stage is left if i glance down and i see 85% then i know if i get a flat i only have 15% to go and i can make it rather than stop and change and incur a penalty. 
Thanks
blu


   
ReplyQuote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 732
 

(1-[TrackPositionPercent])*100 will do the trick 😉


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

@admin5435 awesome... thanks... i will try it out tonight and see how it works.  I've attached a screenshot of what i've done so far ... still working on it to see what info is helpful and what isn't.

Thanks again for the help 🙂


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

@admin5435it worked perfectly thanks!!!!!!!!!!  One small question LOL what code can i use to have it start at 1% and end stage at 100% instead of doing 100% in the beginning and counting down to 1% at the end?

thanks again


   
ReplyQuote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 732
 

That's really simple maths 😉 [TrackPositionPercent]*100


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

@admin5435 ... for sure 🙂


   
ReplyQuote
Share: