car
{
  name=Volkswagen Transporter T4 Aka Air turbine
  year=2000
  credits= By Nessy
  comments=Engine by Nessy : 6.0L Gasoline Turbo. Sounds Lamborghini Gallardo. vMax: +/- 300km/h 

  id=a4
  version=090
  wheels=4

  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=1.6
    length=4.4
    offset_z=0
  }
  cg
  {
    x=0
    y=0.05
    z=0.11
  }
  ff_factor=1.0
  ff_friction=0.7
  ff_stickfriction=0.28
  ff_damping=1.0
  ff_inertia=1.0
  ff_gain=1.0
}
graphics
{
  shadow
  {
    model
    {
      file=shadow.dof
      use_shaders=1
    }
    intensity=0.3
  }
  generic
  {
   model0
   {
     file=wnetrze.dof
   }
   model1
   {
     file=bagaz.dof
   }
   model2
   {
     file=xxx.dof
   }
  }
}
lights
{
  light0
  {
    texture=light.tga
    fov=55.0
    aspect=5.0
    z=2.4
    far=120
    pitch=0
    color=2.25 2.25 3
  }
}
;----------------------------------------------------------------------
;Body:}
body
{
  mass=1700
  inertia
  {
    x=2300
    y=2500
    z=700
  }
  width=1.986	;1986 mm
  height=1.33	;1332 mm
  length=4.12	;4118 mm
  manual_box=0
  model
  {
    file=t4.dof
  }
  model_incar
  {
    file=t4.dof
  }
  model_braking_l
  {
    file=brakes.dof
  }
  model_light_l
  {
    file=lights.dof
  }
  model_lightroad_l
  {
    file=lights.dof
  }
  model_collide
  {
    file=t4.dof
  }
  model_reverse_l
  {
    file=rev.dof
  }
  model_reverse_r
  {
    file=rev.dof
  }
}
;----------------------------------------------------------------------
;Steer:

steer
{
  x=0.4208
  y=0.6250
  z=1.225
  radius=45
  xa=33
  lock=1080
  linearity=0.78
  model
  {
    file=kiera.dof
  }
}
;----------------------------------------------------------------------
;Engine:

engine
{
  x=0
  y=0
  z=0
  size=0
  mass=0
  idle_method=1
  idle_throttle=0
  idle_rpm=1000
  min_warn_rpm=7500
  max_warn_rpm=8000
  max_rpm=9100
  rev_limiter_time=140
  start_rpm=1500
  stall_rpm=400
  autoclutch=1
  autoclutch_rpm=1500
  launch_control=1
  starter=1
  starter_torque=120
  start_stalled=1
  enable_stall=1
  curve_torque=crv/engine_torque.crv
  max_torque=1.6
  braking_coeff=
  braking_offset=0
  braking_torque_curve=crv/engine_braking.crv
  torque_reaction=0.25
  friction=0
  cylinders=10
  cylinder_angle=50
  rumble_amplitude=0
  rumble_maxrpm=8100
  inertia
  {
    engine=0.28
  }
  jitter
  {
    amplitude=0.2
    frequency_min=200
    frequency_var=600
    time_min=8
    time_var=3
  }
  shift_egear
  {
    automatic=0
    blip_throttle=1
    cut_throttle=1
    cut_ignition=0
    fast=1
    shift_up_rpm=8000
    shift_down_rpm=5250
    time_to_clutch=50
    time_in_neutral=50
    time_to_declutch=100
    time_to_clutch_down=50
    time_in_neutral_down=100
    time_to_declutch_down=50
  }
  shift_manual
  {
    automatic=0
    blip_throttle=0
    cut_throttle=0
    cut_ignition=0
    fast=0
    shift_up_rpm=8000
    shift_down_rpm=3500
    time_to_declutch=125
    time_in_neutral=0
    time_to_clutch=225
    time_to_declutch_down=125
    time_in_neutral_down=0
    time_to_clutch_down=225
  }
  shift_free
  {
    automatic=0
    blip_throttle=0
    cut_throttle=0
    cut_ignition=0
    fast=0
    shift_up_rpm=8000
    shift_down_rpm=3500
    time_to_declutch=0
    time_in_neutral=0
    time_to_clutch=0
    time_to_declutch_down=0
    time_in_neutral_down=0
    time_to_clutch_down=0
  }
  shifting~engine.shift_egear
  {
  }
  speedlimiter
  {
    time=20
    velocity=25
  }
}
fuel
{
  bsfc=14e-5
  max=90
  type=0
}
clutch
{
  max_torque=1100
}
gearbox
{
  gears=7
  gear0
  {
    ratio=-2.56
    inertia=0.14
    engine_map=0.8
  }
  gear1
  {
    ratio=2.56
    inertia=0.14
    engine_map=1
    warning_sound
    {
      duration=0
      freq=0
      rpm=0
    }
  }
  gear2
  {
    ratio=1.85
    inertia=0.10
    engine_map=1.2
    warning_sound
    {
      duration=0
      freq=0
      rpm=0
    }
  }
  gear3
  {
    ratio=1.42
    inertia=0.08
    engine_map=1.4
    warning_sound
    {
      duration=0
      freq=0
      rpm=0
    }
  }
  gear4
  {
    ratio=1.14
    inertia=0.06
    engine_map=1.6
    warning_sound
    {
      duration=0
      freq=0
      rpm=0
    }
  }
  gear5
  {
    ratio=0.94
    inertia=0.04
    engine_map=1.8
  }
  gear6
  {
    ratio=0.81
    inertia=0.02
    engine_map=2
  }
}
differentials
{
  count=1
  diff0
  {
    type=3
    ratio=3.944
    inertia=0.1
    friction=200
    power_ratio=2.64
    coast_ratio=2.00
    output0=0
    output1=1
  }
}
clutch
{
  max_torque=2800
}
;----------------------------------------------------------------------
;Aero:

aero
{
  body
  {
    center=0 0 0
    cx=0.36
    area=2
  }
  wings=2
  wing0
  {
    name=Overall aerodynamic effect F
    span=1
    cord=0.1
    coeff_drag=110
    coeff_down=14.0	
    center=0 -0.1 1.49
    angle=0
    angle_offset=1
  }
  wing1
  {
    name=Overall aerodynamic effect R
    span=1
    cord=0.1
    coeff_drag=100
    coeff_down=19.3	;1000N @ 250km/h
    center=0 -0.1 -1.25
    angle=0
    angle_offset=1
  }
}
;----------------------------------------------------------------------
;Antirollbar:

antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=40000
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=35000
  }
}
;----------------------------------------------------------------------
;Suspension front:


susp_front                    
{
  y=-0.00
  z=1.5921
  restlen=0.372		
  minlen=0.12
  maxlen=0.38
  k=35800
  bump_rate=6640
  bump_function=0
  rebound_rate=6640
  rebound_function=0
  bumpstop_len=0.08
  bumpstop_k=135000
  bumpstop_damping=5600
  reboundstop_len=0.01
  reboundstop_damping=5500
  anti_pitch=0.09
  roll_center
  {
    x=0
    y=-0.56	
    z=0
  }
}
susp0~susp_front
{
  x=0.79
  camber_change_steering=0.145
  caster_offset=-0.022
  toe_change_per_m=0
}
susp1~susp_front
{
  x=-0.79
  camber_change_steering=-0.145
  caster_offset=-0.022
  toe_change_per_m=0
}
;----------------------------------------------------------------------
;Suspension rear:

susp_rear
{
  y=0.01
  z=-1.3108
  restlen=0.382		
  minlen=0.1
  maxlen=0.36
  k=37200
  bump_rate=5890
  bump_function=0
  rebound_rate=5520
  rebound_function=0
  bumpstop_len=0.08
  bumpstop_k=10000
  bumpstop_damping=5500
  reboundstop_len=0.01
  reboundstop_damping=5500
  anti_pitch=0.14
  roll_center
  {
    x=0
    y=-0.54	
    z=0
  }
}
susp2~susp_rear
{
  x=0.79
  toe_change_per_m=0.05
}
susp3~susp_rear
{
  x=-0.79
  toe_change_per_m=-0.05
}
}
pacejka
{
  a0=1.25	
  a1=-42	;ps (from pacejkaseries.txt, 205/55 R16)
  a2=1330
  a3=2800
  a4=2.25
  a5=0.015
  a6=-0.25
  a7=1.0
  a8=-0.03
  a9=-0.001
  a10=-0.15
  a111=0	;ps
  a112=-0.29
  a12=17.8
  a13=-2.4
  b0=1.25
  b1=-57	;ps doubled
  b2=2600
  b3=15
  b4=280
  b5=0.17
  b6=0.0
  b7=0.05
  b8=-0.024
  b9=0.015
  b10=0.25
  b11=-86
  b12=0.0
  c0=2.3
  c1=-3.8
  c2=-3.14
  c3=-1.0
  c4=-7.2
  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.04
  c15=-1.029
  c16=0.27
  c17=-1.1
  optimal_slipratio=0.17931
  optimal_slipangle=0.10111
  camber_min=-99
  camber_max=99
  fz_min=0
  fz_max=1e6
  slipangle_min=-99
  slipangle_max=99
  slipratio_min=-99
  slipratio_max=99
  lyka=1.0
  lxal=1.0
}
wheel_front
{
  y=0
  z=0
  steering=1
  lock=58
  mass=25.8
  ackerman=1.15
  inertia=1
  radius=0.33
  rolling_coeff=0.001
  friction_road=1
  max_braking=2050
  braking_factor=1
  brake_dissipation=0.00025
  brake_heating=0.0006
  brake_max_temp=750
  tire_rate=220000
  tire_damping=300
  tire_damping_lowspeed=2500
  tire_damping_threshold=5
  powered=1
  power_gearing=0.15
  pacejka~pacejka
  {
  }
  ;235/35 ZR19
}
wheel_rear
{
  y=0
  z=0
  steering=0
  mass=34.2
  inertia=1.1
  radius=0.33
  rolling_coeff=0.001
  friction_road=1
  max_braking=950
  braking_factor=1
  tire_rate=235000
  tire_damping=300
  tire_damping_lowspeed=2500
  tire_damping_threshold=5
  brake_dissipation=0.00025
  brake_heating=0.0006
  brake_max_temp=750
  max_handbrake_torque=8000
  pacejka~pacejka
  {
  }
}
wheel0~wheel_front
{
  x=0
  toe=0
  model
  {
    file=fl.dof
  }
  model_brake
  {
    file=lewyprzod.dof
  }
}
wheel1~wheel_front
{
  x=0
  toe=0
  model
  {
    file=fp.dof
  }
  model_brake
  {
    file=prawyprzod.dof
  }
}
wheel2~wheel_rear
{
  x=0
  toe=0
  model
  {
    file=fl.dof
  }
  model_brake
  {
    file=lewytyl.dof
  }
}
wheel3~wheel_rear
{
  x=0
  toe=0
  model
  {
    file=fp.dof
  }
  model_brake
  {
    file=prawytyl.dof
  }
}
;-----------------------------------------------------------------------
;-----------------------------------------------------------------------
;Camera


camera0
{
	name=Driver
	fov=70
        model=1
        wheels=4
        view=0
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	offset
	{
		x=0.44
		y=1.01
		z=0.68
	}
	offset_to
	{
		x=0
		y=0
		z=10
	}
	angle
	{
		x=0
		y=0
		z=0
	}
	src
	{
		mass=0
		k=0
		damping=0
		maxdist=0
	}
	dst
	{
		mass=0
		k=0
		damping=0
		maxdist=0
	}
}
camera1
{
  name=Driver, left
  fov=70
  model=1
  wheels=4
  view=0
  offset
  {
	x=0.44
	y=1.01
	z=0.68
  }
  offset_to
  {
    x=10.43
    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=70
  model=1
  wheels=4
  view=0
  offset
  {
	x=0.44
	y=1.01
	z=0.68
  }
  offset_to
  {
    x=-9.57
    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=-70
  model=1
  wheels=4
  view=0
  offset
  {
	x=0.1
	y=1.01
	z=0.68
  }
  offset_to
  {
    x=-1
    y=0.5
    z=-10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  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=-20
  }
  angle
  {
    x=10
    y=50
    z=0
  }
}
camera9
{
	name=Bonnet
	fov=60
	model=0
	wheels=0
	view=0
	offset
	{
		x=0.356
    		y=-0.8
    		z=-0.2
	}
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	angle
	{
		x=5
		y=180
		z=0
	}
}
audio
{
  horn
  {
    sample=sound\horn.wav
  }
  skid
  {
    ; is this here just for legacy stuff? Note ini fallback etc needs a good clear up really for V0.9 only content
    ;sample=sound\skid_02.wav
    volume=1
    smp0
    {
      volume=0.12
      sample=sound\skid_01.wav
      min=0.2
      max=0.2
      attack=0.15
      decay=0.55
    }
    smp1
    {
      volume=0.24
      sample=sound\skid_02.wav
      min=0.6
      max=0.6
      attack=0.55
      decay=1.6
    }
    smp2
    {
      volume=0.48
      sample=sound\skid_03.wav
      min=1.8
      max=20
      attack=1.6
      decay=0
    }
  }
  acc_all
  {
    attack=2666
    decay=2666
  }
  ; exterior
  accelerate_out
  {
    smp0~audio.acc_all
    {
      sample=sound\a1000.wav
      min=500
      max=1000
      natural=934
      volume=0.2
      attack=0
    }
    smp1~audio.acc_all
    {
      sample=sound\a3000.wav
      min=3000
      max=3000
      natural=3000
      volume=0.5
      decay=1333
    }
    smp2~audio.acc_all
    {
      sample=sound\a4000.wav
      min=4000
      max=4000
      natural=4000
      volume=0.5
      attack=1333
      decay=1333
    }
    smp3~audio.acc_all
    {
      sample=sound\a5000.wav
      min=5000
      max=5000
      natural=5108
      volume=0.5
      attack=1333
    }
    smp4~audio.acc_all
    {
      sample=sound\a7000.wav
      min=6000
      max=6200
      natural=7260
      volume=0.8
      decay=1333
    }
    smp5~audio.acc_all
    {
      sample=sound\a9000.wav
      min=7200
      max=20000
      natural=9060
      volume=0.9
      attack=1333
    }
  }
  decelerate_out
  {
    smp0~audio.acc_all
    {
      sample=sound\idle.wav
      min=500
      max=800
      natural=804
      volume=0.2
      attack=0
      decay=266
    }
    smp1~audio.acc_all
    {
      sample=sound\d1000.wav
      min=1000
      max=1000
      natural=934
      volume=0.21
      attack=266
    }
    smp2~audio.acc_all
    {
      sample=sound\d3000.wav
      min=3000
      max=3000
      natural=3000
      volume=0.22
      decay=1333
    }
    smp3~audio.acc_all
    {
      sample=sound\d4000.wav
      min=4000
      max=4000
      natural=4000
      volume=0.22
      attack=1333
      decay=1333
    }
    smp4~audio.acc_all
    {
      sample=sound\d5000.wav
      min=5000
      max=5000
      natural=5108
      volume=0.23
      attack=1333
    }
    smp5~audio.acc_all
    {
      sample=sound\d7000.wav
      min=6000
      max=6200
      natural=7260
      volume=0.24
      decay=1333
    }
    smp6~audio.acc_all
    {
      sample=sound\d9000.wav
      min=7200
      max=9000
      natural=9060
      volume=0.25
      attack=1333
    }
  }
  ; interior
  accelerate_in
  {
    smp0~audio.acc_all
    {
      sample=sound\a1000i.wav
      min=500
      max=1000
      natural=934
      volume=0.1
      attack=0
    }
    smp1~audio.acc_all
    {
      sample=sound\a3000i.wav
      min=3000
      max=3000
      natural=3000
      volume=0.25
      decay=1333
    }
    smp2~audio.acc_all
    {
      sample=sound\a4000i.wav
      min=4000
      max=4000
      natural=4000
      volume=0.25
      attack=1333
      decay=1333
    }
    smp3~audio.acc_all
    {
      sample=sound\a5000i.wav
      min=5000
      max=5000
      natural=5108
      volume=0.25
      attack=1333
    }
    smp4~audio.acc_all
    {
      sample=sound\a7000i.wav
      min=6000
      max=6200
      natural=7260
      volume=0.4
      decay=1333
    }
    smp5~audio.acc_all
    {
      sample=sound\a9000i.wav
      min=7200
      max=20000
      natural=9060
      volume=0.45
      attack=1333
    }
  }
  decelerate_in
  {
    smp0~audio.acc_all
    {
      sample=sound\idlei.wav
      min=500
      max=800
      natural=804
      volume=0.1
      attack=0
      decay=266
    }
    smp1~audio.acc_all
    {
      sample=sound\d1000i.wav
      min=1000
      max=1000
      natural=934
      volume=0.105
      attack=266
    }
    smp2~audio.acc_all
    {
      sample=sound\d3000i.wav
      min=3000
      max=3000
      natural=3000
      volume=0.11
      decay=1333
    }
    smp3~audio.acc_all
    {
      sample=sound\d4000i.wav
      min=4000
      max=4000
      natural=4000
      volume=0.11
      attack=1333
      decay=1333
    }
    smp4~audio.acc_all
    {
      sample=sound\d5000i.wav
      min=5000
      max=5000
      natural=5108
      volume=0.115
      attack=1333
    }
    smp5~audio.acc_all
    {
      sample=sound\d7000i.wav
      min=6000
      max=6200
      natural=7260
      volume=0.12
      decay=1333
    }
    smp6~audio.acc_all
    {
      sample=sound\d9000i.wav
      min=7200
      max=9000
      natural=9060
      volume=0.125
      attack=1333
    }
  }
  gearwhine
  {
    smp0
    {
      sample=sound\trans_on.wav
      volume=0.07
      min=150
      max=150
      attack=200
      decay=133
      natural=150
    }
    smp1
    {
      sample=sound\trans_on.wav
      volume=0.05
      min=250
      max=2000
      attack=133
      natural=300
    }
  }
  gearwhine_off
  {
    smp0
    {
      sample=sound\trans_on.wav
      volume=0.1
      min=150
      max=150
      attack=200
      decay=133
      natural=150
    }
    smp1
    {
      sample=sound\trans_on.wav
      volume=0.08
      min=250
      max=2000
      attack=133
      natural=300
    }
  }
  wind
  {
    pitch_scale=0
    pitch_offset=50
    smp0
    {
      sample=sound\wind1.wav
      min=25
      max=26
      attack=33
      decay=33
      natural=80
      volume=0.5
    }
    smp1
    {
      sample=sound\wind2.wav
      min=50
      max=51
      attack=33
      decay=33
      natural=80
      volume=1
    }
    smp2
    {
      sample=sound\wind3.wav
      min=75
      max=150
      attack=33
      decay=33
      natural=80
      volume=2
    }
  }
}
;----------------------driving aids----------------------
abs
{
  enable=1
  max_velocity_ratio=1.09 
  min_velocity_ratio=1.08
  min_velocity=1
}
traction_control
{
  	enable=1
  	min_velocity=3
  	max_velocity_ratio=1.050
  	min_velocity_ratio=1.300

}