car
{
   name=Ford Mustang GT 
   year=2003
   version=050b9
   id=amggt2003
   comments=V8 280cid. 4.6L 0-60: 6.4sec.  -  Quarter mile: 14.2 @ 103 MPH    -  260hp@5250 rpm
   credits=Converted by AmgFan, original authors: Fubar - 5-M/T   -    302 lb.-ft.@4000 rpm
   wheels=4
   front_area=2.0722
   skid
   {
      sample=skid.wav
   }
   shadow
   {
      texture=shadow.tga
      length=5.4
      width=2.5
      offset_z=0
      offset=0
   }
  cg
  {
    x=0
    y=-0.20
    z=0.352
  }
}
body
{
   mass=1523 (pilot + car)
  inertia
  {
    x=3211 
    y=4248 
    z=625
  }
   manual_box=1
   width=1.818
   height=1.131
   length=4.892
   cockpit_start=1
   cockpit_length=1
 model
 {
    file=gt.dof
  }
  model_incar
  {
    file=gt.dof
  }
  model_braking_l
  {
    file=brakes.dof
  }
  model_light_l
  {
    file=lights.dof
  }
 model_lightroad_l
 {
  file=lightsin.dof
 }
}
steer
{
   x=0.41
   y=0.02
   z=0.47
   xa=14
   lock=950
   model
   {
      file=str.dof
   }
}
engine
{
  ; Position (stub gfx)
  x=0
  y=.2
  z=1.42
  size=.25
  mass=273.39
  idle_rpm=950
  autoclutch_rpm=980
max_rpm=5800
  curve_torque=MUSTANGGTtorque.crv
  max_torque=1
  torque_reaction=0.83
  starter=1
  starter_torque=250
  start_stalled=1
  stall_rpm=890
  start_rpm=900
  shifting
  {
    automatic=0
    shift_up_rpm=5000
    shift_down_rpm=2500
    time_to_declutch=100
    time_to_clutch=300
    time_in_neutral=0
  }
  ; Inertia of engine parts
  inertia
  {
    ; Rotational inertia of engine parts (kg*m^2)
    engine=0.53
    final_drive=1.05
  }
  braking_coeff=1.94
  friction=0
  ;sample=engine.wav
  ;sample_rpm=3200
}
clutch
{
   max_torque=1300
}
handbrakes
{
	wheels=23
}
gearbox
{
   gears=6
   ; [reverse]
   gear0
   {
      ratio=-3.22
      inertia=0.5
   }
   gear1
   {
      ratio=3.37
      inertia=0.05
   }
   gear2
   {
      ratio=1.99
      inertia=0.04
   }
   gear3
   {
      ratio=1.33
      inertia=0.04
   }
   gear4
   {
      ratio=1
      inertia=0.19
   }
   gear5
   {
      ratio=0.67
      inertia=0.0.5
   }
   ; [backward compatibility w/0.49]
   end_ratio=3.55
}
differential
{
  type=1
  ratio=3.55
  inertia=0.05
  locking_coefficient=0.05
}
;------------ New Audio Parameters ------------------
audio
{
  acc_all
  {
    attack=1000
    decay=1000
  }
  accelerate_out
  {
    smp0
    {
      volume=2
      sample=sounds\Idle.wav
      min=1
      max=1000
      natural=1100
      attack=250
      decay=250
    }
    smp1
    {
      volume=3
      sample=sounds\On_3000.wav
      min=1100
      max=2801 
      natural=2800
      attack=1000
    }
    smp2
    {
      volume=4
      sample=sounds\On_5000.wav
      min=3000
      max=10500 
      natural=3500
      attack=2000
    }
    smp3
    {
      volume=0.3
      sample=engine.wav
      min=2000
      max=8001 
      natural=4700
      attack=500
      decay=500
    }
  }
 decelerate_out
    {
     smp0
    {
      volume=1.5
      sample=sounds\Idle.wav
      min=1
      max=1000
      natural=1100
      attack=500
      decay=500
    }
    smp1
    {
      volume=2
      sample=sounds\Off_3000.wav
      min=1800
      max=1801 
      natural=3000
      attack=2000
      decay=2000
    }
    smp2
    {
      volume=2
      sample=sounds\Off_5000.wav
      min=5000
      max=5001 
      natural=3500
      attack=2000
      decay=2000
    }
  }
  accelerate_in
  {
    smp0
    {
      volume=1
      sample=sounds\Idle.wav
      min=1
      max=1000
      natural=1100
      attack=250
      decay=250
    }
    smp1
    {
      volume=2
      sample=sounds\On_3000.wav
      min=1100
      max=2801 
      natural=2800
      attack=1000
    }
    smp2
    {
      volume=1
      sample=sounds\On_5000.wav
      min=4000
      max=10500 
      natural=3500
      attack=2000
    }
  }
  ;decelerate_in
  {
    smp0
    {
      volume=1
      sample=sounds\Idle.wav
      min=1
      max=1000
      natural=800
      attack=250
      decay=250
    }
    smp1
    {
      volume=0.4
      sample=sounds\On_3000.wav
      min=1100
      max=2801 
      natural=2800
      attack=1000
    }
    smp2
    {
      volume=0.4
      sample=sounds\On_5000.wav
      min=4000
      max=10500 
      natural=3500
      attack=2000
    }
    smp3
    {
      volume=0.05
      sample=charger.wav
      min=500
      max=8001 
      natural=1500
      attack=300
      decay=300
    }
  }
}
aero
{
  body
  {
    center=0 0 0
    cx=0.34
    area=1.6
  }
  wings=0
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=32000
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=32000
}
}
susp_front
{
  y=-0.2
  z=1.28
  restlen=0.43
  minlen=0.1
  maxlen=0.45
  k=30000
  bump_rate=5500
  rebound_rate=5500
  anti_pitch=0.4
  roll_center
  {
    x=0
    y=-0.7
    z=0
  }
}
susp_rear
{
  y=-0.2
  z=-1.305
  restlen=0.4
  minlen=0.1
  maxlen=0.45
  k=22500
  bump_rate=5000
  rebound_rate=4500
  anti_pitch=0.1
  roll_center
  {
    x=0
    y=-0.55
    z=0
  }
}
susp0~susp_front
{
  x=0.78
}
susp1~susp_front
{
  x=-0.78
}
susp2~susp_rear
{
  x=0.79
}
susp3~susp_rear
{
  x=-0.79
}
tire_model_front
{
  damping_predict_lat=1.0
  damping_predict_long=1.0
}
tire_model_rear
{
  damping_predict_lat=1.0
  damping_predict_long=1.0
}
pacejka
{
  a0=1.3
  a1=-29
  a2=1650
  a3=1632
  a4=11
  a5=0
  a6=-0.04
  a7=-0.4
  a8=0.003
  a9=-0.002
  a10=0.16
  a111=-8; 0
  a112=0
  a12=17.8; 0
  a13=0
  b0=1.57
  b1=-48
  b2=1400
  b3=6.8
  b4=444
  b5=0
  b6=0.0034
  b7=-0.008
  b8=0.66
  b9=0
  b10=0
  b11=0
  b12=0
  c0=2.46
  c1=-2.77
  c2=-2.9
  c3=-0
  c4=-3.6
  c5=-0.1
  c6=0.0004
  c7=0.22
  c8=-2.31
  c9=3.87
  c10=0.0007
  c11=-0.05
  c12=-0.006
  c13=0.33
  c14=-0.04 
  c15=-0.4
  c16=0.092
  c17=0.0114
  optimal_slipratio=0.2
  optimal_slipangle=0.139626
}
wheel_front
{
  y=0
  z=0
  steering=1
  powered=0
  camber=0
  lock=55
  ackerman=1.31
  mass=18
  inertia=1.04
  radius=0.35
  rolling_coeff=0.015
  max_braking=2500
  braking_factor=1
  tire_rate=195000
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  y=0
  z=0
  steering=0
  powered=1
  camber=0
  mass=18
  inertia=1.04
  radius=0.35
  rolling_coeff=0.015
  max_braking=750
  braking_factor=0.6
  max_handbrake_torque=3000
  tire_rate=150000
  pacejka~pacejka
  {
    optimal_slipratio=0.11
    optimal_slipangle=0.18
  }
}
wheel0~wheel_front
{
	x=0
	ackerman=1.15
	toe=-0
	camber=0.007	;-0.6
	model
	{
		file=lf.dof
	}
	model_brake
	{
		file=flb.dof
	}
}

wheel1~wheel_front
{
	x=0
	ackerman=-1.15
	toe=0
	camber=0.007
	model
	{
		file=rf.dof
	}
	model_brake
	{
		file=frb.dof
	}
}

wheel2~wheel_rear
{
	x=0
	toe=-0.21	;toe in, goes to out under bump like M3 Z axle
	camber=-0.588	;-1.5
	model
	{
		file=lf1.dof
	}
	model_brake
	{
		file=flb.dof
	}
}

wheel3~wheel_rear
{
	x=0
	toe=0.21	;toe in, goes to out under bump like M3 Z axle
	camber=-0.588
	model
	{
		file=rf1.dof
	}
	model_brake
	{
		file=frb.dof
	}
}

;----------------------driving aids----------------------
abs
{
  enable=1
  max_velocity_ratio=1.09 
  min_velocity_ratio=1.08
  min_velocity=1
}
traction_control
{
  	enable=0
  	min_velocity=1.667
  	max_velocity_ratio=1.050
  	min_velocity_ratio=1.300

}


camera0
{
  offset
  {
    x=0.000000
    y=-0.600000
    z=0.300000
  }
  angle
  {
    x=-0.555556
    y=180.000000
    z=0.000000
  }
  name=Hood
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
}
camera1
{
  offset
  {
    x=0.38
    y=-0.35
    z=-0.35000
  }
  angle
  {
    x=2.500002
    y=180.000000
    z=0.000000
  }
  name=Driver
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  fov=60
  model=1
  view=1
}
camera2
{
  offset
  {
    x=0.000000
    y=0.004167
    z=2.590002
  }
  angle
  {
    x=0.166667
    y=180.000000
    z=0.045139
  }
  name=Bumber
  follow
  {
    pitch=0
    yaw=1
    roll=1
  }
}
camera3
{
  follow
  {
    pitch=
    yaw=1
    roll=
  }
  offset
  {
    x=0.000000
    y=0.012501
    z=-8.860028
  }
  angle
  {
    x=10.833322
    y=-180.000000
    z=0.000000
  }
  name=Behind
  fov=40
}
camera4
{
  offset
  {
    x=0.000000
    y=-0.012501
    z=-6.160028
  }
  angle
  {
    x=10.833322
    y=0.000000
    z=0.000000
  }
  name=Front
  follow
  {
    pitch=
    yaw=1
    roll=
  }
}
camera5
{
  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
}
camera6
{
  follow
  {
    pitch=
    yaw=1
    roll=
  }
  offset
  {
    x=0.050000
    y=-0.295829
    z=-4.805018
  }
  angle
  {
    x=14.166677
    y=-90.000000
    z=0.173612
  }
  name=Side
}
camera7
{
  offset
  {
    x=-0.476565
    y=0.008330
    z=-6.395005
  }
  angle
  {
    x=7.083300
    y=-143.576736
    z=3.298599
  }
  follow
  {
    pitch=0
    yaw=1
    roll=1
  }
  name=Side
  fov=35
}
camera8
{
  follow
  {
    pitch=
    yaw=1
    roll=
  }
  offset
  {
    x=-0.143748
    y=-0.568743
    z=-2.039991
  }
  angle
  {
    x=7.916664
    y=-319.236206
    z=-1.128471
  }
}
camera9
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=-0.054685
    y=-0.3
    z=-4.155004
  }
  angle
  {
    x=16.527781
    y=-206.735992
    z=-0.434028
  }
  name=Inside
}
