car
{
  name=Lancia Stratos Gr4
  year=1974
  credits=by loungekid(BaseMachine:Dino 246 GT), Model by TDU2(GTA:SA Converting to Automan), Converted by NoilKuroda
  comments=Tipo 236E - 2418cc DOHC V6, 284PS(209kW)/7800rpm, 275Nm/5500rpm
  id=lancia_stratos_gr4
  version=050b6
  wheels=4
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2.2
    length=5
    offset_z=0.0
  }
  cg
  {
    x=0
    y=0
    z=-0.2
  }
}
body
{
  mass=870
  restitution_coeff=0.1
  inertia
  {
    x=1500
    y=1600
    z=190
  }
  x=0
  y=0
  z=0
  width=1.2
  height=0.8
  length=3.8
  manual_box=1
  cockpit_start=1
  cockpit_length=1
  model
  {
    file=stratos_gr4.dof
  }
  model_incar
  {
    file=stratos_gr4.dof
  }
  model_light_r
  {
    ;file=lightcovers.dof
  }
  model_light_l
  {
    ;file=
  }
  model_braking_l
  {
    file=
  }
}
steer
{
  x=0.260
  y=0.08
  z=0.43
  radius=10
  xa=20
  lock=120
  model
  {
    file=movsteer.dof
  }
}
engine
{
  mass=0
  idle_rpm=780
  max_rpm=9000
  max_torque=1
  curve_torque=torque.crv
  autoclutch_rpm=800
  starter=1.0
  starter_torque=45
  start_stalled=1
  stall_rpm=550
  start_rpm=950
  reaction=1.3
  shifting
  {
    automatic=0
    shift_up_rpm=6500
    shift_down_rpm=3500
    time_to_declutch=400
    time_to_clutch=300
  }
  inertia
  {
    engine=0.2
    final_drive=0.1
  }
  braking_coeff=2.1
  sample=dino_mid.wav
  sample_rpm=3200
}
gearbox
{
  gears=6
  gear0
  {
    ratio=-3.300
    inertia=0.2
  }
  gear1
  {
    ratio=3.143
    inertia=0.1
  }
  gear2
  {
    ratio=2.240
    inertia=0.08
  }
  gear3
  {
    ratio=1.762
    inertia=0.06
  }
  gear4
  {
    ratio=1.417
    inertia=0.04
  }
  gear5
  {
    ratio=1.154
    inertia=0.02
  }
  end_ratio=4.44
}
clutch
{
  max_torque=280
}
handbrakes
{
  wheels=23
}
differential
{
  type=1
  ratio=3.42
  inertia=0.05
  locking_coeff=70
}
aero
{
  body
  {
    center=0 0 0
    cx=0.31		
    area=2.2
  }
  wings=1
  wing0
  {
    name=overall body lift
    span=1
    cord=1
    coeff_drag=0
    coeff_down=-9.5
    center=0 0 0.135
    angle=0
    angle_offset=1
  }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    ;k=40000
    k=8000
  }
  arb1
  {
    susp_left=2
    susp_right=3
    ;k=18000
    k=3000
  }
}
susp_front
{
  y=0.033
  z=1.080
  anti_pitch=0
  restlen=0.38
  minlen=0.10
  maxlen=1.5
  k=20000
  bump_rate=5300
  rebound_rate=5000
  radius=.04
  slices=5
  roll_center
  {
    x=0
    y=-0.45
    z=0
  }
}
susp_rear
{
  y=0.043
  z=-1.231
  anti_pitch=0
  restlen=0.38
  minlen=0.10
  maxlen=1.5
  k=26000
  bump_rate=6000
  rebound_rate=5800
  radius=.04
  slices=5
  roll_center
  {
    x=0
    y=-0.38
    z=0
  }
}
susp0~susp_front
{
  x=0.76
}
susp1~susp_front
{
  x=-0.76
}
susp2~susp_rear
{
  x=0.83
}
susp3~susp_rear
{
  x=-0.83
}
tire_model_front
{
  damping_predict_lat=0.394
  damping_predict_long=0.011
}
tire_model_rear
{
  damping_predict_lat=0.361
  damping_predict_long=0.009
}
pacejka
{
  ; Lateral force
  a0=1.3
  a1=-49
  a2=1216
  a3=1632
  a4=11
  a5=0.006
  a6=-0.04
  a7=-0.4
  a8=0.003
  a9=-0.002
  a10=0.16
  a111=-11
  a112=0.045
  a12=0.17
  a13=-23.5
  ; Longitudinal force
  b0=1.57
  b1=-48
  b2=1338
  b3=6.8
  b4=444
  b5=-0.654
  b6=0
  b7=-0.008
  b8=0.66
  b9=0
  b10=0
  b11=0
  b12=0
  ; Aligning moment
  c0=2.20000
  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.25
  optimal_slipangle=0.11
}
wheel_front
{
  y=0
  z=0
  max_braking=1000
  braking_factor=1
  steering=1
  lock=48
  mass=12.5
  inertia=0.7
  radius=0.3
  width=0.185
  slices=18
  friction_road=1.7
  tire_rate=290000
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  y=0
  z=0
  max_braking=700
  braking_factor=1
  steering=0
  powered=1
  mass=12.5
  inertia=0.78
  radius=0.3
  width=0.185
  slices=18
  friction_road=1.7
  max_handbrake_torque=2500
  tire_rate=290000
  pacejka~pacejka
  {
    a0=1.3
    a1=-49
    a2=1216
    a3=1632
    b0=1.57
    b1=-48
    b2=1338
    b4=444
    c1=-2.77
    c3=-0
    c4=-3.6
    optimal_slipratio=0.25
    optimal_slipangle=0.11
  }
}
wheel0~wheel_front
{
  x=0
  camber=-0.5
  toe=0
  ackerman=1.1
  model
  {
    file=wheel_front_left.dof
  }
  model_brake
  {
    ;file=flb.dof
  }
}
wheel1~wheel_front
{
  x=0
  camber=-0.5
  toe=0
  ackerman=-1.1
  model
  {
    file=wheel_front_right.dof
  }
  model_brake
  {
    ;file=frb.dof
  }
}
wheel2~wheel_rear
{
  x=0
  camber=-1.5
  ;toe=-1
  toe=0
  model
  {
    file=wheel_rear_left.dof
  }
  model_brake
  {
    ;file=rlb.dof
  }
}
wheel3~wheel_rear
{
  x=0
  camber=-1.5
  ;toe=1
  toe=0
  model
  {
    file=wheel_rear_right.dof
  }
  model_brake
  {
    ;file=rrb.dof
  }
}
camera0
{
  offset
  {
    x=0.042187
    y=-0.733335
    z=0.624988
  }
  angle
  {
    x=15.083337
    y=181.041687
    z=0.173611
  }
  name=Hood
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  fov=75
}
camera1
{
  offset
  {
    x=0.024999
    y=-0.468751
    z=0.240001
  }
  angle
  {
    x=9.694431
    y=359.895874
    z=0.347223
  }
  name=OffsetChase
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  fov=70
}
camera2
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.340000
    y=-0.368750
    z=-0.190001
  }
;  angle
;  {
;    x=6.805545
;    y=184.861008
;    z=2.517363
;  }
  angle
  {
    x=3.805545
    y=180
    z=0
  }
  name=Inside
  model=1
  wheels=1
  view=2
  fov=70
}
camera3
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.000000
    y=-0.300000
    z=2.300000
  }
  angle
  {
    x=8.000000
    y=180.000000
    z=0.000000
  }
  name=Bumper
  model=2
  wheels=4
  view=2
  fov=75
}
camera4
{
  offset
  {
    x=-0.360939
    y=0.331252
    z=-3.044997
  }
  angle
  {
    x=14.833335
    y=115.937538
    z=4.763889
  }
  name=GeneralLooseExterior
  fov=60
}
camera5
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0.545313
    y=0.235417
    z=-3.469999
  }
  angle
  {
    x=9.583332
    y=-47.986057
    z=3.819446
  }
  name=LowFrontAngle
  fov=60
}
camera6
{
  follow
  {
    pitch=1
    yaw=1
    roll=0
  }
  offset
  {
    x=0.042187
    y=0.514583
    z=-3.265000
  }
  angle
  {
    x=16.805557
    y=-360.173615
    z=-0.260417
  }
  fov=65
  name=FrontView
}
camera7
{
  offset
  {
    x=0.950000
    y=0.180833
    z=-0.380000
  }
  angle
  {
    x=8.583332
    y=-165.687546
    z=3.300000
  }
  follow
  {
    pitch=0
    yaw=1
    roll=1
  }
  fov=60
  name=FrontWheel
}
camera8
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=-0.146874
    y=-0.089584
    z=-1.635000
  }
  angle
  {
    x=14.888898
    y=-197.083435
    z=2.864583
  }
  name=RearSeatBack
  model=1
  wheels=1
  fov=75
}
camera9
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.889375
    y=0.214583
    z=-0.440000
  }
  angle
  {
    x=8.166660
    y=20.263891
    z=7.500000
  }
  name=RearWheel
  fov=65
}
fov=70
; Type of model to use; 0=outside, 1=inside, 2=none
model=0
wheels=0
view=0
name=Inside Driver
;	------------------ 5.1 ALPHA AUDIO COMPATABILTY -----------------
audio
{
  acc_all
  {
    attack=100
    decay=100
  }
  dec_all
  {
    attack=0
    decay=100
  }
  accelerate_out
  {
    ; Master volume for this set (0..1)
    volume=0.9
    smp0~audio.acc_all
    {
      sample=dino_idle.wav
      min=0
      max=980
      ; Sample's actual natural frequency
      natural=780
      minvol=0.75
      maxvol=1
    }
    smp1~audio.acc_all
    {
      sample=Nissan/VG30/off1.wav
      min=0
      max=980
      ; Sample's actual natural frequency
      natural=780
      minvol=0.75
      maxvol=1
    }
    smp2~audio.acc_all
    {
      sample=dino_mid.wav
      min=0
      max=12000
      natural=3200
      minvol=.5
      maxvol=1
      volume_scale=0.95
    }
    smp3~audio.acc_all
    {
      sample=Nissan/VG30/on4.wav
      min=0
      max=12000
      natural=3200
      minvol=.5
      maxvol=1
      volume_scale=0.95
    }
    smp4~audio.acc_all
    {
      sample=dino_mid.wav
      min=3200
      max=12000
      natural=6400
      minvol=.5
      maxvol=1
      volume_scale=0.95
    }
    smp5~audio.acc_all
    {
      sample=Nissan/VG30/on6.wav
      min=3200
      max=12000
      natural=6400
      minvol=.5
      maxvol=1
      volume_scale=0.95
    }
   }
   wind
   {
      smp0
      {
         volume=2.5
         sample=GearWhine/gearlow.wav
         pitch_scale=.5
         pitch_offset=.7
         ; Speeds in m/s
         min=.5
         max=3499
         natural=22
      }
      smp1
      {
         volume=3.5
         sample=GearWhine/gearhigh.wav
         pitch_scale=.5
         pitch_offset=.7
         ; Speeds in m/s
         min=3500
         max=9999
         natural=22
      }
   }
}
