;v2.5
car
{
	name=Honda NSX Type-S
	year=2000
	id=HondaNSXTypeS00
	credits=Created by Some1, ini by Outlaw and Cosmo°
	comments=NSX-R NA2 - 3179cc DOHC V6 engine, 285PS, 310 Nm
	version=053b20
	wheels=4
	front_area=2.2
	skid
	{
		sample=sounds/skid.wav
	}
	shadow
	{
		texture=shadow.tga
		width=4.85
		length=4.8
		offset_z=-0.0
	}
	cg
	{
		x=0.00
		;1170mm * 0.37 = 433mm , 671mm - 433mm = 215mm , formula by Justin Martin (IH8COPS)
		y=-0.183
		;weight distribution 41% front / 59% rear
		z=-0.21925
	}
	ff_factor=0.85
}

ai
{
	grip_factor=1.2
}

graphics
{
	shadow
	{
		model
		{
			file=shadow2.dof
			use_shaders=0
		}
		intensity=0.35
	}
}

body
{
	;1305kg + 75kg driver - 136kg unsprung mass
	mass=1228
	restitution_coeff=0.1
	inertia
	{
		x=1260 ;1370
		y=1400 ;1540
		z=330 ;365
	}
	width=1.811
	height=1.036
	length=4.430
	manual_box=1
	model
	{
		file=bodys.dof
	}
	model_incar
	{
		file=interior.dof
	}
	model_braking_l
	{
		file=brak.dof
	}
}

steer
{
	x=0.37
	y=0.01
	z=0.4
	radius=10
	xa=10
	;3.04 turns lock-to-lock - 1105°
	lock=1105
	;900° wheel: ~0.81, 240° wheel: ~0.2-0.3
	linearity=0.8
	model
	{
		file=swheel.dof
	}
}

engine
{
	x=0
	y=0
	z=0
	size=0
	mass=0
	max_rpm=8550
	idle_rpm=800
	curve_torque=32ltorqueNA2.crv
	max_torque=0.94
	autoclutch_rpm=1200
	starter=1
	starter_torque=64
	start_stalled=0
	stall_rpm=600
	start_rpm=820
	torque_reaction=0
	shifting
	{
		automatic=0
		shift_up_rpm=8450
		shift_down_rpm=4950
		time_to_declutch=110
		time_in_neutral=125
		time_to_clutch=95
		time_to_declutch_down=110
		time_in_neutral_down=120
		time_to_clutch_down=95
	}
	inertia
	{
		engine=0.16
		final_drive=0.01
	}
	braking_coeff=2.3
	rolling_friction_coeff=0
	friction=0
	sample=sounds/acc1_out.wav
	sample_rpm=10000

}
traction_control
{
	max_velocity_ratio=1.1
	min_velocity_ratio=1.0
	enable=0
}

abs
{
	max_velocity_ratio=1.15
	min_velocity_ratio=1.14
	enable=1
	braking_factor=1
}

gearbox
{
	gears=6
	gear0
	{
		ratio=-3.186
		inertia=0.02
		engine_map=1.2
	}
	gear1
	{
		ratio=3.066
		inertia=0.01
		engine_map=1.2
	}
	gear2
	{
		ratio=1.956
		inertia=0.02
		engine_map=1.2
	}
	gear3
	{
		ratio=1.428
		inertia=0.04
		engine_map=1.2
	}
	gear4
	{
		ratio=1.125
		inertia=0.08
		engine_map=1.2
	}
	gear5
	{
		ratio=0.914
		inertia=0.11
		engine_map=1.2
	}
	gear6
	{
		ratio=0.717
		inertia=0.13
		engine_map=1.2
	}
	end_ratio=4.062
}

clutch
{
	max_torque=350
}

handbrakes
{
	 wheels=23
}

differential
{
	type=1
	ratio=4.062
	inertia=0.05
	locking_coeff=100
}

aero
{
	body
	{
		center=0 0 0
		cx=0.32
		area=1.7625
	}
	wings=2
	wing0
	{
		name=front
		span=1.500
		cord=0.650
		coeff_drag=0
		coeff_down=2.05		;107
		center=0 0 1.260
		angle=1
		angle_offset=1
	}
	wing1
	{
		name=rear
		span=1.500
		cord=0.550
		coeff_drag=0
		coeff_down=0.66		;160
		center=0 0.0 -1.2495
		angle=10
		angle_offset=1
	}
}

antirollbar
{
	count=2
	arb0
	{
		susp_left=0
		susp_right=1
		k=18000
	}
	arb1
	{
		susp_left=2
		susp_right=3
		k=9900
	}
}

susp_front
{
	y=0.0305
	z=1.26
	restlen=0.393
	minlen=0.27
	maxlen=0.43
	k=36729 
	bump_function=0
	bump_rate=2825 		
	rebound_function=0
	rebound_rate=3673 		
	anti_pitch=0.45
	camber_change_per_m=0.2708
	caster_offset=-0.027
	roll_center
	{
		x=0
		y=-0.531
		z=0
	}
}

susp0~susp_front
{
	x=0.755
	toe_change_per_m=-0.07
	camber_change_steering=0.045
}

susp1~susp_front
{
	x=-0.755
	toe_change_per_m=0.07
	camber_change_steering=-0.045
}

susp_rear
{
	y=0.0255
	z=-1.2495
	restlen=0.416
	minlen=0.27
	maxlen=0.43
	k=32810
	bump_function=0
	bump_rate=3719
	rebound_function=0
	rebound_rate=5030
	anti_pitch=0.05
	camber_change_per_m=0.2708
	roll_center
	{
		x=0
		y=-0.521
		z=0
	}
}

susp2~susp_rear
{
	x=0.75
	
}

susp3~susp_rear
{
	x=-0.75
	
}
tire_model
{
   	damping_predict_lat=0
   	damping_predict_long=0
}

pacejka
{
; Pacejka constants for all tires
; Lateral force
a0=1.70 ;77 ;6 ;81
a1=-37.5 
a2=1260
a3=1320 ;1680 ;2400
a4=6
a5=0.013
a6=0.05
a7=0.63 ;76
a8=0 ;0.019
a9=0 ;-0.019
a10=0 ;-0.15
a111=-8.5
a112=-0.29
a12=17.8
a13=-2.4
; Longitudinal force
b0=1.5
b1=-85
b2=1480
b3=3.3
b4=200
b5=0
b6=0.00
b7=0.055
b8=-0.024
b9=0
b10=0.26
b11=-86
b12=0
; Aligning moment
c0=2.3 
c1=-2.6
c2=-3.14 
c3=0.24
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.14 
c15=-1.029 
c16=0.27 
c17=-1.1 
optimal_slipratio=0.16 ;1655
optimal_slipangle=0.173 ;1781
}
pacejka_rear
{
a0=1.70 ;77 ;6 ;81
a1=-37.5
a2=1305
a3=1320 ;1680 ;2470
a4=6
a5=0.013
a6=0.05
a7=0.63 ;76
a8=0 ;0.019
a9=0 ;-0.019
a10=0 ;-0.15
a111=-8.5
a112=-0.29
a12=17.8
a13=-2.4
; Longitudinal force
b0=1.5
b1=-85
b2=1540
b3=3.3
b4=220
b5=0
b6=0
b7=0.055
b8=-0.024
b9=0
b10=0.26
b11=-86
b12=0
; Aligning moment
c0=2.3 
c1=-2.6 
c2=-3.14 
c3=0.24
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.14 
c15=-1.029 
c16=0.27 
c17=-1.1 
optimal_slipratio=0.16 ;1655
optimal_slipangle=0.185 ;1901
;sa1781
}

wheel_front
{
	y=0
	z=0
	steering=1
	lock=59.4
	powered=0
	mass=34
	inertia=0.4
	radius=0.301 ;215/40R17
	rolling_coeff=0.015
	max_braking=1425
	max_handbrake_torque=0
	braking_factor=1
	tire_rate=227527
	pacejka~pacejka
	{
	}
}

wheel0~wheel_front
{
 	x=0
 	toe=0.47 ;0.2 toe-out
 	camber=0.71 ;-0.33 static camber
 	ackerman=1.2
 	model
 	{
  		file=NA2L.dof
 	}
	 model2
 	{
  		file=na2l01.dof
  		velocity=30
 	}
 	model3
 	{
  		file=na2l02.dof
  		velocity=50
 	}
 	model4
 	{
  		file=na2l03.dof
  		velocity=70
 	}
	model_brake
 	{
  		file=Brake-Left.dof
  		;offset
  		{
   			x=0.04
   			z=-0.02
  		}
 	}
}

wheel1~wheel_front
{
 	x=0
 	toe=-0.47 ;0.2 toe-out
 	camber=0.71 ;-0.33 static camber
 	ackerman=-1.2
 	model
 	{
  		file=NA2R.dof
 	}
	 model2
 	{
  		file=na2r01.dof
  		velocity=30
 	}
 	model3
 	{
  		file=na2r02.dof
  		velocity=50
 	}
 	model4
 	{
  		file=na2r03.dof
  		velocity=70
 	}
 	model_brake
 	{
  		file=Brake-Right.dof
  		;offset
  		{
   			x=-0.04
   			z=-0.02
  		}
 	}
}

wheel_rear
{
 	y=0
 	z=0
 	steering=0
 	powered=1
 	mass=34
 	inertia=0.4
 	radius=0.317 ;255/40R17
 	rolling_coeff=0.015
 	max_braking=660
 	max_handbrake_torque=1100
 	braking_factor=1
 	tire_rate=275790
 	pacejka~pacejka_rear
 	{
 	}
}

wheel2~wheel_rear
{
 	x=0
 	toe=-.25 ;0.25 toe-in
 	camber=0.17 ;-1.5 static camber
 	model
 	{
  		file=NA2Lr.dof
 	}
	 model2
 	{
  		file=na2lr01.dof
  		velocity=30
 	}
 	model3
 	{
  		file=na2lr02.dof
  		velocity=50
 	}
 	model4
 	{
  		file=na2lr03.dof
  		velocity=70
 	}
	model_brake
 	{
  		file=Brake-Left.dof
  		;offset
  		{
   			x=0.05
   			z=-0.02
  		}
 	}
}

wheel3~wheel_rear
{
 	x=0
 	toe=.25 ;0.25 toe-in
 	camber=0.17 ;-1.5 static camber
 	model
 	{
  		file=NA2Rr.dof
 	}
	 model2
 	{
  		file=na2rr01.dof
  		velocity=30
 	}
 	model3
 	{
  		file=na2rr02.dof
  		velocity=50
 	}
 	model4
 	{
  		file=na2rr03.dof
  		velocity=70
 	}
 	model_brake
 	{
  		file=Brake-Right.dof
  		;offset
  		{
   			x=-0.05
   			z=-0.02
  		}
 	}
}

; audio
audio
{
 acc_all
 {
  attack=2000
  decay=2000
 }
 accelerate_out
   {
    volume=1
    smp0~audio.acc_all
    {
      sample=sounds/2100.wav
      min=900
      max=2500
      natural=2100
      attack=500
      decay=500
     }
    smp1~audio.acc_all
    {
      sample=sounds/3000.wav
      min=2500
      max=3500
      natural=3000
      attack=500
      decay=500
    }
     smp2~audio.acc_all
    {
      sample=sounds/4000.wav
      min=3500
      max=4500
      natural=4000
      attack=500
      decay=500
    }
     smp3~audio.acc_all
    {
      sample=sounds/5000.wav
      min=4500
      max=5500
      natural=5100
      attack=500
      decay=500
    }
     smp4~audio.acc_all
    {
      sample=sounds/6000.wav
      min=5500
      max=6500
      natural=6000
      attack=500
      decay=500
     }
     smp5~audio.acc_all
    {
      sample=sounds/7000.wav
      min=6500
      max=7500
      natural=7000
      attack=500
      decay=500
     }
     smp6~audio.acc_all
    {
      sample=sounds/8000.wav
      min=7500
      max=171500
      natural=8000
      attack=500
      decay=500
     }

  }
  
  decelerate_out
  {
      smp0~audio.acc_all
    {
      volume=0.75
      sample=sounds/2100.wav
      min=900
      max=2500
      natural=2100
      attack=500
      decay=500
     }
    smp1~audio.acc_all
    { 
	volume=0.75
      sample=sounds/3000.wav
      min=2500
      max=3500
      natural=3000
      attack=500
      decay=500
    }
     smp2~audio.acc_all
    {
	volume=0.75
      sample=sounds/4000.wav
      min=3500
      max=4500
      natural=4000
      attack=500
      decay=500
    }
     smp3~audio.acc_all
    {
      volume=0.75
	sample=sounds/5000.wav
      min=4500
      max=5500
      natural=5100
      attack=500
      decay=500
    }
     smp4~audio.acc_all
    {
      volume=0.75
	sample=sounds/6000.wav
      min=5500
      max=6500
      natural=6000
      attack=500
      decay=500
     }
     smp5~audio.acc_all
    {
	volume=0.75
      sample=sounds/7000.wav
      min=6500
      max=7500
      natural=7000
      attack=500
      decay=500
     }
     smp6~audio.acc_all
    {
	volume=0.75
      sample=sounds/8000.wav
      min=7500
      max=171500
      natural=8000
      attack=500
      decay=500
     }
  }

 accelerate_in
   {
    volume=0.65
    smp0~audio.acc_all
    {
      sample=sounds/2100.wav
      min=900
      max=2500
      natural=2100
      attack=500
      decay=500
     }
    smp1~audio.acc_all
    {
      sample=sounds/3000.wav
      min=2500
      max=3500
      natural=3000
      attack=500
      decay=500
    }
     smp2~audio.acc_all
    {
      sample=sounds/4000.wav
      min=3500
      max=4500
      natural=4000
      attack=500
      decay=500
    }
     smp3~audio.acc_all
    {
      sample=sounds/5000.wav
      min=4500
      max=5500
      natural=5100
      attack=500
      decay=500
    }
     smp4~audio.acc_all
    {
      sample=sounds/6000.wav
      min=5500
      max=6500
      natural=6000
      attack=500
      decay=500
     }
     smp5~audio.acc_all
    {
      sample=sounds/7000.wav
      min=6500
      max=7500
      natural=7000
      attack=500
      decay=500
     }
     smp6~audio.acc_all
    {
      sample=sounds/8000.wav
      min=7500
      max=171500
      natural=8000
      attack=500
      decay=500
     }

  }
  
  decelerate_in
  {
      smp0~audio.acc_all
    {
      volume=0.35
      sample=sounds/2100.wav
      min=900
      max=2500
      natural=2100
      attack=500
      decay=500
     }
    smp1~audio.acc_all
    { 
	volume=0.35
      sample=sounds/3000.wav
      min=2500
      max=3500
      natural=3000
      attack=500
      decay=500
    }
     smp2~audio.acc_all
    {
	volume=0.35
      sample=sounds/4000.wav
      min=3500
      max=4500
      natural=4000
      attack=500
      decay=500
    }
     smp3~audio.acc_all
    {
      volume=0.35
	sample=sounds/5000.wav
      min=4500
      max=5500
      natural=5100
      attack=500
      decay=500
    }
     smp4~audio.acc_all
    {
      volume=0.35
	sample=sounds/6000.wav
      min=5500
      max=6500
      natural=6000
      attack=500
      decay=500
     }
     smp5~audio.acc_all
    {
	volume=0.35
      sample=sounds/7000.wav
      min=6500
      max=7500
      natural=7000
      attack=500
      decay=500
     }
     smp6~audio.acc_all
    {
	volume=0.35
      sample=sounds/8000.wav
      min=7500
      max=171500
      natural=8000
      attack=500
      decay=500
     }
  }
 wind
 {
  volume=0.7
  pitch_scale=0.2    
  pitch_offset=50
  smp0
  {
   sample=sounds/road.wav
   min=0
   max=200
   natural=100
  }
 }
} 

; cameras
camera0
{
 offset
 {
  x=0.0
  y=1.85
  z=-4.75
 }
 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=1
  k=150
  damping=30
  maxdist=2
 }
 dst
 {
  mass=1
  k=700
  damping=25
  maxdist=0
 }
}
camera1
{
 follow
 {
  pitch=1
  yaw=1
  roll=1
 }
 offset
 {
  x=0.37
  y=0.3
  z=-0.1
 }
 offset_to
 {
  x=0.37
  y=0.2
  z=1.0
 }
 angle
 {
  x=7.000000
  y=-180
  z=0.000000
 }
 src
 {
  mass=1
  k=150
  damping=45
  maxdist=1
 }
 dst
 {
  mass=1
  k=100
  damping=70
  maxdist=0
 }
 fov=72
 ; Type of model to use; 0=outside, 1=inside, 2=none
 model=1
 wheels=0
 view=1
 name=Inside Driver (dynamic)
}
camera2
{
 offset
 {
  x=0
  y=0.15
  z=2.100000
 }
 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
{
 follow
 {
  pitch=1
  yaw=1
  roll=1
 }
 offset
 {
  x=0
  y=-0.45
  z=0.75000
 }
 angle
 {
  x=5.000000
  y=180.000000
  z=0.000000
 }
 name=Hood
 fov=68
 model=0
 wheels=0
 view=0
}
camera4
{
 follow
 {
  pitch=1
  yaw=1
  roll=1
 }
 offset
 {
  x=0
  y=-0.42
  z=-0.05000
 }
 angle
 {
  x=15.000000
  y=0.000000
  z=0.000000
 }
 name=Hood
 fov=68
 model=0
 wheels=0
 view=0
}

camera5
{
 follow
 {
  pitch=0
  yaw=0
  roll=0
 }
 offset
 {
  x=0.0
  y=-0.25
  z=-5.5
 }
 angle
 {
  x=6.0
  y=30.853992
  z=0.0
 }
 name=Side High
 fov=60
 model=0
 wheels=1
 view=1
}
camera6
{
 follow
 {
  pitch=0
  yaw=1
  roll=0
 }
 offset
 {
  x=0
  y=0
  z=-9
 }
 angle
 {
  x=3.861111
  y=33.853992
  z=-14.322908
 }
 fov=80
 model=0
 wheels=1
 view=0
 name=Front Side
}
camera7
{
 follow
 {
  pitch=0
  yaw=0
  roll=0
 }
 offset
 {
  x=0
  y=0.25
  z=-9
 }
 angle
 {
  x=10
  y=150
  z=0
 }
 fov=25
 model=0
 wheels=1
 view=0
 name=Front High
}
camera8
{
 offset
 {
  x=1.150625
  y=0.2
  z=0.350000
 }
 angle
 {
  x=-2.00
  y=-175.472336
  z=-7.017359
 }
 follow
 {
  pitch=1
  yaw=1
  roll=1
 }
 fov=72
 model=0
 wheels=0
 view=0
 name=Left Front Wheel
}
camera9
{
 follow
 {
  pitch=1
  yaw=1
  roll=1
 }
 offset
 {
  x=0.37
  y=-0.275
  z=-0.1
 }
 ;offset
 ;{
 ; x=0.37
 ; y=0.25
 ; z=-0.1
 ;}
 ;offset_to
 ;{
 ; x=0.37
 ; y=0.2
 ; z=1.0
 ;}
 angle
 {
  x=7.000000
  y=-180
  z=0.000000
 }
 ;src
 ;{
 ; mass=1
 ; k=150
 ; damping=45
 ; maxdist=1
 ;}
 ;dst
 ;{
 ; mass=1
 ; k=100
 ; damping=70
 ; maxdist=0
 ;}
 fov=72
 ; Type of model to use; 0=outside, 1=inside, 2=none
 model=1
 wheels=0
 view=1
 name=Inside Driver
}

; end of ini!