car
{
  name=Peugeot 307 2.0HDi
  year=2003
  id=307v1
  credits=model by undoz, Edit by SHM94
  comments=307 ini by Mr Whippy, reedit ini by SHM94
  version=050b6
  wheels=4
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2.12
    length=4.20
    offset_z=0.0
  }
  cg
  {
    x=0
    y=0.5
    z=0.2025
  }
}
body
{
  mass=1302
  restitution_coeff=0.1
  inertia
  {
    x=2030
    y=2257
    z=650
  }
  width=2.12
  height=1
  length=4.20
  manual_box=1
  cockpit_start=1
  cockpit_length=1
  model
  {
    file=body.dof
  }
  model_incar
  {
    file=body.dof
  }
  model_braking_l
  {
    file=stop.dof
  }
}
steer
{
  x=0.375
  y=0.78
  z=0.49
  xa=26
  lock=200
  model
  {
    file=volan.dof
  }
}
engine
{
  size=100
  mass=0
  max_rpm=5000
  idle_rpm=950
  curve_torque=HDi.crv
  max_torque=190
  autoclutch_rpm=1150
  starter=1
  starter_torque=65
  start_stalled=1
  stall_rpm=500
  start_rpm=850
  reaction=0
  shifting
  {
    automatic=0
    shift_up_rpm=4500
    shift_down_rpm=1201
    time_to_declutch=200
    time_to_clutch=200
  }
  ; Inertia of engine parts
  inertia
  {
    ; Rotational inertia of engine parts (kg*m^2)
    engine=0.135
    final_drive=0.05
  }
  braking_coeff=0.85
  rolling_friction_coeff=0
  friction=0
  sample=engine.wav
  sample_rpm=5000
}
gearbox
{
  gears=6
  gear0
  {
    ratio=-3.5
    inertia=0.1
  }
  gear1
  {
    ratio=3.42
    inertia=0.1
  }
  gear2
  {
    ratio=2.13
    inertia=0.08
  }
  gear3
  {
    ratio=1.35
    inertia=0.06
  }
  gear4
  {
    ratio=1.00
    inertia=0.04
  }
  gear5
  {
    ratio=0.8
    inertia=0.02
  }
  end_ratio=3.6
}
clutch
{
  max_torque=220
}
handbrakes
{
  wheels=01
}
differential
{
  count=1
  diff0
  {
    type=1
    ratio=3.6
    inertia=0
    locking_coefficient=5
  }
}
aero
{
  body
  {
    center=0 0 0
    cx=0.31
    area=2.1
  }
  wings=0
}
antirollbar
{
  count=1
  arb0
  {
    susp_left=2
    susp_right=3
    k=17500
  }
  arb1
  {
    susp_left=0
    susp_right=1
    k=0
  }
}
susp_front
{
  y=0.55
  z=-1.454
  restlen=0.39
  minlen=0.1
  maxlen=0.50
  k=19000
  bump_rate=4000
  rebound_rate=3000
  anti_pitch=0.0
  roll_center
  {
    x=0
    y=0.1
    z=0
  }
}
susp_rear
{
  y=0.55
  z=1.304
  restlen=0.42
  minlen=0.1
  maxlen=0.50
  k=25000
  bump_rate=4000
  rebound_rate=4000
  anti_pitch=0.0
  roll_center
  {
    x=0
    y=0.05
    z=0
  }
}
susp0~susp_front
  {
    x=0.8
  }
susp1~susp_front
  {
    x=-0.8
  }
susp2~susp_rear
  {
    x=0.8
  }
susp3~susp_rear
  {
    x=-0.8
  }

tire_model_front
{
  damping_predict_lat=0.591
  damping_predict_long=0.030
}
tire_model_rear
{
  damping_predict_lat=0.507
  damping_predict_long=0.024
}
pacejka
{
; Lateral force
a0=1.6
a1=-35
a2=1400
a3=2000
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=-85
b2=1500
b3=23.3
b4=325
b5=0.05
b6=0
b7=0.055
b8=-0.024
b9=0.014
b10=0.26
b11=-86
b12=350
c0=2.2
c1=-3.9
c2=-3.9
c3=-1.26
c4=-8.2
c5=0.025
c6=0.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.10
optimal_slipangle=0.166
}
wheel_front
{
  y=0
  z=0
  ackerman=0
  steering=0
  lock=0
  powered=0
  mass=15
  inertia=0.9
  radius=.3184
  rolling_coeff=0.015
  friction_road=1.7
  max_braking=300
  braking_factor=1
  tire_rate=220000
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  y=0
  z=0
  ackerman=1.15
  steering=1
  lock=55
  powered=1
  mass=15
  inertia=0.9
  radius=.3184
  rolling_coeff=0.015
  friction_road=1.7
  max_braking=1750
  braking_factor=1
  tire_rate=220000
  pacejka~pacejka
 {
  optimal_slipratio=0.10
  optimal_slipangle=0.15 
 }
}
wheel0~wheel_front
{
  x=0.05
  toe=-1
  camber=-0.1
  model
  {
    file=lf.dof
  }
  model_brake
  {
    file=brake_lf.dof
  }
}
wheel1~wheel_front
{
  x=-0.05
  toe=1
  camber=-0.1
  model
  {
    file=rf.dof
  }
  model_brake
  {
    file=brake_rf.dof
  }
}
wheel2~wheel_rear
{
  x=0.05
  toe=0.5
  camber=-0.25
  model
  {
    file=lf.dof
  }
  model_brake
  {
    file=brake_lr.dof
  }
}
wheel3~wheel_rear
{
  x=-0.05
  toe=-0.5
  camber=-0.25
  model
  {
    file=rf.dof
  }
  model_brake
  {
    file=brake_rr.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
  view=0
}
camera2
{
  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
  view=0
	
}
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
  {
    velocity=0.3
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0.000002
    y=-1.218743
    z=0.705000
  }
  angle
  {
    x=0.0
    y=-179.652771
    z=0.000000
  }
  fov=75
}
camera7
{
  follow
  {
    velocity=0.3
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0.000002
    y=-1.218743
    z=-0.905000
  }
  angle
  {
    x=0.0
    y=-179.652771
    z=0.000000
  }
  fov=75
  model=1
  wheels=0
  view=1
}

camera8
{
  follow
  {
    velocity=0.3
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0.000002
    y=-1.218743
    z=-0.205000
  }
  angle
  {
    x=6.944441
    y=-361.249451
    z=0.000000
  }
  fov=75
  model=1
  wheels=0
  view=1
}
camera9
{
  follow
  {
    velocity=0.3
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0.387125
    y=-1.185833
    z=-0.105000
  }
  angle
  {
    x=0.166675
    y=-179.652771
    z=0.000000
  }
  fov=70
  ; Type of model to use; 0=outside, 1=inside, 2=none
  model=1
  wheels=0
  view=1
  name=Inside Driver
}
audio
{
  skid
  {
    sample=skid.wav
  }
  acc_all
  {
    attack=1000
    decay=1000
  }
  acc_turbo
  {
   attack=2000
   decay=2000
  }
  accelerate_out
  {
    volume=2.0
    smp0~audio.acc_all
    {
      sample=idle.wav
      min=1
      max=2300
      attack=1200
      decay=1000
      natural=2300
      volume=0.21
    }
    smp1~audio.acc_all
    {
      sample=low.wav
      min=1000
      max=4600
      attack=1000
      decay=1000
      natural=11000
      volume=0.15
    }
    smp2~audio.acc_all
    {
      sample=mid.wav
      min=2000
      max=3000
      attack=1000
      decay=1000
      natural=21000
    }
    smp3~audio.acc_all
    {
      sample=hi.wav
      min=3000
      max=5000
      attack=1000
      decay=1000
      natural=32000
    }
    smp4~audio.acc_turbo
    {
     sample=turbo.wav
     min=1300
     max=5800
     natural=1800
     volume=0.18
    }
  }
}