Jump to content
We promise no intrusive ads, Please help keep the community alive
Consider supporting us by disabling your ad blocker / add to whitelist / purchasing VIP.

TDU 2 Physics


Andriy242

Recommended Posts

Maybe this has already been asked. I am not sure though but I might as well try.

 

Is it possible to transfer TDU1 physics to TDU2.

If not just transferring the file setup.

 

Why not just decrypt the TDU1 physics setup and copy that into the TDU2 physics setup.

Also edit the tire grip and acceleration linearity, etc.

 

any takers?

Link to comment
Share on other sites

It it was as easy as "just decrypting" the physics I think it would have been done already. I'm no programmer but I'd say that the physics are among the deepest buried secrets in any game. I don't think anybody can touch them except for the developers of the game.

 

well actually tdu1 had a bunch of community made physics editors.

I think the real problem is online verification really even if you figure out how to do it.

Link to comment
Share on other sites

Those editors changed the properties of the individual cars. Those still have to answer to the main physics engine of the whole game, which is what I was talking about and I guess the OP as well. I guess you could just copy and paste the physics of each car (i.e. the acceleration, top speed, bhp, etc. etc.) into TDU2 somehow but that wouldn't make it TDU1 as TDU2 has a whole new physics engine that treats those numbers so much different and does different things with them than the physics engine in TDU1.

Link to comment
Share on other sites

Yea thats what I was talking about. Setting it up so that ther is some suspension travel and the cars can handle better.

 

Would this be any help?

 

//------------------ Tire model params

TireParamsList = 13 Tarmac1 Tarmac2 Tarmac3 TarmacR Police Classic1 Classic2 Offroad1 Offroad2 Offroad3 BikeTarmac1 BikeTarmac2 BikeOffroad

// TireFrictionParam TireName = Global friction Lateral Coef Brake Coef

// TireModelParam TireName = Max SlipRatio Max SlipAngle StartLooseLateral MaxLossLateral ResistiveCoefLongitudinal LateralResistiveCoefLongitudinal

 

TireFrictionParam Classic1 = 1.4 1.4 1.4

TireModelParam Classic1 = 30.0 5.0 0.5 0.1 1.0 1.0

 

TireFrictionParam Classic2 = 1.7 1.7 1.7

TireModelParam Classic2 = 30.0 5.0 0.6 0.1 1.0 1.0

 

TireFrictionParam Tarmac1 = 1.4 1.4 1.4

TireModelParam Tarmac1 = 30.0 5.0 0.6 0.05 1.0 1.0

 

TireFrictionParam Tarmac2 = 1.7 1.7 1.7

TireModelParam Tarmac2 = 40.0 5.0 0.8 0.1 1.0 1.0

 

TireFrictionParam Tarmac3 = 2.0 2.0 2.0

TireModelParam Tarmac3 = 50.0 5.0 1.3 0.1 1.0 1.0

 

TireFrictionParam TarmacR = 2.2 2.2 2.2

TireModelParam TarmacR = 30.0 5.0 1.7 0.2 1.0 0.8

 

TireFrictionParam Police = 1.25 1.7 2.0

TireModelParam Police = 5.0 5.0 0.3 0.1 1.0 0.5

 

TireFrictionParam Offroad1 = 1.2 1.4 1.4

TireModelParam Offroad1 = 20.0 4.0 0.0 0.01 1.0 0.5

 

TireFrictionParam Offroad2 = 1.5 1.5 1.5

TireModelParam Offroad2 = 30.0 5.0 0.7 0.01 1.0 1.0

//TireFrictionParam Offroad2 = 1.4 1.6 1.6

//TireModelParam Offroad2 = 20.0 5.0 7.0 0.01 1.0 0.6

 

 

TireFrictionParam Offroad3 = 1.7 1.7 1.7

TireModelParam Offroad3 = 40.0 5.0 0.8 0.1 1.0 1.0

//TireFrictionParam Offroad3 = 1.6 1.8 1.8

//TireModelParam Offroad3 = 20.0 5.0 1.0 0.01 1.0 0.7

 

TireFrictionParam BikeTarmac1 = 2.0 1.2 1.5

TireModelParam BikeTarmac1 = 5.0 5.0 0.0 0.1 1.0 0.5

 

TireFrictionParam BikeTarmac2 = 2.5 1.3 1.5

TireModelParam BikeTarmac2 = 5.0 5.0 0.5 0.1 1.0 0.5

 

TireFrictionParam BikeOffroad = 2.0 2.0 2.2

TireModelParam BikeOffroad = 5.0 5.0 0.5 0.4 1.0 0.5

 

//------------------ Grip/Damping Tire/Surface params

// Grip List "TARMAC", "DIRT", "SOIL", "GRASS" "WET_TARMAC", "WET_DIRT", "WET_SOIL", "WET_GRASS"

//GripTable TireName Surface = LongGripCoef LatGripCoef LongDampingCoef LatDampingCoef

 

GripTable Classic1 Tarmac = 1.0 1.0 0.0 5.0

GripTable Classic1 Dirt = 1.0 1.0 0.0 5.0

GripTable Classic1 Grass = 0.8 1.0 5.0 50.0

GripTable Classic1 Wet_Tarmac = 0.8 0.8 0.0 1.0

GripTable Classic1 Wet_Dirt = 0.8 0.8 0.0 1.0

GripTable Classic1 Wet_Grass = 0.7 0.6 0.0 4.0

 

GripTable Classic2 Tarmac = 1.0 1.0 0.0 5.0

GripTable Classic2 Dirt = 1.0 1.0 0.0 5.0

GripTable Classic2 Grass = 1.0 1.0 5.0 50.0

GripTable Classic2 Wet_Tarmac = 0.8 0.8 0.0 2.0

GripTable Classic2 Wet_Dirt = 0.8 0.8 0.0 2.0

GripTable Classic2 Wet_Grass = 0.7 0.6 0.0 4.0

 

GripTable Tarmac1 Tarmac = 1.0 1.0 0.0 5.0

GripTable Tarmac1 Dirt = 1.0 1.0 10.0 90.0

GripTable Tarmac1 Grass = 0.8 1.0 5.0 10.0

GripTable Tarmac1 Wet_Tarmac = 0.9 0.9 0.0 2.0

GripTable Tarmac1 Wet_Dirt = 0.9 0.9 0.0 2.0

GripTable Tarmac1 Wet_Grass = 0.7 0.7 0.0 4.0

 

GripTable Tarmac2 Tarmac = 1.0 1.0 0.0 5.0

GripTable Tarmac2 Dirt = 1.0 1.0 10.0 90.0

GripTable Tarmac2 Grass = 1.0 1.0 5.0 10.0

GripTable Tarmac2 Wet_Tarmac = 0.9 0.9 0.0 2.0

GripTable Tarmac2 Wet_Dirt = 0.9 0.9 0.0 2.0

GripTable Tarmac2 Wet_Grass = 0.7 0.7 0.0 5.0

 

GripTable Tarmac3 Tarmac = 1.0 1.0 0.0 5.0

GripTable Tarmac3 Dirt = 1.0 1.0 0.0 90.0

GripTable Tarmac3 Grass = 1.0 1.0 5.0 10.0

GripTable Tarmac3 Wet_Tarmac = 0.9 0.9 0.0 2.0

GripTable Tarmac3 Wet_Dirt = 0.9 0.9 0.0 2.0

GripTable Tarmac3 Wet_Grass = 0.7 0.7 0.0 5.0

 

GripTable TarmacR Tarmac = 1.0 1.0 0.0 5.0

GripTable TarmacR Dirt = 1.0 1.0 0.0 70.0

GripTable TarmacR Grass = 1.0 1.0 5.0 90.0

GripTable TarmacR Wet_Tarmac = 0.9 0.9 0.0 2.0

GripTable TarmacR Wet_Dirt = 0.9 0.9 0.0 2.0

GripTable TarmacR Wet_Grass = 0.7 0.7 0.0 5.0

 

GripTable Police Tarmac = 1.0 1.0 0.0 5.0

GripTable Police Dirt = 1.0 1.0 0.0 50.0

GripTable Police Grass = 1.0 0.9 0.0 80.0

GripTable Police Wet_Tarmac = 0.9 0.9 0.0 2.0

GripTable Police Wet_Dirt = 0.9 0.9 0.0 2.0

GripTable Police Wet_Grass = 0.8 0.8 0.0 5.0

 

GripTable Offroad1 Tarmac = 1.0 1.0 0.0 5.0

GripTable Offroad1 Dirt = 1.0 1.0 0.0 5.0

GripTable Offroad1 Grass = 0.8 0.8 0.0 10.0

GripTable Offroad1 Wet_Tarmac = 0.9 0.9 0.0 5.0

GripTable Offroad1 Wet_Dirt = 0.9 0.9 0.0 5.0

GripTable Offroad1 Wet_Grass = 0.7 0.6 0.0 5.0

 

GripTable Offroad2 Tarmac = 1.0 1.0 0.0 5.0

GripTable Offroad2 Dirt = 1.0 1.0 0.0 5.0

GripTable Offroad2 Grass = 1.1 1.1 0.0 90.0

GripTable Offroad2 Wet_Tarmac = 0.9 0.9 0.0 5.0

GripTable Offroad2 Wet_Dirt = 0.9 0.9 0.0 5.0

GripTable Offroad2 Wet_Grass = 0.7 0.6 0.0 5.0

 

GripTable Offroad3 Tarmac = 1.0 1.0 0.0 5.0

GripTable Offroad3 Dirt = 1.0 1.0 0.0 5.0

GripTable Offroad3 Grass = 1.0 1.0 0.0 5.0

GripTable Offroad3 Wet_Tarmac = 0.9 0.9 0.0 5.0

GripTable Offroad3 Wet_Dirt = 0.9 0.9 0.0 5.0

GripTable Offroad3 Wet_Grass = 0.8 0.8 0.0 5.0

 

GripTable BikeTarmac1 Tarmac = 1.0 1.0 0.0 0.0

GripTable BikeTarmac1 Dirt = 1.0 1.0 0.0 0.0

GripTable BikeTarmac1 Grass = 0.65 0.75 1.0 2.0

GripTable BikeTarmac1 Wet_Tarmac = 0.8 0.8 0.0 0.0

GripTable BikeTarmac1 Wet_Dirt = 0.8 0.8 0.0 0.0

GripTable BikeTarmac1 Wet_Grass = 0.6 0.7 1.0 2.0

 

GripTable BikeTarmac2 Tarmac = 1.0 1.0 0.0 0.0

GripTable BikeTarmac2 Dirt = 1.0 1.0 0.0 0.0

GripTable BikeTarmac2 Grass = 0.65 0.75 1.0 2.0

GripTable BikeTarmac2 Wet_Tarmac = 0.8 0.8 0.0 0.0

GripTable BikeTarmac2 Wet_Dirt = 0.8 0.8 0.0 0.0

GripTable BikeTarmac2 Wet_Grass = 0.6 0.7 1.0 2.0

 

GripTable BikeOffroad Tarmac = 1.0 1.0 0.0 0.0

GripTable BikeOffroad Dirt = 1.0 1.0 0.0 0.0

GripTable BikeOffroad Grass = 0.65 0.75 1.0 2.0

GripTable BikeOffroad Wet_Tarmac = 0.8 0.8 0.0 0.0

GripTable BikeOffroad Wet_Dirt = 0.8 0.8 0.0 0.0

GripTable BikeOffroad Wet_Grass = 0.6 0.7 1.0 2.0

 

//------------------- Global Params

// Gravity Coef Gravity Add in air

GravityCoef = 1.0 2 //0.5

InertiaCoef = 1.0

MassCoef = 1.0

 

//---------------------- Offroad bumps

// rideheight rideheight coef speed bump bump force reducer force

// min max min max min max length min max min max

OffRoadBumps = 5 17 1 0.1 20 150 10 5 40 1 5

 

 

//----------------------- Surface Bumps

// long bumps short bumps

// Surface period delta ampl. delta period delta ampl. delta

// en metres en millimettre en metres en millimettre

 

GroundBumps Tarmac 0 0 0 0 //GroundBumps Tarmac 0 100 20 7

GroundBumps Dirt 0 100 20 7

GroundBumps Grass 5 5 0.1 2

 

//--------------------- Aero dynamic params

AeroSpeeds = 20.0 100.0 //--- Speed range for aero compute 70 km/h 360 km/h

AeroLength = 5.0 50.0 //--- Length of suck effects zone for Both speeds 5.0 100.0

AeroWidth = 2.0 7.5 35.0 //--- Size of zone near the car and Width of suck effects zone for Both speeds

AeroDensity = 1.293 0.7 //--- Density of atmosphere, and minimun density coef for biggest suck effects. 5 75.0

 

//----------------- Shifting/Engine

Shift2ndTo1st = 0.5 //--- 1 = shift for max rapm, .5 = for Half RPM , old val = 0.3

TorqueInertiaUp = 0.85

TorqueInertiaDown = 0.85

EngineBrakePower = 0.2

RedLinePurcent = 0.7

 

//------------------ Steering help params

SteeringHelpStraight = 0.4 0.0 //--- Param Control Steering //0.3 -0.1

SteeringHelpTurn = 1.3 0.0 //--- Param Control help counter steering //1.5 -1.0

 

 

//------------------ Steering Filters params

Sensitivty = 0.33 3.5 //-- min & max 0.33 2.8

SteeringFilterSpeed = 1 130 250 //1 200 800

 

SteeringLimit = 1.0 0.5 0.1 //1.5 0.2 0.1

SteeringSpeed = 6.0 6.0 6.0 //1.3 0.8 0.2

SteeringCenterSpeed = 6.0 6.0 6.0 //1.5 0.8 0.07 //4.0 4.0 4.0

SteeringStraightSpeed = 6.0 6.0 6.0 //1.5 2.5 2.5

SteeringCounterSpeed = 6.0 6.0 6.0 0.0 //3.2 3.0 3.0 0.0

 

 

SteeringTireCoef Classic1 = 1.0

SteeringTireCoef Classic2 = 1.0

SteeringTireCoef Tarmac1 = 1.0

SteeringTireCoef Tarmac2 = 1.0

SteeringTireCoef Tarmac3 = 1.0

SteeringTireCoef TarmacR = 0.6

SteeringTireCoef Police = 1.0

SteeringTireCoef Offroad1 = 1.0

SteeringTireCoef Offroad2 = 1.0

SteeringTireCoef Offroad3 = 1.3

SteeringTireCoef BikeTarmac1 = 1.0

SteeringTireCoef BikeTarmac2 = 1.0

SteeringTireCoef BikeOffroad = 1.0

 

//----------------------- ABS params

// speeds s1 s2 s3 weight w1 w2

ActiveAbsSpeed = 90 170 300 1000 1500 //90 170 300 1000 1500

//---- ABS Values for speed handbrake according to weight

ActiveAbsValue = 0.7 0.6 0.5 3.0 5.0 //( last value is rear abs for handbrake ) 0.7 0.6 0.5 3.0 5.0

 

//------------------------- SECURE, SPORT, HYPERSPORT, OFF

ElectronicParams = SPORT

ElectronicParamsValue SECURE = 1.7 //0.75

ElectronicParamsValue SPORT = 2.5 //2.2

ElectronicParamsValue HYPERSPORT = 3.0 //2.8

 

//----------------------- Traction Control

ActiveTCTrigger = 2.1 1 1 //2.1 1 1

ActiveTCValue = 1.0 0.5 0.7 //1.0 0.5 0.7

 

TCStraightTrigger = 0 50 800 //0 50 800

TCStraightValue = 1.4 1.0 1.0 //1.4 1.0 1.0

 

//________________________________________________________________________________​______________________________________

//______________________________________________ New vehicle dynamics __________________________________________________

 

//___________________ Design ________________________________________________________________________________​___________

NbLoopForMiddlePrecision = 3

ReverseTime = 0.6

DriveTime = 0

 

//___________________ Chassis ________________________________________________________________________________​__________

ExtraGravityMin = 0.1 //0.5

ExtraGravityMax = 1.0

ExtraGravityAccelDuration = 0.1

ExtraGravityAccelDelay = 0.01

CollisionOffset = 0.1 //0.04 // Distance du bas de caisse jusqu'au bas de la boite de collision

 

// Km/h - LinearDamping

// Off-road vehicles

OffRoadDirtLinearDamping = 0.0 0.0 100.0 0.0 200.0 0.0 300.0 0.01 400.0 0.03

OffRoadGrassLinearDamping = 0.0 0.0 100.0 0.0 200.0 0.07 300.0 0.15 400.0 0.5

 

// Not off-road vehicles

NotOffRoadDirtLinearDamping = 0.0 0.1 100.0 0.1 200.0 0.2 300.0 0.2 400.0 0.2

NotOffRoadGrassLinearDamping = 0.0 0.15 100.0 0.15 200.0 0.5 300.0 0.5 400.0 1.0

 

// AngularDamping = 0.0 0.0 100.0 0.4 200.0 0.6 300.0 1.0 400.0 2.0

// AngularDamping = 0.0 0.2 100.0 1.0 200.0 4.0 300.0 6.0 400.0 8.0

OffRoadAngularDamping = 0.0 0.0 100.0 0.0 200.0 0.0 300.0 0.1 400.0 1.0

 

SecureAngularDamping = 0.0 0.4 100.0 0.4 200.0 0.6 300.0 1.0 400.0 2.0

SportAngularDamping = 0.0 0.15 100.0 0.3 200.0 0.6 300.0 1.0 400.0 1.0

HyperSportAngularDamping = 0.0 0.0 100.0 0.2 200.0 0.4 300.0 0.6 400.0 0.8

 

//___________________ Braking control ________________________________________________________________________________​_

// Km/h

AbsControlActivation = 0

AbsControlVelocityMin = 1

AbsControlVelocityMax = 50

// Driving aids SECURE SPORT HYPERSPORT

AbsControlSlipRatio = -0.2 -0.2 -0.2

 

TractionControlActivation = 10 //40

TractionControlVelocityMin = 10

TractionControlVelocityMax = 70

// Driving aids SECURE SPORT HYPERSPORT

TractionControlSlipRatio = 0.5 2.0 20.0

 

HandBrakeActivation = 0

HandBrakeVelocityMin = 1

HandBrakeVelocityMax = 50

// Driving aids SECURE SPORT HYPERSPORT

HandBrakeSlipRatio = -0.4 -0.5 -0.6

 

//___________________ Steering control ________________________________________________________________________________​_

// Km/h-Deg/s 0.0 280.0 100.0 260.0 200.0 240.0 300.0 240.0 400.0 240.0

// 0.0 340.0 100.0 330.0 200.0 320.0 300.0 310.0 400.0 300.0

// 0.0 380.0 100.0 340.0 200.0 320.0 300.0 300.0 400.0 300.0

SteeringVelocity = 0.0 380.0 100.0 370.0 200.0 360.0 300.0 350.0 400.0 340.0

 

// Km/h-Deg 0.0 40.0 100.0 15.0 200.0 12.0 300.0 9.0 400.0 7.0

// 0.0 30.0 100.0 13.0 200.0 10.0 300.0 8.0 400.0 6.5

SteeringMaxAngle = 0.0 30.0 100.0 13.0 200.0 10.0 300.0 8.0 400.0 6.5

 

// Km/h-Sensitivity 0.0 1.00 100.0 1.00 200.0 0.95 300.0 0.95 400.0 0.95

SteeringSensitivity = 0.0 1.00 100.0 1.00 200.0 1.00 300.0 1.00 400.0 1.00

 

// Force feed-back velocity % at stop % at velocity

BasicSteeringFeedbackFriction = 30.0 50 20

PowerSteeringFeedbackFriction = 30.0 20 50

SteeringFeedbackSpring = 10.0 0 100

 

// Vibration rubber pavement

SteeringVibration = 0.5 0.5 0.05 0.0

 

[bike]

 

//------------------- Help Controls

UseSteerControl = 1

 

//--------------------- Suspension Params

InertiaCoef = 2.0

 

//------------------------- SECURE, SPORT, HYPERSPORT, OFF

ElectronicParams = SPORT

ElectronicParamsValue SECURE = 0.75

ElectronicParamsValue SPORT = 2.0

ElectronicParamsValue HYPERSPORT = 3.0

 

//------------------ Steering Filters params

Sensitivty = 0.2 1.5 //-- min & max 0.33 2.0

SteeringFilterSpeed = 1 300 800 //1 400 800

 

SteeringLimit = 2.0 0.6 0.6 //2.0 0.6 0.6

SteeringSpeed = 1.3 1.3 1.3 //0.9 0.9 0.9

SteeringCenterSpeed = 2.0 2.0 2.0 //3.2 3.2 3.2

SteeringStraightSpeed = 2.0 2.0 2.0 //0.6 0.6 0.6

SteeringCounterSpeed = 3.5 3.0 3.0 0.0 //3.5 3.0 3.0 0.0

 

TorqueInertiaUp = 0.1

TorqueInertiaDown = 0.1

 

//------------------- Lean Params

//---------- Speed in KMH

LEAN_SPEED_RANGE = 15 90 200

//----- Angle Max for each speed Angle Max Total

LEAN_SPEED_VAL = 0.75 1.0 0.75 0.8

//-------------- Rotation speed ( see debug info ingame )

LEAN_CURVE_RANGE = 0.01 0.05

//------------------ Angle Coef

LEAN_CURVE_VAL = 0.35 0.85

 

END

 

[/align]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...