vHUD for Project Cars - Documentation - Variables

These keywords refer to the variables in game. Some of them provide a number, others a string.

It will be detailed next to each variable what type of content is sent and the format (for strings).

Units Engine Race Time Wheels Safe values Damage Other

Units

SpeedUnitstring: km/h or mph

FuelUnitstring: mpg or l/100 km

TemperatureUnitstring: C or F

PressureUnitstring: kPA or psi or bar

Back to top

Engine

CurrentGearstring: R or N or 1...9

CurrentSpeednumber: 0...999. Uses the unit set by the user: SpeedUnit

CurrentRPMnumber: 0...MaxRPM

CurrentRPMPercentagenumber: 0...100. The percentage is in relation to the MaxRPM (CurrentRPM / MaxRPM) * 100

MaxRPMnumber: 0...99999

FuelLapsLeftnumber: 999...0

FuelUsagenumber: 0...999. Uses the unit set by the user: FuelUnit

FuelPercentagenumber: 0...100

FuelQuantitynumber: 0...999.99. Always returns litres.

KersPercentagenumber: 0...100

WaterTemperaturenumber: 0...9999. Uses the unit set by the user: TemperatureUnit.

WaterPressurenumber: 0...9999.99. Uses the unit set by the user: PressureUnit.

OilTemperaturenumber: 0...9999. Uses the unit set by the user: TemperatureUnit.

OilPressurenumber: 0...9999.99. Uses the unit set by the user: PressureUnit.

FuelPressurenumber: 0...9999.99. Uses the unit set by the user: PressureUnit.

ClutchPedalPercentagenumber: 0...100

BrakePedalPercentagenumber: 0...100

GasPedalPercentagenumber: 0...100

WaterPressurePercentagePropertynumber: 0...100

WaterTemperaturePercentagePropertynumber: 0...100

OilPressurePercentagePropertynumber: 0...100

OilTemperaturePercentagePropertynumber: 0...100

Back to top

Race

SessionLapsstring: XXX/XXX. First number is current lap, second number is total laps. If there is no lap limit, format will be XXX (current lap).

CurrentLapnumber: 0...999

Positionstring: XXX/XXX. First number is current position, second number is total drivers. If there is only one driver, format will be XXX (current driver, always 001).

CurrentPositionnumber: 0...64

TrackSectornumber: 1 or 2 or 3

Back to top

Time

LapTimeCurrentstring: XX:XX:XXX

LapTimePreviousstring: XX:XX:XXX

LapTimePreviousRawnumber: 0.... Time returned in seconds.

LapTimePersonalBeststring: XX:XX:XXX

LapTimePersonalBestRawnumber: 0.... Time returned in seconds.

LastLapFasterThanSessionBestnumber: 1 = yes or 0 = no. The value can only be 1 for 5 seconds after a new lap starts.

Sector1PersonalBeststring: XX:XX:XXX

Sector2PersonalBeststring: XX:XX:XXX

Sector3PersonalBeststring: XX:XX:XXX

Sector1Currentstring: XX:XX:XXX

Sector2Currentstring: XX:XX:XXX

Sector3Currentstring: XX:XX:XXX

Please note that all Delta variables are the difference between the last completed lap / sector and the best lap / sector of the driver.

LapDeltastring: XX:XX:XXX

Sector1Deltastring: XX:XX:XXX

Sector2Deltastring: XX:XX:XXX

Sector3Deltastring: XX:XX:XXX

LapDeltaRawnumber: 0.... Time returned in seconds.

Sector1DeltaRawnumber: 0.... Time returned in seconds.

Sector2DeltaRawnumber: 0.... Time returned in seconds.

Sector3DeltaRawnumber: 0.... Time returned in seconds.

LapTimeSessionBeststring: XX:XX:XXX

LapTimeSessionBestRawnumber: 0.... Time returned in seconds.

RivalsNamestring. The name of the current Rival in Time Trial.

RivalsTimeRawnumber: 0.... Lap time of the current Rival in Time Trial, returned in seconds.

RivalsTimestring: XX:XX:XXX Formatted lap time of the current Rival in Time Trial.

GapAheadstring: XX:XX:XXX

GapBehindstring: XX:XX:XXX

GapAheadNamestring

GapBehindNamestring

Back to top

Wheels

FL = Front Left; FR = Front Right; RL = Rear Left; RR = Rear Right;

TyreWearPercentageFLnumber: 0...100

TyreWearPercentageFRnumber: 0...100

TyreWearPercentageRLnumber: 0...100

TyreWearPercentageRRnumber: 0...100

TyreTemperatureFLnumber: 0...100

TyreTemperatureFRnumber: 0...100

TyreTemperatureRLnumber: 0...100

TyreTemperatureRRnumber: 0...100

BrakeTemperatureFLnumber: 0...100

BrakeTemperatureFRnumber: 0...100

BrakeTemperatureRLnumber: 0...100

BrakeTemperatureRRnumber: 0...100

BrakeDamagePercentageFLnumber: 0...100

BrakeDamagePercentageFRnumber: 0...100

BrakeDamagePercentageRLnumber: 0...100

BrakeDamagePercentageRRnumber: 0...100

SuspensionDamagePercentageFLnumber: 0...100

SuspensionDamagePercentageFRnumber: 0...100

SuspensionDamagePercentageRLnumber: 0...100

SuspensionDamagePercentageRRnumber: 0...100

Back to top

Safe Values

BrakeColdTemperatureMaxnumber: 0...999. Uses the unit set by the user: TemperatureUnit.

BrakeWarmTemperatureMaxnumber: 0...999. Uses the unit set by the user: TemperatureUnit.

BrakeHotTemperatureMaxnumber: 0...999. Uses the unit set by the user: TemperatureUnit.

TyreColdTemperatureMaxnumber: 0...999. Uses the unit set by the user: TemperatureUnit.

TyreWarmTemperatureMaxnumber: 0...999. Uses the unit set by the user: TemperatureUnit.

TyreHotTemperatureMaxnumber: 0...999. Uses the unit set by the user: TemperatureUnit.

OilSafeTemperatureMaxnumber: 0...999. Uses the unit set by the user: TemperatureUnit.

WaterSafeTemperatureMaxnumber: 0...999. Uses the unit set by the user: TemperatureUnit.

Back to top

Damage

EngineWarningnumber: 0 = engine OK or 1 = engine warning.

AeroDamagePercentagenumber: 0...100

EngineDamagePercentagenumber: 0...100

Back to top

Other

LightsOnnumber: 0 = Off or 1 = on.

EngineOnnumber: 0 = Off or 1 = on.

SpeedLimiternumber: 0 = Off or 1 = on.

GForceXnumber: -10...10

GForceZnumber: -10...10

ABSnumber: 0 = Off or 1 = on.

TCSnumber: 0 = Off or 1 = on.

STMnumber: 0 = Off or 1 = on.

Back to top

We use cookies to provide you with a better service. Carry on browsing if you're happy with this, or find out how to manage cookies.   Close this