::::::::::::::::::::::::::::::::::::::::::PODSŁUMOWANIE::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
car
{
       name=Audi 80 B3 1.6 D (Sedan)
       year=1987(vmax:154 km/h;0-100:22 s)
       credits=Autor:Robert Kuraciński;edit by Fabikan75
       comments=Dis:1588cc;Pow:54 KM (40kW) @ 4800 rpm;Tor:100 Nm @ 	       2700-3200 rpm;
       id=audi_80_16D
       version=050b6
       wheels=4
       skid
       {
           sample=skid.wav
       }
       shadow
       {
           texture=shadow.tga
           width=1.7
           length=5.720
           offset_z=0.0
           offset=0
       }
       cg
       {
          x=0
          y=-0.4
          z=0.135
       }
}
fuel
{
  	bsfc=4e-5
  	max=10.0
  	type=1
}
lights
{
  ; Projected lights
  light0
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=55
    ; Aspect (horizontal)
    aspect=5
    ; Distance to car
    z=2
    ; Pitching with respect to car (in degrees)
    pitch=0
    ; Fall-off distance
    far=100
  }
  OLD_light0
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=25.0
    ; Aspect (horizontal)
    aspect=4.0
    ; Distance to car
    z=2
    ; Pitching with respect to car (in degrees)
    pitch=10
  }
}
lights
{
  ; Projected lights
  light0
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=55
    ; Aspect (horizontal)
    aspect=5
    ; Distance to car
    z=2
    ; Pitching with respect to car (in degrees)
    pitch=0
    ; Fall-off distance
    far=100
  }
  OLD_light0
  {
    texture=light.tga
    ; Field of view (vertical)
    fov=25.0
    ; Aspect (horizontal)
    aspect=4.0
    ; Distance to car
    z=2
    ; Pitching with respect to car (in degrees)
    pitch=10
  }
}

graphics
{
	generic
	{
		model0
		{
			file=.dof
                        ;Driver by R* GTA III
		}
	}
	shadow
	{
		intensity=1.0
		model
		{
			file=collision.dof
			use_shaders=1
		}
	}
}
::::::::::::::::::::::::::::::::::::::KOROSERIA::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
body
{
        mass=1030
  	inertia
  	{
    		x=1855
    		y=1959
    		z=409
  	}
  	model
  	{
    		file=body.dof
  	}
  	model_incar
  	{
    		;file=
  	}
 	model_light_l
  	{
    		file=lights.dof
  	}
        model_collide
  	{
    		file=col.dof
  	}
 	model_light_r
  	{
    		;file=
  	}
        model_reverse_l
        {
                file=wsteczny.dof
        }
  	model_braking_l
  	{
    		file=braking.dof
  	}
  	model_braking_r
  	{
    		;file=
  	}
        width=1.695
        height=1.397
        length=4.404
  	manual_box=1
}
:::::::::::::::::::::::::::::::::::KIEROWNIE:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
steer
{
        x=0.335
        y=0.19
        z=0.45
  	radius=10
  	xa=20
  	lock=1250
  	linearity=0.65
  	model
  	{
    		file=steer.dof
  	}
}
:::::::::::::::::::::::::::::::::ABS::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
abs
{
  	enable=1
	min_velocity=1.7
  	max_velocity_ratio=1.10
  	min_velocity_ratio=1.05
}
:::::::::::::::::::::::::::::::SILNIK 2.3E::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
engine
{
   mass=0
   idle_rpm=750
   max_rpm=5000 
   max_torque=100
   curve_torque=torque.crv
   autoclutch_rpm=1200
   starter=1
   starter_torque=65
   start_stalled=1
   stall_rpm=500
   start_rpm=850
   shifting
   {
      automatic=0
      shift_up_rpm=4000
      shift_down_rpm=1200
       time_to_declutch=80
      time_to_clutch=80
      time_in_neutral=200
      time_to_declutch_down=170
      time_to_clutch_down=80
      time_in_neutral_down=200
   }
   inertia
   {
      engine=0.7
   }
   braking_coeff=2
}
::::::::::::::::::::::::::::::::SKRZYNIA:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
gearbox
{
	gears=6

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

	gear1
	{
		ratio=3.5
		inertia=0.03
		linearity=1
	}

	gear2
	{
		ratio=2.35
		inertia=0.04
		linearity=1.2
	}

	gear3
	{
		ratio=1.65
		inertia=0.05
		linearity=1.4
	}

	gear4
	{
		ratio=1.22
		inertia=0.06
		linearity=1.6
	}

	gear5
	{
		ratio=1.0
		inertia=0.08
		linearity=1.8
	}
}
::::::::::::::::::::::::::::::::SPRZĘGŁO::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
clutch
{
	max_torque=230
}
:::::::::::::::::::::::::::::::::::::::H. RĘCZNY::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
handbrakes
{
   wheels=23
}
::::::::::::::::::::::::::::::::::::::NAPĘD:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
differential
{
  	type=1
  	ratio=3.9
  	inertia=0.1
  	output0=0
  	output1=1
}
::::::::::::::::::::::::::::::::::AERO::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
aero
{
  	body
  	{
    		center=0 0 0
    		cx=0.0
    		area=1.9
  	}
  	wings=2
  	wing0
  	{
    		name=front lift
    		span=1.0
    		cord=1.0
    		coeff_drag=0.0
   		coeff_down=-18.01
    		center=0.000 0.000 1.400
    		angle=0
    		angle_offset=1
  	}
  	wing1
  	{
    		name=rear lift
    		span=1.0
    		cord=1.0
    		coeff_drag=0.0
   		coeff_down=-6
    		center=0.000 0.000 -1.2
    		angle=0
    		angle_offset=1
  	}
}
::::::::::::::::::::::::::::::::::::::::::ZAWIESZNIE:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
antirollbar
{
  	count=2
  	arb0
  	{
    		susp_left=0
    		susp_right=1
   		k=18000
  	}
  	arb1
  	{
    		susp_left=2
    		susp_right=3
    		k=8000
  	}
}


susp_rear
{
  	y=0.000
  	z=-1.250
  	restlen=0.450
  	minlen=0.230
  	maxlen=0.520
  	k=34000
 	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_front
{
  	y=0.000
  	z=1.300
  	restlen=0.500
  	minlen=0.300
  	maxlen=0.500
  	k=27000
  	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.625
    		z=0
  	}
}
susp0~susp_front
{
    	x=0.7035
    	camber_change_steering=0.050
    	toe_change_per_m=0.130
    
}
susp1~susp_front
{
    	x=-0.7035
    	camber_change_steering=-0.050
    	toe_change_per_m=-0.130
}


susp2~susp_rear
{
    	x=0.7075
	;estimation based on Gustave's M3 site
    	toe_change_per_m=-0.016
}

susp3~susp_rear
{
    	x=-0.7075
	;estimation based on Gustave's M3 site
    	toe_change_per_m=0.016
}

tire_model_front
{
	damping_predict_lat=0
  	damping_predict_long=0
}

tire_model_rear
{
  	damping_predict_lat=0
  	damping_predict_long=0
}
pacejka
{
    	a0=1.25
    	a1=-30
    	a2=1035
    	a3=1550
    	a4=8
    	a5=0.015
    	a6=-0.25
    	a7=0.1
    	a8=-0.01
    	a9=-0.000
    	a10=-0.0
    	a111=-8.5
    	a112=-0.30
    	a12=17.5
    	a13=-2.5
    	b0=1.5
    	b1=-60
    	b2=1000
    	b3=2
    	b4=350
    	b5=0.05
    	b6=0
    	b7=0.05
    	b8=-0.025
    	b9=0.015
    	b10=0.5
    	b11=-80
    	b12=0
    	c0=2.5
    	c1=-4
    	c2=-3
    	c3=-1.1
    	c4=-7
    	c5=0.0
    	c6=0.0
    	c7=0.045
    	c8=-0.55
    	c9=0.15
    	c10=0.041
    	c11=0.043
    	c12=-0.0035
    	c13=-0.17
    	c14=0.15
    	c15=-1.027
    	c16=0.27
    	c17=-1.1
    	optimal_slipratio=0.08275
    	optimal_slipangle=0.14444
}
wheel_front
{
	y=0
	z=0
	powered=1
  	steering=1
	reverse_steering=0
	lock=69
	ackerman=1.215
	mass=30
	inertia=1.0
	radius=0.33
	rolling_coeff=0.015
	friction_road=1
	max_braking=1500
	braking_factor=1
	inboard_brakes=0
	tire_rate=175000
	pacejka~pacejka
	{
	}
}
wheel_rear
{
	y=0
	z=0
	powered=0
	steering=0
	reverse_steering=0
	lock=0
	mass=30
  	inertia=1.0
  	radius=0.33
  	rolling_coeff=0.015
  	friction_road=1
  	max_braking=800
  	max_handbrake_torque=1500
  	braking_factor=1
	inboard_brakes=0
  	tire_rate=175000
  	pacejka~pacejka
  	{
  	}
}
wheel0~wheel_front
{
	x=0
	toe=-0.980
	camber=1.980
    	model
  	{
    		file=lewa.dof
  	}
    		model_brake
  	{
    		file=brake.dof
  	}
}

wheel1~wheel_front
{
  	x=0
  	toe=0.980
  	camber=1.980
    	model
  	{
    		file=prawa.dof
  	}
    		model_brake
  	{
    		file=brake.dof
  	}
}



wheel2~wheel_rear
{
  	x=0
  	toe=-0.080
  	camber=-0.035
    	model
  	{
    		file=lewa.dof
  	}
   	model_brake
  	{
    		file=btake.dof
  	}
}

wheel3~wheel_rear
{
  	x=0
  	toe=0.080
  	camber=-0.035
    	model
  	{
    		file=prawa.dof
  	}
    	model_brake
  	{
    		file=brake.dof
  	}
}
::::::::::::::::::::::::::::::::::::::::::::::::::::::::KAMERAY::::::::::::::::::::::::::::::::::::::::::::::
camera9
{
	name=Driver
	fov=60
	model=0
	wheels=0
	view=1
	name=Inside
	fov=55

	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	offset
	{
		x=-0.3
		y=0.5
		z=-0.18
	}
	offset_to
	{
		x=0
		y=0
		z=10
	}
	angle
	{
		x=1.000000
		y=180.000000
		z=0.000000
	}
	src
	{
		mass=5
		k=750
		damping=75
		maxdist=0.2
	}
	dst
	{
		mass=0
		k=0
		damping=0
		maxdist=0
	}
}
camera1
{
	name=Driver
	fov=68
	model=0
	view=1
	wheels=0
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	offset
	{
		x=0.355
		y=0.39
		z=-0
	}
	offset_to
	{
		x=12
		y=0
		z=10
	}
	angle
	{
		x=0
		y=-300
		z=0
	}
	src
	{
		mass=5
		k=750
		damping=75
		maxdist=0.2
	}
	dst
	{
		mass=1
		k=0
		damping=0
		maxdist=0
	}
}
camera2
{
	name=Driver
	fov=68
	model=0
	view=1
	wheels=0
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	offset
	{
		x=0.355
		y=0.39
		z=-0
	}
	offset_to
	{
		x=-12
		y=0
		z=10
	}
	angle
	{
		x=0
		y=-300
		z=0
	}
	src
	{
		mass=5
		k=750
		damping=75
		maxdist=0.2
	}
	dst
	{
		mass=1
		k=0
		damping=0
		maxdist=0
	}
}
camera3
{
  name=Driver, rear
  fov=-65
  model=0
  wheels=0
  view=0
  offset
  {
    x=0.1
    y=0.49
    z=-0.03
  }
  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
{
  offset
  {
    x=0.0
    y=1.0
    z=-4.0
  }
  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
  }
}
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
  }
}
camera0
{
	name=Driver
	fov=60
	model=0
	wheels=0
	view=1
	name=Inside
	fov=55

	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	offset
	{
		x=0.32
		y=0.49
		z=-0.15
	}
	offset_to
	{
		x=0
		y=0
		z=10
	}
	angle
	{
		x=1.000000
		y=180.000000
		z=0.000000
	}
	src
	{
		mass=5
		k=750
		damping=75
		maxdist=0.2
	}
	dst
	{
		mass=0
		k=0
		damping=0
		maxdist=0
	}
}


::::::::::::::::::::::::::::::::::::::::::::::::::DWIĘK:::::::::::::::::::::::::::::::::::::::
audio
{
 skid
  {
    sample=skid.wav
    sample2=skid.wav
  }
  horn
  {
    sample=horn.wav
  }
  accelerate_out
  {
    smp0
    {
      sample=vagolddieselr4/idle.wav
      volume=2
      min=300
      max=3000
      attack=299
      decay=1300
      natural=3000
    }
    smp1
    {
      sample=vagolddieselr4/idle1.wav
      volume=1.5
      min=799.9
      max=800.1
      attack=0
      decay=0
      natural=800
    }
    smp2
    {
      sample=vagolddieselr4/mid.wav
      volume=2.5
      min=3000
      max=5300
      attack=1000
      decay=800
      natural=6000
    }
    smp3
    {
      sample=vagolddieselr4/5000.wav
      volume=4
      min=3000
      max=5500
      attack=2000
      decay=1000
      natural=5000
    }
  }
  decelerate_out
  {
    smp0
    {
      sample=vagolddieselr4/5000.wav
      volume=4
      min=3000
      max=5500
      attack=2000
      decay=800
      natural=5000
    }
    smp1
    {
      sample=vagolddieselr4/mid.wav
      volume=2.5
      min=3000
      max=5300
      attack=1000
      decay=800
      natural=6000
    }
    smp2
    {
      sample=vagolddieselr4/idle.wav
      volume=2
      min=300
      max=3000
      attack=299
      decay=1300
      natural=3000
    }
  }
accelerate_in
{
    smp0
    {
      sample=vagolddieselr4/idle.wav
      volume=2
      min=300
      max=3000
      attack=299
      decay=1300
      natural=3000
    }
    smp1
    {
      sample=vagolddieselr4/idle1.wav
      volume=1.5
      min=799.9
      max=800.1
      attack=0
      decay=0
      natural=800
    }
    smp2
    {
      sample=vagolddieselr4/mid.wav
      volume=2.5
      min=3000
      max=5300
      attack=1000
      decay=800
      natural=6000
    }
    smp3
    {
      sample=vagolddieselr4/5000.wav
      volume=4
      min=3000
      max=5500
      attack=2000
      decay=1000
      natural=5000
    }
  }
  decelerate_in
{
    smp0
    {
      sample=vagolddieselr4/5000.wav
      volume=4
      min=3000
      max=5500
      attack=2000
      decay=800
      natural=5000
    }
    smp1
    {
      sample=vagolddieselr4/mid.wav
      volume=2.5
      min=3000
      max=5300
      attack=1000
      decay=800
      natural=6000
    }
    smp2
    {
      sample=vagolddieselr4/idle.wav
      volume=2
      min=300
      max=3000
      attack=299
      decay=1300
      natural=3000
    }
  }
 horn
 {
 sample=horn.wav
 }
}
