car
{
  name=Mercedes Benz Sprinter 313 Cdi
  year=2010
  credits=Converted by Orges Kozi from Gta San Andreas.
  comments=5 gears manual 129CV(95kw) 0-100 21.5s top speed 210km/h
  id=mercedes_benz_sprinter_313_cdi
  version=0655
  wheels=4
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=
    width=0.0
    length=0.0
  }
  cg
  {
    x=0
    y=0.000
    z=0.00
  }
  ff_factor=0.20
}

graphics
{
  	shadow
  	{
    		model
    		{
      			file=sprinter.dof
			use_shaders=1
    		}
		intensity=0.2
  	}
	generic
	{
		model0
		{
		file=
		}
		model1
		{
		file=
		}
		model2
		{
		file=
		}
		model3
		{
		file=
		}
    		model4
    		{
      		file=
    		}
    		model5
    		{
      		file=
    		}
    		model6
    		{
      		file=
    		}
    		model7
    		{
      		file=
    		}
    		model8
    		{
      		file=
    		}
    		model9
    		{
      		file=
    		}
    		model10
    		{
      		file=
    		}
    		model11
    		{
      		file=
    		}
	}
}
;----------------------------------------------------------------------
;Body:}
flares
{
  ; Front lights
  flare0
  {
    pos=-0.77 0.14 3.0
	normal=0 0 1
	z_offset=-3000
	size_factor=1.20
  }
  flare1
  {
    pos=0.77 0.14 3.0
	normal=0 0 1
	z_offset=-3000
	size_factor=1.20
  }
flare2
  {
    pos=-0.65 0.09 3.05
	normal=0 0 1
	z_offset=-3000
	size_factor=0.50
  }
  flare3
  {
    pos=0.65 0.09 3.05
	normal=0 0 1
	z_offset=-3000
	size_factor=0.50
  }
flare4
  {
    pos=-0.27 -0.18 3.25
	normal=0 0 1
	z_offset=-3000
	size_factor=1.00
  }
  flare5
  {
    pos=0.27 -0.18 3.25
	normal=0 0 1
	z_offset=-3000
	size_factor=1.00
  }
flare6
  {
    pos=-0.93 0.25 -3.85
	normal=0 0 -1
	color=1.0 0.0 0.0
	size_factor=1.00
	intensity=0.1
	z_offset=-1000
  }
  flare7
  {
    pos=0.93 0.25 -3.85
	normal=0 0 -1
	color=1.0 0.0 0.0
	size_factor=1.00
	intensity=0.1
	z_offset=-1000
  }
  flare8
  {
    rule=brake
    pos=-0.93 0.50 -3.85
	normal=0 0 -1
	color=1.0 0.0 0.0
	size_factor=1.8
	intensity=0.5
	z_offset=-1000
  }
  flare9
  {
    rule=brake
    pos=0.93 0.50 -3.85
	normal=0 0 -1
	color=1.0 0.0 0.0
	size_factor=1.8
	intensity=0.5
	z_offset=-1000
  }
 }
body
{
  mass=2000	
  restitution_coeff=0.25
  inertia
  {
    x=3780
    y=4300
    z=760
  }
  x=0
  y=0
  z=0
  width=1.99
  height=2.82
  length=5.9
  manual_box=1
  cockpit_start=1
  cockpit_length=1
  model
  {
    file=sprinter.dof
  }
  model_incar
  {
    file=sprinter.dof
  }
  model_light_l
  {
    file=lights.dof
  }
  model_braking_l
  {
    file=brakes.dof
  }
  model_reverse_r
  {
    file=
  }
  model_lightroad_l
  {
  file=lightsin.dof
  }
  width=1.79
  height=1.2
  length=4.92
  manual_box=0
}
steer
{
  x=0.54
  y=0.7100
  z=1.60
  xa=20
  lock=1080
  linearity=0.2
  model
  {
     file=stw.dof
  }
}
engine
{
  mass=0
  max_rpm=5450
  idle_rpm=950
  stall_rpm=550
  start_rpm=650
  autoclutch_rpm=1000
  starter=0
  start_stalled=1
  starter_torque=45
  curve_torque=torque.crv
  max_torque=290
  torque_reaction=0.40
  shifting
  {
    automatic=0
    shift_up_rpm=5500
    shift_down_rpm=850
    time_to_declutch=250
    time_to_clutch=250
  }
  inertia
  {
    engine=0.512 ;0.25
    final_drive=0.32
  }
  braking_coeff=2.25 ;1.25
  sample=engine.wav
  sample_rpm=9500
}
gearbox
{
  gears=6
  gear0
  {
    ratio=-3.416
    inertia=0.9
  }
  gear1
  {
    ratio=3.595
    inertia=0.13
  }
  gear2
  {
    ratio=2.186
    inertia=0.09
  }
  gear3
  {
    ratio=1.405
    inertia=0.07
  }
  gear4
  {
    ratio=1.1
    inertia=0.05
  }
  gear5
  {
    ratio=0.831
    inertia=0.05
  }
  end_ratio=3.64
}
clutch
{
  max_torque=650
}
handbrakes
{
  wheels=23
}
differential
{
  type=1 ;viscous
  ratio=3.64
  locking_coeff=35
  output0=2
  output1=3
}
aero
{
  body
  {
    center=0 -0.2 0
    cx=0.357 ;
    area=1.811 ;1.85
  }
  wings=1
  wing0
  {
   ; name=BodyLift
   ; span=1
   ; cord=0.1
   ; coeff_drag=0
   ; coeff_down=-9.20
   ; center=0 0 0
   ; angle=0
   ; angle_offset=10
  }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=38500
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=5000
  }
}
susp_front
{
  y=-0.20
  z=2.260
 restlen=0.4
  minlen=0.1
  maxlen=0.45
  k=30000
  bump_rate=2500
  rebound_rate=3500
  anti_pitch=0.2
  roll_center
  {
    x=0
    y=-0.55
    z=0
  }
}
susp_rear
{
  y=-0.25
  z=-2.25
 restlen=0.4
  minlen=0.1
  maxlen=0.45
  k=22500
  bump_rate=2500
  rebound_rate=3000
  anti_pitch=0.2
  roll_center
  {
    x=0
    y=-0.45
    z=0
  }
}
susp0~susp_front
{
  x=0.85
}
susp1~susp_front
{
  x=-0.85	;723
}
susp2~susp_rear
{
  x=0.85
}
susp3~susp_rear
{
  x=-0.85	;7145
}

tire_model_front
{
	damping_predict_lat=0
	damping_predict_long=0
}
tire_model_rear
{
	damping_predict_lat=0
	damping_predict_long=0
}
pacejka
{
	a0=1.25
	a1=-35
	a2=1300
	a3=2000
	a4=8
	a5=0.015
	a6=-0.25
	a7=0.1
	a8=-0.03
	a9=-0.001
	a10=-0.15
	a111=-8.5
	a112=-0.29
	a12=17.8
	a13=-2.4
	b0=1.5
	b1=-70
	b2=1650
	b3=20
	b4=325
	b5=0.08
	b6=0
	b7=0.05
	b8=-0.025
	b9=0
	b10=0
	b11=0
	b12=0
	c0=2.2
	c1=-4
	c2=-3
	c3=-1
	c4=-7
	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.14
	c15=-1.029
	c16=0.27
	c17=-1.1

	optimal_slipratio=0.11
	optimal_slipangle=0.145
}
wheel_front
{
  y=0
  z=0
  steering=1
  powered=0
  camber=2.5
  lock=60
  ackerman=1.1
  mass=15
  inertia=2.2
  radius=0.4239375
  rolling_coeff=0.017
  max_braking=3000
  braking_factor=0.88
  tire_rate=240000
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  y=0
  z=0
  steering=0
  powered=1
  camber=0
  mass=15
  inertia=0.61
  radius=0.4239375
  rolling_coeff=0.017
  max_braking=1000
  braking_factor=0.5
  max_handbrake_torque=25000
  tire_rate=225000
  pacejka~pacejka
  {
  }
}
wheel0~wheel_front
{
  x=0
  camber=-.5
  toe=-0.1
  model
  {
    file=rear-right.dof
    
  }
  model_brake
  {
   ; file=
  }
}
wheel1~wheel_front
{
  x=0
  camber=-.5
  toe=-0.1
  model
  {
    file=rear-left.dof
     
  }
  model_brake
  {
   ; file=
  }
}
wheel2~wheel_rear
{
  x=0
  camber=-0.5
  toe=-0.1
  model
  {
    file=rear-right.dof
    
  }
  model_brake
  {
   ; file=
  }
}
wheel3~wheel_rear
{
  x=0
  camber=-0.5
  toe=-0.1
  model
  {
    file=rear-left.dof
    ;file=
  }
  model_brake
  {
   ; file=
  }
}
camera0
{
  name=Driver
  fov=55
  model=0
  view=0
  wheels=0
  offset
  {
    x=0.55
    y=1.17
    z=0.90
  }
  offset_to
  {
    x=0.34
    y=-0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  name=Left
  fov=65
  model=0
  view=0
  wheels=0
  offset
  {
    x=0.55
    y=1.13
    z=1.10
  }
  offset_to
  {
    x=15.4
    y=0
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=Right
  fov=65
  model=0
  view=0
  wheels=0
  offset
  {
    x=0.55
    y=1.13
    z=1.10
  }
  offset_to
  {
    x=-12.6
    y=0.
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
  name=Rear
  fov=-70
  model=0
  view=0
  wheels=0
  offset
  {
    x=0.1
    y=1.2
    z=1.0
  }
  offset_to
  {
    x=-2
    y=1.1
    z=-10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.1
  }
  dst
  {
    mass=0
    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.7
    z=-8
  }
  angle
  {
    x=10
    y=180
    z=0
  }
}
camera5
{
  name=Exterior free
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=0
    y=-0.7
    z=-7.5
  }
  angle
  {
    x=10
    y=120
    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.7
    z=-7.5
  }
  angle
  {
    x=10
    y=0
    z=0
  }
}
camera7
{
  name=Passenger seat
  fov=70
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=-0.55
    y=-1.1
    z=0.9
  }
  angle
  {
    x=05
    y=177
    z=0
  }
}
camera8
{
  name=FrontWheel
  fov=60
  model=0
  view=0
  wheels=0
  offset
  {
    x=1.4
    y=0.10
    z=-0.5
  }
  angle
  {
    x=-2.25
    y=-161
    z=3.3
  }
  follow
  {
    pitch=0
    yaw=1
    roll=1
  }
}
camera9
{
  name=Hood
  fov=60
  model=0
  view=0
  wheels=2
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0
    y=-0.9
    z=2.5
  }
  angle
  {
    x=5
    y=180
    z=0
  }
}


;audio-----------------------------------------------

audio
{
  skid
  {
    volume=0.1
    sample=skid1.wav
    sample2=skid2.wav
  }
  acc_all
  {
    attack=1000
    decay=1000
  }
  accelerate_out
  {
    smp0~audio.acc_all
    {
      sample=a1000.wav
      min=2
      max=800
      natural=1200
      volume=2
    }
    smp1~audio.acc_all
    {
      sample=a2000.wav
      min=1000
      max=2000
      natural=3200
      volume=1
    }
    smp2~audio.acc_all
    {
      sample=a4000.wav
      min=3000
      max=4000
      natural=4200
      volume=1
    }
    smp3~audio.acc_all
    {
      sample=a6000.wav
      min=5000
      max=7000
      natural=6200
      volume=1
    }
    smp4~audio.acc_all
    {
      sample=a8000.wav
      min=5500
      max=9000
      natural=8200
      volume=1.1
    }
  }
  decelerate_out
   {
    smp0~audio.acc_all
    {
      sample=d1000.wav
      min=2
      max=800
      natural=1200
      volume=2
    }
    smp1~audio.acc_all
    {
      sample=d2000.wav
      min=1000
      max=2000
      natural=3200
      volume=1
    }
    smp2~audio.acc_all
    {
      sample=d4000.wav
      min=3000
      max=4000
      natural=4200
      volume=1
    }
    smp3~audio.acc_all
    {
      sample=d6000.wav
      min=5000
      max=7000
      natural=6200
      volume=1
    }
    smp4~audio.acc_all
    {
      sample=d8000.wav
      min=7000
      max=9000
      natural=8200
      volume=1.1
    }
  }
  accelerate_in
  {
    smp0~audio.acc_all
    {
      sample=a1000in.wav
      min=2
      max=800
      natural=1200
      volume=2
    }
    smp1~audio.acc_all
    {
      sample=a2000in.wav
      min=1000
      max=2000
      natural=3200
      volume=1
    }
    smp2~audio.acc_all
    {
      sample=a4000in.wav
      min=3000
      max=4000
      natural=4200
      volume=1
    }
    smp3~audio.acc_all
    {
      sample=a6000in.wav
      min=5000
      max=7000
      natural=6200
      volume=1
    }
    smp4~audio.acc_all
    {
      sample=a8000in.wav
      min=5500
      max=9000
      natural=8200
      volume=1.1
    }
  }
  decelerate_in
  {
    smp0~audio.acc_all
    {
      sample=d1000in.wav
      min=2
      max=800
      natural=1200
      volume=2
    }
    smp1~audio.acc_all
    {
      sample=d2000in.wav
      min=1000
      max=2000
      natural=3200
      volume=1
    }
    smp2~audio.acc_all
    {
      sample=d4000in.wav
      min=3000
      max=4000
      natural=4200
      volume=1
    }
    smp3~audio.acc_all
    {
      sample=d6000in.wav
      min=5000
      max=7000
      natural=6200
      volume=1
    }
    smp4~audio.acc_all
    {
      sample=d8000in.wav
      min=5500
      max=9000
      natural=8200
      volume=1.1
    }
  }
  wind
  {
    volume=0.6
    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
    }
  }
}
  wind

  {

    ; Pitch determination; slightly rises with car velocity

    pitch_scale=0.2

    pitch_offset=50

    smp0

    {

      sample=wind.wav
      volume=0.8
      ; Speeds in m/s; in this case just 1 sample from 0..200m/s

      min=0

      max=200
      ; The wind was blowing 50m/s when recorded

      natural=50

    }

  }

}