car
{
	name=Land-Rover 109 Series IIa Station Wagon
	year=1963
	credits=Converted by Priban, originally made for GTASA by StratumX
	comments=2286cm3, 37.5kW/51PS/50HP, 140Nm
	id=uklrdisco
	version=0655
	wheels=4
	ff_factor=0.25
	skid
	{
		sample=Skid.wav
	}
	shadow
	{
		texture=shdw.tga
		width=3.1
		length=4.5
	}
	cg
	{
		x=0	
		y=-0.55		;-0.35
		z=0.1		;0.45
	}
}
graphics
{
	intensity=0.3
	shadow
	{
		model
		{
			file=shadow.dof
			use_shaders=0
		}
	}
}
body
{
	mass=1780
	inertia
	{
		x=3000
		y=3300
		z=900
	}
	width=2.1
	height=1.51
	length=4.31
	manual_box=0
	model
	{
		file=landrover.dof
	}
	model_incar
	{
		file=landrover.dof
	}
	model_lightroad_l
	{
		file=lights.dof
	}
	model_braking_l
	{
		file=brake.dof
	}
}
steer
{
	x=0.432
	y=0.19
	z=0.5
	radius=10
	xa=395
	lock=900
                 linearity=0.2 
	model
	{
		file=stw.dof
	}
}
engine
{
	size=0
  	mass=0
                 idle_rpm=650
  	max_rpm=4000
                 curve_torque=torque20.crv
  	max_torque=0.34		
  	torque_reaction=0.4
                 starter=1
  	starter_torque=45
  	start_stalled=1
                 stall_rpm=400
  	start_rpm=650
  	autoclutch_rpm=3000
                 shifting
  	{
    		automatic=0
		fast=0

    		shift_up_rpm=3900
    		shift_down_rpm=2000

    		time_to_declutch=200
    		time_in_neutral=100
    		time_to_clutch=200

    		time_to_declutch_down=200
    		time_in_neutral_down=100
    		time_to_clutch_down=200
  	}

  	inertia
  	{
    	engine=0.18
                 final_drive=0.15
  	}

  	braking_coeff=2.4
                 rolling_friction_coeff=1
	friction=0
}
gearbox
{
  gears=5
  gear0
  {
    ratio=-3.89
    inertia=0.35
  }
  gear1
  {
    ratio=3.98
    inertia=0.4
  }
  gear2
  {
    ratio=2.22
    inertia=0.09
    engine_map=0.5
  }
  gear3
  {
    ratio=1.61
    inertia=0.06
  }
  gear4
  {
    ratio=1.12
    inertia=0.07
  }
}
differential
{
  type=1
  ratio=5.6
  inertia=0.2
  locking_coeff=80
  output0=0
  output1=1
}
clutch
{
  max_torque=149
}
handbrakes
{
  wheels=23
}
differential
{
	type=1
                 locking_coeff=500
                 inertia=0.35
	ratio=5.6	
	output0=2
	output1=3
}
aero
{
	body
	{
		center=0 0.23 0
                cx=0.40
                area=2.95
	}
	wings=0
}
antirollbar
{
	count=2
	arb0
	{
		susp_left=0
		susp_right=1
		k=8000
	}
	arb1
	{
		susp_left=2
		susp_right=3
		k=0
	}
}
susp_front
{
	y=-.40
	z=1.55
	restlen=0.35
	minlen=0.0
	maxlen=0.9
	k=55000
	bump_rate=3000
	rebound_rate=10500
	bump_function=0
	rebound_function=0
	anti_pitch=0.2
	camber_change_per_m=0.05
	roll_center
	{
		x=0
		y=-0.92
		z=0
	}
}
susp_rear
{
	y=-0.45
	z=-1.14
	restlen=0.35
	minlen=0.0
	maxlen=0.9
	k=40000
	bump_rate=2000
	rebound_rate=8500
	bump_function=0
	rebound_function=0
	anti_pitch=0.2
	camber_change_per_m=0.05
	roll_center
	{
		x=0
		y=-0.67
		z=0
	}
}
susp0~susp_front
{
	x=0.69
}
susp1~susp_front
{
	x=-0.69
}
susp2~susp_rear
{
	x=0.69
}
susp3~susp_rear
{
	x=-0.69
}
tire_model_front
{
damping_predict_lat=0.572
damping_predict_long=0.023
}
tire_model_rear
{
damping_predict_lat=0.560
damping_predict_long=0.022
}

pacejka
{
   ; Lateral force
   a0=1.6
   a1=-20
   a2=1320
   a3=2100
   a4=20
   a5=0.014
   a6=-0.24
   a7=1.0
   a8=-0.03
   a9=-0.0013
   a10=-0.15
   a111=-4
   a112=-0.29
   a12=17.8
   a13=-2.4
   ; Longitudinal force
   b0=1.5
   b1=-40
   b2=1410
   b3=23.3
   b4=250
   b5=0.05
   b6=0
   b7=0.055
   b8=-0.024
   b9=0.014
   b10=0.26
   b11=-103.71
   b12=0
   ; Aligning moment
   c0=2.2
   c1=-3.9
   c2=-3.9
   c3=-1.26
   c4=-8.2
   c5=0.025
   c6=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.11
   optimal_slipangle=0.157
}

skidding_default
{
	long_start=0.1
	long_max=1.0
	long_start_n=0.1
	long_max_n=1.0
	lat_start=0.1
	lat_max=1.0
}
wheel_front
{
	x=0
	y=0
	z=0
	steering=1
	powered=1
	power_gearing=1.8	;5.4*40/60/2 =1.8
	camber=-0.65
	lock=61
	mass=55
	inertia=1.1
	radius=.382
	rolling_coeff=0.0175
	max_braking=2000
	braking_factor=0.75
	tire_rate=275000
	pacejka~pacejka
	{
	}
}
wheel_rear
{
	x=0
	y=0
	z=0
	steering=0
	powered=1
	camber=-0.55
	mass=65
	inertia=1.2
	radius=.395
	rolling_coeff=0.0175
	max_braking=2000
	braking_factor=0.25
	max_handbrake_torque=3500
	tire_rate=295000
	pacejka~pacejka
	{
        a2=1480
        a3=2150
        b2=1630
	}
}
wheel0~wheel_front
{
	toe=-.15
	ackerman=1.2
	model
	{
		file=left.dof
	}
}
wheel1~wheel_front
{
	toe=.15
	ackerman=-1.2
	model
	{
		file=right.dof
	}
}
wheel2~wheel_rear
{
	toe=-.0
	model
	{
		file=left.dof
	}
}
wheel3~wheel_rear
{
	toe=.0
	model
	{
		file=right.dof
	}
}
camera0
{
  name=Driver
  fov=70
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.432
    y=0.45
    z=-0.05
  }
  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
  }
}
camera1
{
  name=Driver, left
  fov=60
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.356
    y=0.5
    z=0.01
  }
  offset_to
  {
    x=10.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
  }
}
camera2
{
  name=Driver, right
  fov=60
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.356
    y=0.5
    z=0.01
  }
  offset_to
  {
    x=-9.57
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
  name=Driver, rear
  fov=-65
  model=1
  wheels=0
  view=0
  offset
  {
    x=0.2
    y=0.6
    z=0.6
  }
  offset_to
  {
    x=-1
    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
{
	name=Bumper
	fov=60
	model=2
	wheels=0
	view=0
	offset
	{
		x=0
		y=-0.2
		z=1.54
	}
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	angle
	{
		x=5
		y=180
		z=0
	}
}
camera9
{
	name=Bonnet
	fov=60
	model=0
	wheels=0
	view=0
	offset
	{
		x=0
		y=-0.6
		z=1.4
	}
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	angle
	{
		x=5
		y=180
		z=0
	}
}
audio
{
  skid
  {
    sample=skid.wav
  }
  horn
  {
    sample=horn.wav
      volume=10.0
  }
  ;shiftout
  {
    ;sample=shiftout.wav
  }
  ;shiftin
  {
    ;sample=shiftin.wav
  }
  throttle_off
  {
    smp0
    {
      sample=
    }
  }
accelerate_out
  {
    smp0
    {
      sample=tugidle.wav
      volume=1.0
      min=100
      max=1200
      attack=0
      decay=1000
      natural=650
    }
  smp3
    {
      sample=turbo.wav
      volume=0.1
      min=2500
      max=10000
      attack=1000
      decay=0
      natural=1000
    }
  smp1
    {
      sample=tugrpmlow.wav
      volume=1.0
      min=2000
      max=3600
      attack=1000
      decay=2000
      natural=1200
    }
  smp2
    		{
      			volume=1
     			sample=engine.wav
      			min=1300
      			max=9999999999999999
attack=1000
      decay=1000
      			natural=2200
    		}
        }
  decelerate_out
  {
    smp0
    {
      sample=tugidle.wav
      volume=1.0
      min=100
      max=1200
      attack=0
      decay=1000
      natural=650
    }
  smp3
    {
      sample=turbo.wav
      volume=0.1
      min=2500
      max=10000
      attack=1000
      decay=0
      natural=1000
    }
  smp1
    {
      sample=tugrpmlow.wav
      volume=1.0
      min=2000
      max=3600
      attack=1000
      decay=2000
      natural=1200
    }
   smp2
    		{
      			volume=1
     			sample=engine.wav
      			min=1300
      			max=9999999999999999
attack=1000
      decay=1000
      			natural=2200
    		}
        }
  accelerate_in
  {
    smp0
    {
      sample=tugidlee.wav
      volume=1.0
      min=100
      max=1200
      attack=0
      decay=1000
      natural=650
    }
  smp3
    {
      sample=turbo.wav
      volume=0.1
      min=2500
      max=10000
      attack=1000
      decay=0
      natural=1000
    }
  smp1
    {
      sample=tugrpmlowe.wav
      volume=1.0
      min=2000
      max=3600
      attack=1000
      decay=2000
      natural=1200
    }
   smp2
    		{
      			volume=1
     			sample=engine.wav
      			min=1300
      			max=9999999999999999
attack=1000
      decay=1000
      			natural=2200
    		}
        }
  decelerate_in
  {
    smp0
    {
      sample=tugidlee.wav
      volume=1.0
      min=100
      max=1200
      attack=0
      decay=1000
      natural=650
    }
  smp3
    {
      sample=turbo.wav
      volume=0.1
      min=2500
      max=10000
      attack=1000
      decay=0
      natural=1000
    }
 smp1
    {
      sample=tugrpmlowe.wav
      volume=1.0
      min=2000
      max=3600
      attack=1000
      decay=2000
      natural=1200
    }
   smp2
    		{
      			volume=1
     			sample=engine.wav
      			min=1300
      			max=9999999999999999
attack=1000
      decay=1000
      			natural=2200
    		}
        }

  wind
  {
    smp0
    {
      sample=wind2.wav
      volume=1.0
      min=1
      max=2
      decay=100
      natural=30
    }
  }
}