;
car
{
  name=Ford Escort RS Cosworth Stock
  id=fordescortrscossiestock
  version=050f
  credits=Xported from RSC by MeSs
  comments=This is the stock version..
  year=1993
  wheels=4
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2
    length=4.4
  }
  cg
  {
    x=0	
    y=-0.19
    z=0.0235
  }
}
audio
{
  skid
  {
    sample=skid.wav
  }
  acc_all
  {
    attack=1300
    decay=1300
  }
  acc_turbo
  {
   attack=1500
   decay=1500
  }
  accelerate_out
  {
    volume=1.5
    smp0~audio.acc_all
    {
      sample=acc1001.wav
      min=1
      max=1001
      natural=1000
    }
    smp1~audio.acc_all
    {
      sample=acc2001.wav
      min=2000
      max=2001
      natural=2000
    }
    smp2~audio.acc_all
    {
      sample=acc3001.wav
      min=3000
      max=3001
      natural=3000
    }
    smp3~audio.acc_all
    {
      sample=acc4001.wav
      min=4000
      max=4001
     natural=4000
    }
    smp4~audio.acc_all
    {
      sample=acc5001.wav
      min=5000
      max=5001
      natural=5000
    }
    smp5~audio.acc_all
    {
      sample=acc6001.wav
      min=6000
      max=6001
      natural=6000
    }
    smp6~audio.acc_all
    {
      sample=acc7001.wav
      min=7000
      max=9001
      natural=7000
    }
    smp7~audio.acc_turbo
    {
     sample=turbo1.wav
     min=5000
     max=9000
     natural=900
     minvol=0.1
     maxvol=0.2
    }
    smp8~audio.acc_turbo
    {
     sample=whine1.wav
     min=5000
     max=9000
     natural=8000
     minvol=0.1
     maxvol=0.2
    }
  }
  decelerate_out
  {
   volume=0.8
    smp0~audio.acc_all
    {
      sample=acc1000.wav
      min=1
      max=1001
      natural=1000
    }
    smp1~audio.acc_all
    {
      sample=acc2000.wav
      min=2000
      max=2001
      natural=2000
    }
    smp2~audio.acc_all
    {
      sample=acc3000.wav
      min=3000
      max=3001
      natural=3000
    }
    smp3~audio.acc_all
    {
      sample=acc4000.wav
      min=4000
      max=4001
     natural=4000
    }
    smp4~audio.acc_all
    {
      sample=acc5000.wav
      min=5000
      max=5001
      natural=5000
    }
    smp5~audio.acc_all
    {
      sample=acc6000.wav
      min=6000
      max=6001
      natural=6000
    }
    smp6~audio.acc_all
    {
      sample=acc7000.wav
      min=7000
      max=9001
      natural=7000
    }
    smp7~audio.acc_turbo
    {
     sample=turbo.wav
     min=5000
     max=9000
     natural=900
     minvol=0.1
     maxvol=0.2
    }
    smp8~audio.acc_turbo
    {
     sample=whine.wav
     min=5000
     max=9000
     natural=8000
     minvol=0.1
     maxvol=0.2
    }
  }
}
  }
  gearwhine
  {
    volume=0.7
	pitch_scale=0.001
	pitch_offset=0.5
    ; Acceleration; outside of the car
    smp0~audio.acc_all
    {
      ; All engine samples depend on engine RPM
      sample=gearwhine.wav
      min=1000
      max=11000
      ; RPM of used sample
      natural=2000
    }
  }
  wind
  {
    volume_scale=0.1
    volume_offset=0
    pitch_scale=0.01
    pitch_offset=0
    smp0
    {
      sample=wind.wav
      min=0.1
      max=9999
      natural=50
    }
  }
}
body
{
  mass=1360
  restitution_coeff=0.3
  inertia
  {
    x=2550
    y=2850
    z=520
  }
  model
  {
    file=test.dof
  }
  model_incar
  {
    file=
  }
  model_braking_l
  {
    file=brakelights.dof
  }
  model_light_l
  {
    file=
  }
  width=1.943
  height=0.8
  length=4.323
  manual_box=1
}
steer
{
  x=0.396
  y=0.074
  z=0.26
  radius=10
  xa=17.5
  lock=90
  model
  {
    file=
  }
}
engine
{
  mass=0
  max_rpm=6550
  idle_rpm=900
  stall_rpm=500
  start_rpm=600
  autoclutch_rpm=1500
  starter=1
  starter_torque=40
  curve_torque=torque.crv
  max_torque=350
  reaction=1
  shifting
  {
    automatic=0
    shift_up_rpm=5500
    shift_down_rpm=1800
    time_to_declutch=140
    time_to_clutch=140
  }
  inertia
  {
    engine=0.1
    final_drive=0.12
  }
  braking_coeff=0.75
  rolling_friction_coeff=0.9
  sample=engine.wav
  sample_rpm=10000
}
gearbox
{
  gears=6
  gear0
  {
    ratio=-3.446
    inertia=0.9
  }
  gear1
  {
    ratio=3.61
    inertia=0.13
  }
  gear2
  {
    ratio=2.08
    inertia=0.09
  }
  gear3
  {
    ratio=1.36
    inertia=0.07
  }
  gear4
  {
    ratio=1.00
    inertia=0.05
  }
  gear5
  {
    ratio=0.83
    inertia=0.04
  }
}
clutch
{
  max_torque=500
}
handbrakes
{
  wheels=0123
}
differential
{
  type=1
  ratio=3.638
  locking_coefficient=70
}
aero
{
  body
  {
    center=0 0 0
    cx=0.32
    area=1.7
  }
  wings=1
  wing0
  {
    name=BodyLift
    span=1.4
    cord=0.15
    coeff_drag=0
    coeff_down=-0.3
    center=0 0 0
    angle=5
    angle_offset=0
  }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=39000
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=22000
  }
}
susp_front
{
  y=0.220
  z=1.300
  restlen=.38
  minlen=.2
  maxlen=.65
  k=59000
  bump_rate=7400
  rebound_rate=7800
  roll_center
  {
    x=0
    y=-0.54
    z=0
  }
}
susp_rear
{
  y=0.228
  z=-1.270
  restlen=.38
  minlen=.2
  maxlen=.65
  k=59000
  bump_rate=7400
  rebound_rate=7650
  roll_center
  {
    x=0
    y=-0.51
    z=0
  }
}
susp0~susp_front
  {
    x=0.790
  }
susp1~susp_front
  {
    x=-0.790
  }
susp2~susp_rear
  {
    x=0.790
  }
susp3~susp_rear
  {
    x=-0.790
  }
tire_model
{
  relaxation_length_lat=0.91
  relaxation_length_long=.091
  damping_speed=0.15
  damping_coefficient_lat=0.75
  damping_coefficient_long=1.5
}
pacejka
{
    a0=1.6
    a1=-30
    a2=2050
    a3=2400
    a4=8.7
    a5=0.014
    a6=-0.24
    a7=1.0
    a8=-0.03
    a9=-0.0013
    a10=-0.15
    a111=-8.5
    a112=-0.29
    a12=17.8
    a13=-2.4
    b0=1.6
    b1=-60
    b2=1850
    b3=23.3
    b4=350
    b5=0.05
    b6=0
    b7=0.055
    b8=-0.024
    b9=0.014
    b10=0.26
    c0=2.2
    c1=-3.9
    c2=-3.9
    c3=-1.26
    c4=-8.2
    c5=0.025
    c6=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.145
}
wheel_front
{
  y=0
  z=0
  camber=-2.0
  steering=1
  powered=0
  lock=40
  ackerman=1.1
  mass=15
  inertia=1
  radius=.33
  rolling_coeff=0.015
  max_braking=1900
  braking_factor=1
  max_handbrake_torque=-350
  tire_rate=170000
  pacejka~pacejka
  {
  ;a2=1300
  ;b2=1340
  }
}
wheel_rear
{
  y=0
  z=0
  camber=-1.5
  steering=0
  powered=1
  mass=20
  inertia=1
  radius=.33
  rolling_coeff=0.015
  max_braking=700
  braking_factor=1
  tire_rate=170000
  pacejka~pacejka
  {
  }
}
wheel0~wheel_front
{
  x=0
  toe=-0.5
  model
  {
    file=left.dof
  }
  model_brake
  {
    file=fl.dof
  }
}
wheel1~wheel_front
{
  x=-0
  toe=0.5
  model
  {
    file=right.dof
  }
  model_brake
  {
    file=fr.dof
  }
}
wheel2~wheel_rear
{
  x=0
  toe=-1
  model
  {
    file=left.dof
  }
  model_brake
  {
    file=bl.dof
  }
}
wheel3~wheel_rear
{
  x=-0
  toe=1
  model
  {
    file=right.dof
  }
  model_brake
  {
    file=br.dof
  }
}
camera0
{
  offset
  {
    x=0.029688
    y=-0.904162
    z=-6.870018
  }
  angle
  {
    x=15.694407
    y=179.652771
    z=0.000000
  }
  name=Behind
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
}
camera1
{
  offset
  {
    x=0.059375
    y=-0.700001
    z=-4.715009
  }
  angle
  {
    x=6.666651
    y=-180.729126
    z=0.000000
  }
  name=Side view
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  fov=50
}
camera2
{
  offset
  {
    x=-0.015626
    y=-0.47
    z=1.7
  }
  angle
  {
    x=2
    y=180
    z=0.000000
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
}
camera3
{
  follow
  {
    pitch=
    yaw=1
    roll=
  }
  offset
  {
    x=0.221878
    y=0.508334
    z=-6.635028
  }
  angle
  {
    x=16.388876
    y=-56.944256
    z=1.302094
  }
  name=Wheels
  fov=40
}
camera4
{
  offset
  {
    x=0.014061
    y=0.493751
    z=-5.585001
  }
  angle
  {
    x=18.055532
    y=728.819153
    z=0.260415
  }
}
camera5
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0.198437
    y=0.464583
    z=-6.320009
  }
  angle
  {
    x=9.444325
    y=-268.750336
    z=0.086801
  }
  name=High
  fov=40
}
camera6
{
  follow
  {
    pitch=1
    yaw=1
    roll=0
  }
  offset
  {
    x=-0.037500
    y=0.489584
    z=-4.555015
  }
  angle
  {
    x=86.527802
    y=-308.854156
    z=11.718752
  }
  fov=60
}
camera7
{
  offset
  {
    x=-0.151565
    y=0.489580
    z=-6.395005
  }
  angle
  {
    x=7.083300
    y=-143.576736
    z=3.298599
  }
  follow
  {
    pitch=0
    yaw=1
    roll=1
  }
  fov=35
}
camera8
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.000002
    y=-0.918743
    z=0.430004
  }
  angle
  {
    x=6.944441
    y=-361.249451
    z=0.000000
  }
  fov=75
}
camera9
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.385939
    y=-0.435410
    z=-0.319996
  }
  angle
  {
    x=-4.166675
    y=-179.652771
    z=0.000000
  }
  fov=65
  ; Type of model to use; 0=outside, 1=inside, 2=none
  model=1
  wheels=0
  view=2
  name=Inside Driver
}

