car
{
  name=KIA Ceed 1.6 DOHC
  year=2011
  credits=Author:Turn 10 Studios (FM4), Converted to Racer by Capricorn (http://www.racer-polska.pl)
  id=ceed10
  version=090
  comments=1.6 DOHC, 126HP @ 6300RPM, 154NM @ 4200RPM, 0-100km/h - 10.8s, V-max @ 192km/h
  wheels=4
  ff_factor=0.8
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2.4
    length=4.80
    offset_z=-0.06
  }
  cg
  {
    x=0
    y=-0.22	;53,7 cm (~38%)
    z=0.365	;64,1% devant
  }
}
graphics
{
  shadow
  {
    model
    {
      file=shadow.dof
      use_shaders=1
    }
    intensity=0.3
  }
  generic
  {
    model0
    {
      file=signal_fl.dof
    }
    model1
    {
      file=signal_fr.dof
    }
    model2
    {
      file=signal_rl.dof
    }
    model3
    {
      file=signal_rr.dof
    }
    model4
    {
      file=signal_il.dof
    }
    model5
    {
      file=signal_ir.dof
    }
    model6
    {
      file=door_fl.dof
    }
    model7
    {
      file=door_fr.dof
    }
    model8
    {
      file=door_rl.dof
    }
    model9
    {
      file=door_rr.dof
    }
    model10
    {
      file=bonnet.dof
    }
    model11
    {
      file=hatch.dof
    }
    model12
    {
      file=reverse_lights.dof
    }
    model13
    {
      file=plate_lights.dof
    }
    model14
    {
      file=fog_rear.dof
    }
    model15
    {
      file=fog_front.dof
    }
    model16
    {
      file=fog_in.dof
    }
    model17
    {
      file=high_beam.dof
    }
    model18
    {
      file=high_beam_in.dof
    }
    model19
    {
      file=asr.dof
    }
    model20
    {
      file=driver_body.dof
      offset
      {
        x=0.444
        y=0.62
        z=-0.2
      }
    }
  }
}
lights
{
  light0
  {
    aspect=5
    color=10.00 10.00 12.00
    far=150
    fov=20
    texture=light.tga
    pitch=0
    z=1.0
  }
}
body
{
  mass=1410
  inertia
  {
    x=2300
    y=2500
    z=700
  }
  width=1.986	;1986 mm
  height=1.33	;1332 mm
  length=4.12	;4118 mm
  manual_box=0
  model
  {
    file=body.dof
  }
  model_incar
  {
    file=body.dof
  }
  model_braking_l
  {
    file=brakes.dof
  }
  model_light_l
  {
    file=lights.dof
  }
  model_lightroad_l
  {
    file=lum_cpt.dof
  }
  model_collide
  {
    file=ombre_e.dof
  }
  model_reverse_l
  {
    file=wsteczny.dof
  }
  model_reverse_r
  {
    file=wsteczny.dof
  }
}
steer
{
  x=0.3515
  y=0.3050
  z=0.4232
  xa=22
  lock=1152		;3.2 turns lock-to-lock, 10.50 m turning circle
  linearity=0.78         ;900/1152 = 0.78
  model
  {
    file=swheel.dof
  }
}
engine
{
  mass=120
  max_rpm=6700
  idle_rpm=950
  curve_torque=torque.crv
  max_torque=1.45
  autoclutch_rpm=1200
  starter=1
  starter_torque=110
  start_stalled=1
  stall_rpm=1500
  start_rpm=1100
  reaction=1
  shifting
  {
    automatic=0
    shift_up_rpm=6150
    shift_down_rpm=3000
    time_to_declutch=0
    time_to_clutch=0
    time_in_neutral=0
    blip_throttle=0
    cut_throttle=1
  }
  inertia
  {
    engine=0.28
    final_drive=0.1
  }
  braking_coeff=2.5
  rolling_friction_coeff=0.1
  friction=0
  sample=sfx/5000.wav
  sample_rpm=5000
}
fuel
{
  bsfc=6.8e-5
  max=68
  type=0
}
clutch
{
  max_torque=350
}
gearbox
{
	gears=6

	gear0
	{
		ratio=-3.545
		inertia=0.02
	}

	gear1
	{
		ratio=3.915
		inertia=0.01
	}

	gear2
	{
		ratio=2.562
		inertia=0.02
	}

	gear3
	{
		ratio=1.870
		inertia=0.03
	}

	gear4
	{
		ratio=1.336
		inertia=0.04
	}

	gear5
	{
		ratio=1.039
		inertia=0.06
	}
}

handbrakes
{
  wheels=23
}
differential
{
  type=1
  ratio=3.368
  inertia=0.01
  locking_coeff=100
  friction=75
  output0=0
  output1=1
}
abs
{
  enable=1
  braking_factor=1
  max_velocity_ratio=1.2
  min_velocity_ratio=1.1
  min_velocity=3.61
}
traction_control
{
  enable=0
  max_velocity_ratio=1.04
  min_velocity_ratio=1.035
  min_velocity=3.61
}
aero
{
  body
  {
    center=0 0 0
    cx=0.33
    area=2.12
  }
  wings=2
  wing0
  {
    name=Front axle lift
    span=1
    cord=1
    coeff_drag=0
    coeff_down=-5
    center=0 0 1.3125
    angle=0
    angle_offset=1
  }
  wing1
  {
    name=Rear axle lift
    span=1
    cord=1
    coeff_drag=0
    coeff_down=-5
    center=0 0 -1.3125
    angle=0
    angle_offset=1
  }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=9100
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=8800
  }
}
susp_front
{
	y=0.02
	z=1.24
	restlen=0.411			;293	395kg
	minlen=0.22
	maxlen=0.46
	k=43781.6943144			;@ static load and 1.316 NF SR
	bump_rate=4600		;0.7	1944
	rebound_rate=4600	;0.7	6531
	bump_function=0
	rebound_function=0
	anti_pitch=0.1
	camber_change_per_m=0.067
	roll_center
	{
		x=0
		y=-0.552	;60mm
		z=0
	}
}

susp_rear
{
	y=0.04
	z=-1.40
	restlen=0.370			;305	275kg
	minlen=0.2
	maxlen=0.43
	k=43781.6943144			;@ static load and 1.502 NF SR
	bump_rate=4600		;0.75	1852
	rebound_rate=4200	;0.8	5191
	bump_function=0
	rebound_function=0
	anti_pitch=0.1
	camber_change_per_m=0.14
	roll_center
	{
		x=0
		y=-0.504	;120mm
		z=0
	}
}
susp0~susp_front
{
  x=0.765	;1534 mm front track
}
susp1~susp_front
{
  x=-0.765
}
susp2~susp_rear
{
  x=0.75	;1540 mm rear track
}
susp3~susp_rear
{
  x=-0.75
}
pacejka
{
    	a0=1.25
    	a1=-35
    	a2=1300
    	a3=2000
    	a4=8
    	a5=0.015
    	a6=-0.25
    	a7=0.1
    	a8=-0.03
    	a9=-0.001
    	a10=-0.15
    	a111=-4.3
    	a112=-0.29
    	a12=17.8
    	a13=-2.4

    	b0=1.5
    	b1=-70
    	b2=1300 
    	b3=21
    	b4=325
    	b5=0.08
    	b6=0
    	b7=0.05
    	b8=-0.025
    	b9=0.015
    	b10=0.4
    	b11=-50
    	b12=0

    	c0=2.2
    	c1=-4
    	c2=-3
    	c3=-1
    	c4=-7
    	c5=0.0
    	c6=0.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.11
    	optimal_slipangle=0.157
}

wheel_front
{
  x=0
  y=0
  z=0
  tire_damping=500
  tire_damping_lowspeed=2500
  tire_damping_threshold=5.0
  brake_heating=0.003
  brake_dissipation=0.0005
  brake_max_temp=1000
  steering=1
  camber=-0.2
  ackerman=1.2
  lock=67.89
  mass=30
  inertia=1
  rolling_coeff=0.009
  width=0.225
  radius=0.34
  max_braking=2250
  braking_factor=0.75
  tire_rate=180000
  pacejka~pacejka
  {
  }
}
;205/55 R16
wheel_rear
{
  x=0
  y=0
  z=0
  tire_damping=500
  tire_damping_lowspeed=2500
  tire_damping_threshold=5.0
  brake_heating=0.003
  brake_dissipation=0.0005
  brake_max_temp=1000
  steering=0
  camber=-0.40
  mass=50
  inertia=1
  rolling_coeff=0.009
  width=0.225
  radius=0.335
  max_braking=2250
  max_handbrake_torque=4300
  braking_factor=0.25
  tire_rate=180000
  pacejka~pacejka
  {
  }
}
;205/55 R16
wheel0~wheel_front
{
	x=0
	ackerman=1.1 
	toe=-0.1695
	camber=-0.2	
	model
	{
		file=left.dof
	}
	model_brake
	{
		file=left_caliper_front.dof
	}
}

wheel1~wheel_front
{
	x=0
	ackerman=1.1
	toe=0.1695
	camber=-0.2
	model
	{
		file=right.dof
	}
	model_brake
	{
		file=right_caliper_front.dof
	}
}

wheel2~wheel_rear
{
	x=0
	toe=-0.133
	camber=0	
	model
	{
		file=left.dof
	}
	model_brake
	{
		file=left_caliper_rear.dof
	}
}

wheel3~wheel_rear
{
	x=0
	toe=0.133
	camber=0
	model
	{
		file=right.dof
	}
	model_brake
	{
		file=right_caliper_rear.dof
	}
}
camera0
{
  name=Driver
  fov=70
  model=0
  wheels=0
  view=0
  offset
  {
    x=0.35
    y=0.62
    z=-0.06
  }
  offset_to
  {
    x=0.43
    y=-0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  name=Driver, left
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0.35
    y=0.62
    z=-0.031
  }
  offset_to
  {
    x=10.43
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=Driver, right
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0.35
    y=0.62
    z=-0.031
  }
  offset_to
  {
    x=-9.57
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
  name=Driver, rear
  fov=-65
  model=0
  wheels=0
  view=0
  offset
  {
    x=0.2
    y=0.6
    z=-0.13
  }
  offset_to
  {
    x=-1
    y=0.5
    z=-10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera4
{
  name=Chase
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0
    y=-0.5
    z=-7
  }
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  angle
  {
    x=15
    y=180
    z=0
  }
}
camera5
{
  name=Chase rear
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0
    y=-0.5
    z=-5
  }
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  angle
  {
    x=15
    y=0
    z=0
  }
}
camera6
{
  name=Free exterior
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0
    y=-0.5
    z=-5
  }
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  angle
  {
    x=10
    y=180
    z=0
  }
}
camera7
{
	name=Side
	fov=60
	model=0
	wheels=0
	view=0
	offset
	{
		x=1.267185
		y=0.129164
		z=-2.6
	}
	angle
	{
		x=1.361085
		y=-165.972626
		z=1.298599
	}
	follow
	{
		pitch=0
		yaw=1
		roll=1
	}

}
camera8
{
  name=Driver2
  fov=70
  model=1
  wheels=0
  view=0
  offset
  {
    x=0.35
    y=0.62
    z=0.05
  }
  offset_to
  {
    x=0.43
    y=-0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera9
{
	name=Bonnet
	fov=60
	model=0
	wheels=0
	view=0
	offset
	{
		x=0.00
    		y=-0.90
    		z=0.65
	}
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	angle
	{
		x=5
		y=180
		z=0
	}
}
audio
{
  	skid
  	{
    		sample=skid.wav
  	}
        starter
        {
		sample=starter.wav
        }
	horn
	{
		sample=horn.wav
	}
  	acc_all
  	{
    		attack=600
    		decay=600
  	}
  	accelerate_out
  	{
    		smp0~audio.acc_all
    		{
      			volume=1
			sample=sfx/1900.wav
      			min=0
      			max=2500
      			natural=1900
    		}
		smp1~audio.acc_all
    		{
      			volume=1
     			sample=sfx/3000.wav
      			min=2500
      			max=3500
      			natural=3000
    		}
		smp2~audio.acc_all
    		{
      			volume=1
     			sample=sfx/4000.wav
      			min=3500
      			max=4500
      			natural=4000
    		}
		smp3~audio.acc_all
    		{
			volume=1.1
     			sample=sfx/5000.wav
      			min=4500
      			max=5500
      			natural=5000
    		}
		smp4~audio.acc_all
    		{

			volume=6.0
     			sample=sfx/6100.wav
      			min=5500
      			max=12000
      			natural=6100
    		}
  	}
   decelerate_out
   {
      volume=0.6
      smp0~audio.acc_all
      {
         sample=sfx/1900.wav
         min=0
         max=2500
         natural=1900
      }
      smp1~audio.acc_all
      {
         sample=sfx/3000.wav
         min=2500
         max=3500
         natural=3000
      }
      smp2~audio.acc_all
      {
         sample=sfx/4000.wav
         min=3500
         max=4500
         natural=4000
      }
      smp3~audio.acc_all
      {
         sample=sfx/5000.wav
         min=4500
         max=5500
         natural=5000
      }
      smp4~audio.acc_all
      {
         sample=sfx/6100.wav
         min=5500
         max=6500
         natural=6100
      }
      smp5~audio.acc_all
      {
         sample=sfx/6900.wav
         min=6500
         max=12000
         natural=6900
      }
   }
   wind
   {
      volume=2
      pitch_scale=0
      pitch_offset=50
      smp0
      {
         sample=sfx/wind.wav
         min=25
         max=100
         attack=33
         decay=120
         natural=80
      }
   }
}