Notifications
Clear all
Topic starter
19/03/2023 1:44 pm
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?
19/03/2023 2:19 pm
Hi, the fuel restriction is available through:
DataCorePlugin.GameRawData.SessionData.DriverInfo.DriverCarMaxFuelPct