
car
{
  name=Volkswagen Variant I
  year=1972
  id=Variant_hood
  version=063b
  credits=Converted by AMGFan and CaioBallejo. Performance: 0-60 mph: 6.6s, 1/4: 14.7s. top 125 mp/h. 
  comments=VW Flat-4 Aircooled Stroker Kit 1600cc->2600cc. 180whp@6100rpm 200Nm@5000rpm
  wheels=4
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2.2
    length=5
    offset_z=-0.1
    offset=0
  }
  cg
  {
    x=0
    y=-0.25
    z=-0.23
  }
}
body
{
  mass=1210
  inertia
  {
    x=1800
    y=1900
    z=600
  }
  width=1.75
  height=0.9
  length=4.3
  manual_box=0
	model
	{
		file=variant.dof
	}
	model_incar
	{
		file=variant.dof
	}
	model_light_l
	{
		file=lights.dof
	}
	model_braking_l
	{
		file=brakes.dof
	}
 model_lightroad_l
 {
  file=lightsin.dof
 }
}
steer
{
  x=0.27
  y=0.24
  z=0.63
  radius=10
  xa=18
  lock=880
  model
  {
    file=volante.dof
  }
}
engine
{
  mass=100
  max_rpm=8000
  idle_rpm=800
  autoclutch_rpm=1200
  curve_torque=torque.crv
  max_torque=143
  starter=1
  start_stalled=1
  stall_rpm=550
  start_rpm=850
  starter_torque=50
  shifting
  {
    automatic=0
    shift_up_rpm=6000
    shift_down_rpm=4000
    time_to_declutch=100
    time_to_clutch=100
  }
  inertia
  {
    engine=0.35
    final_drive=0.4
  }
  braking_coeff=1.0
  friction=0
  torque_reaction=0.1
  sample=engine.wav
  sample_rpm=10000
}
gearbox
{
  gears=5
  gear0
  {
    ratio=-4.2
    inertia=0.9
  }
  gear1
  {
    ratio=2.8
    inertia=0.13
  }
  gear2
  {
    ratio=1.55
    inertia=0.09
  }
  gear3
  {
    ratio=1.15
    inertia=0.07
  }
  gear4
  {
    ratio=0.9
    inertia=0.05
  }

}
clutch
{
  max_torque=450
}
handbrake
{
  wheels=23
}
differential
{
  ; Diff type; 0=free, 1=viscous, 2=salisbury
  type=1
  locking_coeff=50
  ratio=4.529
  output0=2
  output1=3
}
aero
{
  body
  {
    center=0 0 0
    cx=0.38
    area=1.8
  }
  wings=2
  wing0
  {
    name=rearspoiler
    span=1
    cord=1
    coeff_drag=1
    coeff_down=10
    center=0 0.15 -1.25
    angle=1
    angle_offset=0
  }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=24000  
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=21000  
  }
}
susp_front
{
  y=0.05
  z=1.4
  anti_pitch=0.6
  restlen=0.38
  minlen=0.15
  maxlen=0.45
  k=23000
  bump_rate=5000
  rebound_rate=4500
  roll_center
  {
    x=0
    y=-0.53
    z=0
  }
}
susp_rear
{
  y=0.03
  z=-1.17
  anti_pitch=0.4
  restlen=0.43
  minlen=0.15
  maxlen=0.45
  k=28750
  bump_rate=5000
  rebound_rate=4500
  roll_center
  {
    x=0
    y=-0.48
    z=0
  }
}
susp0~susp_front
{
  x=0.7
}
susp1~susp_front
{
  x=-0.7
}
susp2~susp_rear
{
  x=0.7
}
susp3~susp_rear
{
  x=-0.7
}
tire_model_front
{
  damping_predict_lat=0.566
  damping_predict_long=0.028
}
tire_model_rear
{
  damping_predict_lat=0.507
  damping_predict_long=0.022
}
pacejka
{
  a0=1.4
  a1=-35
  a2=1550
  a3=2400
  a4=6.5
  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=-70
  b2=1600
  b3=23.3
  b4=350
  b5=0.05
  b6=0
  b7=0.055
  b8=-0.024
  b9=0.014
  b10=0.26
  c0=2.2
  c1=-3.9
  c2=-3.9
  c3=-1.26
  c4=-8.2
  c5=0.025
  c6=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.1
  optimal_slipangle=0.161
}
wheel_front
{
  y=0
  z=0
  steering=1
  lock=35
  mass=20
  inertia=1.2
  radius=0.31
  powered=0
  friction_road=1.7
  tire_rate=250000
  max_braking=1150
  braking_factor=1
  pacejka~pacejka
   {
   }
}
wheel_rear
{
  y=0
  z=0
  steering=0
  mass=22
  inertia=1.35
  radius=0.31
  powered=1
  friction_road=1.7
  tire_rate=250000
  max_braking=700
  braking_factor=1
  pacejka~pacejka
   {
   }
}
wheel0~wheel_front
{
  x=0
  camber=-2.0
  toe=0.5
  model
  {
    file=lf.dof
  }
  model_brake
  {
    ;file=
  }
}
wheel1~wheel_front
{
  x=0
  camber=-2.0
  toe=-0.5
  model
  {
    file=rf.dof
  }
  model_brake
  {
    ;file=
  }
}
wheel2~wheel_rear
{
  x=0
  camber=-1.5
  toe=0
  model
  {
    file=lf.dof
  }
  model_brake
  {
    ;file=
  }
}
wheel3~wheel_rear
{
  x=0
  camber=-1.5
  toe=0
  model
  {
    file=rf.dof
  }
  model_brake
  {
    ;file=
  }
}
audio
{
  acc_all
  {
    attack=1000
    decay=1000
  }
  accelerate_in
  {
    volume=0.7
    smp0~audio.acc_all
    {
      sample=Beetle_idle_in.wav
      min=350
      max=650
      natural=550
    volume=2
    }
    smp1~audio.acc_all
    {
      sample=Beetle_onlow_in.wav
      min=800
      max=3850
      natural=1925
    volume=1.5
    }
    smp2~audio.acc_all
    {
      sample=Beetle_onmid_in.wav
      min=1575
      max=7550
      natural=2975
    volume=1.5
    }
    smp3~audio.acc_all
    {
      sample=Beetle_offhigh_in.wav
      min=3500
      max=9500
      natural=3000
    volume=0.1
    }
    smp4~audio.acc_all
    {
      sample=Beetle_onhigh_in.wav
      min=5500
      max=9500
      natural=3950
    volume=1.5
    }
  }
  decelerate_in
  {
    volume=0.7
    smp0~audio.acc_all
    {
      sample=Beetle_idle_in.wav
      min=350
      max=650
      natural=550
    volume=2
    }
    smp1~audio.acc_all
    {
      sample=Beetle_offlow_in.wav
      min=800
      max=3250
      natural=1125
    volume=0.8
    }
    smp2~audio.acc_all
    {
      sample=Beetle_offmid_in.wav
      min=2275
      max=7550
      natural=2275
    volume=0.8
    }
    smp3~audio.acc_all
    {
      sample=Beetle_offhigh_in.wav
      min=5500
      max=9500
      natural=2700
    volume=0.8
    }
    smp4~audio.acc_all
    {
      sample=Beetle_onhigh_in.wav
      min=1500
      max=9500
      natural=3950
    volume=1
    }
  }
  accelerate_out
  {
    volume=1.3
    smp0~audio.acc_all
    {
      sample=Beetle_onidle_ex.wav
      min=350
      max=650
      natural=550
    volume=2
    }
    smp1~audio.acc_all
    {
      sample=Beetle_onlow_ex.wav
      min=800
      max=3850
      natural=1925
    volume=2
    }
    smp2~audio.acc_all
    {
      sample=Beetle_onmid_ex.wav
      min=1575
      max=7550
      natural=2975
    volume=2
    }
    smp3~audio.acc_all
    {
      sample=Beetle_offhigh_ex.wav
      min=3500
      max=9500
      natural=3000
    volume=0.2
    }
    smp4~audio.acc_all
    {
      sample=Beetle_onhigh_ex.wav
      min=5500
      max=9500
      natural=3950
    volume=2
    }
  }
  decelerate_out
  {
    volume=1.2
    smp0~audio.acc_all
    {
      sample=Beetle_offidle_ex.wav
      min=350
      max=650
      natural=550
    volume=2
    }
    smp1~audio.acc_all
    {
      sample=Beetle_offlow_ex.wav
      min=800
      max=3250
      natural=1125
    volume=1
    }
    smp2~audio.acc_all
    {
      sample=Beetle_offmid_ex.wav
      min=2275
      max=7550
      natural=2275
    volume=1
    }
    smp3~audio.acc_all
    {
      sample=Beetle_offhigh_ex.wav
      min=5500
      max=9500
      natural=2700
    volume=1
    }
    smp4~audio.acc_all
    {
      sample=Beetle_onhigh_ex.wav
      min=1500
      max=9500
      natural=3950
    volume=1.2
    }
  }
  wind
	{
		volume=2
		pitch_scale=0
		pitch_offset=50
		smp0
		{
			sample=wind1.wav
			min=25
			max=26
			attack=33
			decay=33
			natural=80
		}
		smp1
		{
			sample=wind2.wav
			min=50
			max=51
			attack=33
			decay=33
			natural=80
		}
		smp2
		{
			sample=wind3.wav
			min=75
			max=76
			attack=33
			decay=33
			natural=80
		}
	}
}

;____________________________________________

camera0
{
  name=Driver
  fov=65
  model=1
  view=0
  wheels=0
  offset
  {
    x=0.3
    y=0.57
    z=0.0
  }
  offset_to
  {
    x=0.37
    y=-0.2
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  name=Driver, left
  fov=65
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.3
    y=0.57
    z=0.0
  }
  offset_to
  {
    x=10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=Driver, right
  fov=65
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.3
    y=0.57
    z=0.0
  }
  offset_to
  {
    x=-10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
  name=Driver, rear
  fov=-65
  model=1
  wheels=0
  view=0
  offset
  {
    x=0.3
    y=0.57
    z=0.0
  }
  offset_to
  {
    x=-1
    y=0.5
    z=-10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.1
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera4
{
  name=Chase Close
  model=0
  wheels=0
  view=0
  fov=60
  offset
  {
    x=0
    y=1.7 ;1.2
    z=-5.2 ;-4.2
  }
  src
  {
    mass=6
    k=600
    damping=120
    maxdist=2
  }
}
camera5
{
   	offset
   	{
      		x=0.00
      		y=1.50
      		z=-5.5 ;-6.00
   	}
   	angle
   	{
      		x=15.50
      		y=180.00
      		z=0.00
   	}
   	follow
   	{
      		pitch=0
      		yaw=1
      		roll=0
   	}
 	src
 	{
  		mass=5
  		k=50
  		damping=100
  		maxdist=2
 	}
	dst
	{
		mass=1
		k=0
		damping=0
		maxdist=0
	}
   	fov=60
	name=Chase
}
camera6
{
  name=Rear chase
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0
    y=-0.8
    z=-6
  }
  angle
  {
    x=10
    y=0
    z=0
  }
}
camera7
{
  name=Exterior
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=0
    y=-0.5
    z=-5
  }
  angle
  {
    x=10
    y=130
    z=0
  }
}
camera8
{
  name=Far
  fov=20
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=0
    y=-0.5
    z=-17
  }
  angle
  {
    x=10
    y=50
    z=0
  }
}
camera9
{
  name=Hood
  fov=60
  model=0
  wheels=0
  view=0
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0
    y=-1.1
    z=0.3
  }
  angle
  {
    x=5
    y=180
    z=0
  }
}
lights
{
  ; Projected lights
  light0
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=55
    ; Aspect (horizontal)
    aspect=5
    ; Distance to car
    z=2
    ; Pitching with respect to car (in degrees)
    pitch=0
    ; Fall-off distance
    far=100
  }
  OLD_light0
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=25.0
    ; Aspect (horizontal)
    aspect=4.0
    ; Distance to car
    z=2
    ; Pitching with respect to car (in degrees)
    pitch=10
  }
}
flares
{
  ; Front lights
  flare0
  {
    pos=-0.41 -0.02 2.16
	;normal=0 0 1
	normal=-0.05 -0.02 0.6
	z_offset=-3000
	size_factor=2
  }
  flare1
  {
    pos=0.41 -0.02 2.16
	normal=0.05 -0.02 0.6
	z_offset=-3000
	size_factor=2
  }
  flare2
  {
    pos=-0.56 -0.02 2.16
	;normal=0 0 1
	normal=-0.05 -0.02 0.6
	z_offset=-3000
	size_factor=2
  }
  flare3
  {
    pos=0.56 -0.02 2.16
	normal=0.05 -0.02 0.6
	z_offset=-3000
	size_factor=2
  }
}