car
{
  name=Rolls-Royce Limo
  year=
  credits=Converted by Fiecu
  comments=
  id=limo
  version=090b
  wheels=4
  skid
  {
    sample=skid.wav
  }
  cg
  {
    x=0
    y=-0.158		;1318mm high, CofG ~ 38% roof height ~ 49cm
    z=0
  }
  ff_factor=0.25
}
body
{
  mass=1550		;1750kg gross - 160kg unsprung, 1714kg manual, 1764kg automatic
  restitution_coeff=0.25
  inertia
  {
    x=2530
    y=2870
    z=540
  }
  x=0
  y=0
  z=0
  width=1.76
  height=1.0
  length=4.6
  manual_box=1
  cockpit_start=1
  cockpit_length=1
  model
  {
    file=body.dof
  }
  model_light_l
  {
    file=lights.dof
  }
  model_braking_l
  {
    file=brakes.dof
  }
  model_incar
  {
    file=body.dof
  }
}
steer
{
  x=0.37
  y=0.23
  z=0.55
  radius=10
  xa=25
  lock=1080	;3x turns lock to lock, 11.5m turning circle
  linearity=1
  model
  {
      file=steer.dof
  }
}
engine
{
  mass=0
  idle_rpm=950
  max_rpm=7500
  max_torque=0.85
  curve_torque=torque.crv
  autoclutch_rpm=1500
  starter=1
  starter_torque=135
  start_stalled=0
  stall_rpm=500
  start_rpm=1500
  reaction=0
  shifting
  {
    automatic=0
    shift_up_rpm=6500
    shift_down_rpm=3500
    time_to_declutch=200
    time_to_clutch=200
  }
  inertia
  {
    engine=0.39
    final_drive=0.1
  }
  braking_coeff=3.6
  sample=a6000.wav
  sample_rpm=6000
}
gearbox
{
  gears=7
  gear0
  {
    ratio=-3.75
    inertia=0.1
  }
  gear1
  {
    ratio=2.877
    inertia=0.01
  }
  gear2
  {
    ratio=1.983
    inertia=0.02
  }
  gear3
  {
    ratio=1.445
    inertia=0.04
  }
  gear4
  {
    ratio=1.120
    inertia=0.06
  }
  gear5
  {
    ratio=0.833
    inertia=0.08
  }
  gear6
  {
    ratio=0.557
    inertia=0.1
  }
}
clutch
{
  max_torque=520
}
handbrakes
{
  wheels=23
}
differential
{
  type=1
  ratio=3.07		;3.54 manual, 3.07 automatic
  inertia=0.1
  locking_coeff=80
  output0=2
  output1=3
}
aero
{
  body
  {
    center=0 0 0
    cx=0.31		;Widespread adoption as actual Cx
    area=2.2	;Measured
  }
  wings=1
  wing0
  {
    name=overall body lift
    span=1
    cord=1
    coeff_drag=0
    coeff_down=-9.5
    center=0 0 0.135
    angle=0
    angle_offset=1
  }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=41000
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=28000	;Adjust for under/over steer attitude... 25000 generates lots more oversteer, 18000 understeer
  }
}
susp_front
{
  y=-0.1
  z=1.74		;2740mm wheelbase
  anti_pitch=0.1
  restlen=0.4055	;460kg, 313mm
  minlen=0.27
  maxlen=0.41
  k=40950		;NF 1.5
  bump_rate=1450	;1920	*0.75~1450
  rebound_rate=6500	;8680	*0.75~6500
  bump_function=0
  rebound_function=0
  roll_center
  {
    x=0
    y=-0.583		;65
    z=0
  }
}
susp_rear
{
  y=-0.075
  z=-2.55
  anti_pitch=0.05
  restlen=0.4		;460kg, 322mm
  minlen=0.14
  maxlen=0.41
  k=49550		;NF 1.65
  bump_rate=1300	;1862	*0.7~1300
  rebound_rate=6700	;9584	*0.7~6700
  bump_function=0
  rebound_function=0
  roll_center
  {
    x=0
    y=-0.562		;85
    z=0
  }
}
susp0~susp_front
{
  x=0.800
  toe_change_per_m=0.029	
  camber_change_steering=0.1062
  caster_offset=-0.017
}
susp1~susp_front
{
  x=-0.800
  toe_change_per_m=-0.029
  camber_change_steering=-0.1062
  caster_offset=-0.017
}
susp2~susp_rear
{
  x=0.810
  toe_change_per_m=0.019	
}
susp3~susp_rear
{
  x=-0.810
  toe_change_per_m=-0.019
}

tire_model_front
{
  damping_predict_lat=0.0
  damping_predict_long=0.00
}
tire_model_rear
{
  damping_predict_lat=0.0
  damping_predict_long=0.00
}

pacejka
{
    a0=1.25
    a1=-35
    a2=1300
    a3=2000
    a4=8
    a5=0.015
    a6=-0.25
    a7=0.1
    a8=-0.03
    a9=-0.001
    a10=-0.15
    a111=-8.5
    a112=-0.29
    a12=17.8
    a13=-2.4
    b0=1.5
    b1=-70
    b2=1450
    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.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
{
  y=0
  z=0
  max_braking=2100
  braking_factor=1
  steering=1
  lock=64
  mass=45
  inertia=1.5
  radius=0.35	; 235/40 ZR19
  friction_road=1
  tire_rate=270000
  pacejka~pacejka
  {
  }
}
wheel_rear
{
  y=0
  z=0
  max_braking=700
  braking_factor=1
  steering=0
  powered=1
  mass=35
  inertia=1.6
  radius=0.35	; 275/35 ZR19
  friction_road=1
  max_handbrake_torque=700
  tire_rate=260000
	pacejka~pacejka
	{
		a2=1450
		a3=2100
		a4=9
		b2=1450
		b4=350
		optimal_slipratio=0.11
		optimal_slipangle=0.157
	}
}
wheel0~wheel_front
{
  x=0
  camber=-0.5
  toe=-0.25
  ackerman=1.3
  model
  {
    file=left.dof
  }
  model_brake
  {
    file=c_fl.dof
  }
}
wheel1~wheel_front
{
  x=0
  camber=-0.5
  toe=0.25
  ackerman=-1.3
  model
  {
    file=right.dof
  }
  model_brake
  {
    file=c_fr.dof
  }
}
wheel2~wheel_rear
{
  x=0
  camber=-1.82
  toe=-0.27
  model
  {
    file=left.dof
  }
  model_brake
  {
    file=c_rl.dof
  }
}
wheel3~wheel_rear
{
  x=0
  camber=-1.82
  toe=0.27
  model
  {
    file=right.dof
  }
  model_brake
  {
    file=c_rr.dof
  }
}

camera0
{
  name=Driver
  fov=60
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.41
    y=0.42
    z=-0.31
  }
  offset_to
  {
    x=0.43
    y=-0.4
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  name=Driver, left
  fov=65
  model=0
  wheels=0
  view=1
  offset
  {
    x=0.4
    y=0.42
    z=-0.10
  }
  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=0
  wheels=0
  view=1
  offset
  {
    x=0.4
    y=0.42
    z=-0.10
  }
  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
{
  name=Driver, rear
  fov=-65
  model=0
  wheels=0
  view=0
  offset
  {
    x=-0.15
    y=0.42
    z=0.5
  }
  offset_to
  {
    x=-1
    y=0.5
    z=-10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera4
{
  name=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=180
    z=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=Far
  fov=20
  model=0
  view=0
  wheels=0
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  offset
  {
    x=0
    y=-0.5
    z=-20
  }
  angle
  {
    x=10
    y=50
    z=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.1
  }
  angle
  {
    x=5
    y=180
    z=0
  }
}

;	------------------ 5.1 ALPHA AUDIO COMPATABILTY -----------------

audio
{
	skid
	{
		sample=skid.wav
	}
	acc_all
	{
		attack=1300
		decay=1300
	}

;	------------------ OUT

	accelerate_out
	{
		smp0~audio.acc_all
		{
			sample=a1000.wav
			min=1
			max=1001
			natural=1000

			volume=1.25
		}
		smp1~audio.acc_all
		{
			sample=a2000.wav
			min=2000
			max=2001
			natural=2000

			volume=1
		}
		smp2~audio.acc_all
		{
			sample=a3000.wav
			min=3000
			max=3001
			natural=3000

			volume=1
		}
		smp3~audio.acc_all
		{
			sample=a4000.wav
			min=4000
			max=4001
			natural=4000

			decay=2600

			volume=1.25
		}
		smp4~audio.acc_all
		{
			sample=a5000.wav
			min=6000
			max=6001
			natural=5000

			attack=2600
			decay=2600

			volume=1.25
		}
		smp5~audio.acc_all
		{
			sample=a7000.wav
			min=7000
			max=9001
			natural=7000

			attack=2600
			decay=2600

			volume=1.25
		}
		smp6~audio.acc_all
		{
			sample=purr.wav
			min=2000
			max=10000
			natural=5000
			attack=2600
			volume=1.25
		}
	}

	decelerate_out
	{
		smp0~audio.acc_all
		{
			sample=d1000.wav
			min=1
			max=1001
			natural=1000

			volume=1.25
		}
		smp1~audio.acc_all
		{
			sample=d2000.wav
			min=2000
			max=2001
			natural=2000

			volume=1
		}
		smp2~audio.acc_all
		{
			sample=d3000.wav
			min=3000
			max=3001
			natural=3000

			volume=1
		}
		smp3~audio.acc_all
		{
			sample=d4000.wav
			min=4000
			max=4001
			natural=4000

			decay=2600

			volume=1.25
		}
		smp4~audio.acc_all
		{
			sample=d5000.wav
			min=6000
			max=6001
			natural=5000

			attack=2600
			decay=2600

			volume=1.25
		}
		smp5~audio.acc_all
		{
			sample=d7000.wav
			min=7000
			max=9001
			natural=7000

			attack=2600
			decay=2600

			volume=1.25
		}
		smp6~audio.acc_all
		{
			sample=purr.wav
			min=2000
			max=10000
			natural=5000
			attack=2600
			volume=0.55
		}
	}
traction_control
{
	max_velocity_ratio=1.2
	min_velocity_ratio=1.1
	enable=0
}

abs
{
	max_velocity_ratio=1.2
	min_velocity_ratio=1.15
	enable=1
}

;	------------------ IN

	accelerate_in
	{
		smp0~audio.acc_all
		{
			sample=a1000.wav
			min=1
			max=1001
			natural=1000

			volume=1.25
		}
		smp1~audio.acc_all
		{
			sample=a2000.wav
			min=2000
			max=2001
			natural=2000

			volume=1
		}
		smp2~audio.acc_all
		{
			sample=a3000.wav
			min=3000
			max=3001
			natural=3000

			volume=1
		}
		smp3~audio.acc_all
		{
			sample=a4000.wav
			min=4000
			max=4001
			natural=4000

			decay=2600

			volume=1.25
		}
		smp4~audio.acc_all
		{
			sample=a5000.wav
			min=6000
			max=6001
			natural=5000

			attack=2600
			decay=2600

			volume=1.25
		}
		smp5~audio.acc_all
		{
			sample=a7000.wav
			min=7000
			max=9001
			natural=7000

			attack=2600
			decay=2600

			volume=1.25
		}
		smp6~audio.acc_all
		{
			sample=purr.wav
			min=2000
			max=10000
			natural=5000
			attack=2600
			volume=1.25
		}
	}


	decelerate_in
	{
		smp0~audio.acc_all
		{
			sample=d1000.wav
			min=1
			max=1001
			natural=1000

			volume=1.25
		}
		smp1~audio.acc_all
		{
			sample=d2000.wav
			min=2000
			max=2001
			natural=2000

			volume=1
		}
		smp2~audio.acc_all
		{
			sample=d3000.wav
			min=3000
			max=3001
			natural=3000

			volume=1
		}
		smp3~audio.acc_all
		{
			sample=d4000.wav
			min=4000
			max=4001
			natural=4000

			decay=2600

			volume=1.25
		}
		smp4~audio.acc_all
		{
			sample=d5000.wav
			min=6000
			max=6001
			natural=5000

			attack=2600
			decay=2600

			volume=1.25
		}
		smp5~audio.acc_all
		{
			sample=d7000.wav
			min=7000
			max=9001
			natural=7000

			attack=2600
			decay=2600

			volume=1.25
		}
		smp6~audio.acc_all
		{
			sample=purr.wav
			min=2000
			max=10000
			natural=5000
			attack=2600
			volume=0.55
		}
	}

	wind
	{
		volume=2
		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
		}
	}
}
