car
{
   name=Kia Ceed Patrulha GNR
  year=2012
  credits=Original model-Forza Motorsport 4 Convert-Kacprowy
   comments=Visit our site-www.racer-polska.pl Kacprowy,Special thanks for Michal, Mari17 and Venusek from PFR :)
   wheels=4
  id=kjasid
  version=050b9
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2.4
    length=5.06
    offset_z=-0.06
  }
 cg
 {
  x=0
  y=-0.15
  z=0.0
 }
  ff_factor=0.45
}
graphics
{
  	shadow
  	{
    		model
    		{
      			file=ceed.dof
			use_shaders=0
    		}
		intensity=0.2
  	}
}
body
{
  mass=1140 
  inertia
  {
    x=2300
    y=2400
    z=475
  }
  model
  {
    file=ceed.dof
  }
  model_incar
  {
    file=ceed.dof
  }
  model_light_l
  {
  file=lights.dof
  }
  model_braking_l
  {
  file=brakes.dof
  }
 model_lightroad_l
 {
  file=lightsin.dof
 }
  model_reverse_l
  {
    ; Reverse gear indicators
    file=re.dof
  }
  model_reverse_r
  {
    file=re.dof
}
  width=2.145
  height=0.75
  length=4.796
  manual_box=1
}
steer
{
  x=0.37
  y=0
  z=0.37
  radius=15
  xa=20
   lock=900
  linearity=1.5
  model
  {
      file=steer.dof
  }
}
lights
{
  ; Projected lights
  light0
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=65
    ; Aspect (horizontal)
    aspect=3
    ; Distance to car
    z=2.3
    ; Pitching with respect to car (in degrees)
    pitch=-2
    ; Fall-off distance
    far=300
  }
}
engine
{
	x=0
	y=0
	z=0
	size=0
	mass=0
        max_rpm=6700
	idle_rpm=950
        curve_torque=16.crv
	max_torque=1
        autoclutch_rpm=1200
        starter=1
        starter_torque=110
        start_stalled=1
	stall_rpm=250
	start_rpm=300
        torque_reaction=2.5	
	shifting
	{
		automatic=0
		shift_up_rpm=6150
		shift_down_rpm=3000
		time_to_declutch=100
		time_to_clutch=80	
	}
	inertia
	{
		engine=0.28
		final_drive=0.1
	}
	braking_coeff=2.5
	rolling_friction_coeff=0.1
	sample=engine.wav
	sample_rpm=5900
}
gearbox
{
	gears=6

	gear0
	{
		ratio=-3.545
		inertia=0.02
	}

	gear1
	{
		ratio=3.615
		inertia=0.01
	}

	gear2
	{
		ratio=1.962
		inertia=0.02
	}

	gear3
	{
		ratio=1.370
		inertia=0.03
	}

	gear4
	{
		ratio=1.036
		inertia=0.04
	}

	gear5
	{
		ratio=0.839
		inertia=0.06
	}
}
differential
{
	type=0
	ratio=4.267
	inertia=0.1
	locking_coeff=25
	output0=0
	output1=1
}
clutch
{
	max_torque=325
}
handbrakes
{
	wheels=23
}
aero
{
  body
  {
    center=0 0 0
    cx=0.30
    area=2.29		
  }
  wings=1
  wing0
  {
    name=Overall aerodynamic effect R
    span=1
    cord=0.1
    coeff_drag=0
    coeff_down=8.5
    center=0 0.03 -1.38
    angle=0
    angle_offset=1
  }
}
antirollbar
{
  	count=2
  	arb0
  	{
    		susp_left=0
    		susp_right=1
   		k=18000
  	}
  	arb1
  	{
    		susp_left=2
    		susp_right=3
    		k=7500
  	}
}
susp_front
{
  	y=-0.2
  	z=1.215
  	restlen=0.499
  	minlen=0.290
  	maxlen=0.500
  	k=25594
	;0.7*CD=3656
  	bump_rate=1401
  	bump_function=0
  	rebound_rate=3016
  	rebound_function=0
  	anti_pitch=0.2
	;BMW info -2.39°/100mm
  	camber_change_per_m=0.417
	;BMW info 8.94° / 4.4mm???
    	caster_offset=-0.046
  	roll_center
  	{
    		x=0
		;BMW info instant center 89.4mm, -> ~70mm?
    		y=-0.615
    		z=0
  	}
}
susp0~susp_front
{
    	x=0.76
    	camber_change_steering=0.050
    	toe_change_per_m=0.035
    
}
susp1~susp_front
{
    	x=-0.76
    	camber_change_steering=-0.050
    	toe_change_per_m=-0.035
}

susp_rear
{
  	y=-0.2
  	z=-1.42
  	restlen=0.468
  	minlen=0.290
  	maxlen=0.510
  	k=32843
	;0.7*CD=3960
 	bump_rate=1518
  	bump_function=0
  	rebound_rate=5390
  	rebound_function=0
  	anti_pitch=0.1
	;estimation based on Gustave's M3 site
  	camber_change_per_m=0.306
  	roll_center
  	{
    		x=0
    		y=-0.589
    		z=0
  	}
}

susp2~susp_rear
{
    	x=0.76
	;estimation based on Gustave's M3 site
    	toe_change_per_m=-0.016
}

susp3~susp_rear
{
    	x=-0.76
	;estimation based on Gustave's M3 site
    	toe_change_per_m=0.016
}

tire_model_front
{
	damping_predict_lat=0
  	damping_predict_long=0
}

tire_model_rear
{
  	damping_predict_lat=0
  	damping_predict_long=0
}

;0.78g skidpad, ~42m 100-0km/h 
pacejka
{
    	a0=1.25
    	a1=-30
    	a2=1025
    	a3=1550
    	a4=8
    	a5=0.015
    	a6=-0.25
    	a7=0.1
    	a8=-0.03
    	a9=-0.001
    	a10=-0.15
    	a111=-8.5
    	a112=-0.29
    	a12=17.8
    	a13=-2.4
    	b0=1.5
    	b1=-60
    	b2=1150
    	b3=2
    	b4=350
    	b5=0.08
    	b6=0
    	b7=0.05
    	b8=-0.025
    	b9=0.015
    	b10=0.4
    	b11=-80
    	b12=0
    	c0=2.2
    	c1=-4
    	c2=-3
    	c3=-1.0
    	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.08276
    	optimal_slipangle=0.14444
}

wheel_front
{
	y=0
	z=0
  	steering=1
	reverse_steering=0
	;41.3 / 33.9
	lock=67.8
	ackerman=1.218
	mass=30
	inertia=1.0
	radius=0.3248
	rolling_coeff=0.015
	friction_road=1
	max_braking=1300
	braking_factor=1
	inboard_brakes=0
	tire_rate=175000
	pacejka~pacejka
	{
	}
}

wheel0~wheel_front
{
	x=0
	;-0.150°
	toe=-0.369
	;-0.670°
	camber=0
    	model
  	{
    		file=left.dof
		offset
		{
			x=-0.000
		}
  	}
    		model2
  	{
    		file=left.dof
    		velocity=25
		offset
		{
			x=-0.000
		}
  	}
    		model3
  	{
    		file=left.dof
    		velocity=45
		offset
		{
			x=-0.000
		}
  	}
    		model_brake
  	{
    		;file=caliper1.dof
  	}
}

wheel1~wheel_front
{
  	x=0
	;0.150°
  	toe=0.369
	;-0.670°
  	camber=0
    	model
  	{
    		file=right.dof
		offset
		{
			x=-0.000
		}
  	}
    		model2
  	{
    		file=right.dof
    		velocity=25
		offset
		{
			x=-0.000
		}
  	}
    		model3
  	{
    		file=right.dof
    		velocity=45
		offset
		{
			x=-0.000
		}
  	}
    		model_brake
  	{
    		;file=caliper2.dof
  	}
}

wheel_rear
{
	y=0
	z=0
	steering=0
	reverse_steering=0
	lock=0
	mass=30
  	inertia=1.0
  	radius=0.3248
  	rolling_coeff=0.015
  	friction_road=1
  	max_braking=560
  	max_handbrake_torque=1500
  	braking_factor=1
	inboard_brakes=0
  	tire_rate=175000
  	pacejka~pacejka
  	{
  	}
}

wheel2~wheel_rear
{
  	x=0
	;-0.150°
  	toe=-0.078
	;-1.420° / -1.833°
  	camber=0
    	model
  	{
    		file=left.dof
		offset
		{
			x=-0.000
		}
  	}
    		model2
  	{
    		file=left.dof
    		velocity=25
		offset
		{
			x=-0.000
		}
  	}
    		model3
  	{
    		file=left.dof
    		velocity=45
		offset
		{
			x=-0.000
		}
  	}
    		model_brake
  	{
    		;file=caliper3.dof
  	}
}

wheel3~wheel_rear
{
  	x=0
	;0.150°
  	toe=0.078
	;-1.420° / -1.833°
  	camber=0
    	model
  	{
    		file=right.dof
		offset
		{
			x=-0.000
		}
  	}
    		model2
  	{
    		file=right.dof
    		velocity=25
		offset
		{
			x=-0.000
		}
  	}
    		model3
  	{
    		file=right.dof
    		velocity=45
		offset
		{
			x=-0.000
		}
  	}
    		model_brake
  	{
    		;file=caliper4.dof
  	}
}

camera0
{
  name=Driver
  fov=74
  model=1
  view=0
  wheels=0
  offset
  {
    x=0.38
    y=0.3
    z=-0.07
  }
  offset_to
  {
    x=0.38
    y=-0.2
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  name=Driver, left
  fov=65
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.45
    y=0.31
    z=-0.32
  }
  offset_to
  {
    x=10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=Driver, right
  fov=55
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.45
    y=0.35
    z=-0.32
  }
  offset_to
  {
    x=-10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
  name=Driver, rear
  fov=-65
  model=1
  wheels=0
  view=0
  offset
  {
    x=0.02
    y=0.37
    z=-0.10
  }
  offset_to
  {
    x=-1
    y=0.5
    z=-10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera4
{
  name=Chase
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0
    y=-0.8
    z=-5.38
  }
  angle
  {
    x=10
    y=180
    z=0
  }
}
camera5
{
  name=Exterior
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=0
    y=-0.5
    z=-5
  }
  angle
  {
    x=10
    y=130
    z=0
  }
}
camera6
{
  name=Rear chase
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0
    y=-0.8
    z=-5.27
  }
  angle
  {
    x=10
    y=0
    z=0
  }
}
camera7
{
  name=FrontWheel
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=1.4
    y=0.06
    z=-0.5
  }
  angle
  {
    x=-2.25
    y=-161
    z=3.3
  }
}
camera8
{
  name=Far
  fov=20
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=0
    y=-0.5
    z=-20
  }
  angle
  {
    x=10
    y=50
    z=0
  }
}
camera9
{
  name=Driver, back
  fov=60
  model=0
  wheels=0
  view=0
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=-0.37
    y=-0.31
    z=-0.97
  }
  angle
  {
    x=5
    y=180
    z=0
  }
}
audio
{
	skid
	{
		sample=audio/skid.wav
	}
	horn
	{
		sample=horn.wav
	}
	shiftout
	{
		sample=audio/shiftout.wav
	}
	shiftin
	{
		sample=audio/shiftin.wav
	}
	acc_all
	{
		attack=1350
		decay=1350
		volume=1
	}
	accelerate_out
	{
		smp0~audio.acc_all
		{
			sample=audio\moteur\1000.wav
			min=1000
			max=1001
			natural=1100
			volume=0.7
		}
		smp1~audio.acc_all
		{
			sample=audio\moteur\2000.wav
			min=2000
			max=2001
			natural=2100
		}
		smp2~audio.acc_all
		{
			sample=audio\moteur\3000.wav
			min=3000
			max=3001
			natural=3100
		}
		smp3~audio.acc_all
		{
			sample=audio\moteur\4000.wav
			min=4000
			max=4001
			natural=3750
		}
		smp4~audio.acc_all
		{
			sample=audio\moteur\5000.wav
			min=5000
			max=5001
			natural=4750
		}
		smp5~audio.acc_all
		{
			sample=audio\moteur\6000.wav
			min=6000
			max=6001
			natural=5750
		}
		smp6~audio.acc_all
		{
			sample=audio\moteur\7000.wav
			min=7000
			max=7001
			natural=6750
		}
	}
	accelerate_in
	{
		smp0~audio.acc_all
		{
			sample=audio\moteur\1000_in.wav
			min=1000
			max=1001
			natural=1100
			volume=0.7
		}
		smp1~audio.acc_all
		{
			sample=audio\moteur\2000_in.wav
			min=2000
			max=2001
			natural=2100
			volume=0.7
		}
		smp2~audio.acc_all
		{
			sample=audio\moteur\3000_in.wav
			min=3000
			max=3001
			natural=3100
			volume=0.7
		}
		smp3~audio.acc_all
		{
			sample=audio\moteur\4000_in.wav
			min=4000
			max=4001
			natural=3750
			volume=0.7
		}
		smp4~audio.acc_all
		{
			sample=audio\moteur\5000_in.wav
			min=5000
			max=5001
			natural=4750
			volume=0.8
		}
		smp5~audio.acc_all
		{
			sample=audio\moteur\6000_in.wav
			min=6000
			max=6001
			natural=5750
			volume=0.9
		}
		smp6~audio.acc_all
		{
			sample=audio\moteur\7000_in.wav
			min=7000
			max=7001
			natural=6750
			volume=1
		}
	}
	decelerate_out
	{
		smp0~audio.acc_all
		{
			sample=audio\moteur\1000.wav
			min=1000
			max=1001
			natural=1000
			volume=1
		}
		smp1~audio.acc_all
		{
			sample=audio\moteur\2000.wav
			min=2000
			max=2001
			natural=2000
		}
		smp2~audio.acc_all
		{
			sample=audio\moteur\3000.wav
			min=3000
			max=3001
			natural=3000
		}
		smp3~audio.acc_all
		{
			sample=audio\moteur\4000.wav
			min=4000
			max=4001
			natural=3650
		}
		smp4~audio.acc_all
		{
			sample=audio\moteur\5000.wav
			min=5000
			max=5001
			natural=4650
		}
		smp5~audio.acc_all
		{
			sample=audio\moteur\6000.wav
			min=6000
			max=6001
			natural=5650
		}
		smp6~audio.acc_all
		{
			sample=audio\moteur\7000.wav
			min=7000
			max=7001
			natural=6650
		}
	}
	decelerate_in
	{
		smp0~audio.acc_all
		{
			sample=audio\moteur\1000_in.wav
			min=1000
			max=1001
			natural=1000
			volume=1
		}
		smp1~audio.acc_all
		{
			sample=audio\moteur\2000_in.wav
			min=2000
			max=2001
			natural=2000
			volume=0.5
		}
		smp2~audio.acc_all
		{
			sample=audio\moteur\3000_in.wav
			min=3000
			max=3001
			natural=3000
			volume=0.6
		}
		smp3~audio.acc_all
		{
			sample=audio\moteur\4000_in.wav
			min=4000
			max=4001
			natural=3650
			volume=0.8
		}
		smp4~audio.acc_all
		{
			sample=audio\moteur\5000_in.wav
			min=5000
			max=5001
			natural=4650
			volume=0.9
		}
		smp5~audio.acc_all
		{
			sample=audio\moteur\6000_in.wav
			min=6000
			max=6001
			natural=5650
			volume=0.9
		}
		smp6~audio.acc_all
		{
			sample=audio\moteur\7000_in.wav
			min=7000
			max=7001
			natural=6650
			volume=1
		}
	}
	gearwhine
 	{
		smp0
		{
			sample=audio/tw-extonhigh.wav
			volume=0.05
			min=1
			max=2
			decay=1000
			natural=500
		}
	}
	wind
	{
		volume=14
		pitch_scale=1.25
		pitch_offset=0
 		smp0
		{
			sample=audio/wind1.wav
			min=25
			max=26
			attack=33
			decay=33
			natural=80
		}
		smp1
		{
			sample=audio/wind2.wav
			min=50
			max=51
			attack=33
			decay=33
			natural=80
		}
		smp2
		{
			sample=audio/wind3.wav
			min=75
			max=76
			attack=33
			decay=33
			natural=80
		}
	}
}
abs
{
  enable=1
  max_velocity_ratio=1.09 
  min_velocity_ratio=1.08
  min_velocity=1
}
traction_control
{
  	enable=0
  	min_velocity=1.667
  	max_velocity_ratio=1.050
  	min_velocity_ratio=1.300

}