car
{
  name=Fiat/Seat 127 Mk1 903cc
  year=1998
  credits=Converted and modified by JerryCBM
  comments=Original by sHaRk0 and AlbertX for NFS 4
  id=fiat127_mk1_903
  version=063
  wheels=4
  skid
  {
    sample=snd_skid.wav
  }
  shadow
  {
    texture=txt_shadow.tga
    width=2.2
    length=3.7
    offset_z=0.0
  }

  cg
  {
    x=0
    y=-0.2
    z=0.2
}
}
body
{
  mass=785		 
  collision.restitution=0.25
  inertia
  {
    x=2100	
    y=2220		
    z=400	
  }
  model
  {
    file=fiat127.dof
    offset
    {
    x=0.0
    y=-0.05
    z=0.0
    }
  }
  model_incar
  {
    file=fiat127.dof
    offset
    {
    x=0.0
    y=-0.05
    z=0.0
    }
  }
     model_light_l
    {
     file=model_lightsin.dof
    offset
    {
    x=0.0
    y=-0.05
    z=0.0
    }
   }
 model_lightroad_l
 {
  file=model_lights.dof
    offset
    {
    x=0.0
    y=-0.05
    z=0.0
    }
  }
  model_braking_l
  {
    file=model_brakelights.dof
    offset
    {
    x=0.0
    y=-0.05
    z=0.0
    }
  }
  width=1.784
  height=1.0
  length=4.343
  manual_box=1

}

steer
{
  x=0.297
  y=0.095
  z=0.485
  radius=1
  xa=28
  lock=1080
  linearity=0.9
  model
  {
    file=swheel.dof
  }
}
engine
{
  mass=70
  idle_rpm=875
  max_rpm=6000
  curve_torque=fiat903.crv
  max_torque=1
  torque_reaction=0.3
  autoclutch_rpm=1200
  starter=1
  starter_torque=60
  stall_rpm=500
  start_rpm=900
  start_stalled=1

  shifting
  {
    automatic=0
    fast=0
    shift_up_rpm=5500
    shift_down_rpm=2800
    time_to_declutch=100
    time_to_clutch=220
  }
  	inertia
  	{
    		engine=0.25
  	}

  	braking_coeff=1.8
}
gearbox
{
   gears=5
   gear0
   {
      ratio=-3.818
      inertia=0.2
   }
   gear1
   {
      ratio=4.000
      inertia=0.1
   }
   gear2
   {
      ratio=2.100
      inertia=0.08
   }
   gear3
   {
      ratio=1.370
      inertia=0.06
   }
   gear4
   {
      ratio=1.000
      inertia=0.04
   }
}
clutch
{
   max_torque=185
}
handbrakes
{
   wheels=23
}
differential
{
   type=1
   ratio=3.866
   inertia=0.05
   locking_coeff=90
   clutches=1
   output0=0
   output1=1
}
;
}
aero
{
  body
  {
    center=0 0 0
    cx=0.40
    area=1.70
  }
  wings=1
  wing0
  {
    name=overall body lift
    span=1
    cord=1
    coeff_drag=0
    coeff_down=-7.3
    center=0 0 0.0
    angle=0
    angle_offset=1
  }
}
antirollbar
{
  count=1
  arb0
  {
    susp_left=0
    susp_right=1
    k=11100
  }
}
susp_front
{
  y=-0.30		;-0.30
  z=1.30
  restlen=0.285
  minlen=0.00
  maxlen=0.55
  k=26000
  bump_rate=5000
  rebound_rate=4500
  anti_pitch=0.15
  roll_center
  {
    x=0
    y=-0.97
    z=0
  }
}

susp0~susp_front
{
  x=0.71
}

susp1~susp_front
{
  x=-0.71
}
susp_rear
{
  y=-0.30	;-0.30
  z=-1.20
  restlen=0.28
  minlen=-0.20
  maxlen=0.65
  k=24500
  bump_rate=4800
  rebound_rate=4500
  anti_pitch=0.15
  roll_center
  {
    x=0
    y=-0.49
    z=0
  }
}

susp2~susp_rear
{
  x=0.72

}

susp3~susp_rear
{
  x=-0.72
}
tire_model_front
{
   damping_predict_lat=0.450
   damping_predict_long=0.015
}
tire_model_rear
{
   damping_predict_lat=0.450
   damping_predict_long=0.015
}
pacejka
{
   	a0=1.4
   	a1=-29
   	a2=1100		;rear wheels grip
   	a3=5000		;higher value decrease tendency to oversteer
   	a4=11
   	a5=0.015
   	a6=-0.25
   	a7=1.0
   	a8=-0.03
   	a9=-0.001
   	a10=-0.15
   	a111=-8.0
   	a112=-0.29
   	a12=17.8
   	a13=-2.4

   	b0=1.5
   	b1=-58
   	b2=1200  	;front wheels grip
   	b3=23.3
   	b4=325
   	b5=0.08
   	b6=0.0
   	b7=0.05
   	b8=-0.024
   	b9=0.015
   	b10=0.25
   	b11=-86
   	b12=0.0

   	c0=2.3
   	c1=-3.8
   	c2=-3.14
   	c3=-1.0
   	c4=-7.2
   	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.04
   	c15=-1.029
   	c16=0.27
   	c17=-1.1

   	optimal_slipratio=0.10
   	optimal_slipangle=0.23
}

wheel_front
{
  steering=1
  lock=65
  mass=15
  inertia=0.7
  width=.155
  radius=0.268
  friction_road=1.7
  slices=13
  max_braking=1800
  braking_factor=1
  tire_rate=230000
  pacejka~pacejka
  {
  }
}
wheel0~wheel_front
{

  toe=0
  camber=-1
  model
  {
    file=left.dof
    
   }
  model_brake
  {
  ;file=.dof
  }
}





wheel1~wheel_front
{

  toe=0
  camber=-1
  model
  {
    file=right.dof
    
   }
  model_brake
  {
  ;file=.dof
  }
}

wheel_rear
{
  steering=0
  mass=15
  inertia=0.7
  width=.155
  radius=0.268
  friction_road=1.7
  slices=13
  max_braking=405
  max_handbrake_torque=1000
  braking_factor=1
  tire_rate=210000
  pacejka~pacejka
}

wheel2~wheel_rear
{

  toe=0
  camber=-1
  model
  {
    file=left.dof

   }
  model_brake
  {
  ;file=.dof
  }
}


wheel3~wheel_rear
{

  toe=0
  camber=-1
  model
  {
    file=right.dof
    
   }
  model_brake
  {
  ;file=.dof
  }
}

camera0
{
	name=Driver
	fov=65
	model=1
	view=1
	wheels=0
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	offset
	{
		x=0.30
		y=0.40
		z=-0.2
	}
	offset_to
	{
		x=0
		y=-0.8
		z=10
	}
	angle
	{
		x=0
		y=190
		z=0
	}
	src
	{
		mass=5
		k=750
		damping=75
		maxdist=0.2
	}
	dst
	{
		mass=1
		k=0
		damping=0
		maxdist=0
	}
}
camera1
{
  name=Driver, left
  fov=60
  model=0
  wheels=0
  view=1
  offset
  {
    x=0.32
    y=0.30
    z=-0.15
  }
  offset_to
  {
    x=10.43
    y=0.60
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=Driver, right
  fov=60
  model=0
  wheels=0
  view=1
  offset
  {
    x=0.32
    y=0.28
    z=0
  }
  offset_to
  {
    x=-9.57
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
  name=Driver, rear
  fov=-65
  model=1
  wheels=0
  view=0
  offset
  {
    x=0
    y=0.37
    z=-0.32
  }
  offset_to
  {
    x=-1
    y=0.5
    z=-10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
	
	}
}

camera4
{
 	name=Chase
  	fov=45
  	model=0
  	view=0
  	wheels=0
   	offset
   	{
      		x=0.00
      		y=1.50
      		z=-6.00
   	}
   	angle
   	{
      		x=15.50
      		y=180.00
      		z=0.00
   	}
   	follow
   	{
      		pitch=0
      		yaw=1
      		roll=0
   	}
 	src
 	{
  		mass=5
  		k=50
  		damping=100
  		maxdist=2
 	}
	dst
	{
		mass=1
		k=0
		damping=0
		maxdist=0
 	}
}

camera5
{
  	name=Hood Cam
  	fov=68
  	model=0
  	view=0
  	wheels=0
  	follow
  	{
    		pitch=1
    		yaw=1
    		roll=1
  	}
  	offset
  	{
    		x=0
    		y=-0.7
    		z=0.7
  	}
  	angle
  	{
    		x=9
    		y=180
    		z=0
  	}
}

camera6
{
  	name=Effect Cam 1
  	fov=68
  	model=0
  	view=0
  	wheels=0
  	offset
  	{
    		x=-0.67
    		y=-0.17
    		z=-3.94
  	}
  	angle
  	{
    		x=2.5
    		y=-150
    		z=-15
  	}
  	follow
  	{
    		pitch=0
    		yaw=0
    		roll=0
  	}
}

camera7
{
 	name=Effect Cam 2
 	fov=68
 	model=0
 	view=1
 	wheels=1
 	follow
 	{
  		pitch=0
  		yaw=0
  		roll=0
 	}
 	offset
 	{
  		x=0
  		y=-0.25
  		z=-5.5
 	}
 	angle
 	{
  		x=6
  		y=30
  		z=0
 	}
}


camera8
{
 	name=Effect Cam 4 - Wheel
 	fov=68
 	model=0
 	view=0
 	wheels=0
 	offset
 	{
  		x=1.15
  		y=0.2
  		z=0.35
 	}
 	angle
 	{
  		x=-2
  		y=-175
  		z=-7
 	}
 	follow
 	{
  		pitch=1
  		yaw=1
  		roll=1
 	}
}

camera9
{
 	name=Effect Cam 5
 	fov=25
 	model=0
 	view=0
 	wheels=1
 	follow
 	{
  		pitch=0
  		yaw=0
  		roll=0
 	}
 	offset
 	{
  		x=0
  		y=0.25
  		z=-9
 	}
 	angle
 	{
  		x=22
  		y=90
  	z=0 	}
}
}
audio
{
	skid
	{
		sample=snd_skid.wav
		volume=8
	}
	horn
	{
		sample=Horn.wav
	}

	acc_all
	{
		attack=2600
		decay=2600
	}
	accelerate_out
	{
		smp0~audio.acc_all
		{
			sample=audio_1000.wav
			min=1
			max=1001
			natural=1000
			volume=1
		}
		smp1~audio.acc_all
		{
			sample=snd_4000.wav
			min=0
			max=9000
			natural=8000
			volume=.5
		}
	}

	wind
	{
		volume=9
		pitch_scale=1
		pitch_offset=30
	}
    }
  }
  gearwhine
  {
    smp0
    {
      sample=gearwhine.wav
      volume=0.03
      min=1
      max=2
      decay=1000
      natural=500
  }
  }
  }