car
{
  name=Daewoo Lublin 3 4C90
  id=LUBLIN32000
  version=090b
  credits=Orginal Autor Lazlow555.visit website: http://www.mods.darewnoo.pl/
  comments=model was performed on order darewnoo.pl. Convert model: Venusek
  year=2000
  wheels=4
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2.6
    length=6.1
    offset_z=0.08
  }
  cg
  {
    x=0	
    y=-0.35
    z=0
  }
}
graphics
{
  shadow
  {
    model
    {
      file=shadow.dof
      use_shaders=1
    }
    intensity=0.3
  }
  generic
  {
   model0
   {
     file=lewy.dof
   }
   model1
   {
     file=prawy.dof
   }
  }
}
lights
{
  ; Projected lights
  light0
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=35
    ; Aspect (horizontal)
    aspect=4.5
    ; Distance to car
    z=0.2
    ; Pitching with respect to car (in degrees)
    pitch=0
    ; Fall-off distance
    far=100
  }
  light1
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=25.0
    ; Aspect (horizontal)
    aspect=1
    ; Distance to car
    z=2
    ; Pitching with respect to car (in degrees)
    pitch=10
  }
}
flares
{
  ; Front lights
  flare0
  {
    pos=-0.68 0.12 2.43
    color=0.98 1 0.65
	normal=0.05 0 1
	z_offset=-2500
	size_factor=1.3
	intensity=1
        hor_scale=2
  }
  flare1
  {
    pos=0.68 0.12 2.43
    color=0.98 1 0.65
	normal=0.98 1 0.65
	z_offset=-2500
	size_factor=1.3
	intensity=1
        hor_scale=2
  }
}
body
{
  mass=960		;800kg (car) + 50kg (wheels) = 850kg
  restitution_coeff=0.3
  inertia
  {
    x=2875
    y=2600
    z=625
  }
  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=lights.dof
 }
  model_reverse_l
  {
    ; Reverse gear indicators
    file=re.dof
  }
  model_reverse_r
  {
    file=rev.dof
}
  width=1.605
  height=1.410
  length=3.705
  manual_box=1
}
steer
{
  x=0.51
  y=0.71
  z=1.54
  xa=45
  linearity=0.43
  lock=900
  model
  {
    file=kierownica.dof
  }
}
engine
{
  mass=200
  idle_rpm=750
  max_rpm=8000
  max_torque=0.915
  curve_torque=eff.crv
  autoclutch_rpm=1150
  starter=1
  starter_torque=90
  start_stalled=1
  stall_rpm=300
  start_rpm=900
  torque_reaction=0.5
  shifting
  {
    automatic=0
    shift_up_rpm=5175
    shift_down_rpm=2200
    time_to_declutch=375
    time_to_clutch=175
    time_in_neutral=50
    time_to_declutch_down=375
    time_to_clutch_down=175
    time_in_neutral_down=50
  }
  inertia
  {
    engine=0.32
    final_drive=0.1
  }
  braking_coeff=2.5
  ;sample=
  ;sample_rpm=
}
gearbox
{
  gears=6
  gear0
  {
    ratio=-3.71
    inertia=0.02
    linearity=1
  }
  gear1
  {
    ratio=3.83
    inertia=0.02
    linearity=1
  }
  gear2
  {
    ratio=2.20
    inertia=0.034
    linearity=1.2
  }
  gear3
  {
    ratio=1.40
    inertia=0.05
    linearity=1.4
  }
  gear4
  {
    ratio=1.00
    inertia=0.07
    linearity=1.6
  }
  gear5
  {
    ratio=0.81
    inertia=0.09
    linearity=1.8
  }
}
clutch
{
	max_torque=250
}
handbrakes
{
	wheels=23
}
differential
{
   type=1
   ratio=3.733
   inertia=1.7
   locking_coeff=90
   clutches=1
   output0=0
   output1=1
}
aero
{
  body
  {
    center=0 0 0
    cx=0.42
    area=1.7
  }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=0
    k=10000
  }
}
susp_front
{
  y=0.0
  z=1.84
  ;80mm bump travel, 120mm rebound travel -> 435mm
  restlen=0.538
  minlen=0.355
  maxlen=0.555
  ;1.55Hz, 295.7475kg
  k=41000
  ;0.7*CD=4032
  bump_rate=3750	
  rebound_rate=5994
  bump_function=0
  rebound_function=0
  anti_pitch=0.15
  ;20°/m ???
  camber_change_per_m=0.349
  ;-4° ???
  caster_offset=-0.022
  roll_center
  {
    x=0
    y=-0.642
    z=0
  }
}
susp_rear
{
  y=0.0
  z=-1.57
  ;80mm bump travel, 120mm rebound travel -> 435mm
  restlen=0.521
  minlen=0.355
  maxlen=0.555
  ;1.7HZ, 286.7525kg, should be progressive springs...
  k=41000	
  ;0.7*CD=4288	
  bump_rate=3346	
  rebound_rate=8647	
  bump_function=0
  rebound_function=0
  anti_pitch=0.0
  camber_change_per_m=0.0
  roll_center
  {
    x=0
    y=-0.479
    z=0
  }
}
susp0~susp_front
  {
    x=0.89
    camber_change_steering=0.050
    toe_change_per_m=0.020
  }
susp1~susp_front
  {
    x=-0.89
    camber_change_steering=-0.050
    toe_change_per_m=-0.020
  }
susp2~susp_rear
  {
    x=0.89
    toe_change_per_m=0.0
  }
susp3~susp_rear
  {
    x=-0.89
    toe_change_per_m=0.0
  }
tire_model
{
   relaxation_length_lat=0.91
   relaxation_length_long=.091
   damping_speed=0.15
   damping_coefficient_lat=0.75
   damping_coefficient_long=1.5
}
pacejka_default
{
; Lateral force
a0=1.1
a1=-46
a2=1345
a3=1495
a4=11
a5=0.013
a6=-0.14
a7=0.14
a8=0.019
a9=-0.019
a10=-0.18
a111=-11
a112=-0.021
a12=0.48
a13=10.2
a13=-2.4
; Longitudinal force
b0=1.35326
b1=-90.00000
b2=1345.00000
b3=23.30000
b4=400.00000
b5=0.00000
b6=0.00680
b7=0.05500
b8=-0.02400
b9=0.01400
b10=0.26000
b11=-86
b12=350
; Aligning moment
c0=2.10000
c1=-3.90000
c2=-3.90000
c3=-1.26000
c4=-8.20000
c5=0.02500
c6=0.00000
c7=0.04400
c8=-0.58000
c9=0.18000
c10=0.04300
c11=0.04800
c12=-0.00350
c13=-0.18000
c14=0.14000
c15=-1.02900
c16=0.27000
c17=-1.10000
optimal_slipratio=0.14
optimal_slipangle=0.16
}
wheel_front
{
  y=0.05
  z=0
  steering=1
  powered=0
  lock=52
  ackerman=1.1
  mass=30
  inertia=1.0
  radius=0.36
  rolling_coeff=0.05
  max_braking=1450
  braking_factor=1
  tire_rate=175000
  pacejka~pacejka
}
wheel_rear
{
  y=0.03
  z=0
  steering=0
  lock=0
  powered=0
  mass=38
  inertia=1.0
  radius=0.365
  rolling_coeff=0.015
  max_braking=900
   max_handbrake_torque=167400
  tire_rate=160000
  pacejka~pacejka
  {
  }
}
wheel0~wheel_front
{
  x=0
  toe=-0.5
  model
  {
    file=left.dof
  }
  model_brake
  {
    file=
  }
}
wheel1~wheel_front
{
  x=-0
  toe=0.5
  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
{
  name=Driver
  fov=70
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.51
    y=1.15
    z=0.90
  }
  offset_to
  {
    x=0.50
    y=-0.5
    z=10
  }
  src
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  name=Driver, left
  fov=60
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.37
    y=1.15
    z=0.90
  }
  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=1.15
    z=0.90
  }
  offset_to
  {
    x=-9.57
    y=0.5
    z=10
  }
  src
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
  name=Driver, rear
  fov=-65
  model=1
  wheels=0
  view=0
  offset
  {
    x=0.1
    y=0.63
    z=-0.03
  }
  offset_to
  {
    x=-1
    y=0.5
    z=-10
  }
  src
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera4
{
  name=Chase
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0
    y=-0.48
    z=-9
  }
  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=-9
  }
  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=2.20
	}
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	angle
	{
		x=5
		y=180
		z=0
	}
}
audio
{
  skid
  {
    sample=
  }
  horn
  {
    sample=horn.wav
  }
  shiftin
  {
    sample=shift.wav
  }
  shiftout
  {
    sample=shift.wav
  }
  accelerate_out
  {
    smp0
    {
      sample=mast.wav
      volume=0.9
      min=300
      max=1200
      decay=100
      natural=1900
    }
    smp1
    {
      sample=mast_hi.wav
      volume=0.8
      min=1200
      max=8000
      attack=150
      decay=300
      natural=1450
    }
    smp2
    {
      sample=mast_mi.wav
      volume=1.0
      min=2650
      max=5000
      attack=300
      decay=500
      natural=1600
    }
  }
  decelerate_out
  {
    smp0
    {
      sample=mast.wav
      volume=1.1
      min=300
      max=1200
      decay=350
      natural=1800
    }
    smp1
    {
      sample=mast_hi.wav
      volume=1.1
      min=1200
      max=8000
      attack=150
      decay=300
      natural=1350
    }
    smp2
    {
      sample=mast_mi.wav
      volume=1.4
      min=2650
      max=8000
      attack=300
      decay=500
      natural=1500
    }
  }
}