car
{
  name=Zetor 5340
  year=1997
  credits=Converted by Priban from Gta San Andreas
  comments=3.6L, cylinders-4, 60HP @ 2200 rpm
  id=Traktor_1
  version=0655
  wheels=4
  ff_factor=1
  shadow
  {
    texture=Shadow.tga
    width=2.20
    length=3.90
    intensity_dark=0.1
    intensity_light=0.1
  }
  cg
  {
    x=0
    y=0.15
    z=0.15
  }
}
body
{
  mass=3000
  inertia
  {
    x=5000
    y=5000
    z=2000
  }
  model
  {
    file=5340.dof
  }
  model_incar
  {
    ;file=5340.dof
  }
  model_braking_l
  {
    ;file=
  }
  model_light_l
  {
    ;file=
  }
  width=1.558
  height=1.0
  length=3.69
  manual_box=1
}
steer
{
  x=0.000
  y=0.99
  z=-0.27
  xa=55
  lock=1152
  linearity=0.18
  model
  {
    file=stw.dof
  }
}
engine
{
  mass=370
  max_torque=180
  curve_torque=torque.crv
  stall_rpm=500
  start_rpm=725
  idle_rpm=550
  autoclutch_rpm=0
  max_rpm=5000
  starter=1
  starter_torque=75
  start_stalled=1
  enable_stall=1
  torque_reaction=1.0
  shifting
  {
    automatic=0
    shift_up_rpm=2200
    shift_down_rpm=500
    time_to_declutch=250
    time_in_neutral=100
    time_to_clutch=250
    time_to_declutch_down=250
    time_in_neutral_down=250
    time_to_clutch_down=250
    fast=0
  }
  inertia
  {
    engine=0.80
  }
  braking_coeff=1.5
}
clutch
{
  max_torque=200
}
gearbox
{
  gears=8
  gear0
  {
    ratio=-6.214
    inertia=0.2
  }
  gear1
  {
    ratio=-17.214
    inertia=0.1
  }
  gear3
  {
    ratio=6.214
    inertia=0.1
  }
  gear4
  {
    ratio=4.925
    inertia=0.09
  }
  gear5
  {
    ratio=3.602
    inertia=0.08
  }
  gear6
  {
    ratio=3.000
    inertia=0.07
  }
  gear7
  {
    ratio=1.800
    inertia=0.05
  } 
  gear2
  {
    ratio=17.214
    inertia=0.1
  } 
}
handbrakes
{
  wheels=23
}
differential
{
  type=1
  ratio=9.700
  inertia=0.2
  locking_coeff=1000
  output0=2
  output1=3
}
handbrakes
{
  wheels=23
}
aero
{
  body
  {
    center=0 0 0
    cx=0.70
    area=3
  }
  wings=0
  }
}
antirollbar
{
  count=0
  }
}
susp_front
{
  y=-0.68
  z=1.7
  restlen=0.28
  minlen=0.12
  maxlen=0.40
  k=200000
  bump_rate=15000
  bump_function=3
  rebound_rate=15000
  rebound_function=3
  anti_pitch=1
  camber_change_per_m=1
  caster_offset=-0.01
  roll_center
  {
    x=0
    y=-0.3
    z=0
  }
}
susp_rear
{
  y=-0.45
  z=-1.1
  restlen=0.12
  minlen=0.00
  maxlen=0.14
  k=300000
  bump_rate=20000
  bump_function=3
  rebound_rate=20000
  rebound_function=3
  anti_pitch=0
  camber_change_per_m=0
  roll_center
  {
    x=0
    y=0
    z=0
  }
}
susp0~susp_front
{
  x=1.2
  camber_change_steering=0.3
  toe_change_per_m=0.2
}
susp1~susp_front
{
  x=-1.2
  camber_change_steering=-0.3
  toe_change_per_m=-0.2
}
susp2~susp_rear
{
  x=1.1
  toe_change_per_m=0
}
susp3~susp_rear
{
  x=-1.1
  toe_change_per_m=0
}
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.7
  a1=-40
  a2=1400
  a3=2400
  a4=20
  a5=0
  a6=0
  a7=0
  a8=0
  a9=0
  a10=0
  a111=0
  a112=0
  a12=0
  a13=0
  b0=1.6
  b1=-50
  b2=1550
  b3=23.3
  b4=375
  b5=0.05
  b6=0
  b7=0.055
  b8=-0.024
  b9=0 
  b10=0 
  c0=3
  c1=-2.9
  c2=-0.7
  c3=0.24
  c4=-2.52
  c5=-0.36
  c6=0.0037
  c7=-0.026
  c8=0.19
  c9=-0.043
  c10=0.14
  c11=0.027
  c12=0.038
  c13=-0.66
  c14=0.12
  c15=-1.22
  c16=-0.9
  c17=-0.8
  optimal_slipratio=0.2
  optimal_slipangle=0.2
}
wheel_front
{
  x=0
  y=0
  z=0
  steering=1
  lock=55
  ackerman=1.1
  powered=0
  camber=1
  mass=75
  inertia=4
  radius=0.67
  rolling_coeff=0.01
  max_braking=0
  braking_factor=1
  tire_rate=300000
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  x=0
  y=0
  z=0
  steering=0
  powered=1
  camber=0
  mass=180
  inertia=8
  radius=0.97
  rolling_coeff=0.005
  max_braking=5500
  braking_factor=1
  max_handbrake_torque=8000
  tire_rate=400000
  pacejka~pacejka
  {
  a0=1.7
  a1=-30
  a2=1600
  a3=5000
  b0=1.6
  b1=-40
  b2=1800
  }
}
wheel0~wheel_front
{
  toe=0
  model
  {
    file=kolo_predni_leve.dof
  }
  model_brake
  {
    file=Lewe_Nadkole.dof
  }
}
wheel1~wheel_front
{
  toe=0
  model
  {
    file=kolo_predni_prave.dof
  }
  model_brake
  {
    file=Prawe_Nadkole.dof
  }
}
wheel2~wheel_rear
{
  toe=0
  model
  {
    file=kolo_zadni_leve.dof
  }
  model_brake
  {
    ;file=
  }
}
wheel3~wheel_rear
{
  toe=0
  model
  {
    file=kolo_zadni_prave.dof
  }
  model_brake
  {
    ;file=
  }
}

camera0
{
  name=Driver
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0.0
    y=1.30
    z=-0.80
  }
  offset_to
  {

    x=0
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  name=Driver, left
  fov=60
  model=0
  wheels=0
  view=1
  offset
  {
    x=0.0
    y=1.30
    z=-0.80
  }
  offset_to
  {
    x=11
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=Driver, right
  fov=60
  model=0
  wheels=0
  view=1
  offset
  {
    x=0.0
    y=1.30
    z=-0.80
  }
  offset_to
  {
    x=-9.57
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
  name=Driver, rear
  fov=-65
  model=0
  wheels=0
  view=1
  offset
  {
    x=0
    y=1.40
    z=-0.9
  }
  offset_to
  {
    x=-1

    y=0.9
    z=-10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera4
{
  name=Chase
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0
    y=-0.3
    z=-6.8
  }
  follow
  {
    pitch=0

    yaw=1
    roll=0
  }
  angle
  {
    x=15
    y=180
    z=0
  }
}
camera5
{
  name=Chase rear
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0
    y=-0.5
    z=-6.5
  }
  follow
  {
    pitch=0
    yaw=1
    roll=0

  }
  angle
  {
    x=15
    y=0
    z=0
  }
}
camera6
{
  name=Free exterior
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0
    y=-0.5
    z=-7
  }
  follow

  {
    pitch=0
    yaw=0
    roll=0
  }
  angle
  {
    x=10
    y=180
    z=0
  }
}
camera7
{
	name=Side
	fov=60
	model=0
	wheels=0
	view=0
	offset
	{
		x=0.2
		y=-0.2
		z=-4.5
	}

	angle
	{
		x=-1.361085
		y=150
		z=10
	}
	follow
	{
		pitch=0
		yaw=1
		roll=1
	}

}
camera8
{
	name=Bonnet
	fov=60
	model=0
	wheels=0
	view=0
	offset
	{
		x=0
		y=-0.5
		z=2.5
	}
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	angle
	{
		x=5
		y=180
		z=0
	}
}
camera9
{
 	name=External
 	fov=70
 	model=0
 	view=0
 	wheels=0
 	follow
 	{
  		pitch=0
  		yaw=0
  		roll=0
 	}
 	offset
 	{
  		x=0.1
  		y=-0.3
  		z=-4.3
 	}
 	angle
 	{
  		x=0
  		y=-20
  	      z=30
 	}
}
audio
{
  skid
  {
    sample=skid.wav
    sample2=skid.wav
  }
  acc_all
  {
    attack=1000
    decay=1000
  }
  shiftout
  {
    sample=Shiftout.wav	
  }
  shiftin
  {
    sample=Shiftin.wav
  }
  acc_turbo
  {
   attack=1500
   decay=1500
  }
  accelerate_out
  {
    volume=3
    smp0~audio.acc_all
    {
      sample=Engine2.wav
      min=0
      max=3000
      natural=1000
      volume=4.0
    }
    smp1~audio.acc_all
    {
      sample=High.wav
      min=0
      max=5000
      natural=1200
      volume=2.0
    }
    smp2~audio.acc_turbo
    {
    sample=Engine.wav
    min=800
    max=3000
    natural=1000
    }
  }
}
gearwhine
{
  volume=0.5
  pitch_scale=0.001
  pitch_offset=0
  smp0~audio.acc_all
  {
    sample=gearwhine.wav
    min=0
    max=10000
    natural=7000
  }
}
wind
{
  volume=3
  volume_scale=0.1
  volume_offset=0
  pitch_scale=0
  pitch_offset=0
  smp0
  {
    sample=wind_ext.wav
    ; Speeds in m/s
    min=0
    max=9999
    natural=4000
  }
}