car
{
  name=Ford Mustang
  year=1965
  version=053b5+
  credits=Model Editing/Shader by Papi,ini/sounds by Francomk, original mesh by Turpuli
  comments=4-Speed
  id=65mustang
  wheels=4
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=1.73
    length=4.6
    intensity_dark=0.7
    intensity_light=0.3
  }
  cg
  {
    x=0	
    y=-0.13 ;-0.2
    z=0.2758 ;54/46 f/r
  }
}
graphics
{
  ; Car models used
  shadow
  {
    model
    {
      file=shadow.dof
    }
    intensity=0.5
  }
}
body
{
  mass=1200
  restitution_coeff=0.25
  inertia
  {
    x=2250 ;1890
    y=2626 ;2245 2645
    z=586 ;562 492 692
  }
  model
  {
    file=body.dof
  }
  model_incar
  {
    file=interior.dof
  }
  model_light_l
  {
    file=lights.dof
  }
  model_braking_l
  {
    file=brakelight.dof
  }
 model_lightroad_l
 {
  file=lightsin.dof
 }
}
width=1.94
height=0.8
length=4.67
manual_box=0

steer
{
  x=0.362
  y=0.448
  z=0.415
  radius=10
  xa=27.9166
  lock=870
  linearity=0.3
  model
  {
    file=steeringwheel.dof
  }
}

engine
{
  mass=383
  max_rpm=5400
  idle_rpm=800
  autoclutch_rpm=1000
  curve_torque=mustang.crv
  max_torque=423
  starter=1
  starter_torque=90
  start_stalled=0
  stall_rpm=300
  start_rpm=600
  torque_reaction=0.5
  shifting
  {
    automatic=0
    shift_up_rpm=5100
    shift_down_rpm=3000
    time_to_declutch=350
    time_to_clutch=100
    time_in_neutral=0
    time_to_declutch_down=350
    time_to_clutch_down=50
    time_in_neutral_down=0
  }
  inertia
  {
    engine=0.28
    final_drive=0.12
  }
  braking_coeff=3
}
gearbox
{
  gears=5
  gear0
  {
    ratio=-2.33
    inertia=0.9
  }
  gear1
  {
    ratio=2.78
    inertia=0.09
  }
  gear2
  {
    ratio=1.93
    inertia=0.07
  }
  gear3
  {
    ratio=1.36
    inertia=0.03
  }
  gear4
  {
    ratio=1.0
    inertia=0.01
  }
}
clutch
{
  max_torque=500
}
handbrakes
{
  wheels=23
}
differential
{
  type=1
  ratio=3.00
  inertia=0.25
  locking_coeff=35
  output0=2
  output1=3
}
aero
{
  body
  {
    center=0 -0.1 0
    cx=0.34
    area=1.85
  }
  wings=2
  wing0
  {
    name=BodyLift
    span=1
    cord=0.1
    coeff_drag=0
    coeff_down=-.250
    center=0 0 0
    angle=0
    angle_offset=10
  }
  wing1
  {
    name=RearSpoilerandDiffuser
    span=1
    cord=0.1
    coeff_drag=3
    coeff_down=30
    center=0 -0.2 -1.27
    angle=0
    angle_offset=10
  }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=8500 ;8000
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=1000 ;2000
  }
}
susp_front
{
  y=0.21
  z=1.51
  restlen=0.35 ;0.35
  minlen=0.13
  maxlen=0.38
  anti_pitch=0.6 ;-0.6
  k=38250 ;49250 28250
  bump_rate=1450 ;1450 1950 
  bump_function=3 
  rebound_rate=2250 ;2050 2550
  rebound_function=0 
  roll_center
  {
    x=0
    y=-0.52 ;-0.5
    z=0
  }
}
susp_rear
{
  y=0.21
  z=-1.26
  restlen=0.35
  minlen=0.10
  maxlen=0.38
  k=30130 ;34130 20130 
  bump_rate=1010 ;1010 1510 1310
  bump_function=3
  rebound_rate=1650 ;2350
  rebound_function=0 
  roll_center
  {
    x=0
    y=-0.28 ;-0.48
    z=0
  }
}
susp0~susp_front
{
  x=0.71
  caster_offset=-.005
  camber_change_steering=.05
  camber_change_per_m=.2
}
susp1~susp_front
{
  x=-0.71
  caster_offset=-.005
  camber_change_steering=.05
  camber_change_per_m=.2
}
susp2~susp_rear
{
  x=0.71
}
susp3~susp_rear
{
  x=-0.71
}
tire_model_front
{
  ;damping_predict_lat=0.672
  ;damping_predict_long=0.028
}
tire_model_rear
{
  ;damping_predict_lat=0.734
  ;damping_predict_long=0.031
}
pacejka
{
  ; Lateral force
  a0=0.85
  a1=-106.3
  a2=1495 ;1040
  a3=1800 
  a4=9.5 
  a5=0.013
  a6=-0.365
  a7=1.14
  a8=0.0
  a9=0.0
  a10=0.16
  a111=0.0
  a112=0.0
  a12=0.0
  a13=0.0
  ; Longitudinal force
  b0=1.157
  b1=-79
  b2=1355 
  b3=20.25 
  b4=252 
  b5=0.0
  b6=0.0
  b7=0.0
  b8=0.0
  b9=0.0
  b10=0.0
  b11=0.0
  b12=0.0
  ; Aligning moment
  c0=2.1 
  c1=-3.95 
  c2=-2.95 
  c3=-1.32 
  c4=-8.6 
  c5=0.025 
  c6=0.0 
  c7=0.044 
  c8=-0.58 
  c9=0.18 
  c10=0.0
  c11=0.0
  c12=0.0
  c13=0.0
  c14=0.0
  c15=0.0
  c16=0.0
  c17=0.0
  optimal_slipratio=0.15 
  optimal_slipangle=0.12 
}
wheel_front
{
  y=0
  z=0
  steering=1
  powered=0
  lock=68.5 ;38ft turning circle
  ackerman=0
  mass=13.60
  inertia=1.81
  radius=0.3165
  rolling_coeff=0.011
  max_braking=1600
  braking_factor=1
  tire_rate=368000 
  skidding
  {
    long_start=1.0 ;0.2
    long_max=20.0 ;1.0
    long_start_n=0.2
    long_max_n=1.0
    lat_start=0.9 ;0.2
    lat_max=3.0 ;2.0
  }
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  y=0
  z=0
  steering=0
  powered=1
  mass=13.60
  inertia=1.81
  radius=0.3165
  rolling_coeff=0.011
  max_braking=800
  braking_factor=1
  tire_rate=352000 
  max_handbrake_torque=900
  skidding
  {
    long_start=1.0 ;0.2
    long_max=20.0 ;1.0
    long_start_n=0.2
    long_max_n=1.0
    lat_start=0.9 ;0.2
    lat_max=3.0 ;2.0
  }
  pacejka~pacejka
  {
  }
}
wheel0~wheel_front
{
  x=0
  toe=-0
  camber=0
  model
  {
    file=lwheel.dof
  }
}
wheel1~wheel_front
{
  x=0
  toe=0
  camber=0
  model
  {
    file=rwheel.dof
  }
}
wheel2~wheel_rear
{
  x=0
  toe=0 
  camber=0 
  model
  {
    file=lwheel.dof
  }
}
wheel3~wheel_rear
{
  x=0
  toe=0 
  camber=0 
  model
  {
    file=rwheel.dof
  }
}
;------------ New Audio Parameters ------------------
audio
{
  skid
  {
    sample=skid.wav
  }
  horn
  {
    sample=horn.wav
  }
  acc_all
  {
  attack=2000
  decay=2000
  volume=1
  }
  accelerate_out
  {
    smp0
    {
      sample=sounds\EX_idle.wav
      min=900
      max=901
      attack=1000
      decay=500
      natural=900
    }
    smp1
    { 
      sample=sounds\EX_onlow.wav
      min=1500
      max=1501
      natural=6000 
      decay=2000
      attack=2000
    }
    smp2
    { 
      sample=sounds\EX_onmid-high.wav
      min=3500
      max=3501
      natural=6000 
      decay=2000
      attack=2000
    }
    smp3
    { 
      sample=sounds\EX_onmax.wav
      min=4800
      max=4801
      natural=6000
      decay=2000
      attack=2000 
    }
  }  
  decelerate_out
  {
    smp0
    {
      sample=sounds\EX_idle.wav
       min=900
      max=901
      attack=1000
      decay=500
      natural=900
    }
    smp1
    { 
      sample=sounds\EX_offlow.wav
      min=1500
      max=1501
      natural=6000 
      decay=2000
      attack=2000
    }
    smp2
    { 
      sample=sounds\EX_offmid.wav
      min=3500
      max=3501
      natural=6000 
      decay=2000
      attack=2000
    }
    smp3
    { 
      sample=sounds\EX_offhigh.wav
      min=4800
      max=4801
      natural=6000
      decay=2000
      attack=2000 
    }
  }
  accelerate_in
  {
    smp0
    {
      sample=sounds\idle.wav
      min=900
      max=901
      attack=1000
      decay=500
      natural=900
    }
    smp1
    { 
      sample=sounds\onlow.wav
      min=1500
      max=1501
      natural=6000 
      decay=2000
      attack=2000
    }
    smp2
    { 
      sample=sounds\onmid-high.wav
      min=3500
      max=3501
      natural=6000 
      decay=2000
      attack=2000
    }
    smp3
    { 
      sample=sounds\onmax.wav
       min=4800
      max=4801
      natural=6000
      decay=2000
      attack=2000 
    }
  }  
  decelerate_in
   {
    smp0
    {
      sample=sounds\idle.wav
      min=900
      max=901
      attack=1000
      decay=500
      natural=900
    }
    smp1
    { 
      sample=sounds\offlow.wav
      min=1500
      max=1501
      natural=6000 
      decay=2000
      attack=2000
    }
    smp2
    { 
      sample=sounds\offmid.wav
      min=3500
      max=3501
      natural=6000 
      decay=2000
      attack=2000
    }
    smp3
    { 
      sample=sounds\offhigh.wav
       min=4800
      max=4801
      natural=6000
      decay=2000
      attack=2000 
     }
    wind
  {
    volume=2
    pitch_scale=0
    pitch_offset=50
    smp0
    {
      sample=wind1.wav
      min=25
      max=26
      attack=33
      decay=33
      natural=80
    }
    smp1
    {
      sample=wind2.wav
      min=50
      max=51
      attack=33
      decay=33
      natural=80
    }
    smp2
    {
      sample=wind3.wav
      min=75
      max=76
      attack=33
      decay=33
      natural=80
    }
  }
}
}
;-------------------------cameras------------------------------------
camera0
{
  	name=Chase Close
  	model=0
  	wheels=0
  	view=0
  	fov=60.00
  	offset
  	{
    		x=0.00
    		y=1.60
    		z=-4.90
  	}
  	src
  	{
    		mass=6
    		k=600
    		damping=120
   		maxdist=2
  	}
  	angle
  	{
    		x=0.00
    		y=0.00
    		z=0.00
  	}
  	follow
  	{
    		pitch=0
    		yaw=0
   		roll=0
  	}
}
camera1
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.000000
    y=-0.500000
    z=2.300000
  }
  angle
  {
    x=8.000000
    y=180.000000
    z=0.000000
  }
  name=Bumper
  model=2
  wheels=2
  view=2
  fov=75
}
camera2
{
  offset
  {
    x=0
    y=-0.683334
    z=1.65
  }
  angle
  {
    x=0.000000
    y=180.000000
    z=0.000000
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
}
camera3
{
   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=60
   model=0
   wheels=0
   view=0
   name=Left Front Wheel
}
camera4
{
  offset
  {
    x=-0.825001
    y=-0.197916
    z=-5.585001
  }
  angle
  {
    x=7.777747
    y=815.103577
    z=0.260415
  }
  view=1
}
camera5
{
  offset
  {
    x=0
    y=-0
    z=-6
  }
  angle
  {
    x=15
    y=-140
    z=0
  }
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  fov=55
}
camera6
{
  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
}
camera7
{
  offset
  {
    x=-0.239065
    y=-0.485420
    z=-6.450006
  }
  angle
  {
    x=7.083300
    y=-143.576736
    z=0.434016
  }
  follow
  {
    pitch=0
    yaw=1
    roll=1
  }
  fov=35
  view=1
}
camera8
{
  offset
  {
    x=-0.36
    y=0.78
    z=-0.18
  }
  offset_to
  {
    x=-0.36
    y=0.35
    z=3.07
  }
  angle
  {
    x=0.000000
    y=0.000000
    z=0.000000
  }
  name=Passenger
  fov=60
  model=1
  wheels=0
  view=1
  src
  {
    mass=5
    k=750
    damping=85
    maxdist=0.15
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera9
{
  offset
  {
    x=0.36
    y=0.78
    z=-0.18
  }
  offset_to
  {
    x=0.36
    y=0.35
    z=3.07
  }
  angle
  {
    x=0.000000
    y=0.000000
    z=0.000000
  }
  name=Driver
  fov=60
  model=1
  wheels=0
  view=1
  src
  {
    mass=5
    k=750
    damping=85
    maxdist=0.15
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
ai
{
   grip_factor=1.2
}
