car
{
  name=Mercury Cougar LS V8
  year=1986
  id=CgrLS
  credits=Model by Rwolf.  Gauges By Eric Dess
  comments=rwolf.deviantart.com www.coolcats.net
  version=050b8+
  wheels=4
  front_area=2.2
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2
    length=5
    ;offset_z=-0.1
  }
  cg
  {
    x=0
    y=-0.3
    z=0.13
  }
}
graphics
{
  shadow
  {
    model
    {
      file=shadow.dof
    }
  }
}
body
{
  mass=1277
  restitution_coeff=0.1
  inertia
  {
    x=3056
    y=3345
    z=534
  }
  width=1.806
  height=1.006
  length=5.019
  manual_box=1
  model
  {
    file=body.dof
  }
  model_incar
  {
    ;file=interior.dof
  }
  model_braking_l
  {
    file=brakes.dof
  }
  model_light_l
  {
    file=driver.dof
  }
}
steer
{
  x=0.325
  y=0.085
  z=0.025
  radius=10
  xa=10
  lock=180
  model
  {
    ;file=
  }
}
engine
{
  x=0
  y=0
  z=0
  size=0
  mass=100
  max_rpm=5800
  idle_rpm=850
  curve_torque=torque.crv
  max_torque=385
  autoclutch_rpm=1625
  starter=1
  starter_torque=70
  start_stalled=0
  stall_rpm=500
  start_rpm=950
  reaction=0
  shifting
  {
    automatic=0
    shift_up_rpm=10000
    shift_down_rpm=3500
    time_to_declutch=170
    time_to_clutch=270
  }
  ; Inertia of engine parts
  inertia
  {
    ; Rotational inertia of engine parts (kg*m^2)
    engine=0.175
    final_drive=1.0
  }
  braking_coeff=2.25
  rolling_friction_coeff=0
  friction=0
  sample=idle.wav
  sample_rpm=8300
}
gearbox
{
  gears=6
  gear0
  {
    ratio=-3.154
    inertia=0.2
  }
  gear1
  {
    ratio=4.03
    inertia=0.35
  }
  gear2
  {
    ratio=2.37
    inertia=0.2
  }
  gear3
  {
    ratio=1.5
    inertia=0.1
  }
  gear4
  {
    ratio=1.0
    inertia=0.05
  }
  gear5
  {
    ratio=0.86
    inertia=0.025
  }
}
clutch
{
  max_torque=520
}
handbrakes
{
  wheels=23
}
differential
{
  type=1
  ratio=3.35
  power_angle=0
  coast_angle=0
  clutches=0
  clutch_factor=0
  locking_coeff=90
  output0=2
  output1=3
}
aero
{
  body
  {
    center=0 0 0
    cx=0.36
    area=1.8
  }
  wings=2
  wing0
  {
    name=frontaxledf
    span=1
    cord=1
    coeff_drag=0
    coeff_down=40
    center=0 0 1.07
    angle=0
    angle_offset=1
  }
  wing1
  {
    name=rearaxledf
    span=1
    cord=1
    coeff_drag=0
    coeff_down=50
    center=0 0 -1.58
    angle=0
    angle_offset=1
  }
}
antirollbar
{
  count=2
  arb0
  {
      susp_left=0
      susp_right=1
      k=30000
  }
  arb1
  {
      susp_left=2
      susp_right=3
      k=20000
  }
}
susp_front
{
  y=-0.2
  z=1.455
  restlen=0.30
  minlen=0.1
  maxlen=0.325
  k=58000
  bump_rate=9000
  rebound_rate=8500
  anti_pitch=0.12
  roll_center
  {
    x=0
    y=-0.7
    z=0
  }
}
susp_rear
{
  y=-0.2
  z=-1.19
  restlen=0.30
  minlen=0.1
  maxlen=0.325
  k=52000
  bump_rate=8500
  rebound_rate=8000
  anti_pitch=0.12
  roll_center
  {
    x=0
    y=-0.7
    z=0
  }
}
susp0~susp_front
  {
    x=0.72
  }
susp1~susp_front
  {
    x=-0.72
  }
susp2~susp_rear
  {
    x=0.71
  }
susp3~susp_rear
  {
    x=-0.71
  }
tire_model_front
{
  damping_predict_lat=0.531
  damping_predict_long=0.024
}
tire_model_rear
{
  damping_predict_lat=0.539
  damping_predict_long=0.023
}
pacejka_front
{
    ; Lateral force
    a0=1
    a1=-46
    a2=1329
    a3=1493
    a4=11
    a5=0.013
    a6=-0.14
    a7=0.14
    a8=0.019
    a9=-0.019
    a10=-0.18
    a111=-11
    a112=-0.021
    a12=0.48
    a13=10.2
    a13=-2.4
    ; Longitudinal force
    b0=1.35326
    b1=-90.00000
    b2=1320.00000
    b3=23.30000
    b4=400.00000
    b5=0.00000
    b6=0.00680
    b7=0.05500
    b8=-0.02400
    b9=0.01400
    b10=0.26000
    b11=-86
    b12=350
    ; Aligning moment
    c0=2.10000
    c1=-3.90000
    c2=-3.90000
    c3=-1.26000
    c4=-8.20000
    c5=0.02500
    c6=0.00000
    c7=0.04400
    c8=-0.58000
    c9=0.18000
    c10=0.04300
    c11=0.04800
    c12=-0.00350
    c13=-0.18000
    c14=0.14000
    c15=-1.02900
    c16=0.27000
    c17=-1.10000
    optimal_slipratio=0.18276
    optimal_slipangle=0.21185
}
pacejka_rear
{
    ; Lateral force
    a0=1
    a1=-46
    a2=1329
    a3=1493
    a4=11
    a5=0.013
    a6=-0.14
    a7=0.14
    a8=0.019
    a9=-0.019
    a10=-0.18
    a111=-11
    a112=-0.021
    a12=0.48
    a13=10.2
    a13=-2.4
    ; Longitudinal force
    b0=1.35326
    b1=-90.00000
    b2=1320.00000
    b3=23.30000
    b4=400.00000
    b5=0.00000
    b6=0.00680
    b7=0.05500
    b8=-0.02400
    b9=0.01400
    b10=0.26000
    b11=-86
    b12=350
    ; Aligning moment
    c0=2.10000
    c1=-3.90000
    c2=-3.90000
    c3=-1.26000
    c4=-8.20000
    c5=0.02500
    c6=0.00000
    c7=0.04400
    c8=-0.58000
    c9=0.18000
    c10=0.04300
    c11=0.04800
    c12=-0.00350
    c13=-0.18000
    c14=0.14000
    c15=-1.02900
    c16=0.27000
    c17=-1.10000
    optimal_slipratio=0.18276
    optimal_slipangle=0.21185
}
wheel_front
{
  y=0
  z=0
  ackerman=1.41
  steering=1
  lock=70
  powered=0
  mass=15
  inertia=0.8
  radius=.323
  rolling_coeff=0.015
  friction_road=3.9
  max_braking=1700
  max_handbrake_torque=1500
  braking_factor=1
  tire_rate=280000
  pacejka~pacejka_front
  {  
  }
}
wheel_rear
{
  y=0
  z=0
  steering=0
  powered=1
  mass=15
  inertia=0.8
  radius=.323
  rolling_coeff=0.015
  friction_road=3.95
  max_braking=1300
  max_handbrake_torque=2000
  braking_factor=1
  tire_rate=280000
  pacejka~pacejka_rear
 {
 }
}
wheel0~wheel_front
{
  ;x=-0.05
  y=-0.0
  z=0.0
  toe=0
  camber=-4
  model
  {
   file=fordl1.dof
  }
  model_brake
  {
    file=caliper_lf.dof
  }
}
wheel1~wheel_front
{
  ;x=0.05
  y=-0.0
  z=0.0
  toe=0
  camber=-4
  model
  {
   file=fordr1.dof
  }
  model_brake
  {
    file=caliper_rf.dof
  }
}
wheel2~wheel_rear
{
  z=0.0
  y=-0.0
  toe=0
  camber=-1
  model
  {
   file=fordl1.dof
  }
  model_brake
  {
    file=caliper_lr.dof
  }
}
wheel3~wheel_rear
{
  z=0.0
  y=-0.0
  toe=0
  camber=-1
  model
  {
   file=fordr1.dof
  }
  model_brake
  {
    file=caliper_rr.dof
  }
}
;##########################################
audio
{
  acc_all
  {
    attack=1000
    decay=1000
  }
  accelerate_out
  {
    volume=1
    smp0~audio.acc_all
    {
      sample=engine1.wav
      min=700
      max=3000
      attack=0
      natural=5000
    }
    smp1~audio.acc_all
    {
      sample=engine0.wav
      min=0
      max=3000
      natural=8000
    }
    smp2~audio.acc_all
    {
      sample=engine0.wav
      min=4000
      max=8000
      natural=9000
    }
    smp3~audio.acc_all
    {
      sample=engine1.wav
      min=4500
      max=8000
      decay=0
      natural=10000
    }
  }
  decelerate_out
  {
    volume=.8
    smp0~audio.acc_all
    {
      sample=engine1.wav
      min=700
      max=5000
      attack=0
      natural=5000
    }
    smp1~audio.acc_all
    {
      sample=engine0.wav
      min=0
      max=7500
      natural=9000
    }
    smp2~audio.acc_all
    {
      sample=engine0.wav
      min=4000
      max=6000
      natural=9000
    }
    smp3~audio.acc_all
    {
      sample=engine1.wav
      min=4500
      max=7500
      decay=0
      natural=10000
    }
  }
  wind
  {
	volume=1
	; Volume determination
	volume_scale=0.5
	volume_offset=0
	; Pitch determination
	pitch_scale=0
	pitch_offset=0
	smp0
	{
		sample=wind_ext.wav
		; Speeds in m/s
		min=0
		max=9999
		natural=100
	}
  }
}


;####################################
camera0
{
  offset
  {
    x=-0.006250
    y=0.952083
    z=-3.795010
  }
  angle
  {
    x=15.138849
    y=180.173615
    z=0.000000
  }
  name=Behind
  fov=90
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  ; Source/target inertia
  src
  {
    mass=1
    k=200
    damping=30
    maxdist=1.5
  }
  dst
  {
    mass=1
    k=150
    damping=20
    maxdist=1.5
  }
}
camera1
{
  offset
  {
    x=0.081250
    y=-0.837501
    z=-5.245005
  }
  angle
  {
    x=6.666651
    y=-180.729126
    z=0.000000
  }
  name=Side view
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  fov=65
}
camera2
{
  offset
  {
    x=0.35
    y=0.4
    z=-0.0
  }
  offset_to
  {
    x=0.35
    y=0.4
    z=0.5
  }
  angle
  {
    x=0
    ;9.444441
    y=179.340210
    z=0.000000
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  wheels=0
  fov=70
  ; Source/target inertia
  src
  {
    mass=2
    k=7000
    damping=40
    maxdist=1
  }
  dst
  {
    mass=3
    k=5000
    damping=30
    maxdist=1
  }
}
camera3
{
  offset
  {
    x=-0.381252
    y=0.439585
    z=-4.794994
  }
  angle
  {
    x=16.527767
    y=129.166580
    z=0.260415
  }
}
camera4
{
  offset
  {
    x=0.014061
    y=0.493751
    z=-5.585001
  }
  angle
  {
    x=18.055532
    y=728.819153
    z=0.260415
  }
  view=1
}
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
  view=1
}

camera6
{
  follow
  {
    pitch=1
    yaw=1
    roll=0
  }
  offset
  {
    x=0.003125
    y=-0.227084
    z=-2.569997
  }
  angle
  {
    x=0.416667
    y=-150.520996
    z=-0.434030
  }
}
camera7
{
  offset
  {
    x=-0.029688
    y=-1.083335
    z=-2.739993
  }
  angle
  {
    x=-29.166676
    y=-180.034927
    z=0.000000
  }
  follow
  {
    pitch=0
    yaw=1
    roll=1
  }
}
camera8
{
  offset
  {
    x=1.390623
    y=0.062498
    z=-0.599992
  }
  angle
  {
    x=-2.222249
    y=-161.632263
    z=3.298599
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  wheels=0
  fov=60
}
camera9
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.010938
    y=-0.758326
    z=0.320004
  }
  angle
  {
    x=0.000000
    y=-180.000000
    z=0.000000
  }
}

