car
{
   name=Volkswagen Santana GLS 2000
  year=1988  
  credits=Authors GTASA:Alex(kastor),Jorge(JorgeCFF)/Conv.&Edit. by Fernss1970(README)
  comments=VW AP-2000 1984cm³ 2.0l 112cv a 5200rpm torque 17.3mkgf a 3400 álcool
   wheels=4
  id=gls
  version=088b
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2.5
    length=5.5
    offset_z=-0.1
  }
 cg
 {
  x=0
  y=-0.20
  z=0.352
 }
}
lights
{
  ; Projected lights
  light0
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=55
    ; Aspect (horizontal)
    aspect=3
    ; Distance to car
    z=1.5
    ; Pitching with respect to car (in degrees)
    pitch=0
    ; Fall-off distance
    far=100
  }
  light1
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=25.0
    ; Aspect (horizontal)
    aspect=2
    ; Distance to car
    z=1.5
    ; Pitching with respect to car (in degrees)
    pitch=10
  }
}
body
{
  mass=1185
  inertia
  {
    x=2512
    y=2885
    z=488
  }
  model
  {
    file=SANTANA.dof
  }
  model_incar
  {
    file=SANTANA.dof
  }
  model_light_l
  {
    file=lights.dof
  }
  model_braking_l
  {
    file=brakes.dof
  }
  model_lightroad_l
  {
    file=lightsin.dof
  }
  width=1.96
  height=0.75
  length=4.46
  manual_box=1
}
steer
{
  x=0.28
  y=0.31
  z=0.49
  radius=10
  xa=18
  lock=1080
  linearity=0.3
  model
  {
      file=volante.dof
  }
}
engine
{
	x=0
	y=0
	z=0
	size=0
	mass=0

	idle_rpm=850
	max_rpm=7500
	stall_rpm=500
	start_rpm=1500
	start_stalled=1
	starter_torque=100
	autoclutch_rpm=1500

	curve_torque=torque.crv
	max_torque=175
	shifting
	{
		automatic=0
		shift_up_rpm=6000
		shift_down_rpm=3000
		time_to_declutch=50
      time_to_clutch=50
      time_in_neutral=200
      time_to_declutch_down=150
      time_to_clutch_down=50
      time_in_neutral_down=200
	}
	inertia
	{
		engine=0.22
		final_drive=0.1
	}
	braking_coeff=1.94
	rolling_friction_coeff=0.1
	sample=engine.wav
	sample_rpm=5900
}
gearbox
{
 	gears=6
 	gear0
 	{
  		ratio=-3.17
  		inertia=0.11
 	}
 	gear1
 	{
  		ratio=3.45
  		inertia=0.02
 	}
 	gear2
 	{
  		ratio=1.94
  		inertia=0.04
 	}
 	gear3
 	{
  		ratio=1.29
  		inertia=0.06
 	}
 	gear4
 	{
  		ratio=0.97
  		inertia=0.08
 	}
 	gear5
 	{
  		ratio=0.80
  		inertia=0.1
 	}
}
clutch
{
  max_torque=400
}
handbrakes
{
  wheels=23
}
differential
{
  type=1
  ratio=4.11
  inertia=0.05
  locking_coefficient=0.05
}
aero
{
  body
  {
    center=0 0 0
    cx=0.4
    area=1.85
  }
  wings=0
}
antirollbar
{
  count=1
  arb0
  {
    susp_left=0
    susp_right=1
    k=32000
  }
}
susp_front
{
  y=-0
  z=1.38
  restlen=0.43
  minlen=0.1
  maxlen=0.45
  k=30000
  bump_rate=5500
  rebound_rate=5500
  anti_pitch=0.4
  roll_center
  {
    x=0
    y=-0.5
    z=0
  }
}
susp_rear
{
  y=-0.02
  z=-1.33
  restlen=0.4
  minlen=0.1
  maxlen=0.45
  k=28500
  bump_rate=5000
  rebound_rate=4500
  anti_pitch=0.1
  roll_center
  {
    x=0
    y=-0.55
    z=0
  }
}
susp0~susp_front
{
  x=0.702
}
susp1~susp_front
{
  x=-0.702
}
susp2~susp_rear
{
  x=0.702
}
susp3~susp_rear
{
  x=-0.702
}
tire_model_front
{
  damping_predict_lat=1.0
  damping_predict_long=1.0
}
tire_model_rear
{
  damping_predict_lat=1.0
  damping_predict_long=1.0
}
pacejka
{
  a0=1.3
  a1=-29
  a2=1350
  a3=1632
  a4=11
  a5=0
  a6=-0.04
  a7=-0.4
  a8=0.003
  a9=-0.002
  a10=0.16
  a111=-8; 0
  a112=0
  a12=17.8; 0
  a13=0
  b0=1.57
  b1=-48
  b2=1400
  b3=6.8
  b4=444
  b5=0
  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.2
  optimal_slipangle=0.139626
}
wheel_front
{
  y=0
  z=0
  steering=1
  powered=1
  camber=0
  lock=45
  ackerman=1.31
  mass=34
  inertia=1.04
  radius=0.30
  rolling_coeff=0.015
  max_braking=1200
  braking_factor=0.8
  tire_rate=150000
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  y=0
  z=0
  steering=0
  powered=0
  camber=0
  mass=28
  inertia=1.04
  radius=0.30
  rolling_coeff=0.015
  max_braking=590
  braking_factor=0.6
  max_handbrake_torque=3500
  tire_rate=150000
  pacejka~pacejka
  {
    optimal_slipratio=0.11
    optimal_slipangle=0.18
  }
}
wheel0~wheel_front
{
  x=0
  toe=-0.1
  model
  {
    file=lf.dof
  }
}
wheel1~wheel_front
{
  x=-0
  toe=0.1
  model
  {
    file=rf.dof
  }
}
wheel2~wheel_rear
{
  x=0
  toe=0.1
  model
  {
    file=lf.dof
  }
}
wheel3~wheel_rear
{
  x=-0
  toe=-0.1
  model
  {
    file=rf.dof
  }
}
camera0
{
  name=Driver
  fov=65
  model=1
  view=0
  wheels=0
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.28
    y=-0.59
    z=-0.08
  }
  offset_to
  {
    x=0.37
    y=-0.2
    z=10
  }
  angle
  {
    x=0
    y=180
    z=0.000000
  }
}
camera1
{
  name=Driver, left
  fov=65
  model=1
  wheels=0
  view=1
   offset
  {
    x=0.28
    y=0.59
    z=-0.08
  }
  offset_to
  {
    x=10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=Driver, right
  fov=55
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.28
    y=0.59
    z=-0.08
  }
  offset_to
  {
    x=-10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
  name=Driver, rear
  fov=-65
  model=1
  wheels=0
  view=0
  offset
  {
    x=0.13
    y=0.61
    z=-0.28
  }
  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
  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=180
    z=0
  }
}
camera5
{
  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
  }
}
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=FrontWheel
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=1.4
    y=0.06
    z=-0.5
  }
  angle
  {
    x=-2.25
    y=-161
    z=3.3
  }
}
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=-20
  }
  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.0
    z=0.8
  }
  angle
  {
    x=5
    y=180
    z=0
  }
}

;	------------------ 5.1 ALPHA AUDIO COMPATABILTY -----------------
audio
{
  skid
  {
    sample=skid.wav
  }
  acc_all
  {
    attack=1000
    decay=1000
  }
  accelerate_out
  {
    volume=1
    smp0~audio.acc_all
    {
      sample=2000.wav
      min=0
      max=1250
      attack=1000
      decay=1000
      natural=1100
    }
    smp1~audio.acc_all
    {
      sample=3000.wav
      min=1500
      max=9001
      natural=5500
    }
  }
  decelerate_out
  {
    volume=1
    smp0~audio.acc_all
    {
      sample=2000.wav
      min=0
      max=1250
      attack=1000
      decay=1000
      natural=1100
    }
    smp1~audio.acc_all
    {
      sample=3000.wav
      min=1500
      max=9001
      natural=5500
    }
    smp2~audio.acc_all
    {
      sample=3000.wav
      min=3500
      natural=5500
      volume=0.75
    }
}
  accelerate_in
  {
    volume=1
    smp0~audio.acc_all
    {
      sample=2000.wav
      min=0
      max=1250
      attack=1000
      decay=1000
      natural=1100
    }
    smp1~audio.acc_all
    {
      sample=3000.wav
      min=1500
      max=9700
      natural=6000
    }
  }
  decelerate_in
  {
    volume=1
    smp0~audio.acc_all
    {
      sample=2000.wav
      min=0
      max=1250
      attack=1000
      decay=1000
      natural=1100
    }
    smp1~audio.acc_all
    {
      sample=3000.wav
      min=1500
      max=9700
      natural=6000
    }
    smp2~audio.acc_all
    {
      sample=3000.wav
      min=3500
      natural=5500
      volume=0.75
    }
}
wind
  {
  smp0
  {
      sample=wind.wav
      volume=0.5
      min=1
      max=100
      natural=60
      }
   }
}