; Mercedes CLK DTM for Racer v0.9.0
car
{
  name=Mercedes CLK DTM - Team D2
  id=clkdtm_d2
  version=090
  credits=model/textures - stecki, conversion to v0.9 by Ruud
  comments=car.ini - Mr. Whippy
  year=2000
  wheels=4
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2.3
    length=4.6
  }
  cg
  {
    x=0	
    y=-0.23
    z=0.21
  }
}
body
{
  mass=1080
  inertia
  {
    x=2003
    y=2203
    z=423
  }
  model
  {
    file=body.dof
  }
  model_incar
  {
    file=int.dof
  }
  model_braking_l
  {
    file=brakelights.dof
  }
  width=1.94
  height=1.1
  length=4.67
  manual_box=1
  box_offset=0 0.2 -0.2
}
steer
{
  x=0.252
  y=0.153
  z=0.111
  radius=10
  xa=13
  lock=900
  linearity=0.833
  model
  {
    file=steer.dof
  }
}
engine
{
  mass=0
  max_rpm=6550
  idle_method=1
  idle_rpm=900
  stall_rpm=600
  start_rpm=700
  autoclutch_rpm=0
  autoclutch=0
  starter=1
  starter_torque=50
  curve_torque=torque.crv
  max_torque=475
  reaction=0
  shifting
  {
    automatic=0
    shift_up_rpm=5800
    shift_down_rpm=3500
    time_to_declutch=150
    time_to_clutch=50
  }
  inertia
  {
    engine=0.22
    final_drive=0.12
  }
  braking_coeff=3.2
  rolling_friction_coeff=0.9
  sample=engine.wav
  sample_rpm=9500
}
gearbox
{
  gears=7
  gear0
  {
    ratio=-4.2
    inertia=0.1
  }
  gear1
  {
    ratio=2.2
    inertia=0.1
  }
  gear2
  {
    ratio=1.8
    inertia=0.08
  }
  gear3
  {
    ratio=1.5
    inertia=0.06
  }
  gear4
  {
    ratio=1.25
    inertia=0.04
  }
  gear5
  {
    ratio=1.05
    inertia=0.02
  }
  gear6
  {
    ratio=0.9
    inertia=0.01
  }
}
clutch
{
  max_torque=550
}
handbrakes
{
  wheels=23
}
;OLD_CODE_differential
{
  type=1
  inertia=0.2
  ratio=4.0
  locking_coefficient=25
}
differentials
{
	count=1
	diff0
	{
		type=3
		ratio=3.000;NoS; 3.500;A1Gp; over all where 9 different ratos possible, the gears are fix!
		inertia=0.05
		friction=100;ca.100N "Reibung" für alle Teile
		preload=25
		output0=2
		output1=3
		power_ratio=2.636;1.667;->25% Sperre;7.000;->75% Sperre;2.636;->45%;2.333;->40%;1.857;->30% Sperre
		coast_ratio=2.636;->45% Sperre
	}
}
aero
{
  body
  {
    center=0 -0.2 0
    cx=0.33
    area=1.85
  }
  wings=3
  wing0
  {
    name=BodyLift
    span=1
    cord=0.1
    coeff_drag=0
    coeff_down=0
    center=0 0 0
    angle=0
    angle_offset=10
  }
  wing1
  {
    name=FrontSplitter
    span=1
    cord=0.1
    coeff_drag=3
    coeff_down=30
    center=0 -0.2 1.42
    angle=0
    angle_offset=10
  }
  wing2
  {
    name=RearSpoilerandDiffuser
    span=1
    cord=0.1
    coeff_drag=3
    coeff_down=30
    center=0 -0.2 -1.27
    angle=0
    angle_offset=10
  }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=36000
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=15000
  }
}
susp_front
{
  y=0.00
  z=1.42
  restlen=0.27
  minlen=0.1
  maxlen=0.3
  k=74250
  bump_rate=9950
  rebound_rate=9950
  roll_center
  {
    x=0
    y=-0.52
    z=0
  }
}
susp_rear
{
  y=0.00
  z=-1.27
  restlen=0.27
  minlen=0.1
  maxlen=0.3
  k=60250
  bump_rate=8750
  rebound_rate=8400
  roll_center
  {
    x=0
    y=-0.47
    z=0
  }
}
susp0~susp_front
  {
    x=0.815
  }
susp1~susp_front
  {
    x=-0.815
  }
susp2~susp_rear
  {
    x=0.815
  }
susp3~susp_rear
  {
    x=-0.815
  }
tire_model_front
{
  damping_predict_lat=0.672
  damping_predict_long=0.028
}
tire_model_rear
{
  damping_predict_lat=0.734
  damping_predict_long=0.031
}
pacejka
{
    a0=1.55
    a1=-40
    a2=1700
    a3=3200;2800
    a4=7.2
    a5=0.014
    a6=-0.24
    a7=1.0
    a8=-0.03
    a9=-0.0013
    a10=-0.15
    a111=-8.5
    a112=-0.29
    a12=17.8
    a13=-2.4
    b0=1.65
    b1=-80
    b2=1800
    b3=23.3
    b4=390
    b5=0.05
    b6=0
    b7=0.055
    b8=-0.024
    b9=0.014
    b10=0.26
    c0=2.2
    c1=-4.1
    c2=-4.2
    c3=-1.8
    c4=-9.1
    c5=0.0225
    c6=0
    c7=0.044
    c8=-0.58
    c9=0.18
    c10=0.043
    c11=0.048
    c12=-0.0035
    c13=-0.18
    c14=0.14
    c15=-1.029
    c16=0.27
    c17=-1.1
    optimal_slipratio=0.1
    optimal_slipangle=0.11
}
wheel_front
{
  y=0
  z=0
  steering=1
  powered=0
  lock=40
  ackerman=1.1
  mass=15
  inertia=1.1
  radius=.33
  rolling_coeff=0.015
  max_braking=1900
  braking_factor=0.62
  tire_rate=300000
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  y=0
  z=0
  steering=0
  powered=0
  mass=15
  inertia=1.1
  radius=.33
  rolling_coeff=0.015
  max_braking=1900
  braking_factor=0.38
  tire_rate=300000
  max_handbrake_torque=2500
  pacejka~pacejka
  {
  a1=-55
  a2=1950
  b1=-110
  b2=1800
  b4=410
  b5=0.075
  c1=-4.3
  c2=-4.4
  c3=-1.9
  c4=-9.6
  optimal_slipratio=0.1
  optimal_slipangle=0.135
  }
}
wheel0~wheel_front
{
  x=0
  toe=-0
  camber=-3.5
  model
  {
    file=lwheel.dof
  }
  model_brake
  {
    file=brake_lf.dof
  }
}
wheel1~wheel_front
{
  x=0
  toe=0
  camber=-3.5
  model
  {
    file=rwheel.dof
  }
  model_brake
  {
    file=brake_rf.dof
  }
}
wheel2~wheel_rear
{
  x=0
  toe=-1.5
  camber=-2
  model
  {
    file=lwheel.dof
  }
  model_brake
  {
    file=brake_lr.dof
  }
}
wheel3~wheel_rear
{
  x=0
  toe=1.5
  camber=-2
  model
  {
    file=rwheel.dof
  }
  model_brake
  {
    file=brake_rr.dof
  }
}
camera0
{
  offset
  {
    x=0.0
    y=-0.904162
    z=-6.870018
  }
  angle
  {
    x=15.694407
    y=180
    z=0.000000
  }
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
}
camera1
{
  offset
  {
    x=0.0
    y=-0.700001
    z=-4.715009
  }
  angle
  {
    x=6.666651
    y=180
    z=0.000000
  }
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  fov=50
  view=1
}
camera2
{
  offset
  {
    x=0
    y=-0.5
    z=0.6
  }
  angle
  {
    x=0
    y=180
    z=0.000000
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
}
camera3
{
  follow
  {
    pitch=
    yaw=1
    roll=
  }
  offset
  {
    x=0.221878
    y=.55
    z=-6.635028
  }
  angle
  {
    x=16.388876
    y=-56.944256
    z=1.302094
  }
  name=Wheels
  fov=40
  view=1
}
camera4
{
  offset
  {
    x=0.014061
    y=0.493751
    z=-5.585001
  }
  angle
  {
    x=18.055532
    y=728.819153
    z=0.260415
  }
  view=1
}
camera5
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0.198437
    y=0.464583
    z=-6.320009
  }
  angle
  {
    x=9.444325
    y=-268.750336
    z=0.086801
  }
  name=High
  fov=40
  view=1
}
camera6
{
  follow
  {
    pitch=1
    yaw=1
    roll=0
  }
  offset
  {
    x=-0.037500
    y=0.489584
    z=-4.555015
  }
  angle
  {
    x=86.527802
    y=-308.854156
    z=11.718752
  }
  fov=60
  view=1
}
camera7
{
  offset
  {
    x=-0.151565
    y=0.489580
    z=-6.395005
  }
  angle
  {
    x=7.083300
    y=-143.576736
    z=3.298599
  }
  follow
  {
    pitch=0
    yaw=1
    roll=1
  }
  fov=35
  view=1
}
camera8
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.000002
    y=-0.918743
    z=0.430004
  }
  angle
  {
    x=6.944441
    y=-361.249451
    z=0.000000
  }
  fov=75
  model=0
  wheels=0
  view=1
}
camera9
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.252
    y=-0.435410
    z=-0.319996
  }
  angle
  {
    x=-4.166675
    y=-180
    z=0.000000
  }
  fov=85
  ; Type of model to use; 0=outside, 1=inside, 2=none
  model=1
  wheels=2
  view=0
  name=interior
}
audio
{
	skid
	{
		sample=Skid.wav
	}
	horn
	{
		sample=Horn.wav
	}
  	shiftout
  	{
    		sample=Shift_Out.wav
  	}
	acc_all
	{
		attack=2600
		decay=2600
	}
	accelerate_out
	{
		smp0~audio.acc_all
		{
			sample=Engine.wav
			min=0
			max=9000
			natural=5000
			volume=1.5
		}
	}

	decelerate_out
	{
		smp0~audio.acc_all
		{
			sample=Engine.wav
			min=0
			max=9000
			natural=4800
			volume=1
		}
	}
	wind_UNUSED
	{
		volume=9
		pitch_scale=1
		pitch_offset=30
		smp0
		{
			sample=Wind1.wav
			min=5
			max=6
			attack=33
			decay=33
			natural=80
		}
		smp1
		{
			sample=Wind2.wav
			min=30
			max=31
			attack=33
			decay=33
			natural=80
		}
		smp2
		{
			sample=Wind3.wav
			min=55
			max=56
			attack=33
			decay=33
			natural=80
		}
	}
}
