Dirt Rally 2.0
 
Notifications
Clear all

Dirt Rally 2.0

9 Posts
2 Users
1 Reactions
6,527 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: