car
{
  name=Lotus Sport Exige 240R
  year=2005
  credits=Model By: Threepwood; Converted by DTM (Dream Team Moders)
  comments=R4 1,8 16V Supercharged 243hp@8000rpm  236Nm@4000
  wheels=4
  id=exige240R
  version=063b
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2.8
    length=5.4
    offset_z=-0.11
    ;}
  }
cg
  	{
    		x=0
		;420mm - from dry sumped engine
    		y=0.06 ;-0.0885
		;45% front, 55% rear
    		z=-0.155 ;0.231
  	}
  	ff_factor=0.55
}
body
{
  mass=730
  inertia
  {
    x=2300
    y=2400
    z=475
  }
  model
  {
    file=bodywr.dof
  }
  model_incar
  {
    file=bodywr.dof
  }
  model_braking_l
  {
    file=brakes.dof
  }
  model_light_l
  {
  file=lights.dof
  }
  model_lightroad_l
  {
  file=lightsin.dof
  }
  width=1.96
  height=0.75
  length=4.46
  manual_box=1
}
steer
{
  x=0.31
  y=0.28
  z=0.3
  radius=10
  xa=20
  lock=504
  linearity=1
  model
  {
    file=swheel.dof
  }
}
engine
{
	size=0
  	mass=200
  	stall_rpm=100
  	start_rpm=1000
  	idle_rpm=1300
  	autoclutch_rpm=1025
  	max_rpm=8500
  	curve_torque=torque.crv
  	torque_reaction=0.4
                  max_torque=450
  	starter=1
  	starter_torque=85
  	start_stalled=1
                  enable_stall=1
  }
  shifting
  {
    automatic=0
    shift_up_rpm=8400
    shift_down_rpm=3500
    time_to_declutch=50
    time_in_neutral=250
    time_to_clutch=10
    time_to_declutch_down=50
    time_in_neutral_down=250
    time_to_clutch_down=200
  }

  	inertia
  	{
    		engine=0.18
  	}
  	braking_coeff=2.4
}
clutch
{
  max_torque=450
}
gearbox
{
	gears=7
	gear0
   	{
      		ratio=-3.68
      		inertia=0.10

   	}
   	gear1
   	{
      		ratio=3.12
      		inertia=0.01
   	}
   	gear2
   	{
      		ratio=2.05
      		inertia=0.01
   	}
   	gear3
   	{
      		ratio=1.48
      		inertia=0.06
   	}
   	gear4
   	{
      		ratio=1.17
      		inertia=0.08
   	}
   	gear5
   	{
      		ratio=0.92
      		inertia=0.10
   	}
   	gear6
   	{
      		ratio=0.82
      		inertia=0.12
   	}
}
handbrakes
{
  wheels=23
}
differential
{
  	type=1
  	ratio=5.0
	inertia=0.1
	locking_coeff=180
	output0=2
	output1=3
}

aero
{
  body
  {
    center=0 0 0
    cx=0.29
    area=1.9	;1.85 for car, 0.05 for front wheel cross section...
  }
  wings=2
  wing0
  {
    name=Overall aerodynamic effect F
    span=1
    cord=0.1
    coeff_drag=0
    coeff_down=29.18	;3746N @ 300km/h
    center=0 -0.3 -1.21
    angle=0
    angle_offset=10
  }
  wing1
  {
    name=Overall aerodynamic effect R
    span=1
    cord=0.1
    coeff_drag=0
    coeff_down=30.82	;3746N @ 300km/h
    center=0 -0.3 -1.39
    angle=0
    angle_offset=10
  }
}
traction_control
{
  max_velocity_ratio=1.1
  min_velocity_ratio=1.09
  enable=0
}

abs
{ 
  enable=1
  max_velocity_ratio=1.11 
  min_velocity_ratio=1.09
  min_velocity=0.1
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=0
    susp_right=1
    k=45000
  }
  arb1
  {
    susp_left=2
    susp_right=3
    k=35000
  }
}

susp_front
{
  	y=0.15
  	z=1.26
	;245mm
  	restlen=0.345
  	minlen=0.12
  	maxlen=0.365
  	k=56000
        bumpstop_len=0.05
        bumpstop_k=100000
  	bump_rate=3354
  	bump_function=0
  	rebound_rate=7507
  	rebound_function=0
  	anti_pitch=0.40
  	camber_change_per_m=0.010
        caster_offset=-0.03
  	roll_center
  	{
    		x=0
		;45mm
    		y=-0.427
    		z=0
  	}
}

susp0~susp_front
{
    	x=0.85
   	toe_change_per_m=0.025
    	camber_change_steering=0.100
  kingpin_offset=0.02
}

susp1~susp_front
{
    	x=-0.85
    	toe_change_per_m=-0.025
    	camber_change_steering=-0.100
  kingpin_offset=-0.02
}

susp_rear
{
  	y=0.14
  	z=-1.29
	;245mm
  	restlen=0.335
  	minlen=0.05
  	maxlen=0.360
        bumpstop_len=0.05
        bumpstop_k=100000
  	k=55000
  	bump_rate=2872
  	bump_function=0
  	rebound_rate=6800
  	rebound_function=0
  	anti_pitch=0.35
  	camber_change_per_m=0.05
  	{
    		x=0
		;80mm
    		y=-0.372
    		z=0
  	}
}

susp2~susp_rear
{
   	x=0.8
    	toe_change_per_m=0.015
}

susp3~susp_rear
{
   	x=-0.8
    	toe_change_per_m=-0.015
}

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=-35
    	a2=1530
    	a3=2100
    	a4=8
    	a5=0.015
    	a6=-0.25
    	a7=0.1
    	a8=-0.03
    	a9=-0.001
    	a10=-0.15
    	a111=-4.3
    	a112=-0.29
    	a12=17.8
    	a13=-2.4

    	b0=1.5
    	b1=-70
    	b2=1550 ;1550
    	b3=21
    	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
  	steering=1
  	powered=0
  	power_gearing=0
  	lock=51
  	camber=-0.9
  	mass=35
  	inertia=1.5
  	radius=0.3259
        width=0.275
  	rolling_coeff=0.015
  	max_braking=4050
  	braking_factor=1.0
 	tire_rate=160000
  	pacejka~pacejka
  	{
  	}
}

wheel0~wheel_front
{
	;-0.100
  	toe=-0.1695
	;-0.700
  	ackerman=1.1
  	model
  	{
    		file=lf.dof
  	}
  	model_brake
  	{
    		file=caliper_left.dof
  	}
}

wheel1~wheel_front
{
	;0.100
  	toe=0.1695
	;-0.700
  	ackerman=-1.1
  	model
  	{
    		file=rfw.dof
  	}
  	model_brake
  	{
    		file=caliper_right.dof
  	}
}

wheel_rear
{
  	y=0
  	z=0
  	steering=0
  	powered=1
  	camber=-1.5
  	mass=35
  	inertia=1.5
  	radius=0.33315
        width=0.335
  	rolling_coeff=0.015
  	max_braking=1550
  	braking_factor=0.8
  	max_handbrake_torque=1900
  	tire_rate=160000
  	pacejka~pacejka
	{
        a2=1520
        a2=1580
        b2=1550
	}
}

wheel2~wheel_rear
{
	;-0.050
  	toe=-0.133
	;-0.850
  	model
  	{
    		file=lrw.dof
		offset
		{
			x=0.030
		}
  	}
  	model_brake
  	{
    		file=caliper_left1.dof
  	}
}

wheel3~wheel_rear
{
	;0.050
  	toe=0.133
	;-0.850
  	model
  	{
    		file=rrw.dof
		offset
		{
			x=-0.030
		}
                offset
		{
			x=0.030
		}
  	}
  	model_brake
  	{
    		file=caliper_right1.dof
  	}
}
camera0
{
  name=Driver
  fov=65
  model=1
  view=0
  wheels=0
  offset
  {
    x=0.35
    y=0.54
    z=-0.22
  }
  offset_to
  {
    x=0.38
    y=-0.2
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera1
{
  name=Driver, left
  fov=55
  model=1
  wheels=0
  view=1
   offset
  {
    x=0.31
    y=0.54
    z=-0.37
  }
  offset_to
  {
    x=10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=Driver, right
  fov=55
  model=1
  wheels=0
  view=1
  offset
  {
    x=0.31
    y=0.54
    z=-0.37
  }
  offset_to
  {
    x=-10
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.2
  }
  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.53
    z=-0.43
  }
  offset_to
  {
    x=-1
    y=0.5
    z=-10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.1
  }
  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.8
  }
  angle
  {
    x=5
    y=180
    z=0
  }
}

;	------------------ 5.1 ALPHA AUDIO COMPATABILTY -----------------
audio
{
  skid
  {
    volume=0.5
    sample=skid.wav
  }
  horn
  {
    sample=horn.wav
  }
  shiftout
  {
    sample=shiftout.wav
  }
  shiftin
  {
    sample=shiftin.wav
  }
  throttle_off
  {
  smp0
     {
      sample=thr-off.wav
     }
  }
  accelerate_out
  {
    smp0
    {
      sample=idle.wav
      volume=1
      min=300
      max=1500
      attack=50
      decay=800
      natural=800
    }
    smp1
    { 
      sample=engine2m.wav 
      volume=1.2
      min=1000
      max=4000
      natural=4000 
      decay=2000
      attack=2000
    }
    smp2
    { 
      sample=engine2.wav 
      volume=1.45
      min=3500
      max=10000
      natural=6000 
      attack=1600
    }
      smp3
      {
	   volume=0.11
         sample=turbo.wav
         min=2200
         max=8000
         natural=1750
	   attack=1100
          decay=3000
      }
  }  
 decelerate_out
   {
   smp0
      {
          sample=idle.wav
          volume=2
          min=300
          max=800
          decay=500
          natural=1800
      }
   smp1
      {
         sample=decc.wav
         min=500
         max=8000
         natural=4000
         volume=1
         attack=1300
      }
       smp3
      {
	   volume=0.06
         sample=turbo.wav
         min=1500
         max=7000
       natural=1750
	   attack=1100
          decay=3000
      }
   }
 accelerate_in
  {
   smp0
    {
      sample=idlein.wav
      volume=1
      min=300
      max=1500
      attack=50
      decay=800
      natural=800
    }
    smp1
    { 
      sample=engine2m-in.wav 
      volume=1.2
      min=1000
      max=4000
      natural=4000 
      decay=2000
      attack=2000
    }
    smp2
    { 
      sample=engine2-in.wav 
      volume=1.35
      min=3500
      max=10000
      natural=6000 
      attack=1600
    }
      smp3
      {
	   volume=0.04
         sample=turbo.wav
         min=2200
         max=8000
         natural=1750
	   attack=1100
          decay=3000
      }
  }  
 decelerate_in
   {
   smp0
    {
      sample=idlein.wav
      volume=1
      min=300
      max=1500
      attack=50
      decay=800
      natural=800
    }
   smp1
      {
         sample=decc.wav
         min=500
         max=8000
         natural=4000
         volume=0.2
         attack=1300
      }
       smp2
      {
	   volume=0.015
         sample=turbo.wav
         min=1500
         max=7000
         natural=1750
	   attack=1100
          decay=3000
      }
   }
  gearwhine
  {
    smp0
    {
      sample=tw-extonhigh.wav
      volume=0.03
      min=1
      max=2
      decay=1000
      natural=500
    }
  }
  wind
  {
    smp0
    {
      sample=wind.wav
      volume=0.8
      min=11
      max=150
      attack=10
      natural=50
    }
  }
}