car
{
  name=Volkswagen Passat 35i Variant
  year=1994
  id=VWP_16
  credits=model made Mlody, Qpel for gta sa converted and edited made Arouca21 for racer
  comments=Shader by Daytona
  version=090
  wheels=4
  ff_factor=0.5
  skid
  {
    sample=skid.wav
  }
  
  {
    
    width=2.8
    length=4.9
    offset_z=0
  }
  cg
  {
    x=0
    y=-0.11	;1398 *0.40 =560
    z=0.1
  }
}
body
{
  mass=1635	
  inertia
  {
    x=3780
    y=4300
    z=760
  }
  width=1.857
  height=1.398
  length=4.993
  manual_box=0
  model
  {
    file=body.dof
  }
  model_incar
  {
    file=body.dof
  }
  model_braking_l
  {
  file=brake.dof
  }
 model_light_l
  {
  file=lights.dof
  }
}
steer
{
  x=0.40
  y=0.22
  z=0.43
  radius=10
  xa=15
  lock=900	
  linearity=0.41
  model
  {
    file=sw.dof
  }
}
engine
{
	mass=150
	idle_rpm=875 ; Typical idle rpm value
	max_rpm=6750
	stall_rpm=500
	start_rpm=850
	start_stalled=0
        reaction=0.45
        starter=1
	starter_torque=55
	autoclutch_rpm=1500

	curve_torque=torque.crv
	max_torque=0.93		; Torque loss at drivetrain 7%
	shifting
	{
		automatic=0
		shift_up_rpm=5800 ; Maximum power rpm
		shift_down_rpm=3100
		time_to_declutch=100
		time_to_clutch=80
		time_in_neutral=100
		time_to_declutch_down=135
		time_to_clutch_down=135
		time_in_neutral_down=135
	}
	inertia
	{
		engine=0.27 ; Typical value in V6
		final_drive=0.1
	}
	braking_coeff=2.5
	rolling_friction_coeff=0.1
	;sample=
	;sample_rpm=
}

; gearbox ratios section

gearbox
{
	gears=6

	gear0
	{
		ratio=-4.107
		inertia=0.02
		linearity=0.5
	}

	gear1
	{
		ratio=3.300
		inertia=0.03
		linearity=1
	}

	gear2
	{
		ratio=1.944
		inertia=0.04
		linearity=1.2
	}

	gear3
	{
		ratio=1.308
		inertia=0.05
		linearity=1.4
	}

	gear4
	{
		ratio=1.034
		inertia=0.06
		linearity=1.6
	}

	gear5
	{
		ratio=0.838
		inertia=0.08
		linearity=1.8
	}
}

differential
{
	type=1
	ratio=3.389
	inertia=0.1
	locking_coeff=25
	output0=0    ;FWD
	output1=1    ;FWD
}

clutch
{
	max_torque=300
}

handbrakes
{
	wheels=23
}

aero
{
  body
  {
    center=0 0 0
    cx=0.29
    area=2.20
  }
  wings=1
  wing0
  {
    name=body lift
    span=1.0
    cord=1.0
    coeff_drag=0.395
    coeff_down=-13.8
    center=0 0 0
    angle=0
    angle_offset=1
  }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=30000
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=10000
  }
}
susp_front
{
  y=-0.2
  z=1.341
  restlen=0.25
  minlen=0.0
  maxlen=0.23
  k=55000		
  bump_rate=4000	
  rebound_rate=8000	
  anti_pitch=0.3
  camber_change_per_m=0.5
  caster_offset=0.015
  roll_center
  {
    x=0
    y=-0.55
    z=0
  }
}
susp_rear
{
  y=-0.2
  z=-1.505
  restlen=0.25
  minlen=0.0
  maxlen=0.25
  k=40000		
  bump_rate=2500	
  rebound_rate=7000	
  anti_pitch=0.3
  camber_change_per_m=0.5
  roll_center
  {
    x=0
    y=-0.45
    z=0
  }
}
susp0~susp_front
{
  x=0.7885
  camber_change_steering=0.15
  toe_change_per_m=0.1
}
susp1~susp_front
{
  x=-0.7885
  camber_change_steering=-0.15
  toe_change_per_m=-0.1
}
susp2~susp_rear
{
  x=0.800
  toe_change_per_m=0.07
}
susp3~susp_rear
{
  x=-0.800
  toe_change_per_m=-0.07
}
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
{
   	a0=1.4
   	a1=-29
   	a2=1125
   	a3=1700
   	a4=11
   	a5=0.015
   	a6=-0.25
   	a7=1.0
   	a8=-0.03
   	a9=-0.001
   	a10=-0.15
   	a111=-8.0
   	a112=-0.29
   	a12=17.8
   	a13=-2.4
        b0=1.5
   	b1=-58
   	b2=1250
   	b3=23.3
   	b4=325
   	b5=0.08
   	b6=0.0
   	b7=0.05
   	b8=-0.024
   	b9=0.015
   	b10=0.25
   	b11=-86
   	b12=0.0
        c0=2.3
   	c1=-3.8
   	c2=-3.14
   	c3=-1.0
   	c4=-7.2
   	c5=0.0
   	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.04
   	c15=-1.029
   	c16=0.27
   	c17=-1.1
        optimal_slipratio=0.10
   	optimal_slipangle=0.23
}

wheel_front
{
  x=0		
  y=0
  z=0
  steering=1
  lock=63
  powered=1
  camber=2.4
  mass=50
  inertia=1.8
  radius=0.34
  rolling_coeff=0.015
  max_braking=1400
  braking_factor=1
  tire_rate=300000
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  x=0		
  y=0
  z=0
  steering=0
  powered=0
  camber=2.6
  mass=50
  inertia=1.8
  radius=0.34
  rolling_coeff=0.015
  max_braking=850
  max_handbrake_torque=2900
  braking_factor=1
  tire_rate=300000
}
wheel0~wheel_front
{
  ackerman=1.1
  toe=-0.7
  model
  {
    file=left.dof
  }
   model_brake
  {
    file=
  }
}
wheel1~wheel_front
{
  ackerman=-1.1
  toe=0.7
  pacejka~pacejka
  {
  a9=0.001
  a10=0.15
  a12=-17.8
  a13=2.4

  c11=-0.048
  c12=0.0035
  c13=0.18
  c16=-0.1
  }
  model
  {
    file=right.dof
  }
  model2
  {
    file=
    velocity=35
  }
  model3
  {
    file=
    velocity=75
  }
  model_brake
  {
    file=
  }
}
wheel2~wheel_rear
{
  toe=-0.7
  pacejka~pacejka
  { 
  a0=1.5
  a2=1380
  a3=3000
  b0=1.55
  b2=1340
  }
  model
  {
    file=left.dof
  }
   model_brake
  {
    file=
  }
}
wheel3~wheel_rear
{
  toe=0.7
  pacejka~pacejka
  { 
  a0=1.5
  a2=1380
  a3=3000
  b0=1.55
  b2=1340

  a9=0.001
  a10=0.05
  a12=-17.8
  a13=2.4
  }
  model
  {
    file=right.dof
  }
 model_brake
  {
    file=
  }
}
camera0
{
  name=Driver
  fov=55
  model=0
  wheels=0
  view=0
  offset
  {
    x=0.44
    y=0.54
    z=-0.3
  }
  offset_to
  {
    x=0.44
    y=-1
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=1
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  offset
  {
    x=0.000000
    y=-0.150000
    z=-5.600000
  }
  angle
  {
    x=10
    y=-180
    z=0
  }
  name=Chase High
  follow
  {
    pitch=0
    yaw=1
    roll=0
    velocity=5
  }
  fov=60
  model=0
  wheels=0
  view=0
}
camera2
{
  offset
  {
    x=0.000000
    y=0.200000
    z=2.100000
  }
  angle
  {
    x=0.000000
    y=180.000000
    z=0.000000
  }
  name=Bumper
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  fov=60.000000
  model=2
  wheels=0
  view=2
}
camera3
{
  name=Hood
  fov=55
  model=0
  wheels=0
  view=0
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0
    y=-0.6
    z=0.6
  }
  angle
  {
    x=5
    y=180
    z=0
  }
}
camera4
{
  offset
  {
    x=1.150625
    y=-0.006667
    z=-0.020000
  }
  angle
  {
    x=-2.205518
    y=-175.472336
    z=-1.017359
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  fov=80.000000
  model=0
  wheels=0
  view=0
  name=Rear Side
}
camera5
{
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=0.000000
    y=-0.600000
    z=-5.500000
  }
  angle
  {
    x=6.000000
    y=30.853992
    z=0.000000
  }
  name=Side High
  fov=60.000000
  model=0
  wheels=1
  view=0
}
camera6
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=-0.679687
    y=0.118751
    z=-3.359994
  }
  angle
  {
    x=3.861111
    y=33.853992
    z=-14.322908
  }
  fov=80.000000
  model=0
  wheels=1
  view=0
  name=Front Side
}
camera7
{
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=0.000000
    y=0.200000
    z=-9.000000
  }
  angle
  {
    x=20.000000
    y=180.000000
    z=0.000000
  }
  fov=35.000000
  model=0
  wheels=1
  view=0
  name=Front High
}
camera8
{
  offset
  {
    x=0.000000
    y=-0.593750
    z=-1.155000
  }
  angle
  {
    x=0.000000
    y=180.000000
    z=0.000000
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  fov=65.000000
  model=1
  wheels=0
  view=1
  name=Inside Center
}
camera9
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.385000
    y=-0.400000
    z=-0.395000
  }
  angle
  {
    x=7.000000
    y=-180.000000
    z=0.000000
  }
  fov=61.000000
  ; Type of model to use; 0=outside, 1=inside, 2=none
  model=1
  wheels=0
  view=1
  name=Inside Driver
}
audio
{
skid
{
sample=Sound/Skid.wav
}
Horn
{
sample=Sound/Horn.wav
}
; outside sound section

	accelerate_out
	{
                smp0
		{
			sample=Sound/2000.wav
			min=1000
			max=3500
			natural=2000
			volume=1
			attack=0
			decay=500
		}
		smp1
		{
                        volume=3.5
			sample=Sound/7000.wav
			min=0
			max=9000
			natural=6500
			volume=3.5
                        attack=3000
		}
                smp2
		{
                        volume=2.5
			sample=Sound/Limiter_Out.wav
			min=6650
			max=6750
			natural=6500
			volume=2.5
		}
	}

	decelerate_out
	{
		smp0
		{
			sample=Sound/2000.wav
			min=1
			max=3500
			natural=1900
			volume=1
			attack=0
			decay=500
		}
		smp1
		{
                        volume=3.5
			sample=Sound/7000.wav
			min=0
			max=9000
			natural=6400
			volume=3.5
                        attack=3000
		}
	}

; interior sound section

	accelerate_in
	{
		smp0
		{
			sample=Sound/2000_Int.wav
			min=1
			max=3500
			natural=2000
			volume=2.5
			attack=0
			decay=1000
		}
		smp1
		{
			volume=2.0
			sample=Sound/7000_Int.wav
			min=1
			max=9000
			natural=6500
			volume=4.5
                        attack=3000
                        decay=0
		}
                smp2
		{
                        volume=1.5
			sample=Sound/Limiter_In.wav
			min=6650
			max=6750
			natural=6500
			volume=1.5
	}
}


	decelerate_in
	{
		smp0
		{
			sample=Sound/2000_Int.wav
			min=1
			max=3500
			natural=1900
			volume=2.5
			attack=0
			decay=1000
		}
		smp1
		{
			volume=2.0
			sample=Sound/7000_Int.wav
			min=1
			max=9000
			natural=6400
			volume=4.5
                        attack=3000
                        decay=0
		}
	}

	wind
	{
		volume=2
		pitch_scale=0
		pitch_offset=50
		smp0
		{
			sample=Sound/wind1.wav
			min=25
			max=26
			attack=33
			decay=33
			natural=80
		}
		smp1
		{
			sample=Sound/wind2.wav
			min=50
			max=51
			attack=33
			decay=33
			natural=80
		}
		smp2
		{
			sample=Sound/wind3.wav
			min=75
			max=76
			attack=33
			decay=33
			natural=80
		}
	}
}
