SHVDN  v3
An ASI plugin for Grand Theft Auto V, which allows running scripts written in any .NET language in-game. Developed by crosire https://github.com/crosire/scripthookvdotnet/
GTA.HandlingData Class Reference

Public Member Functions

override bool Equals (object obj)
 
override int GetHashCode ()
 

Static Public Member Functions

static HandlingData GetByHash (int handlingNameHash)
 
static HandlingData GetByVehicleModel (Model VehicleModel)
 
static bool operator== (HandlingData left, HandlingData right)
 
static bool operator!= (HandlingData left, HandlingData right)
 

Public Attributes

bool IsValid => MemoryAddress != IntPtr.Zero
 Returns true if this HandlingData is valid. More...
 

Properties

IntPtr MemoryAddress [get]
 Gets the memory address where the HandlingData is stored in memory. More...
 
float AntiRollBarBiasFront [get, set]
 Gets or sets the bias between front and rear for the anti-roll bar. More...
 
float AntiRollBarForce [get, set]
 Gets or sets the spring constant that is transmitted to the opposite wheel when under compression. Larger numbers result in a larger force being applied. More...
 
float BrakeForce [get, set]
 
float CamberStiffness [get, set]
 
Vector3 CenterOfMassOffset [get, set]
 
float ClutchChangeRateScaleDownShift [get, set]
 Gets or sets the clutch speed multiplier on down shifts. More...
 
float ClutchChangeRateScaleUpShift [get, set]
 Gets or sets the clutch speed multiplier on up shifts. More...
 
float CollisionDamageMultiplier [get, set]
 
float DeformationDamageMultiplier [get, set]
 
float DriveInertia [get, set]
 Gets or sets the drive inertia that determines how fast the engine acceleration is. More...
 
float EngineDamageMultiplier [get, set]
 
float HandBrakeForce [get, set]
 
Vector3 InertiaMultiplier [get, set]
 
float InitialDriveForce [get, set]
 Gets or sets the power engine produces in top gear. More...
 
int InitialDriveGears [get, set]
 Gets or sets the number of gears (excluding reverse). More...
 
float Mass [get, set]
 Gets or sets the weight. More...
 
int MonetaryValue [get, set]
 
float OilVolume [get, set]
 Gets or sets the amount of oil. More...
 
float PercentSubmerged [get, set]
 Gets or sets the percentage of the "floating height" after it falls into the water, before sinking. More...
 
float PetrolTankVolume [get, set]
 Gets or sets the amount of petrol that will leak after damaging a vehicle's tank. More...
 
float RollCenterHeightFront [get, set]
 
float RollCenterHeightRear [get, set]
 
float SeatOffsetDistanceX [get, set]
 
float SeatOffsetDistanceY [get, set]
 
float SeatOffsetDistanceZ [get, set]
 
float SteeringLock [get, set]
 Gets or sets a value that multiplies the game's calculation of the angle of the steer wheel will turn while at full turn. Steering lock is directly related to over/under-steer. More...
 
float SuspensionBiasFront [get, set]
 Gets or sets the damping scale bias between front and rear wheels. This value determines which suspension is stronger, front or rear. More...
 
float SuspensionCompressionDamping [get, set]
 
float SuspensionForce [get, set]
 Gets or sets the suspension force. Lower limit for zero force at full extension is calculated using (1.0f / (force * number of wheels)). More...
 
float SuspensionLowerLimit [get, set]
 Gets or sets how far the wheels can move down from their original position. More...
 
float SuspensionRaise [get, set]
 Gets or sets the adjustment from artist positioning. More...
 
float SuspensionReboundDamping [get, set]
 
float SuspensionUpperLimit [get, set]
 Gets or sets how far the wheels can move up from their original position. More...
 
float TractionBiasFront [get, set]
 Gets or sets the value that determines the distribution of traction from front to rear. More...
 
float TractionCurveMax [get, set]
 
float TractionCurveMin [get, set]
 
float TractionLossMultiplier [get, set]
 Gets or sets how much traction is affected by material grip differences from 1.0f. More...
 
float TractionSpringDeltaMax [get, set]
 Gets or sets the maximum distance for traction spring. More...
 
float WeaponDamageMultiplier [get, set]
 

Member Function Documentation

◆ Equals()

override bool GTA.HandlingData.Equals ( object  obj)

◆ GetByHash()

static HandlingData GTA.HandlingData.GetByHash ( int  handlingNameHash)
static

◆ GetByVehicleModel()

static HandlingData GTA.HandlingData.GetByVehicleModel ( Model  VehicleModel)
static

◆ GetHashCode()

override int GTA.HandlingData.GetHashCode ( )

◆ operator!=()

static bool GTA.HandlingData.operator!= ( HandlingData  left,
HandlingData  right 
)
static

◆ operator==()

static bool GTA.HandlingData.operator== ( HandlingData  left,
HandlingData  right 
)
static

Member Data Documentation

◆ IsValid

bool GTA.HandlingData.IsValid => MemoryAddress != IntPtr.Zero

Returns true if this HandlingData is valid.

true if this HandlingData is valid; otherwise, false.

Property Documentation

◆ AntiRollBarBiasFront

float GTA.HandlingData.AntiRollBarBiasFront
getset

Gets or sets the bias between front and rear for the anti-roll bar.

The anti roll bar bias front. 0.0f is fully front, 1.0f is fully rear.

◆ AntiRollBarForce

float GTA.HandlingData.AntiRollBarForce
getset

Gets or sets the spring constant that is transmitted to the opposite wheel when under compression. Larger numbers result in a larger force being applied.

The anti roll bar force.

◆ BrakeForce

float GTA.HandlingData.BrakeForce
getset

◆ CamberStiffness

float GTA.HandlingData.CamberStiffness
getset

◆ CenterOfMassOffset

Vector3 GTA.HandlingData.CenterOfMassOffset
getset

◆ ClutchChangeRateScaleDownShift

float GTA.HandlingData.ClutchChangeRateScaleDownShift
getset

Gets or sets the clutch speed multiplier on down shifts.

The clutch speed multiplier on down shifts.

◆ ClutchChangeRateScaleUpShift

float GTA.HandlingData.ClutchChangeRateScaleUpShift
getset

Gets or sets the clutch speed multiplier on up shifts.

The clutch speed multiplier on up shifts.

◆ CollisionDamageMultiplier

float GTA.HandlingData.CollisionDamageMultiplier
getset

◆ DeformationDamageMultiplier

float GTA.HandlingData.DeformationDamageMultiplier
getset

◆ DriveInertia

float GTA.HandlingData.DriveInertia
getset

Gets or sets the drive inertia that determines how fast the engine acceleration is.

The drive inertia.

If you want a vehicle with high torque but slow acceleration (e.g. a truck), lower the driver inertia and specify a high drive force.

◆ EngineDamageMultiplier

float GTA.HandlingData.EngineDamageMultiplier
getset

◆ HandBrakeForce

float GTA.HandlingData.HandBrakeForce
getset

◆ InertiaMultiplier

Vector3 GTA.HandlingData.InertiaMultiplier
getset

◆ InitialDriveForce

float GTA.HandlingData.InitialDriveForce
getset

Gets or sets the power engine produces in top gear.

The power engine that produces in top gear.

◆ InitialDriveGears

int GTA.HandlingData.InitialDriveGears
getset

Gets or sets the number of gears (excluding reverse).

The number of gears (excluding reverse).

◆ Mass

float GTA.HandlingData.Mass
getset

Gets or sets the weight.

The weight in Kilograms.

◆ MemoryAddress

IntPtr GTA.HandlingData.MemoryAddress
get

Gets the memory address where the HandlingData is stored in memory.

◆ MonetaryValue

int GTA.HandlingData.MonetaryValue
getset

◆ OilVolume

float GTA.HandlingData.OilVolume
getset

Gets or sets the amount of oil.

The amount of oil.

◆ PercentSubmerged

float GTA.HandlingData.PercentSubmerged
getset

Gets or sets the percentage of the "floating height" after it falls into the water, before sinking.

The percentage between 0 and 1.

The default value for vanilla land vehicles is 0.85. The value will stop sinking the vehicle to float for a moment before sinking. An invalid number will cause the vehicle to sink without the driver drowning.

◆ PetrolTankVolume

float GTA.HandlingData.PetrolTankVolume
getset

Gets or sets the amount of petrol that will leak after damaging a vehicle's tank.

The amount of petrol.

◆ RollCenterHeightFront

float GTA.HandlingData.RollCenterHeightFront
getset

◆ RollCenterHeightRear

float GTA.HandlingData.RollCenterHeightRear
getset

◆ SeatOffsetDistanceX

float GTA.HandlingData.SeatOffsetDistanceX
getset

◆ SeatOffsetDistanceY

float GTA.HandlingData.SeatOffsetDistanceY
getset

◆ SeatOffsetDistanceZ

float GTA.HandlingData.SeatOffsetDistanceZ
getset

◆ SteeringLock

float GTA.HandlingData.SteeringLock
getset

Gets or sets a value that multiplies the game's calculation of the angle of the steer wheel will turn while at full turn. Steering lock is directly related to over/under-steer.

The value that multiplies the game's calculation of the angle of the steer wheel, between 0.01 and above.

◆ SuspensionBiasFront

float GTA.HandlingData.SuspensionBiasFront
getset

Gets or sets the damping scale bias between front and rear wheels. This value determines which suspension is stronger, front or rear.

The suspension bias front.

if more wheels at back (e.g. trucks), front suspension should be stronger.

◆ SuspensionCompressionDamping

float GTA.HandlingData.SuspensionCompressionDamping
getset

◆ SuspensionForce

float GTA.HandlingData.SuspensionForce
getset

Gets or sets the suspension force. Lower limit for zero force at full extension is calculated using (1.0f / (force * number of wheels)).

The suspension force.

◆ SuspensionLowerLimit

float GTA.HandlingData.SuspensionLowerLimit
getset

Gets or sets how far the wheels can move down from their original position.

The suspension lower limit.

◆ SuspensionRaise

float GTA.HandlingData.SuspensionRaise
getset

Gets or sets the adjustment from artist positioning.

The suspension raise.

◆ SuspensionReboundDamping

float GTA.HandlingData.SuspensionReboundDamping
getset

◆ SuspensionUpperLimit

float GTA.HandlingData.SuspensionUpperLimit
getset

Gets or sets how far the wheels can move up from their original position.

The suspension upper limit.

◆ TractionBiasFront

float GTA.HandlingData.TractionBiasFront
getset

Gets or sets the value that determines the distribution of traction from front to rear.

The value that determines distribution of traction from front to rear.

◆ TractionCurveMax

float GTA.HandlingData.TractionCurveMax
getset

◆ TractionCurveMin

float GTA.HandlingData.TractionCurveMin
getset

◆ TractionLossMultiplier

float GTA.HandlingData.TractionLossMultiplier
getset

Gets or sets how much traction is affected by material grip differences from 1.0f.

The traction loss multiplier.

◆ TractionSpringDeltaMax

float GTA.HandlingData.TractionSpringDeltaMax
getset

Gets or sets the maximum distance for traction spring.

The traction loss multiplier.

◆ WeaponDamageMultiplier

float GTA.HandlingData.WeaponDamageMultiplier
getset

The documentation for this class was generated from the following file: