car
{
  name=Renault Alpine A310 V6
  year=1981
  credits=Created by Beni C, ini by Cubits
  comments=v0.1 Beta Audio Test
  id=Renault_Alpine_A310_V6
  version=090b
  wheels=4
  skid
  {
    sample=skid.wav
  }
  cg
  {
    x=0	
    y=0
    z=.0336
  }
}
graphics
{
  intensity=1
  shadow
  {
  }
	generic
	{
		model0
                {
                        file=bancos.dof
                }
                model1
                {
                        file=capot.dof
                }
                model2
                {
                        file=choques_frente.dof
                }
                model3
                {
                        file=choques_tras.dof
                }
                model4
                {
                        file=cocpit.dof
                }
                model5
                {
                        file=mala.dof
                }
                model6
                {
                        file=motor.dof
                }
                model7
                {
                        file=porta_condutor.dof
                }
                model8
                {
                        file=porta_passageiro.dof
                }
                model9
                {
                        file=

    		}
	}
}

audio
{
  ; All car audio
  skid
  {
    sample=skid.wav
  }
  ; Engine has 3 sets of sounds: accelerate, decelerate and inboard
  acc_all
{
attack=1000
decay=1000
}
accelerate_out
{
volume=1
smp0~audio.acc_all
{
sample=Acc-Idle.wav
min=0
max=860
attack=1000
decay=1000
natural=2000
}
smp1~audio.acc_all
{
sample=Acc-4k.wav
min=860
max=6500
attack=1500
decay=1000
natural=4000
}
smp2~audio.acc_all
{
sample=Acc-High-1.wav
min=6000
max=9000
attack=5100
decay=1200
natural=6000
}
smp3~audio.acc_all
{
sample=Acc-High-2.wav
min=6000
max=7000
attack=6500
decay=1500
natural=6000
}
}
decelerate_out
{
volume=.5
smp0~audio.acc_all
{
sample=Dec-Idle.wav
min=0
max=2100
attack=5000
decay=4000
natural=2000
}
smp1~audio.acc_all
{
sample=Dec-4k.wav
min=1100
max=9000
attack=1500
decay=1500
natural=4000
}
smp2~audio.acc_all
{
sample=Dec-Whine.wav
min=9000
max=12000
attack=8500
decay=8500
natural=3000
}
}
  gearwhine
  {
    ; Master volume for this set
    volume=.6
	; Pitch input is shaft rotational velocity in radians/sec
	pitch_scale=0.001
	pitch_offset=0
    ; Acceleration; outside of the car
    smp0~audio.acc_all
    {
      ; All engine samples depend on engine RPM
      sample=gearwhine.wav
      min=0
      max=9000
      ; RPM of used sample
      natural=300
    }
  }
  }wind
  {
    volume=3
    ; Volume determination
    volume_scale=0.1
    volume_offset=0
    ; Pitch determination
    pitch_scale=0
    pitch_offset=0
    smp0
    {
      sample=wind.wav
      ; Speeds in m/s
      min=0
      max=9999
      natural=4000
    }
}
}
body
{
  mass=1100
  restitution_coeff=0.3
  inertia
  {
    x=1800
    y=2000
    z=400
  }
  model
  {
    file=body.dof
  }
  model_incar
  {
    ;file=body.dof
  }
  model_braking_l
  {
    file=brakelights.dof
  }
  width=1.70
  height=0.650
  length=3.850
  manual_box=1
}
steer
{
  x=0.34
  y=0.15
  z=0.64
  radius=10
  xa=15.9
  lock=1080
  model
  {
    file=volante.dof
  }
}
engine
{
  mass=0
  max_rpm=9500
  idle_rpm=850
  stall_rpm=350
  start_rpm=850
  autoclutch_rpm=1000
  starter=1
  starter_torque=60
  curve_torque=torque.crv
  max_torque=204
  start_stalled=0
  reaction=0
  shifting
  {
    automatic=0
    shift_up_rpm=5500
    shift_down_rpm=1800
    time_to_declutch=370
    time_to_clutch=370
  }
  inertia
  {
    engine=0.31
    final_drive=0.12
  }
  braking_coeff=1.62
  rolling_friction_coeff=0.7
  sample=engine.wav
  sample_rpm=3000
}
gearbox
{
  gears=6
  gear0
  {
    ratio=-3.28
    inertia=0.9
  }
  gear1
  {
    ratio=3.36
    inertia=0.13
  }
  gear2
  {
    ratio=2.06
    inertia=0.09
  }
  gear3
  {
    ratio=1.38
    inertia=0.07
  }
  gear4
  {
    ratio=1.06
    inertia=0.05
  }
  gear5
  {
    ratio=0.82
    inertia=0.04
    }
}
clutch
{
  max_torque=260
}
handbrakes
{
  wheels=23
}
differential
{
  type=1
  ratio=3.44
  locking_coefficient=50
}
aero
{
  body
  {
    center=0 0 0
    cx=0.38
    area=1.6
  }
  wings=2
  wing0
  {
    name=FrontDam
    span=1.4
    cord=0.18
    coeff_drag=0
    coeff_down=0
    center=0 -0.2 2.3
    angle=10
    angle_offset=0
  }
  wing1
  {
    name=RearSpolier
    span=.9
    cord=.08
    coeff_drag=0
    coeff_down=0
    center=0 0.4 -1.55
    angle=12
    angle_offset=0
  }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=8000
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=5000
  }
}
susp_front
{
  y=.3
  z=1.41
  restlen=.58
  minlen=.3
  maxlen=.62
  anti_pitch=0.2
  k=31000
  bump_rate=6000
  rebound_rate=6200
  roll_center
  {
    x=0
    y=-0.34
    z=0
  }
}
susp_rear
{
  y=.28
  z=-.81
  restlen=.54
  minlen=.3
  maxlen=.6
  anti_pitch=0.2
  k=40000
  bump_rate=6500
  rebound_rate=6800
  roll_center
  {
    x=0
    y=-0.28
    z=0
  }
}
susp0~susp_front
  {
    x=0.74
  }
susp1~susp_front
  {
    x=-0.74
  }
susp2~susp_rear
  {
    x=.74
  }
susp3~susp_rear
  {
    x=-.74
  }
tire_model
{
  relaxation_length_lat=0.91
  relaxation_length_long=.091
  damping_speed=0.15
  damping_coefficient_lat=0.75
  damping_coefficient_long=1.5
}
pacejka_front
{
a0=1.3
a1=-40
a2=1150
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
b0=1.57
b1=-48
b2=1130
b3=6.8
b4=444
b5=0.3
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.18
optimal_slipangle=0.1733
}
pacejka_rear
{
a0=1.6
a1=-41
a2=1170
a3=2180
a4=10
a5=0.014
a6=-0.023
a7=0.67
a8=-0.051
a9=-0.018
a10=-0.06
a111=-2.35
a112=-0.37
a12=4.3
a13=-14.9
b0=1.6
b1=-52
b2=1155
b3=26.7
b4=255
b5=0.3
b6=-0.000093
b7=0.05
b8=0.49
b9=0
b10=0
b11=0
b12=0
c0=2.53
c1=-3.
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.23
optimal_slipangle=0.156
}
wheel_front
{
  y=0
  z=0
  steering=1
  powered=0
  camber=-2.5
  lock=40
  ackerman=1
  mass=14
  inertia=1
  radius=.284
  rolling_coeff=0.0175
  max_braking=880
  braking_factor=1
  tire_rate=160000
  pacejka~pacejka_front
  {
  }
}
wheel_rear
{
  y=0
  z=0
  steering=0
  powered=1
  camber=-2.5  
  mass=20
  inertia=1.3
  radius=.284
  rolling_coeff=0.019
  max_braking=750
  braking_factor=1
  tire_rate=160000
  pacejka~pacejka_rear
  {
  }
}
wheel0~wheel_front
{
  x=0
  toe=.25
  model
  {
    file=left.dof
  }
}
wheel1~wheel_front
{
  x=0
  toe=-.25
  model
  {
    file=right.dof
  }
}
wheel2~wheel_rear
{
  x=0
  toe=-.5
  model
  {
    file=left.dof
  }
}
wheel3~wheel_rear
{
  x=0
  toe=.5
  model
  {
    file=right.dof
  }
}
camera0
{
  offset
  {
    x=0
    y=-0.6
    z=-5.5
  }
  angle
  {
    x=10
    y=180
    z=0
  }
  name=Chase Far
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
}
camera1
{
  offset
  {
    x=0.42
    y=-0.5
    z=0.42
  }
  angle
  {
    x=5
    y=180
    z=0
  }
  name=DriverLeft
  fov=65
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
}
camera2
{
  offset
  {
    x=-0.42
    y=-0.5
    z=0.42
  }
  angle
  {
    x=5
    y=180
    z=0
  }
  name=DriverRight
  fov=65
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
}
camera3
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0
    y=-0.6
    z=1.4
  }
  angle
  {
    x=4
    y=180
    z=0
  }
  name=Inside Right Driver
  fov=70
}
camera4
{
  offset
  {
    x=-0.4
    y=0.45
    z=-7.5
  }
  angle
  {
    x=16
    y=130
    z=0.25
  }
}
camera5
{
  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
}
camera6
{
  follow
  {
    pitch=1
    yaw=1
    roll=0
  }
  offset
  {
    x=-0.25
    y=0.75
    z=-4.8
  }
  angle
  {
    x=23
    y=-360
    z=20
  }
  fov=60
}
camera7
{
  offset
  {
    x=1.4
    y=0
    z=-0.6
  }
  angle
  {
    x=-2
    y=-160
    z=3
  }
  follow
  {
    pitch=0
    yaw=1
    roll=1
  }
  fov=60
}
camera8
{
  offset
  {
    x=0
    y=0
    z=-5
  }
  angle
  {
    x=2
    y=-130
    z=3
  }
  follow
  {
    pitch=0
    yaw=1
    roll=1
  }
  fov=65
}
camera9
{
  name=Driver
  fov=65
  model=0
  wheels=0
  view=2
  name=Inside
  fov=60

  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.38  ;leftright
    y=0.38  ;updown
    z=-0.20  ;frontback
  }
  offset_to
  {
    x=0
    y=0
    z=10
  }
  angle
  {
    x=1.000000
    y=180.000000
    z=0.000000
  }
  src
  {
    mass=4
    k=1200
    damping=160
    maxdist=0.11
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
