car
{
  name=VW T2 single-cab
  year=1963
  credits=FSR
  comments=
  id=vwt2
  version=050b6
  wheels=4
  front_area=1.75
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=1.6
    length=4.0
  }
  cg
  {
    x=0.0
    y=-0.36
    z=0.0
  }
}
body
{
  mass=860
  inertia
  {
    x=1500
    y=1600
    z=350
  }
  ;width=1.73
  ;height=1.22
  ;height=0.5
  ;length=4.0
  manual_box=0
  restitution_coeff=0.3
  model
  {
    file=body.dof
  }
}
steer
{
  x=0.332
  y=0.035
  z=0.29
  radius=19
  xa=5
  lock=1440
  ;linearity=0.20
  model
  {
    ;file=swheel.dof
  } 
}
engine
{
  mass=0
  max_rpm=7300
  idle_rpm=900
  curve_torque=torque.crv
  max_torque=0.85
  torque_reaction=0.5
  ;
  autoclutch_rpm=1200
  starter=1
  starter_torque=45
  stall_rpm=500
  start_rpm=1100
  start_stalled=0
  ;
  shifting
  {
    automatic=1
    shift_up_rpm=7200
    shift_down_rpm=3200
    time_to_declutch=350
    time_to_clutch=350
  }
  inertia
  {
    engine=0.15
  }
  braking_coeff=1.50
  rolling_friction_coeff=0
  friction=0
  ;
  sample=5k.wav
  sample_rpm=5000
}
gearbox
{
  gears=6
  gear0
  {
    ratio=-3.13
    inertia=0.9
  }
  gear1
  {
    ratio=3.18
    inertia=0.13
  }
  gear2
  {
    ratio=1.83
    inertia=0.09
  }
  gear3
  {
    ratio=1.26
    inertia=0.07
  }
  gear4
  {
    ratio=0.96
    inertia=0.05
  }
  gear5
  {
    ratio=0.76
    inertia=0.05
  }
  end_ratio=4.43
}
clutch
{
  max_torque=500
}
handbrakes
{
  wheels=01
}
differential
{
  type=1
  ratio=4.43
  locking_coeff=70
}
aero
{
  body
  {
    center=0 0 0
    cx=0.450
    area=1.75
  }
  wings=1
  wing0
  {
    name=Front Spoiler
    span=0.0
    cord=0.0
    coeff_drag=0.0
    coeff_down=10.0
    center=0 0.0 0.0
    angle=0
    angle_offset=0
  }
  wing1
  {
    name=Rear Spoiler
    span=0.0
    cord=0.0
    coeff_drag=0.0
    coeff_down=0.0
    center=0 0.0 0.0
    angle=0
    angle_offset=0
  }
}
susp_front
{
  y=-0.30
  z=1.13
  ;
  anti_pitch=0
  anti_lift=0
  anti_rise=0
  anti_squat=0
  ;
  restlen=.25
  minlen=0
  maxlen=1
  radius=.04
  slices=5
  ;
  k=42000
  bump_rate=3500
  rebound_rate=6500
  ;
  roll_center
  {
    x=0
    y=-0.55
    z=0
  }
}
susp_rear
{
  y=-0.4
  z=-1.23
  ;
  anti_pitch=0
  anti_lift=0
  anti_rise=0
  anti_squat=0
  ;
  restlen=.25
  minlen=0
  maxlen=1
  radius=.04
  slices=5
  ;
  k=20000  
  bump_rate=3250
  rebound_rate=5250
  ;
  roll_center
  {
    x=0
    y=-0.48
    z=0
  }
}
susp0~susp_front
  {
    x=0.58
  }
susp1~susp_front
  {
    x=-0.58
  }
susp2~susp_rear
  {
    x=0.68
  }
susp3~susp_rear
  {
    x=-0.68
  }
antirollbar 
{ 
  count=2 
  arb0 
  { 
    susp_left=0 
    susp_right=1 
    k=5000 
  } 
  { 
    susp_left=2 
    susp_right=3 
    k=0
  } 
}
tire_model
{
  relaxation_length_lat=0.91
  relaxation_length_long=.091
  damping_speed=1.45
  damping_coefficient_lat=0.542
  damping_coefficient_long=0.073
}
pacejka
{
  ; Lateral force
  a0=1.6
  a1=-38
  a2=1201
  a3=1614
  a4=8.7
  a5=0.014
  ;a6=-0.24
  a6=0
  a7=1.0
  a8=-0.03
  a9=-0.0013
  a10=-0.15
  a111=-8.5
  a112=-0.29
  a12=17.8
  a13=-2.4
  ; Longitudinal force
  b0=1.57
  b1=-48
  b2=1338
  b3=6.8
  b4=444
  b5=0.35
  b6=0.0034
  b7=-0.008
  b8=0.66
  b9=0
  b10=0
  b11=0
  b12=0
  ; Alligning Moment
  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
}
wheel_front
{
  x=0
  y=0
  z=0
  ;
  ackerman=1.5
  camber=0.5
  lock=70
  max_handbrake_torque=1500
  ;
  braking_factor=.74
  max_braking=1200
  ;
  inertia=2.3
  mass=15
  powered=0
  radius=0.29
  rolling_coeff=0.015
  tire_rate=250000
  steering=1
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  x=0
  y=0
  z=0
  ;
  camber=-6.4
  ;
  braking_factor=.26
  max_braking=1200
  ;
  inertia=2.3
  mass=15
  powered=1
  radius=0.29
  rolling_coeff=0.015
  tire_rate=250000
  steering=0
  pacejka~pacejka
  {
  }
}
wheel0~wheel_front
{
  toe=-0.33
  ;
  model
  {
    file=left.dof
  }
}
wheel1~wheel_front
{
  toe=0.33
  ;
  model
  {
    file=right.dof
  }
}
wheel2~wheel_rear
{
  toe=0
  ;
  model
  {
    file=left.dof
  }
}
wheel3~wheel_rear
{
  toe=0
  ;
  model
  {
    file=right.dof
  }
}
audio
{
	acc_all
	{
		attack=1000
		decay=1000
	}
	accelerate_out
	{
		volume=1
		smp0~audio.acc_all
		{
			sample=1k.wav
			min=0
			max=2000
			attack=0
			natural=1500
		}
		smp1~audio.acc_all
		{
			sample=3k.wav
			min=1500
			max=5000
			natural=3000
		}
		smp2~audio.acc_all
		{
			sample=5k.wav
			min=4000
			max=7000
			natural=5000
		}
		smp3~audio.acc_all
		{
			sample=7k.wav
			min=5000
			max=8000
			decay=0
			natural=7000
		}
	}
	decelerate_out
	{
		volume=0.6
		smp0~audio.acc_all
		{
			sample=1k.wav
			min=0
			max=2000
			attack=0
			natural=1500
		}
		smp1~audio.acc_all
		{
			sample=3k.wav
			min=1500
			max=5000
			natural=3000
		}
		smp2~audio.acc_all
		{
			sample=5k.wav
			min=4000
			max=7000
			natural=5000
		}
		smp3~audio.acc_all
		{
			sample=7k.wav
			min=5000
			max=8000
			decay=0
			natural=7000
		}
	}
	wind
	{
		volume=1
		; Volume determination
		volume_scale=0.5
		volume_offset=0
		; Pitch determination
		pitch_scale=0
		pitch_offset=0
		smp0
		{
			sample=wind_ext.wav
			; Speeds in m/s
			min=0
			max=100
			natural=50
		}
	}
}
;
; Cameras
; Type of model to use; 0=outside, 1=inside, 2=none
;
camera0
{
  offset
  {
    x=-0.000000
    y=-0.500000
    z=-6.000000
  }
  angle
  {
    x=15.0
    y=180.0
    z=0.0
  }
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  fov=75
}
camera1
{
  offset
  {
    x=0.350000
    y=-0.27000
    z=-0.450000
  }
  angle
  {
    x=3.000000
    y=-180.000000
    z=0.000000
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  fov=75
}

camera2
{
  offset
  {
    x=0.000000
    y=-0.500000
    z=2.00000
  }
  angle
  {
    x=0.000000
    y=180.000000
    z=0.000000
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  fov=75
}

camera3
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.000000
    y=0.000000
    z=-4.000000
  }
  angle
  {
    x=90.000000
    y=180.000000
    z=0.000000
  }
  name=Top
  fov=70
  model=0
  wheels=0
  view=0
}

camera4
{
  offset
  {
    x=0.000000
    y=-0.200000
    z=-0.70000
  }
  angle
  {
    x=0.000000
    y=120.000000
    z=0.000000
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  fov=50
  model=0
  wheels=0
  view=0
  name=Passenger Cam
}

camera5
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0.023438
    y=-0.600000
    z=-8.185002
  }
  angle
  {
    x=10.000000
    y=-90.000000
    z=5.000000
  }
  name=Side High
  fov=30
  model=0
  wheels=0
  view=0
}

camera6
{
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=0.650000
    y=-1.250000
    z=-5.500000
  }
  angle
  {
    x=10.000000
    y=-60.000000
    z=0.000000
  }
  name=Follow
  fov=55
  model=0
  wheels=0
  view=0
}

camera7
{
  offset
  {
    x=0.5000000
    y=-1.000000
    z=-3.250000
  }
  angle
  {
    x=-15.000000
    y=160.000000
    z=0.000000
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  fov=60
  model=0
  wheels=0
  view=0
  name=Right Rear Very Low
}

camera8
{
  offset
  {
    x=0.000000
    y=-1.000000
    z=-0.600000
  }
  angle
  {
    x=20.000000
    y=180.000000
    z=0.000000
  }
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  fov=70
  model=0
  wheels=0
  view=0
  name=Roof Cam
}

camera9
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=1.300000
    y=0.300000
    z=-0.400000
  }
  angle
  {
    x=-10.000000
    y=-140
    z=10.000000
  }
  fov=60
  model=0
  wheels=0
  view=0
  name=Wheel Cam
}





