coding help
 
Notifications
Clear all

coding help

24 Posts
2 Users
1 Reactions
6,454 Views
(@romainrob)
Honorable Member
Joined: 5 years ago
Posts: 530
 

@doomsday Hi,
Do you mean the tyre pressure is always 0 in multiplayer?
Or does it reset to 0 when you exit the car/ return to the pits?


   
ReplyQuote
(@doomsday)
Trusted Member
Joined: 3 years ago
Posts: 33
Topic starter  

@romainrob when press esc and return to pit-setup


   
ReplyQuote
(@doomsday)
Trusted Member
Joined: 3 years ago
Posts: 33
Topic starter  

@romainrob to be more specific, in acc the hot pressure telemetry is always reset to zero when you return to the pit (I do not know why.....). here is the need to "photograph" the value in order to use it in calculations.
in single player the formula works, but in multyplayer no.......


   
ReplyQuote
(@romainrob)
Honorable Member
Joined: 5 years ago
Posts: 530
 

Maybe it drops to 0 just before the data says you're in the pits.
You could try only updating your root.onTrackDeltaPressure if $prop('TyrePressureFrontLeft') != 0


   
ReplyQuote
(@doomsday)
Trusted Member
Joined: 3 years ago
Posts: 33
Topic starter  

@romainrob ok I will try...but the strange thing is that it happens only in MP....


   
ReplyQuote
(@romainrob)
Honorable Member
Joined: 5 years ago
Posts: 530
 

It must have something to do with the game not pausing when pressing esc in MP.


   
ReplyQuote
(@doomsday)
Trusted Member
Joined: 3 years ago
Posts: 33
Topic starter  

I understood the problem between mp and single player and solved it


   
ReplyQuote
(@doomsday)
Trusted Member
Joined: 3 years ago
Posts: 33
Topic starter  

do you know of any way via code to automatically switch to a certain screen following a specific event without using the paired button?

or to inhibit switching to a screen?
example:
I have 3 screens in the dash
do I want to automatically switch to screen 3 at a given event, or do I want pressing the paired key to inhibit switching to screen 2 by going directly to screen 3?

This post was modified 2 years ago by Doomsday

   
ReplyQuote
(@doomsday)
Trusted Member
Joined: 3 years ago
Posts: 33
Topic starter  

@oanlena ??????


   
ReplyQuote
Page 2 / 2
Share: