car
{
   name=Honda Prelude
   year=2005
   credits=Converted by Arouca21 made turn10 studio forza motorsport. Topspeed: ~248km/h
   comments=black
   id=pre_smr597
   version=055
   wheels=4
	skid
	{
		sample=skid.wav
	}
	shadow
	{
		texture=shadow.tga
		width=2.05
		length=4.35
	}
	; Center of gravity of car sprung mass
	cg
	{
		x=0
		y=-0.25
		z=0.34
	}
}
graphics
{
  shadow
  {
    model
    {
      file=body.dof
      use_shaders=0
    }
  }
}
body
{
   mass=1075
   inertia
   {
    x=2310
    y=2810
    z=590
   }
   length=4.043
   width=1.829
   height=1.104
   manual_box=1
   model
	{
		file=body.dof
	}
	model_incar
	{
		file=body.dof
	}
	model_light_l
	{
		file=lights.dof
	}
	model_braking_l
	{
		file=blights.dof
	}
 model_lightroad_l
 {
  file=lightsin.dof
 }
  model_reverse_r
  {
    file=re.dof
}
}
steer
{
   x=0.31
   y=0.05
   z=0.20
   radius=10
   xa=17.5
   lock=1260		
   linearity=0.25	
   model
   {
	file=volante.dof
   }
}
engine
{
   mass=150
   idle_rpm=960
   autoclutch_rpm=1100
   curve_torque=torque.crv
   max_torque=355
   max_rpm=8500
   torque_reaction=0.05
   starter=1
   starter_torque=50
   start_stalled=0
   stall_rpm=550
   start_rpm=1000
   shifting
   {
      automatic=0
      fast=0
      shift_up_rpm=7000
      shift_down_rpm=3000
      time_to_declutch=150
      time_to_clutch=150
      time_in_neutral=200
      time_to_declutch_down=75
      time_to_clutch_down=75
      time_in_neutral_down=150
   }
   ; Rotational inertia of engine parts (kg*m^2)
   inertia
   {
      engine=0.19
      final_drive=0.12
   }
   braking_coeff=2.5
}
traction_control
{
  enable=1
  min_velocity=3
  max_velocity_ratio=1.1
  min_velocity_ratio=1.1
}
abs
{
  enable=1
  min_velocity=0.1
  max_velocity_ratio=1.06
  min_velocity_ratio=1.05
}
gearbox
{
; gear ratios from M2K4 - EuDM 2.3i 4ws (H23A2)
; no information on reverse
; M2K4 - 3.307 - 1.809 - 1.269 - 0.966 - 0.757 - 4.266 (final drive, apply that to differential ratio)
   gears=6
   gear0
   {
      inertia=0.9
      ratio=-3.416
      engine_map=1.0
   }
   gear1
   {
      ratio=3.307
      inertia=0.13
      engine_map=1.0
   }
   gear2
   {
      ratio=1.809
      inertia=0.09
      engine_map=1.0
   }
   gear3
   {
      ratio=1.269
      inertia=0.07
      engine_map=1.0
   }
   gear4
   {
      ratio=0.966
      inertia=0.05
      engine_map=1.0
   }
   gear5
   {
      ratio=0.757
      inertia=0.03
      engine_map=1.0
   }
}
clutch
{
   max_torque=400
}
handbrakes
{
   wheels=23
}
differential
{
  count=1
  diff0
  {
    type=1
    ratio=4.266
    inertia=1.3
    locking_coeff=100
    output0=0
    output1=1
  }
   type=1
   ratio=4.266
   inertia=1.3
   locking_coeff=100
   output0=0
   output1=1
}
aero
{
   body
   {
      center=0 0 0
      cx=0.353
      area=1.829
   }
   wings=2
   wing0
   {
      name=FrontDam
      span=1.8
      cord=0.3
      coeff_drag=0.76
      coeff_down=0.92
      center=0.0 -0.2 1.9
      angle=20
      angle_offset=0
   }
   wing1
   {
      name=RearSpoiler
      span=1.8
      cord=0.2
      angle=15
      angle_offset=0
      coeff_drag=1.175
      coeff_down=1.25
      center=0.0 0.45 -1.75
   }
}
antirollbar
{
   count=2
   arb0
   {
      susp_left=0
      susp_right=1
      k=5000
   }
   arb1
   {
      susp_left=2
      susp_right=3
      k=4000
   }
}
susp_front
{
   y=0
   z=1.155
;minlen=0.347
   minlen=0.267
   restlen=0.47
   maxlen=0.50
   k=48532
   bump_rate=6400
   rebound_rate=6400
   bump_function=0
   bump_max=6400
   toe_change_per_m=0
   camber_change_per_m=0.6
   camber_change_steering=0
   caster_offset=0
   caster_angle=0
   kingpin_offset=0
   kingpin_angle=0
   anti_pitch=0.3
   roll_center
   {
      x=0
      y=-0.35
      z=0
   }
}
susp_rear
{
   y=0
   z=-1.15
;minlen=0.357
   minlen=0.267
   restlen=0.455
   maxlen=0.50
   k=45274
   bump_rate=6100
   rebound_rate=6100
   bump_function=0
   bump_max=6100
   toe_change_per_m=0
   camber_change_per_m=0.6
   camber_change_steering=0
   caster_offset=0
   caster_angle=0
   kingpin_offset=0
   kingpin_angle=0
   anti_pitch=0.3
   roll_center
   {
      x=0
      y=-0.30
      z=0
   }
}
susp0~susp_front
{
   x=0.72
}
susp1~susp_front
{
   x=-0.72
}
susp2~susp_rear
{
   x=0.72
}
susp3~susp_rear
{
   x=-0.72
}
tire_model
{
  relaxation_length_lat=0.91
  relaxation_length_long=.091
  damping_speed=0.15
  damping_coefficient_lat=35
  damping_coefficient_long=1
}
pacejka_default
{
   ; Lateral Force
   a0=1.4
   a1=-55.2084
   a2=1185
   a3=1001.8
   a4=8.4946
   a5=0.0047966
   a6=-0.3875
   a7=1
   a8=-0.045399
   a9=0.0042832
   a10=.086536
   a111=0
   a112=0
   a12=7.6680
   a13=45.8764
   ; Longitudinal force
   b0=1.28
   b1=-7.6118
   b2=1180
   b3=-0.00736
   b4=80.82
   b5=-0.076614
   b6=-0.00386
   b7=0.085055
   b8=0.075719
   b9=0.023655
   b10=0.023655
   ; Aligning moment
   c0=2.2264
   c1=-3.0428
   c2=-9.2284
   c3=0.500088
   c4=-5.56696
   c5=-0.25964
   c6=-0.00129724
   c7=-0.358348
   c8=3.74476
   c9=-15.1566
   c10=0.0021156
   c11=0.000346
   c12=0.00913952
   c13=-0.244556
   c14=0.100695
   c15=-1.398
   c16=0.44441
   c17=-0.998344
   ;Optimal values (used in Gregor Veble's slip combination method)
   ;optimal_slipratio=0.17931
   ;Optimal slip angle in radians (=degrees/52.29578)
   ;optimal_slipangle=0.13722
}
wheel_front
{
   y=0
   z=0
   mass=15
   lock=50
   powered=1
   steering=1
   reverse_steering=0
   radius=0.29
   width=0.165
   inboard_brakes=0
   max_braking=3200
   braking_factor=0.85
   max_handbrake_torque=0
   inertia=1.5
   rolling_coeff=0.015
   tire_rate=190000
   skidding
   {
     long_start=0.4
     long_max=1.0
     long_start_n=0.4
     long_max_n=1.0
     lat_start=0.4
     lat_max=2.0
   }
   pacejka~pacejka_default
   {
   }
}
wheel_rear
{
   y=0
   z=0
   mass=15
   powered=0
   steering=0
   reverse_steering=0
   lock=0
   radius=0.29
   width=0.165
   inboard_brakes=0
   max_braking=3200
   braking_factor=0.15
   max_handbrake_torque=3700
   inertia=1.5
   rolling_coeff=0.015
   tire_rate=190000
   skidding
   {
     long_start=0.4
     long_max=1.0
     long_start_n=0.4
     long_max_n=1.0
     lat_start=0.4
     lat_max=2.0
   }
   pacejka~pacejka_default
   {
   }
}
wheel0~wheel_front
{
   x=0
   ackerman=1.2
   toe=0
   camber=0
   model
   {
      file=leftwheel.dof
   }
   model_brake
   {
      ;file=pinça_frente_esquerda.dof
   }
   pacejka~pacejka_default
   {
   }
}
wheel1~wheel_front
{
   x=0
   ackerman=1.2
   toe=0
   camber=0
   model
   {
      file=rightwheel.dof
   }
   model_brake
   {
      ;file=pinça_frente_direita.dof
   }
   pacejka~pacejka_default
   {
   }
}
wheel2~wheel_rear
{
   x=0
   ackerman=0
   toe=0
   camber=0
   model
   {
      file=leftwheel.dof
   }
   model_brake
   {
      ;file=pinça_tras_esquerda.dof
   }
   pacejka~pacejka_default
   {
   }
}
wheel3~wheel_rear
{
   x=0
   ackerman=0
   toe=0
   camber=0
   model
   {
      file=rightwheel.dof
   }
   model_brake
   {
      ;file=pinça_tras_direita.dof
   }
   pacejka~pacejka_default
   {
   }
}
camera0
{
	fov=61
  model=0
  name=chase
  wheels=1
  angle
  {
    x=0
    y=180
    z=0
  }
  follow
  {
    pitch=1
    roll=1
    yaw=1
  }
  offset
  {
    x=0
    y=1.0
    z=-4.8
  }
  offset_to
  {
    x=0
    y=0
    z=10
  }
  src
  {
    mass=5
    k=320
    damping=80
    maxdist=2.5
  }
  dst
  {
    mass=1
    k=400
    damping=40
    maxdist=1.5
  }
}
camera1
{
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=0.0
    y=-0.28751
    z=-12
  }
  angle
  {
    x=4.861111
    y=77.843800
    z=-11.322908
  }
  fov=25
  model=0
  wheels=1
  view=0
  name=Jim Seamus Cam
}
camera2

{
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=-0.1
    y=-0.5
    z=-6
  }
  angle
  {
    x=1.5
    y=18
    z=0
  }
  name=LowFrontAngle
  fov=50
}
camera3
{
  
	fov=60
	model=0
	wheels=2
	view=0
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	offset
	{
		x=0.0
		y=-0.7
		z=-5
	}
	angle
	{
		x=4
		y=0
		z=0
}
camera4
{
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=-0.38
    y=-0.28751
    z=-4.9994
  }
  angle
  {
    x=4.861111
    y=33.853992
    z=-14.322908
  }
  fov=55
  model=0
  wheels=1
  view=0
}
}
camera5
{
	name=roda
	model=0
	wheels=0
	view=0
	offset
	{
		x=-1.2
		y=0
		z=0.5
	}
	angle
	{
		x=0
		y=170
		z=0
	}
	follow
	{
		pitch=1
		yaw=1
		roll=1
  }
  fov=60
}
camera6
{
  offset
  {
    x=0.0
    y=1.0
    z=-4.0
  }
  angle
  {
    x=0.000000
    y=130.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=250
    damping=90
    maxdist=2
  }
  dst
  {
    mass=1
    k=100
    damping=70
    maxdist=2
  }
}
camera7
{
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=0.810937
    y=-0.208334
    z=-4.760015
  }
  angle
  {
    x=8.055448
    y=-405.903503
    z=0.086801
  }
  name=Front corner
}
camera8
{
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=1.6
    y=-0.5
    z=-10
  }
  angle
  {
    x=0
    y=-45
    z=0
  }
  fov=35
}
camera9
{
	name=Driver view
	fov=75
        model=0
        wheels=0
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	offset
	{
		x=.300
		y=0.33
		z=-0.30
	}
	offset_to
	{
		x=0
		y=0
		z=10
	}
	angle
	{
		x=3
		y=180
		z=0
	}
	src
	{
		mass=5
		k=900
		damping=90
		maxdist=0.2
	}
	dst
	{
		mass=0
		k=0
		damping=0
		maxdist=0
	}
}
;----------------------------------------------------------------------------
; Audio for Racer 0.5.2 beta 5
;----------------------------------------------------------------------------
audio
{
   acc_all
   {
      attack=1000
      decay=1000
   }
   accelerate_out
   {
      volume=1.0
      smp0~audio.acc_all
      {
         sample=engine.wav
         min=1000
         max=9000
         natural=5000
      }
      smp1~audio.acc_all
      {
         volume=0.60
         sample=turbo.wav
         min=5000
         max=9000
         attack=2500
         decay=2000
         natural=2500
      }
   }
   decelerate_out
   {
      volume=1.0
      smp0~audio.acc_all
      {
      	sample=engineout.wav
      	min=1000
      	max=9000
      	natural=5000
      }
   }
   gearwhine
   {
     smp0
     {
       sample=gearwhine.wav
       volume=0.3
       min=1
       max=9000
       ;decay=2000
       natural=300
     }
   }
  shiftin
  {
    ;sounds bad
    ;sample=shift.wav
  }
  shiftout
  {
    sample=shift.wav
  }
   ;doesn't work... wtf where is the error?
   ;wind
   ;{
   ;  volume=1.0
   ;  pitch_scale=0.01
   ;  pitch_offset=1.0
   ;  smp0
   ;  {
   ;    sample=wind.wav
   ;    min=1
   ;    max=500
   ;    natural=300
   ;  }
   ;}
}
ai
{
  grip_factor=1.0
  max_velocity=80
  understeer_correct=8500
  oversteer_correct=8500
}