car
{
   name=Seat Toledo II 1.9 TDI Sedan
  year=2003(vmax:216 km/h;0-100:8,9 s.)
  credits=Converted by vEGas; engine variant By Fabikan75
  comments=Poj:1896 cc;Moc:150KM(110kW)przy 4000 obr./min., 320 Nm przy 1900 obr./min.
  wheels=4
  id=seattoledo219tdii
  version=090
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2.4
    length=5.200
    offset_z=-0.06
  }
 cg
 {
  x=0
  y=-0.22 ;-0.15
  z=0.1
 }
ff_factor=1.0
}
body
{
  mass=1312
  restitution_coeff=0.1
  inertia
  {
    x=2450
    y=2500
    z=470
  }
  model
  {
    file=seat.dof
  }
  model_incar
  {
    file=seat.dof
  }
 model_braking_l
{
  file=brakes.dof
}
 model_light_l
  {
  file=lights.dof
  }
 model_lightroad_l
 {
  file=lightsin.dof
}
  width=1.74
  height=1.44
  length=4.440
  manual_box=0
}
steer
{
  x=0.38
  y=0.192
  z=0.51
  radius=20
  xa=11
  lock=540
  linearity=0.3	;0.325	;3 turns lock to lock = 1080 degrees 15.4:1 steering ratio
  model
  {
      file=steer.dof
  }
}
lights
{
   Projected lights
  light0
  {
    texture=light.tga
     Field of view (vertical)
    fov=35
     Aspect (horizontal)
    aspect=10.5
     Distance to car
    z=1.02
     Pitching with respect to car (in degrees)
    pitch=100
     Fall-off distance
    far=1000
  }
  light1
  {
    texture=light0.tga
     Field of view (vertical)
    fov=35.0
     Aspect (horizontal)
    aspect=10.5
     Distance to car
    z=7,65
     Pitching with respect to car (in degrees)
    pitch=100
  }
}
flares
{
  ; Front lights
  flare0
  {
    pos=-0.56 -0.03 1.95
    color=1.0 0.8 1.6
	normal=0.05 0 1
	z_offset=-2125
	size_factor=0.85
	intensity=1.0
        hor_scale=1.8
  }
  flare1
  {
    pos=0.56 -0.03 1.95
    color=1.0 0.8 1.6
	normal=0.05 0 1
	z_offset=-2125
	size_factor=0.72
	intensity=1.0
        hor_scale=1.8
      }
   }
}
engine
{
	x=0
	y=0
	z=0
	size=0
	mass=0

	idle_rpm=750
	max_rpm=5000
	stall_rpm=500
	start_rpm=1500
	start_stalled=1
	starter_torque=100
	autoclutch_rpm=1500

	curve_torque=torque18180.crv
	max_torque=320
	shifting
	{
		automatic=0
		shift_up_rpm=6500
		shift_down_rpm=3000
		time_to_declutch=100
		time_to_clutch=80
		time_in_neutral=100
		time_to_declutch_down=135
		time_to_clutch_down=135
		time_in_neutral_down=135
	}
	inertia
	{
		engine=0.26
		final_drive=0.1
	}
	braking_coeff=2.5
	rolling_friction_coeff=0.1
	sample=engine.wav
	sample_rpm=5900
}
gearbox
{
	gears=7

	gear0
	{
		ratio=-3.06
		inertia=0.02
		linearity=0.5
	}

	gear1
	{
		ratio=3.8
		inertia=0.02
	}

	gear2
	{
		ratio=2.5
		inertia=0.03
	}

	gear3
	{
		ratio=1.8
		inertia=0.04
	}

	gear4
	{
		ratio=1.43
		inertia=0.05
	}

	gear5
	{
		ratio=1.1
		inertia=0.06
	}
	gear6
	{
		ratio=0.9
		inertia=0.04
	}
}
clutch
{
  max_torque=680
}
traction_control
{
  max_velocity_ratio=1.2
  min_velocity_ratio=1
  enable=0
}
abs
{
  max_velocity_ratio=1.2
  min_velocity_ratio=1.1
  enable=1
}
clutch
{
   max_torque=680
}
handbrakes
{
   wheels=23
}
differential
{
	type=0
	ratio=3.1
	inertia=0.15
	locking_coeff=275
	output0=0
	output1=1
}
aero
{
  body
  {
    center=0 0 0
    cx=0.33		;sourced
    area=2.06		;measured
  }
  wings=1
  wing0
  {
    name=overall body lift
    span=1
    cord=1
    coeff_drag=0
    coeff_down=-5.3	;18kg lift @ 200 km/h
    center=0 0 0.0
    angle=0
    angle_offset=1
  }
}
antirollbar
{
   count=2
   arb0
   {
      susp_left=0
      susp_right=1
      k=23000
   }
   arb1
   {
      susp_left=2
      susp_right=3
      k=16400
   }
}
susp_front                    
{
  y=-0.096
  z=1.38
  restlen=0.332		
  minlen=0.12
  maxlen=0.9
  k=57000		
  bump_rate=3100 	
  rebound_rate=6150	
  bump_function=0
  bump_max=1300
  rebound_function=0
  anti_pitch=0.4
  camber_change_per_m=0
  roll_center
  {
    x=0
    y=-0.5 	
    z=0
  }
}
susp_rear
{
  y=-0.096
  z=-1.168
  restlen=0.332		
  minlen=0.12
  maxlen=0.9
  k=53800		
  bump_rate=2100	
  rebound_rate=4470
  bump_function=0
  bump_max=1800
  rebound_function=0
  anti_pitch=0.14
  camber_change_per_m=0.45	
  roll_center
  {
    x=0
    y=-0.5	
    z=0
  }
}
susp0~susp_front
  {
    x=0.714
    toe_change_per_m=0.029		;-0.23 static toe. 0.13 degrees change with 0.078m travel. Bump out to ~0.1 toe.!
    camber_change_steering=0.1062	;using caster angle 5.78 degrees @ max_lock, outside wheel camber wrt y axis = 3.54 degrees!
    caster_offset=-0.017		;5.78 degrees static caster -0.017!
    
  }
susp1~susp_front
  {
    x=-0.714
    toe_change_per_m=-0.029  	;-0.23 static toe. 0.13 degrees change with 0.078m travel. Bump out to ~0.1 toe.!
    camber_change_steering=-0.1062	;using caster angle 5.78 degrees @ max_lock, outside wheel camber wrt y axis = 3.54 degrees!
    caster_offset=-0.017		;5.78 degrees static caster -0.017!
  }
susp2~susp_rear
  {
    x=0.714
    toe_change_per_m=0.019		;-0.27 static toe. 0.1 degrees change with 0.09m travel. Bump out to ~0.2 toe.!
  }
susp3~susp_rear
  {
    x=-0.714
    toe_change_per_m=-0.019		;-0.27 static toe. 0.1 degrees change with 0.09m travel. Bump out to ~0.2 toe.!
  }
tire_model_front
{
; 	damping_predict_lat=0
; 	damping_predict_long=0
	relaxation_length_lat=0.9
	relaxation_length_long=0.1
}
tire_model_rear
{
	relaxation_length_lat=0.9
	relaxation_length_long=0.1
}
pacejka
{
    a0=1.2
    a1=-25
    a2=1200
    a3=2000
    a4=9
    a5=0.015
    a6=-0.25
    a7=0
    a8=-0.03
    a9=-0.001
    a10=-0.15
    a111=-8.5
    a112=-0.29
    a12=17.8
    a13=-2.4
    b0=1.3
    b1=-40
    b2=1200
    b3=20
    b4=325
    b5=0.08
    b6=0
    b7=0.05
    b8=-0.025
    b9=0.015
    b10=0.4
    b11=-50
    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.12
    optimal_slipangle=0.173
}
wheel_front
{
  y=0
  z=-0.085
  max_braking=1500
  braking_factor=1
  steering=1
  powered=1
  lock=65
  ackerman=1.1
  mass=15
  inertia=0.94
  radius=0.38
  width=0.235		
  slices=20
  friction_road=1.7
  tire_rate=290000
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  y=0
  z=-0.085
  steering=0
  powered=0
  power_gearing=0 
  mass=15
  inertia=2
  width=0.255
  radius=0.38
  rolling_coeff=0.01
  max_braking=3000 
  max_handbrake_torque=3000 
  braking_factor=0.44
  tire_rate=200000
  camber=-0.4
  pacejka~pacejka
  {
  a2=1525
  a3=2100
  a4=9.5
  b2=1700
  b4=350
  optimal_slipratio=0.1
  optimal_slipangle=0.171
  }
}
wheel0~wheel_front
{
  x=0
  toe=-0.1
  model
  {
    file=lf.dof
  }
  model_brake
  {
    file=caliper_left.dof
  }
}
wheel1~wheel_front
{
  x=0
  toe=0.1
  model
  {
    file=rf.dof
  }
  model_brake
  {
    file=caliper_right.dof
  }
}
wheel2~wheel_rear
{
  x=0
  toe=-0.05
  model
  {
    file=lf.dof
    offset
    {
    x=-0.014
    }
  }
  model_brake
  {
    file=caliper_left1.dof
    }
  }
}
wheel3~wheel_rear
{
  x=0
  toe=0.05
  model
  {
    file=rf.dof
    offset
    {
    x=0.014
    }
  }
  model_brake
  {
    file=caliper_right1.dof
  }
}
camera0
{
  name=Driver
  fov=62
  model=1
  view=0
  wheels=0
  offset
  {
    x=0.3833
    y=0.6
    z=-0.0
  }
  offset_to
  {
    x=0.38
    y=-0.2
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  name=Driver, left
  fov=65
  model=1
  wheels=0
  view=1
   offset
  {
    x=0.3833
    y=0.50
    z=-0.2569
  }
  offset_to
  {
    x=10
    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=55
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.3833
    y=0.50
    z=-0.2569
  }
  offset_to
  {
    x=-10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
offset
  {
    x=-0.044
    y=-0.50
    z=-1.30
  }
  angle
  {
    x=0
    y=200
    z=0
  }
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
   name=
   ;cam4
   fov=70
   model=1
   wheels=0
   view=1
}
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera4
{
  offset
  {
    x=0.029688
    y=-0.454162
    z=-5.470018
  }
  angle
  {
    x=15.694407
    y=179.652771
    z=0.000000
  }
  name=Behind
fov=68
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
}
camera5
{
  name=Exterior
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=0
    y=-0.5
    z=-5
  }
  angle
  {
    x=10
    y=130
    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.8
    z=-6
  }
  angle
  {
    x=10
    y=0
    z=0
  }
}
camera7
{
  name=FrontWheel
  fov=60
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=1.4
    y=0.06
    z=-0.5
  }
  angle
  {
    x=-2.25
    y=-161
    z=3.3
  }
}
camera8
{
  name=Driver
  fov=62
  model=1
  view=0
  wheels=0
  offset
  {
    x=0.3833
    y=0.52
    z=-0.2669
  }
  offset_to
  {
    x=0.38
    y=-0.2
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera9
{
  name=Hood
  fov=60
  model=0
  wheels=0
  view=0
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0
    y=-1.0
    z=0.8
  }
  angle
  {
    x=5
    y=180
    z=0
  }
 }
}
audio
{
  skid
  {
    sample=skid.wav
  }
  acc_all
  {
    attack=1000
    decay=1000
  }
  accelerate_out
  {
   volume=2.0
    smp0~audio.acc_all
    {
      sample=idle.wav
      min=1
      max=2300
      attack=1200
      decay=1000
      natural=2300
      volume=0.21
    }
    smp1~audio.acc_all
    {
      sample=low.wav
      min=1000
      max=4600
      attack=1000
      decay=1000
      natural=11000
      volume=0.15
    }
    smp2~audio.acc_all
    {
      sample=mid.wav
      min=2000
      max=3000
      attack=1000
      decay=1000
      natural=21000
    }
    smp3~audio.acc_all
    {
      sample=hi.wav
      min=3000
      max=5000
      attack=1000
      decay=1000
      natural=32000
    }
    smp4~audio.acc_turbo
    {
     sample=turbo.wav
     min=1300
     max=5800
     natural=1800
     volume=0.18
    }
  }
}

  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=1
    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
    }
  }
}
ai
{
  understeer_correct=10
  oversteer_correct=10
  grip_factor=1.43
}