//------------------ MX-5 Cup by scca1981 ------------------------\\

[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=900.0               
Inertia=(1475.00,1525.00,320.00) 
FuelTankPos=(0.00, 0.14, -1.312) 
FuelTankMotion=(560.0,0.7)
Notes=""
Symmetric=1
DamageFile=MAZ_Damage.dmg              // file to find physical and graphical damage info
CGHeight=0.260                  // height of body mass (excluding fuel) above reference plane
CGRightRange=(0.50, 0.000, 0)  // fraction of weight on left tires
CGRightSetting=0
CGRearRange=(0.50, 0.005, 0)
CGRearSetting=0
GraphicalOffset=(0.0, 0.00, 0.0) // does not affect physics!
Undertray00=(0.75,  -0.00, -1.895)  // offset from center of car, and between axles// LF (Left front corner of splitter) (forward is negative, right is negative)
Undertray01=(-0.75, -0.00, -1.895)  // offset from center of car, and between axles// RF (Right front corner of splitter)
Undertray02=(0.80,  -0.00, 0.900)  // offset from center of car, and between axles // LR (Left rear corner of diffuser)
Undertray03=(-0.80, -0.00, 0.900)  // offset from center of car, and between axles // RR (Right rear corner of diffuser)
Undertray04=(0.35,  -0.00, -2.195)  // offset from center of car, and between axles// Left center front nose
Undertray05=(-0.35, -0.00, -2.195)  // offset from center of car, and between axles// Right center front nose
Undertray06=(0.80,  -0.00, 0.000)  // offset from center of car, and between axles //  Center/bottom of Left rocker panel
Undertray07=(-0.80, -0.00, 0.000)  // offset from center of car, and between axles //  Center/bottom of right rocker panel
Undertray08=(0.35,  -0.00, -0.800)  // offset from center of car, and between axles//  Floor LF corner
Undertray09=(-0.35, -0.00, -0.800)  // offset from center of car, and between axles//  Floor RF corner
Undertray10=(0.35,  -0.00, 0.800)  // offset from center of car, and between axles //  FLoor LR corner
Undertray11=(-0.35, -0.00, 0.800)  // offset from center of car, and between axles //  Floor RR corner
UndertrayParams=(262500.0,11600.0, 4.0) // undertray spring rate, damper rate, and coefficient of friction
TireBrand=MAZ               // must appear before tire compound setting (references *.tyr file)
FrontTireCompoundSetting=0   
RearTireCompoundSetting=0  
FuelRange=(1.0, 1.0, 90)
FuelSetting=34
NumPitstopsRange=(0, 1, 4)
NumPitstopsSetting=3
Pitstop1Range=(1.0, 1.0, 90)
Pitstop1Setting=60
Pitstop2Range=(1.0, 1.0, 90)
Pitstop2Setting=60
Pitstop3Range=(1.0, 1.0, 90)
Pitstop3Setting=60
AIMinPassesPerTick=3      
AIRotationThreshold=0.20  
AIEvenSuspension=0.0    
AISpringRate=1.0         
AIDamperSlow=0.5    
AIDamperFast=0.5          
AIDownforceZArm=0.150 
AIDownforceBias=0.0        
AITorqueStab=(1.0, 1.0, 0.5)
//FeelerFlags=15                  // how collision feelers are generated (add): 1=box influence 2=reduce wall-jumping 4=allow adjustment hack 8=top directions
//FeelerOffset=(0.0, 0.0, 0.0)    // offset from cg to use when generating feelers
//FeelersAtCGHeight=1                       // whether corner and side feelers are automatically adjusted to CG height
//FeelerFrontLeft=(1.003,0.384,-2.554)      // front-left corner collision feeler
//FeelerFrontRight=(-1.003,0.384,-2.554)    // front-right corner collision feeler
//FeelerRearLeft=(1.003,0.384,2.586)        // rear-left corner collision feeler
//FeelerRearRight=(-1.003,0.384,2.586)      // rear-right corner collision feeler
//FeelerFront=(0.064,0.384,-2.639)          // front side collision feeler
//FeelerRear=(0.064,0.384,2.587)            // rear side collision feeler
//FeelerRight=(-1.039,0.384,-0.247)         // right side collision feeler
//FeelerLeft=(1.039,0.384,-0.247)           // left side collision feeler
//FeelerTopFrontLeft=(-0.478,1.540,-0.298)  // top front-left collision feeler
//FeelerTopFrontRight=(0.478,1.540,-0.298)  // top front-right collision feeler
//FeelerTopRearLeft=(-0.652,1.511,2.323)    // top rear-left collision feeler
//FeelerTopRearRight=(0.652,1.511,2.323)    // top rear-right collision feeler
//FeelerBottom=(0.064,0.249,-0.247)         // bottom feeler

[FRONTWING]
FWRange=(2.0, 1.0, 2)          // front wing range
FWSetting=1                    // front wing setting
FWMaxHeight=(0.10)              // maximum height to take account of for downforce
FWDragParams=(0.007, 0.0084, 0.0004)        // base drag and 1st and 2nd order with setting
FWLiftParams=(-0.250, -0.137, 0.00003)  // base lift and 1st and 2nd order with setting
FWLiftHeight=(0.335)            // effect of current height on lift coefficient
FWLiftSideways=(0.0)            // dropoff in downforce with yaw (0.0 = none, 1.0 = max)
FWLeft=(-0.005, 0.0, 0.0)        // aero forces from moving left
FWRight=(0.005, 0.0, 0.0)        // aero forces from moving right
FWUp=(0.0, -0.05, -0.001)       // aero forces from moving up
FWDown=(0.0, 0.025, 0.001)       // aero forces from moving down
FWAft=(0.0, 0.02, -0.02)        // aero forces from moving rearwards
FWFore=(0.0, 0.0, 0.0)          // aero forces from moving forwards (recomputed from settings)
FWRot=(0.05, 0.025, 0.075)        // aero torque from rotating
FWCenter=(0.00, -0.000, -0.60)    // center of front wing forces (offset from center of front axle in ref plane)

[REARWING]
RWRange=(6.0, 1.0, 10)          // rear wing range
RWSetting=1                    // rear wing setting
RWDragParams=(0.0035, 0.0049, 0.0001)        // base drag and 1st and 2nd order with setting
RWLiftParams=(-0.370, -0.0265, 0.00002)  // base lift and 1st and 2nd order with setting
RWLiftSideways=(0.0)            // dropoff in downforce with yaw (0.0 = none, 1.0 = max)
RWPeakYaw=(12.0, 0.90)           // angle of peak, multiplier at peak
RWLeft=(-0.005, 0.0, 0.0)        // aero forces from moving left
RWRight=(0.005, 0.0, 0.0)        // aero forces from moving right
RWUp=(0.0, -0.09, -0.002)       // aero forces from moving up
RWDown=(0.0, 0.045, 0.002)       // aero forces from moving down
RWAft=(0.0, 0.03, -0.4)        // aero forces from moving rearwards
RWFore=(0.0, 0.0, 0.0)          // aero forces from moving forwards (recomputed from settings)
RWRot=(0.08, 0.05, 0.11)        // aero torque from rotating
RWCenter=(0.00, 0.60, 0.80)     // center of rear wing forces (offset from center of rear axle at ref plane)

[BODYAERO]
BodyDragBase=(0.2700)  
BodyDragHeightAvg=(0.10) 
BodyDragHeightDiff=(0.30) 
BodyMaxHeight=(0.20) 
BodyLeft=(-0.7, 0.0, 0.0) 
BodyRight=(0.7, 0.0, 0.0) 
BodyUp=(0.0, -1.5, 0.0) 
BodyDown=(0.0, 1.5, 0.0) 
BodyAft=(0.0, 0.10, -1.00)
BodyFore=(0.0, -0.045, 0.200) 
BodyRot=(2.0, 1.5, 1.0) 
BodyCenter=(0.0, 0.267, -1.200)
RadiatorRange=(100.0, -5.0, 1)
RadiatorSetting=0      
RadiatorDrag=(0.0)  
RadiatorLift=(0.0)   
BrakeDuctRange=(0.0, 1.0, 1) 
BrakeDuctSetting=0   
BrakeDuctDrag=(0.0)
BrakeDuctLift=(0.0) 

[DIFFUSER]
DiffuserBase=(-0.260, -2.33, 43.0) // base lift and 1st/2nd order with rear ride height
DiffuserFrontHeight=(0.000)         // 1st order with front ride height
DiffuserRake=(0.005, -5.0, 150.0)        // Optimum rake (rear - front ride height), 1st order with current difference from opt, 2nd order
DiffuserLimits=(0.010, 0.100, 0.055)    // Min ride height before stalling begins (0.0 to disable), max rear ride height for computations, max rake difference for computations
DiffuserStall=(0.0, 1.0)  // function to compute stall ride height (0.0=minimum, 1.0=average), downforce lost when bottoming out (0.0=none,1.0=complete stall)
DiffuserSideways=(0.3)              // dropoff with yaw (0.0 = none, 1.0 = max)
DiffuserCenter=(0.0, 0.00, -1.35)  // center of diffuser forces (offset from center of rear axle at ref plane)

[SUSPENSION]
PhysicalModelFile=MAZ.SP
ApplySlowToFastDampers=0         // whether to apply slow damper settings to fast damper settings
CorrectedInnerSuspHeight=0.235        // instead of moving inner susp height relative with ride height, use this offset (set to -1 for original behavior)
AdjustSuspRates=1                // adjust suspension rates due to motion ratio ( 0=enable, 1=disable)
AlignWheels=0                    // correct for minor graphical offsets
FrontWheelTrack=0.000       // if non-zero, forces the front wheels to be specified track width
RearWheelTrack=0.0          // if non-zero, forces the rear wheels to be specified track width
LeftWheelBase=0.0                // if non-zero, forces the left side to use specified wheelbase
RightWheelBase=0.0             // if non-zero, forces the right side to use specified wheelbase
SpringBasedAntiSway=1            // 0=diameter-based, 1=spring-based
FrontAntiSwayBase=0.0
FrontAntiSwayRange=(10000.0, 10000.0, 25)
FrontAntiSwaySetting=13
FrontAntiSwayRate=(1.36e11, 4.0) // not applicable with spring-based antisway
AllowNoAntiSway=1                // Whether first setting gets overridden to mean no antisway bar
RearAntiSwayBase=0.0
RearAntiSwayRange=(5000.0, 5000.0, 20)
RearAntiSwaySetting=3
RearAntiSwayRate=(1.36e11, 4.0)  // not applicable with spring-based antisway
FrontToeInRange=(-2.0, 0.1, 41)
FrontToeInSetting=19
RearToeInRange=(-2.0, 0.1, 41)
RearToeInSetting=21
LeftCasterRange=(-0.0, 0.25, 29)          // front-left caster
LeftCasterSetting=8
RightCasterRange=(-0.0, 0.25, 29)         // front-right caster
RightCasterSetting=8

[CONTROLS]
SteeringFFBMult=1.1
UpshiftAlgorithm=(0.97,0.0) //  percentage of the rev limit to upshift at.  If the 2nd value is non-zero, then we will use it as the exact RPM to upshift at.
DownshiftAlgorithm=(0.9,0.85,0.6) // percentage of "optimum" downshift point in high gears, percentage of "optimum" downshift point in low gears, oval adjustment.
SteerLockRange=(5.0, 0.5, 37)
SteerLockSetting=20
RearBrakeRange=(0.200, 0.005, 121)
RearBrakeSetting=43
BrakePressureRange=(0.80, 0.01, 21)
BrakePressureSetting=20
HandbrakePressRange=(0.00, 0.05, 21) // 
HandbrakePressSetting=0
AutoUpshiftGripThresh=0.63          // auto upshift waits until all driven wheels have this much grip (reasonable range: 0.4-0.9)
AutoDownshiftGripThresh=0.63        // auto downshift waits until all driven wheels have this much grip (reasonable range: 0.4-0.9)
TractionControlGrip=(0.00, 0.00)    // average driven wheel grip multiplied by 1st number, then added to 2nd
TractionControlLevel=(0.00, 0.00)   // effect of grip on throttle for low TC and high TC
ABS4Wheel=0                         // 0 = old-style single brake pulse, 1 = more effective 4-wheel ABS
ABSGrip=(0.00, 0.00)                // grip multiplied by 1st number and added to 2nd
ABSLevel=(0.00, 0.00)               // effect of grip on brakes for low ABS and high ABS

[ENGINE]
SpeedLimiter=1                      // Whether a pitlane speed limiter is available
Normal=MAZENGINE
RestrictorPlate=MAZENGINE

[DRIVELINE]
ClutchInertia=0.01400
ClutchTorque=520.0
ClutchWear=0.0
ClutchFriction=14.5
ClutchEngageRate=0.4  
BaulkTorque=1300.0
AllowManualOverride=1   
SemiAutomatic=0    
UpshiftDelay=0.120        
UpshiftClutchTime=0.200       
DownshiftDelay=0.120  
DownshiftClutchTime=0.200  
DownshiftBlipThrottle=0.70 
WheelDrive=REAR      
GearFile=MAZRATIOS.grb 
AllowGearingChanges=1 
AllowFinalDriveChanges=1  
FinalDriveSetting=1    
ReverseSetting=0
ForwardGears=6
Gear1Setting=1
Gear2Setting=8
Gear3Setting=12
Gear4Setting=16
Gear5Setting=18
Gear6Setting=20
DiffPumpTorque=0.0         
DiffPumpRange=(0.50,0.10,1)
DiffPumpSetting=0
DiffPowerRange=(0.50,0.0,1)
DiffPowerSetting=0        
DiffCoastRange=(0.80,0.0,1)
DiffCoastSetting=0      
DiffPreloadRange=(40.0, 0.0, 1) 
DiffPreloadSetting=0

[FRONTLEFT]
BumpTravel=-0.030     
ReboundTravel=-0.160          
BumpStopSpring=160000.0     
BumpStopRisingSpring=1.20e7    
BumpStopDamper=2000.0     
BumpStopRisingDamper=9.00e5    
BumpStage2=0.090        
ReboundStage2=-0.090   
FrictionTorque=7.81  
SpinInertia=1.125         
CGOffsetX=0.000       
PushrodSpindle=(-0.125, -0.100, 0.000)
PushrodBody=(-0.225, 0.300, 0.000) 
CamberRange=(-2.0, 0.5, 5)
CamberSetting=5
PressureRange=(100.0, 1.0, 301)
PressureSetting=70
PackerRange=(0.009, 0.00, 0)
PackerSetting=0
SpringMult=0.665                    
SpringRange=(100000.0, 40000.0, 4)
SpringSetting=4
RideHeightRange=(0.1250, 0.005, 1)
RideHeightSetting=0
DamperMult=1.00         
SlowBumpRange=(4500.0, 250.0, 1)
SlowBumpSetting=0
FastBumpRange=(3000.0, 250.0, 1)
FastBumpSetting=0
SlowReboundRange=(8000.0, 500.0, 1)
SlowReboundSetting=0
FastReboundRange=(6000.0, 500.0, 1)
FastReboundSetting=0
BrakeDiscRange=(0.0330, 0.000, 1)   // disc thickness
BrakeDiscSetting=0
BrakePadRange=(0, 1, 5)             // pad type (not implemented)
BrakePadSetting=2
BrakeDiscInertia=0.750              // inertia per meter of thickness
BrakeOptimumTemp=500.0              // optimum brake temperature in Celsius (peak brake grip)
BrakeFadeRange=500.0                // temperature outside of optimum that brake grip drops to half (too hot or too cold)
BrakeWearRate=1.08e-013             // meters of wear per second at optimum temperature
BrakeFailure=(1.33e-002,7.21e-004)  // average and variation in disc thickness at failure
BrakeTorque=2750.0                  // maximum brake torque at zero wear and optimum temp
BrakeHeating=6.00e-004              // heat added linearly with brake torque times wheel speed (at max disc thickness)
BrakeCooling=(5.76e-003,2.65e-004)  // minimum brake cooling rate (base and per unit velocity) (at max disc thickness)
BrakeDuctCooling=9.44e-005          // brake cooling rate per brake duct setting (at max disc thickness) 

[FRONTRIGHT]
BumpTravel=-0.030     
ReboundTravel=-0.160          
BumpStopSpring=160000.0     
BumpStopRisingSpring=1.20e7    
BumpStopDamper=2000.0     
BumpStopRisingDamper=9.00e5    
BumpStage2=0.090        
ReboundStage2=-0.090   
FrictionTorque=7.81  
SpinInertia=1.125         
CGOffsetX=0.000       
PushrodSpindle=(-0.125, -0.100, 0.000)
PushrodBody=(-0.225, 0.300, 0.000) 
CamberRange=(-2.0, 0.5, 5)
CamberSetting=5
PressureRange=(100.0, 1.0, 301)
PressureSetting=70
PackerRange=(0.009, 0.00, 0)
PackerSetting=0
SpringMult=0.665                   
SpringRange=(100000.0, 40000.0, 4)
SpringSetting=4
RideHeightRange=(0.1250, 0.005, 1)
RideHeightSetting=0
DamperMult=1.00         
SlowBumpRange=(4500.0, 250.0, 1)
SlowBumpSetting=0
FastBumpRange=(3000.0, 250.0, 1)
FastBumpSetting=0
SlowReboundRange=(8000.0, 500.0, 1)
SlowReboundSetting=0
FastReboundRange=(6000.0, 500.0, 1)
FastReboundSetting=0
BrakeDiscRange=(0.0330, 0.000, 1)   // disc thickness
BrakeDiscSetting=0
BrakePadRange=(0, 1, 5)             // pad type (not implemented)
BrakePadSetting=2
BrakeDiscInertia=0.750              // inertia per meter of thickness
BrakeOptimumTemp=500.0              // optimum brake temperature in Celsius (peak brake grip)
BrakeFadeRange=500.0                // temperature outside of optimum that brake grip drops to half (too hot or too cold)
BrakeWearRate=1.08e-013             // meters of wear per second at optimum temperature
BrakeFailure=(1.33e-002,7.21e-004)  // average and variation in disc thickness at failure
BrakeTorque=2750.0                  // maximum brake torque at zero wear and optimum temp
BrakeHeating=6.00e-004              // heat added linearly with brake torque times wheel speed (at max disc thickness)
BrakeCooling=(5.76e-003,2.65e-004)  // minimum brake cooling rate (base and per unit velocity) (at max disc thickness)
BrakeDuctCooling=9.44e-005          // brake cooling rate per brake duct setting (at max disc thickness)

[REARLEFT]
BumpTravel=-0.020         
ReboundTravel=-0.180     
BumpStopSpring=160000.0 
BumpStopRisingSpring=1.20e7 
BumpStopDamper=2000.0   
BumpStopRisingDamper=9.00e5  
BumpStage2=0.090           
ReboundStage2=-0.090
FrictionTorque=7.81
SpinInertia=1.260
CGOffsetX=-0.030  
PushrodSpindle=(-0.175, -0.100, 0.000)
PushrodBody=(-0.205, 0.220, 0.000) 
CamberRange=(-1.0, 0.5, 4)
CamberSetting=1
PressureRange=(100.0, 1.0, 301)
PressureSetting=70
PackerRange=(0.009, 0.00, 0)
PackerSetting=0
SpringMult=0.489         
SpringRange=(100000.0, 40000.0, 4)
SpringSetting=3
RideHeightRange=(0.1350, 0.005, 1)
RideHeightSetting=0
DamperMult=1.00 
SlowBumpRange=(4000.0, 250.0, 1)
SlowBumpSetting=0
FastBumpRange=(2500.0, 250.0, 1)
FastBumpSetting=0
SlowReboundRange=(9000.0, 500.0, 1)
SlowReboundSetting=0
FastReboundRange=(5000.0, 500.0, 1)
FastReboundSetting=0
BrakeDiscRange=(0.0330, 0.000, 1)   // disc thickness
BrakeDiscSetting=0
BrakePadRange=(0, 1, 5)             // pad type (not implemented)
BrakePadSetting=2
BrakeDiscInertia=0.600              // inertia per meter of thickness
BrakeOptimumTemp=500.0              // optimum brake temperature in Celsius (peak brake grip)
BrakeFadeRange=500.0                // temperature outside of optimum that brake grip drops to half (too hot or too cold)
BrakeWearRate=1.08e-013             // meters of wear per second at optimum temperature
BrakeFailure=(1.33e-002,7.21e-004)  // average and variation in disc thickness at failure
BrakeTorque=2375.0                  // maximum brake torque at zero wear and optimum temp
BrakeHeating=8.28e-004              // heat added linearly with brake torque times wheel speed (at max disc thickness)
BrakeCooling=(5.76e-003,2.65e-004)  // minimum brake cooling rate (base and per unit velocity) (at max disc thickness)
BrakeDuctCooling=5.66e-005          // brake cooling rate per brake duct setting (at max disc thickness)

[REARRIGHT]
BumpTravel=-0.020         
ReboundTravel=-0.180     
BumpStopSpring=160000.0 
BumpStopRisingSpring=1.20e7 
BumpStopDamper=2000.0   
BumpStopRisingDamper=9.00e5  
BumpStage2=0.090           
ReboundStage2=-0.090
FrictionTorque=7.81
SpinInertia=1.260
CGOffsetX=-0.030  
PushrodSpindle=(-0.175, -0.100, 0.000)
PushrodBody=(-0.205, 0.220, 0.000) 
CamberRange=(-1.0, 0.5, 4)
CamberSetting=1
PressureRange=(100.0, 1.0, 301)
PressureSetting=70
PackerRange=(0.009, 0.00, 0)
PackerSetting=0
SpringMult=0.489  
SpringRange=(100000.0, 40000.0, 4)
SpringSetting=3
RideHeightRange=(0.1350, 0.005, 1)
RideHeightSetting=0
DamperMult=1.00 
SlowBumpRange=(4000.0, 250.0, 1)
SlowBumpSetting=0
FastBumpRange=(2500.0, 250.0, 1)
FastBumpSetting=0
SlowReboundRange=(9000.0, 500.0, 1)
SlowReboundSetting=0
FastReboundRange=(5000.0, 500.0, 1)
FastReboundSetting=0
BrakeDiscRange=(0.0330, 0.000, 1)   // disc thickness
BrakeDiscSetting=0
BrakePadRange=(0, 1, 5)             // pad type (not implemented)
BrakePadSetting=2
BrakeDiscInertia=0.600              // inertia per meter of thickness
BrakeOptimumTemp=500.0              // optimum brake temperature in Celsius (peak brake grip)
BrakeFadeRange=500.0                // temperature outside of optimum that brake grip drops to half (too hot or too cold)
BrakeWearRate=1.08e-013             // meters of wear per second at optimum temperature
BrakeFailure=(1.33e-002,7.21e-004)  // average and variation in disc thickness at failure
BrakeTorque=2375.0                  // maximum brake torque at zero wear and optimum temp
BrakeHeating=8.28e-004              // heat added linearly with brake torque times wheel speed (at max disc thickness)
BrakeCooling=(5.76e-003,2.65e-004)  // minimum brake cooling rate (base and per unit velocity) (at max disc thickness)
BrakeDuctCooling=5.66e-005          // brake cooling rate per brake duct setting (at max disc thickness)