car
{
  name=Mercedes-Benz Sprinter 311 CDI Bombeiros
  year=2001
  id=MercedesBenzSprinter311
  credits=Convert by Arouca21. Model: GTA V
  comments=ambulancia bombeiros voluntarios
  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=shadow.dof
			use_shaders=0
    		}
		intensity=0.2
  	}
	generic
	{
		model0
		{
		file=capot.dof
		}
		model1
		{
		file=choques_frente.dof
		}
		model2
		{
		file=choques_tras.dof
		}
		model3
		{
		file=mala_direita.dof
		}
    		model4
    		{
      		file=mala_esquerda.dof
    		}
    		model5
    		{
      		file=porta_condutor.dof
    		}
    		model6
    		{
      		file=porta_lateral.dof
    		}
    		model7
    		{
      		file=porta_pendura.dof
    		}
    		model8
    		{
      		file=interior.dof
    		}
    		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
}
}
steer
{
  x=0.455
  y=0.25
  z=1.20
  xa=20
    linearity=0
  lock=1360 
  model
  {
    file=volante.dof
  }
}
engine
{
  mass=0
  idle_rpm=750
  max_rpm=5400
  max_torque=210
  
  sample=engine.wav
  sample_rpm=9500

  curve_torque=torque.crv
  autoclutch_rpm=1000
  starter=1
  starter_torque=75
  start_stalled=1
  stall_rpm=550
  start_rpm=650
  reaction=0
  shifting
  {
    automatic=0
    shift_up_rpm=4600
    shift_down_rpm=1510
    time_to_declutch=65
    time_to_clutch=15
  }
  inertia
  {
    engine=0.512
    final_drive=0.32
  }
  braking_coeff=2.5
}
;----------------------------------------------------------------------
gearbox
{
  gears=6
  gear0
  {
    ratio=-4.76
    inertia=0.9
  }
  gear1
  {
    ratio=5.05
    inertia=0.13
  }
  gear2
  {
    ratio=2.60
    inertia=0.09
  }
  gear3
  {
    ratio=1.52
    inertia=0.07
  }
  gear4
  {
    ratio=1.0
    inertia=0.05
  }
  gear5
  {
    ratio=0.78
    inertia=0.05
  }
  end_ratio=3.07
}

;----------------------------------------------------------------------
clutch
{
  max_torque=640
}
;----------------------------------------------------------------------
handbrakes
{
  wheels=23
}

;----------------------------------------------------------------------
differential
{
  type=1
  ratio=4.11
  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.25
  z=1.56
  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.74
  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.81
}
susp1~susp_front
{
  caster_offset=-0.01
  camber_change_steering=.01
  camber_change_per_m=.52
  x=-0.81
}
susp2~susp_rear
{
  x=0.82
}
susp3~susp_rear
{
  x=-0.82
}
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.555
    z=0.51
  }
  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.555
    z=0.51
  }
  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.555
    z=0.51
  }
  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.555
    z=0.51
  }
  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
  	{
    		sample=skid.wav
  	}
  	acc_all
  	{
    		attack=600
    		decay=600
  	}
  	accelerate_out
  	{
    		smp0~audio.acc_all
    		{
      			volume=1
			sample=idle.wav
      			min=0
      			max=1000
      			natural=750
    		}
		smp1~audio.acc_all
    		{
      			volume=1
     			sample=engine.wav
      			min=1300
      			max=9999999999999999
      			natural=2200
    		}
        }
  	decelerate_out
  	{
   		smp0~audio.acc_all
    		{
      			volume=1
			sample=idle.wav
      			min=0
      			max=1000
      			natural=750
    		}
		smp1~audio.acc_all
    		{
      			volume=1
     			sample=engine.wav
      			min=1300
      			max=9999999999999999
      			natural=2200
    		}
        }

  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

    }

  }

}