car
{
  name=Honda S2000 (v0.7)
  year=2001
  id=HondaS2000
  version=090b
  wheels=4
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=3.3
    length=4.7
  }
  cg
  {
    x=0
    y=0
    z=0
  }
}
graphics 
{
  shadow 
  {
    texture=shadow.tga
    model
    {
      file=body.dof
    }
  }

	generic
	{
		model0
                {
                        file=capot.dof
                }
                model1
                {
                        file=mala.dof
                }
                model2
                {
                        file=porta_condutor.dof
                }
                model3
                {
                        file=porta_passageiro.dof
                }
                model4
                {
                        file=
                }
                model5
                {
                        file=
                }
                model6
                {
                        file=
                }
                model7
                {
                        file=
                }
                model8
                {
                        file=
                }
                model9
                {
                        file=

    		}
	}
}
body
{
  mass=1052
  inertia
  {
    x=1990
    y=2590
    z=550
  }
  restitution_coeff=0.08
  
  width=1.750
  height=1.285
  length=4.135
  
  manual_box=0
  
  model
  {
    file=body.dof
  }
  
  model_braking_l
  {
    file=brakelights.dof
  }
}
steer
{
  x=0.37
  y=0.09
  z=0.00 
  radius=10
  xa=15.9
  lock=1080
  model
  {
    file=volante.dof
  }
}
engine
{
  x=0
  y=.05
  z=-0.5
  size=.25
  mass=148
  max_rpm=9500
  idle_rpm=800
  stall_rpm=500
  start_rpm=700
  
  autoclutch_rpm=1500
  
  starter=1
  
  starter_torque=25
  
  curve_torque=torque.crv
  max_torque=208
  shifting
  {
    automatic=0
    shift_up_rpm=8900
    shift_down_rpm=3000
    time_to_declutch=200
    time_to_clutch=200
  }
  inertia
  {
    engine=0.05
    final_drive=0.12
  }
  braking_coeff=1.14
  rolling_friction_coeff=0.6
  friction=0
}
gearbox
{
  gears=7
  gear0
  {
    ratio=-2.800
    ; ratio=0
    inertia=0.21
  }
  gear1
  {
    ratio=3.133
    inertia=0.13
  }
  gear2
  {
    ratio=2.045
    inertia=0.09
  }
  gear3
  {
    ratio=1.481
    inertia=0.07
  }
  gear4
  {
    ratio=1.161
    inertia=0.05
  }
  gear5
  {
    ratio=0.970
    inertia=0.03
  }
  gear6
  {
    ratio=0.810
    inertia=0.02
  }
  end_ratio=4.76
}
differential
{
  type=1
  locking_coefficient=80
  power_angle=60
  coast_angle=60
  clutches=2
  clutch_factor=0.5
}

clutch
{
  max_torque=300
}

handbrakes
{
  wheels=23
}

aero
{
  body
  {
    center=0 0 0
    cx=0.39
    area=1.7
  }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=20800
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=16300
  }
}

susp0
{
  x=0.78
  y=-0.04
  z=1.19
  restlen=0.400
  minlen=.3
  maxlen=.50
  radius=.04
  slices=5
  k=38245
  bump_rate=5500
  rebound_rate=5500
  roll_center
  {
    x=0
    y=-0.35
    z=0
  }
}
susp1
{
  x=-0.78
  y=-0.04
  z=1.18
  restlen=0.400
  minlen=.3
  maxlen=.50
  radius=.04
  slices=5
  k=38245
  bump_rate=5500
  rebound_rate=5500
  roll_center
  {
    x=0
    y=-0.35
    z=0
  }
}
susp2
{
  x=0.80
  y=-0.04
  z=-1.20
  restlen=0.400
  minlen=.3
  maxlen=.50
  k=50994
  bump_rate=5500
  rebound_rate=5500
  roll_center
  {
    x=0
    y=-0.30
    z=0
  }
  radius=.04
  slices=5
  }
}
susp3
{
  x=-0.80
  y=-0.04
  z=-1.20
  restlen=0.400
  minlen=.3
  maxlen=.50
  radius=.04
  slices=5
  k=50994
  bump_rate=5500
  rebound_rate=5500
  roll_center
  {
    x=0
    y=-0.30
    z=0
  }
}

;----------------------------------------------------------------------------
; Wheels
;----------------------------------------------------------------------------
S02Pacejka
{
  ; Pacejka constants for all tires
  ; Longitudinal force
  a0=1.2
  a1=0
  a2=1800
  a3=4140
  a4=6.026
  a5=0
  a6=-0.3589
  a7=1
  a8=0
  a9=-0.006111
  a10=-0.03224
  a111=0
  a112=0
  a12=0
  a13=0
  ; Lateral force
  b0=1.2
  b1=0
  b2=1800
  b3=0
  b4=229
  b5=0
  b6=0
  b7=0
  b8=-10
  b9=0
  b10=0
  ; Aligning moment
  c0=2.068
  c1=-6.49
  c2=-21.85
  c3=0.416
  c4=-21.31
  c5=0.02942
  c6=0
  c7=-1.197
  c8=5.228
  c9=-14.84
  c10=0
  c11=0
  c12=-0.003736
  c13=0.03891
  c14=0
  c15=0
  c16=0.639
  c17=1.693
}

wheel0
{
  x=0.02
  y=0.005
  z=0.050
  steering=1
  powered=0
  lock=50
  mass=20
  inertia=2.3
  radius=.32
  width=.20
  slices=20
  tire_rate=250000
  
  toe=0  
  camber=-0.5
  
  max_braking=2500
  braking_factor=.6
  model
  {
    file=left.dof
  }
  model_brake
  {
    file=brake_bl.dof
  }
  pacejka~S02Pacejka
  {
  }
}
wheel1
{
  x=-0.02
  y=0.005
  z=0.050
  steering=1
  powered=0
  lock=50
  mass=20
  inertia=2.3
  radius=.32
  width=.20
  slices=20
  tire_rate=250000
  
  toe=0  
  camber=-0.5
  
  max_braking=2500
  braking_factor=.6
  model
  {
    file=right.dof
  }
  model_brake
  {
    file=brake_br.dof
  }
  pacejka~S02Pacejka
  {
  }
}
wheel2
{
  x=0.05
  y=0.005
  z=0.03
  steering=0
  powered=1
  mass=20
  inertia=2.3
  radius=.32
  width=.225
  slices=20
  
  tire_rate=250000
  
  max_braking=2500
  braking_factor=.4 
  max_handbrake_torque=1000
   
  toe=0.28
  camber=-1.5

  model
  {
    file=left.dof
  }
  model_brake
  {
    file=brake_fl.dof
  }
  pacejka~S02Pacejka
  {
  }
}
wheel3
{
  x=-0.05
  y=0.005
  z=0.03
  steering=0
  powered=1
  mass=20
  inertia=2.3
  radius=.32
  width=.225
  slices=20
  tire_rate=250000
  
  toe=0.28
  camber=-1.5
  
  max_braking=2500
  braking_factor=.4
  max_handbrake_torque=1000

  model
  {
    file=right.dof
  }
  model_brake
  {
    file=brake_fr.dof
  }
  pacejka~S02Pacejka
  {
  }
}
;----------------------------------------------------------------------------
; Cameras
;----------------------------------------------------------------------------
camera0
{
  offset
  {
    x=0
    y=-0.6
    z=-5.5
  }
  angle
  {
    x=10
    y=180
    z=0
  }
  name=Chase Far
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
}
camera1
{
  offset
  {
    x=0.42
    y=-0.5
    z=0.42
  }
  angle
  {
    x=5
    y=180
    z=0
  }
  name=DriverLeft
  fov=65
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
}
camera2
{
  offset
  {
    x=-0.42
    y=-0.5
    z=0.42
  }
  angle
  {
    x=5
    y=180
    z=0
  }
  name=DriverRight
  fov=65
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
}
camera3
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0
    y=-0.6
    z=1.4
  }
  angle
  {
    x=4
    y=180
    z=0
  }
  name=Inside Right Driver
  fov=70
}
camera4
{
  offset
  {
    x=-0.4
    y=0.45
    z=-7.5
  }
  angle
  {
    x=16
    y=130
    z=0.25
  }
}
camera5
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0.48
    y=0.50
    z=-3.9
  }
  angle
  {
    x=15
    y=-50
    z=2.5
  }
  name=Wheels
  fov=65
}
camera6
{
  follow
  {
    pitch=1
    yaw=1
    roll=0
  }
  offset
  {
    x=-0.25
    y=0.75
    z=-4.8
  }
  angle
  {
    x=23
    y=-360
    z=20
  }
  fov=60
}
camera7
{
  offset
  {
    x=1.4
    y=0
    z=-0.6
  }
  angle
  {
    x=-2
    y=-160
    z=3
  }
  follow
  {
    pitch=0
    yaw=1
    roll=1
  }
  fov=60
}
camera8
{
  offset
  {
    x=0
    y=0
    z=-5
  }
  angle
  {
    x=2
    y=-130
    z=3
  }
  follow
  {
    pitch=0
    yaw=1
    roll=1
  }
  fov=65
}
camera9
{
  name=Driver
  fov=65
  model=0
  wheels=0
  view=2
  name=Inside
  fov=60

  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.38  ;leftright
    y=0.42  ;updown
    z=-0.50  ;frontback
  }
  offset_to
  {
    x=0
    y=0
    z=10
  }
  angle
  {
    x=1.000000
    y=180.000000
    z=0.000000
  }
  src
  {
    mass=4
    k=1200
    damping=160
    maxdist=0.11
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
