//
// 288gto by NFR_Thomas
// It is pointed to by one or more *.car files.
//
// Any range has the following values: (minimum, step size, number of steps)
// Any setting refers to the step from 0 to <number of steps - 1>.
//
// Everything is in SI units (kg, m, kPa, N, etc.), except:
// Engine speed is measured in RPM.
// Angles are measured in degrees.
//
// +x = left
// +y = up
// +z = rear
//
// Pushrod connections are adjusted from the values found in this file
// based on the graphical location of the wheels.  If the graphical location
// does not match the physical location (found in a .sp file), then all
// suspension joints (including the pushrods) are adjusted to match the
// graphical locations.  It should be also noted that suspension joints
// are also adjusted after setting the camber and toe-in.
//
// Aerodynamic variables:
// Lift variables creating downforce are negative numbers
//

[GENERAL]
Rules=0                         // what rules to apply to garage setups (0=none, 1=stock car)
GarageDisplayFlags=7            // how settings are displayed in garage (add): 1=rear wing, 2=radiator, 4=more gear info
FeelerFlags=0                   // how collision feelers are generated (add): 1=box influence 2=reduce wall-jumping 4=allow adjustment hack 8=top directions
Mass=1240                    // all mass except fuel plus 80kg driver
Inertia=(1325.00, 1722.00, 400.00)  // all inertia except fuel
FuelTankPos=(0.00, 0.14, -0.40) // location of tank relative to center of rear axle in reference plane
FuelTankMotion=(560.0,0.7)      // simple model of fuel movement in tank (spring rate per kg, critical damping ratio)
Notes="288gto"
Symmetric=1
DamageFile=288GTO_damage               // file to find physical and graphical damage info
CGHeight=0.2446
CGRightRange=(0.500, 0.005, 1)
CGRightSetting=0
CGRearRange=(0.54, 0.000, 1)
CGRearSetting=0
GraphicalOffset=(0.0, -0.105, 0.0) // does not affect physics!  This just moves the vehicle body for whatever reasons you may have.
Undertray00=( 0.83, 0.0, -2.05) // corner offset from center of vehicle
Undertray01=(-0.83, 0.0, -2.05)
Undertray02=( 0.95, 0.0,  1.035)
Undertray03=(-0.95, 0.0,  1.035)
Undertray04=( 0.00, 0.00, -2.25)
Undertray05=( 0.78, 0.1,  2.15)
Undertray06=(-0.78, 0.1,  2.15)
Undertray07=( 0.00, 0.00, 2.25)
UndertrayParams=(320000.0,12000.0,3.5) // spring/damper/friction
TireBrand=288street_sfer
FrontTireCompoundSetting=0      // compound index within brand
RearTireCompoundSetting=0      // compound index within brand
FuelRange=(1.0, 1.0, 100)
FuelSetting=25
NumPitstopsRange=(0, 1, 4)
NumPitstopsSetting=3
Pitstop1Range=(1.0, 1.0, 100)
Pitstop1Setting=25
Pitstop2Range=(1.0, 1.0, 100)
Pitstop2Setting=25
Pitstop3Range=(1.0, 1.0, 100)
Pitstop3Setting=25
AIAimSpeedsPerWP=(25.0, 35.0, 45.0, 55.0, 65.0, 75.0, 85.0, 95.0, 105.0, 115.0, 125.0) // speeds at which to look ahead X waypoints (spaced roughly 5 meters apart)
AICornerReductionBase=70.0	  // (pointspeed/this number)= % deceleration we can expect through a point
AIMinPassesPerTick=3            // minimum passes per tick (can use more accurate spring/damper/torque values, but takes more CPU)
AIRotationThreshold=0.70        // rotation threshold (rads/sec) to temporarily increment passes per tick
AIEvenSuspension=1.0            // averages out spring and damper rates to improve stability (0.0 - 1.0)
AISpringRate=1.0                // spring rate adjustment for AI physics
AIDamperSlow=0.8                // contribution of average slow damper into simple AI damper
AIDamperFast=0.3                // contribution of average fast damper into simple AI damper
AIDownforceZArm=0.0           // hard-coded center-of-pressure offset from vehicle CG
AIDownforceBias=0.0             // bias between setup and hard-coded value (0.0-1.0)
AITorqueStab=(0.72, 0.8, 0.8)    // torque adjustment to keep AI stable

[BODYAERO]
BodyDragBase=(0.368)            // base drag
BodyDragHeightAvg=(0.01)       // drag increase with average ride height
BodyDragHeightDiff=(0.02)       // drag increase with front/rear ride height difference
BodyMaxHeight=(0.00)            // maximum ride height that affects drag/lift
BodyLeft=(-0.85, 0.0, 0.0)       // aero forces from moving left
BodyRight=(0.85, 0.0, 0.0)       // aero forces from moving right
BodyUp=(0.0, -1.5, 0.0)         // aero forces from moving up
BodyDown=(0.0, 1.5, 0.0)        // aero forces from moving down
BodyAft=(0.0, 0.10, -1.00)      // aero forces from moving rearwards
BodyFore=(0.0, -0.275, 0.200)   // aero forces from moving forwards (lift value important, but drag overwritten)
BodyRot=(3.0, 2.0, 1.5)         // aero torque from rotating
BodyCenter=(0.0, 0.267, -1.167) // center of body aero forces (offset from center of rear axle at ref plane)
RadiatorRange=(100.0, -5.0, 1)  // radiator range (front grille tape)
RadiatorSetting=0               // radiator setting
RadiatorDrag=(0.00)              // effect of radiator setting on drag
RadiatorLift=(0.00)              // effect of radiator setting on lift
BrakeDuctRange=(0.0, 1.0, 1)    // brake duct range
BrakeDuctSetting=0              // brake duct setting
BrakeDuctDrag=(0.0)             // effect of brake duct setting on drag
BrakeDuctLift=(0.000)             // effect of brake duct setting on lift


[SUSPENSION]
PhysicalModelFile=288GTO.pm
CorrectedInnerSuspHeight=-1
ApplySlowToFastDampers=0
AdjustSuspRates=0
AlignWheels=1
FrontWheelTrack=1.56
RearWheelTrack=0.0
LeftWheelBase=2.45
RightWheelBase=2.45
SpringBasedAntiSway=1
AllowNoAntiSway=0
FrontAntiSwayBase=0
FrontAntiSwayRange=(30000,1000,60)
FrontAntiSwaySetting=30
RearAntiSwayBase=0
RearAntiSwayRange=(25000,1000,40)
RearAntiSwaySetting=20
LeftCasterRange=(5,0.1,1)
LeftCasterSetting=0
RightCasterRange=(5,0.1,1)
RightCasterSetting=0
FrontToeInRange=(-0.1, 0.1, 0)
FrontToeInSetting=0
RearToeInRange=(0.1, 0.1, 0)
RearToeInSetting=0

[CONTROLS]
SteeringFFBMult=5.0
SteerLockRange=(5.0, 0.5, 57)
SteerLockSetting=30
RearBrakeRange=(0.30,0.01,21)
RearBrakeSetting=6
BrakePressureRange=(0.80, 0.01, 21)
BrakePressureSetting=20
HandbrakePressRange=(0.01, 0.01, 120)
HandbrakePressSetting=89
AutoUpshiftGripThresh=0.63
AutoDownshiftGripThresh=0.63
TractionControlGrip=(1.00, 0.20)
TractionControlLevel=(0.30, 0.90)
ABS4Wheel=1
ABSGrip=(1.00, 0.20)
ABSLevel=(0.30, 0.90)
OnboardBrakeBias=1


[ENGINE]
SpeedLimiter=0
Normal=288GTO_engine.ini
RestrictorPlate=288GTO_engine.ini

[DRIVELINE]
ClutchInertia=0.0300
ClutchTorque=1500.0
ClutchWear=0.0
ClutchFriction=17.00
ClutchEngageRate=2.2
BaulkTorque=500.0
AllowManualOverride=0
SemiAutomatic=0
UpshiftDelay=0.35
UpshiftClutchTime=0.2
DownshiftDelay=0.35
DownshiftClutchTime=0.20
DownshiftBlipThrottle=0.70
WheelDrive=REAR
GearFile=288GTO_Gears.ini
AllowGearingChanges=0
AllowFinalDriveChanges=0
FinalDriveSetting=0
ReverseSetting=0
ForwardGears=5
Gear1Setting=1
Gear2Setting=2
Gear3Setting=3
Gear4Setting=4
Gear5Setting=5
DiffPumpTorque=150.0                // at 100% pump diff setting, the torque redirected per wheelspeed difference in radians/sec (roughly 1.2kph)
DiffPumpRange=(0.50,0,1)          // differential acting on all driven wheels
DiffPumpSetting=0
DiffPowerRange=(0.4,0,1)         // fraction of power-side input torque transferred through diff
DiffPowerSetting=1                  // (not implemented for four-wheel drive)
DiffCoastRange=(0.7,0,1)       // fraction of coast-side input torque transferred through diff
DiffCoastSetting=1  
DiffPreloadRange=(0,0,1)     // preload torque that must be overcome to have wheelspeed difference
DiffPreloadSetting=0 

[FRONTLEFT]
BumpTravel=-0.05
ReboundTravel=-0.15
BumpStopSpring=200000.0            // Stiff bump rubbers
BumpStopRisingSpring=15e6       
BumpStopDamper=2000.0              
BumpStopRisingDamper=10e5         
BumpStage2=0.2                    // seems high but somehow speeds are a bit high according to MOTEC
ReboundStage2=-0.2               
FrictionTorque=6                 // frictions frictions
SpinInertia=1.9                  // using simplified inertia calculator seems to be okish 
CGOffsetX=-0                     
PushrodSpindle=(0,0,0)
PushrodBody=(-0.1772,0.38,0)
CamberRange=(-1.3,0.0,0)
CamberSetting=0
PressureRange=(180,1,50)
PressureSetting=15
SpringMult=0.75614
SpringRange=(65000,0,1)
SpringSetting=0
RideHeightRange=(0.1,0,1)
RideHeightSetting=0
DamperMult=1.21744
BumpStage2=0.127
ReboundStage2=-0.127
SlowBumpRange=(3000,500,0)
SlowBumpSetting=0
FastBumpRange=(1500,500,0)
FastBumpSetting=0
SlowReboundRange=(6000,500,0)
SlowReboundSetting=0
FastReboundRange=(3000,500,0)
FastReboundSetting=0
BrakeDiscRange=(0.038, 0.000, 0)
BrakeDiscSetting=0
BrakePadRange=(0, 1, 5)
BrakePadSetting=2
BrakeDiscInertia=1.450
BrakeOptimumTemp=500.0
BrakeFadeRange=850.0
BrakeWearRate=1.215e-011
BrakeFailure=(1.33e-002,7.20e-004)
BrakeTorque=2600.0
BrakeHeating=0.00047
BrakeCooling=(1.720e-002,0.600e-004)
BrakeDuctCooling=1.800e-004


[FRONTRIGHT]
BumpTravel=-0.05
ReboundTravel=-0.15
BumpStopSpring=200000.0            // Stiff bump rubbers
BumpStopRisingSpring=15e6       
BumpStopDamper=2000.0              
BumpStopRisingDamper=10e5         
BumpStage2=0.2                    // seems high but somehow speeds are a bit high according to MOTEC
ReboundStage2=-0.2               
FrictionTorque=6                 // frictions frictions
SpinInertia=1.9                  // using simplified inertia calculator seems to be okish 
CGOffsetX=-0                     
PushrodSpindle=(0,0,0)
PushrodBody=(0.1772,0.38,0)
CamberRange=(-1.3,0.0,0)
CamberSetting=0
PressureRange=(180,1,50)
PressureSetting=15
SpringMult=0.75614
SpringRange=(65000,0,1)
SpringSetting=0
RideHeightRange=(0.1,0,1)
RideHeightSetting=0
DamperMult=1.21744
BumpStage2=0.127
ReboundStage2=-0.127
SlowBumpRange=(3000,500,0)
SlowBumpSetting=0
FastBumpRange=(1500,500,0)
FastBumpSetting=0
SlowReboundRange=(8000,500,0)
SlowReboundSetting=0
FastReboundRange=(4000,500,0)
FastReboundSetting=0
BrakeDiscRange=(0.038, 0.000, 0)
BrakeDiscSetting=0
BrakePadRange=(0, 1, 5)
BrakePadSetting=2
BrakeDiscInertia=1.450
BrakeOptimumTemp=500.0
BrakeFadeRange=850.0
BrakeWearRate=1.215e-011
BrakeFailure=(1.33e-002,7.20e-004)
BrakeTorque=2600.0
BrakeHeating=0.00047
BrakeCooling=(1.720e-002,0.600e-004)
BrakeDuctCooling=1.800e-004


[REARLEFT]
BumpTravel=-0.06
ReboundTravel=-0.16
BumpStopSpring=200000.0            // Stiff bump rubbers
BumpStopRisingSpring=15e6       
BumpStopDamper=2000.0              
BumpStopRisingDamper=10e5         
BumpStage2=0.2                    // seems high but somehow speeds are a bit high according to MOTEC
ReboundStage2=-0.2               
FrictionTorque=6                 // frictions frictions
SpinInertia=1.9                  // using simplified inertia calculator seems to be okish 
CGOffsetX=-0                     
PushrodSpindle=(0,0,0)
PushrodBody=(-0.17778,0.38125,0)
CamberRange=(-2.3,0.1,0)
CamberSetting=0
PressureRange=(180,1,50)
PressureSetting=15
SpringMult=0.69444
SpringRange=(50000,0,1)
SpringSetting=0
RideHeightRange=(0.11,0,1)
RideHeightSetting=0
DamperMult=1.21744
BumpStage2=0.127
ReboundStage2=-0.127
SlowBumpRange=(2500,500,0)
SlowBumpSetting=0
FastBumpRange=(1500,500,0)
FastBumpSetting=0
SlowReboundRange=(5000,500,0)
SlowReboundSetting=0
FastReboundRange=(3000,500,0)
FastReboundSetting=0
BrakeDiscRange=(0.0355, 0.000, 0)
BrakeDiscSetting=0
BrakePadRange=(0, 1, 5)
BrakePadSetting=2
BrakeDiscInertia=1.350
BrakeOptimumTemp=500.0
BrakeFadeRange=850.0
BrakeWearRate=1.215e-011
BrakeFailure=(1.33e-002,7.20e-004)
BrakeTorque=2100.0
BrakeHeating=0.000450
BrakeCooling=(1.720e-002,0.600e-004)
BrakeDuctCooling=1.800e-004

[REARRIGHT]
BumpTravel=-0.06
ReboundTravel=-0.16
BumpStopSpring=200000.0            // Stiff bump rubbers
BumpStopRisingSpring=15e6       
BumpStopDamper=2000.0              
BumpStopRisingDamper=10e5         
BumpStage2=0.2                    // seems high but somehow speeds are a bit high according to MOTEC
ReboundStage2=-0.2               
FrictionTorque=6                 // frictions frictions
SpinInertia=1.9                  // using simplified inertia calculator seems to be okish 
CGOffsetX=-0                     
PushrodSpindle=(0,0,0)
PushrodBody=(0.17778,0.38125,0)
CamberRange=(-2.3,0.1,0)
CamberSetting=0
PressureRange=(180,1,50)
PressureSetting=15
SpringMult=0.69444
SpringRange=(50000,0,1)
SpringSetting=0
RideHeightRange=(0.11,0,1)
RideHeightSetting=0
DamperMult=1.21744
BumpStage2=0.127
ReboundStage2=-0.127
SlowBumpRange=(2500,500,0)
SlowBumpSetting=0
FastBumpRange=(1500,500,0)
FastBumpSetting=0
SlowReboundRange=(5000,500,0)
SlowReboundSetting=0
FastReboundRange=(3000,500,0)
FastReboundSetting=0
BrakeDiscRange=(0.0355, 0.000, 0)
BrakeDiscSetting=0
BrakePadRange=(0, 1, 5)
BrakePadSetting=2
BrakeDiscInertia=1.350
BrakeOptimumTemp=500.0
BrakeFadeRange=850.0
BrakeWearRate=1.215e-011
BrakeFailure=(1.33e-002,7.20e-004)
BrakeTorque=2100.0
BrakeHeating=0.000450
BrakeCooling=(1.720e-002,0.600e-004)
BrakeDuctCooling=1.800e-004


