Fuel Capacity iRaci...
 
Notifications
Clear all

Fuel Capacity iRacing

2 Posts
2 Users
0 Likes
732 Views
(@butzy)
Active Member
Joined: 1 year ago
Posts: 3
Topic starter  

Hi,

I'm creating a dashboard having the Fuel Capacity to show up and for some fuel calculations.

But I have an issue with iRacing, showing the Tank Capacity of the car, but not the ammount you could really load in to the car.

 

I do the example:

IMSA Series has cars having a Fuel Capacity of 104 liters, but in IMSA Series the tank is limited of 40% of the real size (You can load ONLY 46.8 liters).

THe property $prop('MaxFuel') or the Predefined Behavier "Fuel Capacity" are both showing 104 liters, and not the value set for the serie itself.

Could someone help me to solve this issue?


   
Quote
Topic Tags
(@romainrob)
Honorable Member
Joined: 5 years ago
Posts: 530
 

Hi, the fuel restriction is available through:
DataCorePlugin.GameRawData.SessionData.DriverInfo.DriverCarMaxFuelPct


   
ReplyQuote
Share: