car
{
  name=Mercedes-Benz Sprinter 313 CDI INEM
  year=2017
  id=MB313
  credits=Convert by Mnichu. Model: Bebiko132
  comments=
  version=090b
  wheels=4
  shadow
  {
    texture=shadow.tga
    width=2.2
    length=5.5
    offset_z=0
    offset=0
  }
	cg
	{
		x=0
		y=-0.51
		z=0.7
	}
  ff_factor=0.35
  ff_gain=0.65
  ff_damping=0
  ff_friction=1
  ff_inertia=1
  ff_stickfriction=1
}
graphics
{
  	shadow
  	{
    		model
    		{
      			file=body.dof
			use_shaders=0
    		}
		intensity=0.2
  	}
	generic
	{
		model0
		{
		file=choques_frente.dof
		}
		model1
		{
		file=choques_tras.dof
		}
		model2
		{
		file=mala1.dof
		}
		model3
		{
		file=mala2.dof
		}
    		model4
    		{
      		file=porta_condutor.dof
    		}
    		model5
    		{
      		file=porta_passageiro.dof
    		}
    		model6
    		{
      		file=porta_deslizante.dof
    		}
    		model7
    		{
      		file=capot.dof
    		}
    		model8
    		{
      		file=
    		}
    		model9
    		{
      		file=
    		}
	}
}
body
{
	x=0
	y=0
	z=0
	mass=2300
	inertia
	{
    	x=3780
    	y=4300
    	z=760
	}
  	width=1.69
  	height=1.98
  	length=4.7
	manual_box=1
	model
	{
		file=body.dof
	}
	model_incar
	{
		file=body.dof
	}
	model_light_l
	{
		file=lights.dof
	}
	model_braking_l
	{
		file=brake.dof
	}
 model_lightroad_l
 {
  file=lightsin.dof
 }
  model_reverse_l
  {
    ; Reverse gear indicators
    file=re.dof
  }
  model_reverse_r
  {
    file=re.dof
}
}
lights
{
  ; Projected lights
  light0
  {
    texture=lampy.tga
    ; Field of view (vertical)
    fov=25.0
    ; Aspect (horizontal)
    aspect=4.0
    ; Distance to car
    z=1.20
    ; Pitching with respect to car (in degrees)
    pitch=7
  }
}
wipers
{
  ; Windscreen wipers
  count=3
  wiper0
  {
    x=-0.26
    y=0.37
    z=-1.58
    xa=-75
    min_angle=5
    max_angle=-85
    model
    {
      file=
    }
  }
  wiper1
  {
    x=0.0
    y=0.32 
    z=1.64
    xa=45
    min_angle=0
    max_angle=-102
    model
    {
      file=
    }
  }
  wiper2
  {
    x=0.40
    y=0.33 
    z=1.64
    xa=45
    min_angle=2
    max_angle=-102
    model
    {
      file=
    }
  }
}
steer
{
  x=0.425
  y=0.36
  z=1.00
  xa=15.90
    linearity=0.25
  lock=1080 
  model
  {
    file=volante.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=100
  curve_torque=torque.crv
  max_torque=400
  torque_reaction=0.40
  shifting
  {
    automatic=0
    shift_up_rpm=5500
    shift_down_rpm=850
    time_to_declutch=100
    time_to_clutch=100
  }
  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=750
}
handbrakes
{
  wheels=23
}
differential
{
  type=1 ;viscous
  ratio=3.64
  locking_coeff=35
  output0=0
  output1=1
}
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.25
  z=1.49
  restlen=0.4
  minlen=0.1
  maxlen=0.68
  k=72130
  bump_rate=1850 ;1850
  bump_function=3 
  rebound_rate=4450 ;3450
  roll_center
  {
    x=0
    y=-1.09 ;-0.59 
    z=0
  }
}
susp_rear
{
  y=-0.25
  z=-1.545
  restlen=0.4
  minlen=0.1
  maxlen=0.78
  k=30202.8 ;39202
  bump_rate=1310 ;1610 1310 2310
  bump_function=3
  rebound_rate=3050 ;2650
  roll_center
  {
    x=0
    y=-0.82 ;-0.38 
    z=0
  }
}
susp0~susp_front
{
  caster_offset=-0.01
  camber_change_steering=.01
  camber_change_per_m=.52
  x=0.76
}
susp1~susp_front
{
  caster_offset=-0.01
  camber_change_steering=.01
  camber_change_per_m=.52
  x=-0.76
}
susp2~susp_rear
{
  x=0.76
}
susp3~susp_rear
{
  x=-0.76
}
tire_model_front
{
  damping_predict_lat=0.805 ;0.672
  damping_predict_long=0.042 ;0.028
}
tire_model_rear
{
  damping_predict_lat=0.718 ;0.672
  damping_predict_long=0.037 ;0.028
}

pacejka
{
  ; Lateral force
  a0=1.246
  a1=-60.20 ;-91.3
  a2=1616 ;1240
  a3=1952 ;2100 1632
  a4=8.65 ;12 
  a5=0.000 ;0.0
  a6=0 ;-0.04 ;0 
  a7=0 ;-0.4 ;0
  a8=0 ;0.003
  a9=0 ;-0.002
  a10=0 ;0.16
  a111=0 
  a112=0 ;0.045
  a12=0 ;0.17
  a13=0 ;-23.5
  ; Longitudinal force
  b0=1.47
  b1=-15
  b2=1338 
  b3=9.8 
  b4=334 
  b5=0
  b6=0 
  b7=0 
  b8=0 
  b9=0 
  b10=0 
  b11=0 
  b12=0 
  ; Aligning moment
  c0=0.83
  c1=-2.2
  c2=9.39
  c3=0.219
  c4=-8.6
  c5=0.025
  c6=0.0
  c7=0.044
  c8=-0.58
  c9=0.18
  c10=0 ;0.043
  c11=0 ;0.048
  c12=0 ;-0.0035
  c13=0 ;-0.18
  c14=0 ;0.14
  c15=0 ;-1.029
  c16=0 ;0.27
  c17=0 ;-1.1
  optimal_slipratio=0.14 ;0.18
  optimal_slipangle=0.12 ;0.12
}
wheel_front
{
  y=0
  z=0
  max_braking=3000
  rolling_coeff=0.017
  tire_rate=240000
  braking_factor=0.88
  powered=0
  inertia=2.2
  lock=55
  camber=2.5
  ackerman=1.1
  mass=15
  inertia=0.61
  radius=0.35
  pacejka~pacejka
  {
  }
skidding
{
 long_start=0.10
 long_max=0.18
}
}
wheel_rear
{
  y=0
  z=0
  max_braking=1000
  rolling_coeff=0.017
  tire_rate=225000
  braking_factor=0.5
  powered=1
  power_gearing=0.8
  steering=0
  mass=15
  inertia=0.61
  radius=0.34
  max_handbrake_torque=2500
  pacejka~pacejka
  {
  }
}
wheel0~wheel_front
{
  x=0
  toe=0.015

  model
  {
    file=left.dof
  }
  model_brake
  {
    file=
  }
}
wheel1~wheel_front
{
  camber_change_per_m=-3
  x=0
  toe=-0.015
  model
  {
    file=right.dof
  }
  model_brake
  {
    file=
  }
}
wheel2~wheel_rear
{
  x=0
  toe=0
  camber=0
  model
  {
    file=left.dof
  }
  model_brake
  {
    file=
  }
}
wheel3~wheel_rear
{
  x=0
  toe=0
  camber=0
  model
  {
    file=right.dof
  }
  model_brake
  {
    file=
  }
}
camera0
{
  offset
  {
    x=0.445
    y=0.62 ;1.2
    z=0.45
  }
  offset_to
  {
    x=0.398438
    y=0.6
    z=9.955000
  }
  src
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
  model=1
  wheels=2
  view=1
 fov=55
}
camera1
{
  name=Driver, left
  fov=60
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.37
    y=0.62
    z=0.45
  }
  offset_to
  {
    x=10.43
    y=0.5
    z=10
  }
  src
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=Driver, right
  fov=60
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.37
    y=0.62
    z=0.45
  }
  offset_to
  {
    x=-9.57
    y=0.5
    z=10
  }
  src
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
  name=Driver, rear
  fov=-65
  model=0
  wheels=0
  view=0
  offset
  {
    x=0.1
    y=0.62
    z=0.45
  }
  offset_to
  {
    x=-1
    y=0.5
    z=-10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera4
{
  name=Chase
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0
    y=-0.5
    z=5
  }
  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=-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=-5
  }
  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=1.267185
		y=0.129164
		z=-2.6
	}
	angle
	{
		x=1.361085
		y=-165.972626
		z=1.298599
	}
	follow
	{
		pitch=0
		yaw=1
		roll=1
	}

}
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=Bonnet
	fov=60
	model=0
	wheels=0
	view=0
	offset
	{
		x=0.356
    		y=-0.75
    		z=0.55
	}
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	angle
	{
		x=5
		y=180
		z=0
	}
}
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=5
    }
    smp1~audio.acc_all
    {
      sample=a2000in.wav
      min=1000
      max=2000
      natural=3200
      volume=3
    }
    smp2~audio.acc_all
    {
      sample=a4000in.wav
      min=3000
      max=4000
      natural=4200
      volume=3
    }
    smp3~audio.acc_all
    {
      sample=a6000in.wav
      min=5000
      max=7000
      natural=6200
      volume=3
    }
    smp4~audio.acc_all
    {
      sample=a8000in.wav
      min=5500
      max=9000
      natural=8200
      volume=3.1
    }
  }
  decelerate_in
  {
    smp0~audio.acc_all
    {
      sample=d1000in.wav
      min=2
      max=800
      natural=1200
      volume=5
    }
    smp1~audio.acc_all
    {
      sample=d2000in.wav
      min=1000
      max=2000
      natural=3200
      volume=3
    }
    smp2~audio.acc_all
    {
      sample=d4000in.wav
      min=3000
      max=4000
      natural=4200
      volume=3
    }
    smp3~audio.acc_all
    {
      sample=d6000in.wav
      min=5000
      max=7000
      natural=6200
      volume=3
    }
    smp4~audio.acc_all
    {
      sample=d8000in.wav
      min=5500
      max=9000
      natural=8200
      volume=3.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
    }
  }
}