car
{
	name=Daewoo-FSO Polonez Truck Plus ST 1.9 D (2d pickup) 
	year=2002(vmax:133km/h;0-100:19,3s.)
	credits=Model by Darewnoo, Lazlow555;Converted by Filip Z M3,         Fabikan75.
  	comments=Dis:1905cc;Tor:120Nm @ 2000 rpm;Pow:70Km(51kW) @ 4600 rpm.
  	wheels=4
  	id=poloneztrakplus
  	version=065
	ff_factor=0
   shadow
   {
      texture=shadow.tga
      width=0
      length=0
      offset_z=0.0
      offset=0
   }
   cg
   {
      x=0
      y=-0.35
      z=-0.2
   }
}
   fuel
  	{
  	bsfc=5e-5
  	max=5
  	type=0
	}
graphics
{
	intensity=0.3
	shadow
	{
		model
		{
			file=body.dof
			use_shaders=0
		}
	}
          
            generic
            {
	model0
	{
	file=lewy_kierun.dof
	}
	model1
	{
	file=prawy_kierun.dof
	}
	model2
	{
	file=fog.dof
	}
	model3
	{
	file=licznik_fog.dof
	}
	model4
	{
	file=dlugie.dof
	}
	model5
	{
	file=licznik_dlugie.dof
	}
	}
        }


body
{
  	mass=1270
  	model
  	{
    		file=body.dof
  	}
	model_incar
	{
		file=body.dof
	}
 	model_light_l
  	{
    		file=lights.dof
  	}
  	model_braking_l
  	{
    		file=brake.dof
  	}
        model_reverse_l
        {
            file=rev.dof
        }
		model_collide
   {
      file=collibox.dof
   }
   model_lightroad_l
        {
                file=lights.dof
        }
   width=1.650
   height=1.465
   length=4.770
  	manual_box=1
}

steer
{
  x=0.34
  y=0.22
  z=0.52
  	radius=10
  	xa=15
  	lock=900
  	linearity=0.2
  	model
  	{
    		file=kiera.dof
  	}
}

engine
{
  size=0
  	mass=0
  	stall_rpm=450
  	start_rpm=1000
  	idle_rpm=750
  	autoclutch_rpm=2500
  	max_rpm=5000

  	curve_torque=torque.crv
  	max_torque=120
  	idle_method=1
  	starter=1
  	starter_torque=95
  	start_stalled=1
    enable_stall=1
	shifting
	{
		automatic=0
		shift_up_rpm=6150
		shift_down_rpm=3000
		time_to_clutch=2
		time_to_clutch_down=2
	}
	inertia
	{
		engine=0.25
		final_drive=0.1
	}
	braking_coeff=2.5
	rolling_friction_coeff=0.1
	sample=engine.wav
	sample_rpm=5900
}

gearbox
{
   gears=6
   gear0
   {
      inertia=0.2
      ratio=-4.3
   }
   gear1
   {
      ratio=4.5
      inertia=0.1
   }
   gear2
   {
      ratio=2.5
      inertia=0.08
   }
   gear3
   {
      ratio=1.8
      inertia=0.06
   }
   gear4
   {
      ratio=1.36
      inertia=0.02
   }
   gear5
   {
      ratio=1.07
      inertia=0.04
   }
}
clutch
{
	max_torque=250
}

handbrakes
{
	wheels=23
}

differential
count=1
{
  type=1
  ratio=3.9
  locking_coeff=90
  output0=2
  output1=3
}
aero
{
  	body
  	{
    		center=0 0 0
    		cx=0.32
    		area=1.83
  	}
}
antirollbar
{
   count=2
   arb0
   {
      susp_left=0
      susp_right=1
      k=400
   }
   arb1
   {
      susp_left=2
      susp_right=3
      k=700
   }
}
susp_front
{
  y=-0.05
  z=1.35
  restlen=0.450
  minlen=0.230
  maxlen=0.520
  k=25000
bump_rate=1600
  bump_function=0
  rebound_rate=5100
  rebound_function=0
  anti_pitch=0.1
  camber_change_per_m=0.300
  roll_center
  {
   x=0
   y=-0.600
   z=0
  }
}
susp_rear
{
   y=0.03
   z=-1.465
  restlen=0.500
  minlen=0.300
  maxlen=0.500
  k=25000
  bump_rate=1300
  bump_function=0
  rebound_rate=2800
  rebound_function=0
  anti_pitch=0.2
  camber_change_per_m=0.4
   caster_offset=-0.045
  roll_center
  {
   x=0
   y=-0.600
   z=0
  }
}
susp0~susp_front
{
   x=0.71
}
susp1~susp_front
{
   x=-0.71
}
susp2~susp_rear
{
   x=0.71
}
susp3~susp_rear
{
   x=-0.71
}
tire_model_front
{
   damping_predict_lat=0.492
   damping_predict_long=0.018
}
tire_model_rear
{
   damping_predict_lat=0.504
   damping_predict_long=0.020
}
pacejka
{
  ; Pacejka constants (Pacejka96 model)
  model=0
  ; Lateral coefficients
  a0=1.20000
  a1=-42.00000
  a2=1300.00000
  a3=1278.00000
  a4=10.65000
  a5=0.00000
  a6=-0.10000
  a7=-0.37000
  a8=0.04000
  a9=0.04000
  a10=0.14600
  a111=-13.80000
  a112=0.00000
  a12=0.00000
  a13=9.30000
  ; Longitudinal coefficients
  b0=1.54600
  b1=-25.00000
  b2=1300.00000
  b3=0.92000
  b4=153.00000
  b5=0.00000
  b6=0.01200
  b7=-0.04000
  b8=0.17200
  b9=0.00000
  b10=0.00000
  ; Aligning moment coefficients
  c0=2.10000
  c1=-2.07000
  c2=-4.20000
  c3=0.00000
  c4=-1.74000
  c5=0.00000
  c6=0.00000
  c7=0.01200
  c8=-2.70000
  c9=3.65000
  c10=0.00000
  c11=-0.02000
  c12=-0.02000
  c13=0.25200
  c14=-0.09400
  c15=-0.43500
  c16=0.13800
  c17=0.16500
  ; Statistical data (SR, SA in radians)
  optimal_slipratio=0.11
  optimal_slipangle=0.16
}

wheel_front
{
   y=0
   z=0
   lock=62
   ackerman=1
   inertia=0.7
   radius=0.32
   width=0.165		;165/70 R13 v 185/70 R13
   slices=32
   friction_road=1
}
wheel_rear
{
   y=0
   z=0
   ackerman=1
   radius=0.32
   width=0.165		;165/70 R13 v 185/70 R13
   slices=32
   friction_road=0.5
   max_handbrake_torque=18000
}
wheel0~wheel_front
{
   x=0
   camber=0
   toe=0
   model
   {
      file=lf.dof
   }
   model_brake
   {
      file=tarczalewa.dof
   }
   y=0
   z=0
   max_braking=1333
   inertia=0.78
   mass=12
   braking_factor=0.85
   max_handbrake_torque=0
   tire_rate=120000
   tire_damping=1200
   steering=1
}
wheel1~wheel_front
{
   x=0
   camber=0
   toe=0
   model
   {
      file=rf.dof
   }
   model_brake
   {
      file=tarczaprawa.dof
   }
   max_braking=1333
   inertia=0.78
   mass=12
   braking_factor=0.85
   max_handbrake_torque=0
   tire_rate=120000
   tire_damping=1200
   y=0
   z=0
   steering=1
}
wheel2~wheel_rear
{
   x=0
   camber=0
   toe=0
   model
   {
      file=lf.dof
   }
   model_brake
   {
      file=tarczalewa.dof
   }
   max_braking=775
   inertia=0.778
   lock=0
   mass=12
   braking_factor=0.15
   tire_rate=120000
   tire_damping=1200
   y=0
   z=0
   steering=0
}
wheel3~wheel_rear
{
   x=0
   camber=0
   toe=0
   model
   {
      file=rf.dof
   }
   model_brake
   {
      file=tarczaprawa.dof
   }
   max_braking=775
   inertia=0.778
   lock=0
   mass=12
   braking_factor=0.15
   tire_rate=120000
   tire_damping=1200
   y=0
   z=0
   steering=0
}
camera0
{
	name=Driver
	fov=70
        model=1
        wheels=4
        view=0
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	offset
	{
		x=0.36
		y=0.55
		z=0.1
	}
	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.36
	y=0.5
	z=0.1
  }
  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.36
	y=0.5
	z=0.1
  }
  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
  fov=60
  model=1
  wheels=0
  view=1
  offset
  {
    x=-0.38
    y=0.46
    z=0.0
  }
  offset_to
  {

    x=0.43
    y=-0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  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.5
    z=-7
  }
  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=-7
  }
  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=-7
  }
  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
{
  offset
  {
    x=0.0
    y=2.2
    z=-5
  }
  angle
  {
    x=0.000000
    y=130.000000
    z=0.000000
  }
  name=Chase Close
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  fov=75
  model=0
  wheels=0
  view=0
  src
  {
    mass=6
    k=250
    damping=90
    maxdist=2
  }
  dst
  {
    mass=1
    k=100
    damping=70
    maxdist=2
  }
}
camera9
{
  name=Chase rear
  fov=60
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.0
    y=-0.7
    z=0.0
  }
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  angle
  {
    x=15
    y=0
    z=0
  }
}
;##########################################
audio
{
  skid
  {
    volume=0.8
    sample=skid.wav
    sample2=skid.wav
  }
  horn
  {
    sample=v8/horn.wav
  }
  accelerate_out
  {
     smp0~audio.acc_all
    {
      sample=psar4dieselonpump/750.wav
      min=700
      max=1600
      decay=1500
      natural=750
    }
    smp1~audio.acc_all
    {
      sample=psar4dieselonpump/2500.wav
      min=1500
      max=4000
      attack=1500
      decay=3900
      natural=2500
    }
    smp2~audio.acc_all
    {
      sample=psar4dieselonpump/5000.wav
      min=4000
      attack=3900
      max=6000
      natural=5000
    }
  } 
  decelerate_out
  {
   smp0~audio.acc_all
    {
      sample=psar4dieselonpump/750.wav
      min=700
      max=1600
      decay=1500
      natural=750
    }
    smp1~audio.acc_all
    {
      sample=psar4dieselonpump/2500.wav
      min=1500
      max=4000
      attack=1500
      decay=3900
      natural=2500
    }
    smp2~audio.acc_all
    {
      sample=psar4dieselonpump/5000.wav
      min=4000
      attack=3900
      max=6000
      natural=5000
    }
  }
  accelerate_in
  {
     smp0~audio.acc_all
    {
      sample=psar4dieselonpump/750in.wav
      min=700
      max=1600
      decay=1500
      natural=750
    }
    smp1~audio.acc_all
    {
      sample=psar4dieselonpump/2500in.wav
      min=1500
      max=4000
      attack=1500
      decay=3900
      natural=2500
    }
    smp2~audio.acc_all
    {
      sample=psar4dieselonpump/5000in.wav
      min=4000
      attack=3900
      max=6000
      natural=5000
    }
  }
decelerate_in
  {
     smp0~audio.acc_all
    {
      sample=psar4dieselonpump/750in.wav
      min=700
      max=1600
      decay=1500
      natural=750
    }
    smp1~audio.acc_all
    {
      sample=psar4dieselonpump/2500in.wav
      min=1500
      max=4000
      attack=1500
      decay=3900
      natural=2500
    }
    smp2~audio.acc_all
    {
      sample=psar4dieselonpump/5000in.wav
      min=4000
      attack=3900
      max=6000
      natural=5000
    }
  }
  gearwhine
  {
    smp0
    {
      sample=v8/tw-extonhigh.wav
      volume=0.1
      min=1
      max=2
      decay=1000
      natural=500
    }
  }
  wind
  {
    smp0
    {
      sample=v8/wind.wav
      volume=0.8
      min=11
      max=150
      attack=10
      natural=50
    }
  }
}
flares
{
  ; Front lights
  flare0
  {
    pos=-0.5762 0.03 2.07
    color=225 225 0
	normal=0.05 0 1
	z_offset=-2500
	size_factor=0.4
	intensity=1.0
        hor_scale=1.8
  }
  flare1
  {
    pos=0.5762 0.03 2.07
   color=225 225 0
	normal=0.05 0 1
	z_offset=-2500
	size_factor=0.4
	intensity=1.0
        hor_scale=1.8
  }
}