car
{
  name=Honda Fit 1.5W
  year=2005-2007
  credits=-club[TH]/TakaTails1121
  id=honda_fit_gd3
  version=053b6
  comments=L15A - 1496cc SOHC VTEC, 110PS/5800rpm, 14.6kgm(143Nm)/4800rpm
  wheels=4
  ff_factor=0.8
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=
    width=
    length=
  }
  cg
  {
    x=0
    y=0.215	;49.5 cm (~38%)
    z=0.20	;56.6f/43.4r
  }
}
graphics
{
  	shadow
  	{
    		model
    		{
      			file=gd3.dof
      			use_shaders=0
    		}
        }
}
body
{
  mass=900
  inertia
  {
      x=1900
      y=2100
      z=460
  }
  width=1.986	;1986 mm
  height=1.33	;1332 mm
  length=4.12	;4118 mm
  manual_box=0
  model
  {
    file=gd3.dof
  }
  model_incar
  {
    file=gd3.dof
  }
  model_braking_l
  {
    file=
  }
   model_light_l
  {
    file=
  }
}
steer
{
  x=0.51
  y=0.88
  z=0.63
  xa=14
  lock=900		;2.5 turns lock-to-lock, 15.25:1 ratio
  linearity=1	;900/900 = 1
  model
  {
    file=gd_stwheel.dof
  }
}
engine
{
  mass=100
  idle_rpm=890
  max_rpm=6500
  curve_torque=L15A.crv
  max_torque=1
  torque_reaction=0.2
  autoclutch_rpm=1025
  starter=1
  starter_torque=75
  stall_rpm=500
  start_rpm=1200
  start_stalled=1
  shifting
  {
    automatic=0
    fast=0
    shift_up_rpm=4000
    shift_down_rpm=2000
    time_to_declutch=15
    time_in_neutral=10
    time_to_clutch=15
    time_to_declutch_down=15
    time_in_neutral_down=10
    time_to_clutch_down=15
  }
  inertia
  {
    engine=0.25
  }
  braking_coeff=2.6
}
gearbox
{
	gears=6
	gear0
   	{
      		ratio=-3.230
      		inertia=0.10
      		engine_map=1.00
   	}
   	gear1
   	{
      		ratio=3.142
      		inertia=0.02
      		engine_map=1.00
   	}
   	gear2
   	{
      		ratio=1.750
      		inertia=0.04
      		engine_map=1.25
   	}
   	gear3
   	{
      		ratio=1.241
      		inertia=0.06
      		engine_map=1.50
   	}
   	gear4
   	{
      		ratio=0.969
      		inertia=0.08
      		engine_map=1.75
   	}
   	gear5
   	{
      		ratio=0.756
      		inertia=0.10
      		engine_map=2.00
	}
}
clutch
{
        max_torque=150
}
differential
{
	type=1
	ratio=4.111
	inertia=0.1
	locking_coeff=100
	output0=0
	output1=1
}
handbrakes
{
	wheels=23
}
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
}
aero
{
   body
   {
      center=0 0 0
      cx=0.33
      area=2.161
   }
   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=27000
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=35000
  }
}
susp_front
{
  y=0.33
  z=1.48	
  restlen=0.154
  minlen=-0.10
  maxlen=0.25		
  k=55000		
  bump_rate=2500	
  bump_function=3
  rebound_rate=4000	
  rebound_function=0
  anti_pitch=0.3
  roll_center
  {
    x=0
    y=-0.18		
    z=0
  }
}
susp_rear
{
  y=0.33
  z=-1.55
  restlen=0.128
  minlen=-0.15
  maxlen=0.25
  k=55000		
  bump_rate=1500
  bump_function=3
  rebound_rate=4000	
  rebound_function=0
  anti_pitch=0.15
  roll_center
  {
    x=0
    y=-0.1	
    z=0
  }
}
susp0~susp_front
{
  x=0.88	
}
susp1~susp_front
{
  x=-0.88
}
susp2~susp_rear
{
  x=0.88	
}
susp3~susp_rear
{
  x=-0.88
}

pacejka
{
    	a0=1.25
    	a1=-35
    	a2=1370
    	a3=2000
    	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=-70
    	b2=1580
    	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
{
  	y=0
  	z=0
  	steering=1
  	powered=1
	power_gearing=0.69	;3.23*30/70/2
  	lock=65
  	camber=-2
  	mass=34
  	inertia=1.5
  	radius=0.3186
  	rolling_coeff=0.015
  	max_braking=2355
  	braking_factor=0.80
 	tire_rate=160000
  	pacejka~pacejka
  	{
  	}
}
wheel_rear
{
  	y=0
  	z=0
  	steering=0
  	powered=0
  	camber=-0.572
  	mass=34
  	inertia=1.5
  	radius=0.3186
  	rolling_coeff=0.015
  	max_braking=2355
  	braking_factor=0.20
  	max_handbrake_torque=3500
  	tire_rate=160000
  	pacejka~pacejka
	{
	}
}
wheel0~wheel_front
{
  toe=-0.1
  model
  {
    file=wheel_left.dof
  }
  model_brake
  {
    file=
  }
}
wheel1~wheel_front
{
  toe=0.1
  model
  {
    file=wheel_right.dof    
  }
  model_brake
  {
    file=
  }
}
wheel2~wheel_rear
{
  toe=-0.065
  model
  {
    file=wheel_left.dof    
  }
  model_brake
  {
    file=
  }
}
wheel3~wheel_rear
{
  toe=0.065
  model
  {
    file=wheel_right.dof    
  }
  model_brake
  {
    file=
  }
}

camera0
{
  offset
  {
    x=0
    y=-0.15
    z=-4.600000
  }
  angle
  {
    x=12.000000
    y=-180.000000
    z=0.000000
  }
  name=Chase High
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  fov=72
  model=0
  wheels=0
  view=0
  }
 }
}
camera1
{
  offset
  {
    x=0.0
    y=1.8
    z=-3.0
  }
  angle
  {
    x=15.000000
    y=180.000000
    z=0.000000
  }
  name=Chase Close
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  fov=75
  model=0
  wheels=0
  view=0
  src
  {
    mass=6
    k=300
    damping=90
    maxdist=2
  }
  dst
  {
    mass=1
    k=200
    damping=70
    maxdist=1
  }
}
camera2
{
  offset
  {
    x=0
    y=-0.8
    z=1.000000
  }
  angle
  {
    x=0.000000
    y=180.000000
    z=0.000000
  }
  name=Bumper
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  fov=80
  model=2
  wheels=0
  view=2
  }
}
camera3
{
  name=Driver, rear
  fov=-65
  model=1
  wheels=0
  view=0
  offset
  {
    x=0.1
    y=0.89
    z=-0.2
  }
  offset_to
  {
    x=-1
    y=0.5
    z=-10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.1
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera4
{
  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=-6
  }
  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=-6
  }
  angle
  {
    x=10
    y=0
    z=0
  }
}
camera7
{
  name=centerconsole
  fov=40
  model=1
  wheels=0
  view=1
  offset
  {
   x=0.0
    y=0.55
    z=-0.1
  }
  offset_to
  {
    x=0
    y=-0.55
    z=8
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
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
  fov=60
  model=1
  wheels=4
  view=2
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.51
    y=-1.2
    z=-0.3
  }
  angle
  {
    x=5
    y=180
    z=0
  }
}
audio
{
  skid
  {
    sample=skid.wav
  }
  acc_all
  {
    attack=2600
    decay=2600
  }
  accelerate_out
  {
    smp0~audio.acc_all
    {
      sample=SOHC_HONDA_V1/Sounds/exhaust_WOT/0900RPM.wav
      min=1000
      max=2001
      attack=1300
      decay=1300
      natural=1000
      volume=1
    }
    smp1~audio.acc_all
    {
      sample=SOHC_HONDA_V1/Sounds/exhaust_WOT/2000rpm.wav
      min=2000
      max=3001
      attack=1300
      natural=2000
      volume=1
    }
    smp2~audio.acc_all
    {
      sample=SOHC_HONDA_V1/Sounds/exhaust_WOT/3000rpm.wav
      min=3000
      max=4501
      natural=4000
      volume=1
    }
    smp3~audio.acc_all
    {
      sample=SOHC_HONDA_V1/Sounds/exhaust_WOT/4500RPM.wav
      min=4500
      max=6001
      natural=6000
      volume=1.5
    }
    smp4~audio.acc_all
    {
      sample=SOHC_HONDA_V1/Sounds/exhaust_WOT/6000RPM.wav
      min=6000
      max=9000
      natural=8000
      volume=1.5
    }
    smp5~audio.acc_all
    {
      sample=SOHC_HONDA_V1/Sounds/exhaust_WOT/6500RPM.wav
      min=6300
      max=9000
      natural=8000
      volume=1.5
    }
  }
  decelerate_out
  {
    smp0~audio.acc_all
    {
      sample=SOHC_HONDA_V1/Sounds/exhaust_WOT/0900RPM.wav
      min=1000
      max=2001
      attack=1300
      decay=1300
      natural=1000
      volume=1
    }
    smp1~audio.acc_all
    {
      sample=SOHC_HONDA_V1/Sounds/exhaust_WOT/2000rpm.wav
      min=2000
      max=3001
      attack=1300
      natural=2000
      volume=1
    }
    smp2~audio.acc_all
    {
      sample=SOHC_HONDA_V1/Sounds/exhaust_WOT/3000rpm.wav
      min=3000
      max=4501
      natural=4000
      volume=1
    }
    smp3~audio.acc_all
    {
      sample=SOHC_HONDA_V1/Sounds/exhaust_WOT/4500RPM.wav
      min=4500
      max=6001
      natural=6000
      volume=1.5
    }
    smp4~audio.acc_all
    {
      sample=SOHC_HONDA_V1/Sounds/exhaust_WOT/6000RPM.wav
      min=6000
      max=9000
      natural=8000
      volume=1.5
    }
    smp5~audio.acc_all
    {
      sample=SOHC_HONDA_V1/Sounds/exhaust_WOT/6500RPM.wav
      min=6300
      max=9000
      natural=8000
      volume=1.5
    }
   }
  }
	wind
	{
		volume=2
		pitch_scale=0
		pitch_offset=50
		smp0
		{
			sample=wind1.wav
			min=25
			max=26
			attack=33
			decay=33
			natural=80
		}
		smp1
		{
			sample=wind2.wav
			min=50
			max=51
			attack=33
			decay=33
			natural=80
		}
		smp2
		{
			sample=wind3.wav
			min=75
			max=76
			attack=33
			decay=33
			natural=80
		}
	}
}