

car
{
  name=Mitsubishi Evo X
  year=2008
  id=evox
  credits=
  comments=
  version=053b6
  wheels=4
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2.6
    length=4.5
    offset_z=0.0
  }
  cg
  {
    x=0
    y=-0.144		;1.214m * 36% ~ 43.7cm CofG
    z=-0.24		;44f/56r or 43/57... close enough...
  }
 ff_factor=0.37
}
ai
{
  grip_factor=1.1
}
graphics
{
  shadow
  {
    model
    {
      file=evo3.dof
      use_shaders=0
    }
  }
}
body
{
  mass=1550		;2040kg gross - 160kg unsprung, 1540kg manual, 1764kg automatic
  restitution_coeff=0.25
  inertia
  {
    x=2530
    y=3500
    z=540
  }
  width=1.92
  height=1
  length=4.5
  manual_box=0
  model
  {
    file=evo3.dof
    lod0_z=0
    lod1_z=250
    lod2_z=500
    lod_out=750
  }
  model_incar
  {
    
  }
  model_braking_l
  {
    file=brk.dof
  }
  model_light_l
  {
    file=litb.dof
  }
  model_light_r
  {
    file=litf.dof
  }

}


steer
{
  x=0.3812
  y=0.153
  z=0.385
  radius=10
  xa=19
  lock=1080
  linearity=0.833		;3 turns lock to lock. 16.0:1 steering ratio. 10.65m turning circle
  model
  {
    file=volan.dof
  }
}


engine
{
  x=0
  y=0
  z=0
  size=0
  mass=0
  max_rpm=9000
  idle_rpm=1100
  curve_torque=torque.crv
  max_torque=0.88		;1/4 mile	12.0 sec @ 119.7 mph (11.7 @ 122.8)
  autoclutch_rpm=1750		;1750 normal, Launch control 6000
  starter=1
  starter_torque=115
  start_stalled=1
  stall_rpm=500
  start_rpm=1500
  torque_reaction=0.7
  shifting
  {
    automatic=0
    shift_up_rpm=8750
    shift_down_rpm=1110
    time_to_declutch=165
    time_to_clutch=15
    time_in_neutral=0
    time_to_declutch_down=65
    time_to_clutch_down=15
    time_in_neutral_down=0
  }
  inertia
  {
    engine=0.23
    final_drive=0.1
  }
  braking_coeff=3.5
  rolling_friction_coeff=0
  friction=0
  sample=550_44.wav
  sample_rpm=4400
}
gearbox
{
	gears=7

	gear0
	{
		ratio=-2.8
		inertia=0.02
		linearity=1
	}

	gear1
	{
		ratio=3.29
		inertia=0.03
		linearity=0.8
	}

	gear2
	{
		ratio=2.16
		inertia=0.04
		linearity=0.9
	}

	gear3
	{
		ratio=1.61
		inertia=0.05
		linearity=1
	}

	gear4
	{
		ratio=1.27
		inertia=0.06
		linearity=1.1
	}

	gear5
	{
		ratio=1.03
		inertia=0.08
		linearity=1.2
	}

	gear6
	{
		ratio=0.82
		inertia=0.1
		linearity=1.5
	}
}

differential
{
	type=1
	ratio=4.30
	inertia=0.05

	;CST Modes
		;Snow
		;locking_coeff=15

		;Rain
		;locking_coeff=25

		;Sport
		locking_coeff=35

		;Race
		;locking_coeff=45

		;Off
		;locking_coeff=45

	output0=2
	output1=3
}

clutch
{
	max_torque=580
}

aero
{
  body
  {
    center=0 0 0
    cx=0.34
    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=17.18	;2746N (1275f 1471r) @ 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=19.82	;2746N (1275f 1471r) @ 300km/h
    center=0 -0.3 -1.39
    angle=0
    angle_offset=10
  }
}
antirollbar
{
  count=2
  arb0
  {
    susp_left=1
    susp_right=0
    k=46600
  }
  arb1
  {
    susp_left=3
    susp_right=2
    k=31800
  }
}
susp_front
{
  y=-0.25
  z=1.21
  restlen=0.332		;245mm,288.2kg/2826N, 12.5cm ground clearance
  minlen=0.17
  maxlen=0.34
  k=32946		;k=m(nf/0.159)sq NF ~ 1.7 ~ 36936N/m
  bump_rate=1300	;1283*1.0
  rebound_rate=4950	;6163*0.8
  bump_function=0
  bump_max=1300
  rebound_function=0
  anti_pitch=0.09
  camber_change_per_m=0
  roll_center
  {
    x=0
    y=-0.58		;-1.5cm
    z=0
  }
}
susp_rear
{
  y=-0.25
  z=-1.39
  restlen=0.331		;255mm, 366.8kg/3597N
  minlen=0.125
  maxlen=0.34
  k=47009		;k=m(nf/0.159)sq NF ~ 1.8 ~ 58036N/m
  bump_rate=1800	;1814*1.0
  rebound_rate=6650	;8305*0.8
  bump_function=0
  bump_max=1800
  rebound_function=0
  anti_pitch=0.14
  camber_change_per_m=0.45	;2.3 degree per 0.1m deflection!
  roll_center
  {
    x=0
    y=-0.531		;6.5cm
    z=0
  }
}
susp0~susp_front
  {
    x=0.8345
    toe_change_per_m=0;0.029		;-0.23 static toe. 0.13 degrees change with 0.078m travel. Bump out to ~0.1 toe.!
    camber_change_steering=0.105	;using caster angle 5.78 degrees @ max_lock, outside wheel camber wrt y axis = 3.54 degrees!
    caster_offset=-0.016
  }
susp1~susp_front
  {
    x=-0.8345
    toe_change_per_m=0;-0.029		;-0.23 static toe. 0.13 degrees change with 0.078m travel. Bump out to ~0.1 toe.!
    camber_change_steering=-0.105	;using caster angle 5.78 degrees @ max_lock, outside wheel camber wrt y axis = 3.54 degrees!
    caster_offset=-0.016
  }
susp2~susp_rear
  {
    x=0.808
    toe_change_per_m=0;0.019		;-0.27 static toe. 0.1 degrees change with 0.09m travel. Bump 
  }
susp3~susp_rear
  {
    x=-0.808
    toe_change_per_m=0;-0.019		;-0.27 static toe. 0.1 degrees change with 0.09m travel. Bump 
  }



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.2
    a1=-25
    a2=1200
    a3=2000
    a4=9
    a5=0.015
    a6=-0.25
    a7=0
    a8=-0.03
    a9=-0.001
    a10=-0.15
    a111=-8.5
    a112=-0.29
    a12=17.8
    a13=-2.4
    b0=1.3
    b1=-40
    b2=1200
    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.12
    optimal_slipangle=0.173
}
wheel_front
{
  y=0
  z=0
  steering=1
  lock=67.5
  mass=25
  inertia=1.12
  radius=0.32005	;225/35ZR19 Bridgestone Potenza RE050A
  rolling_coeff=0.017
  friction_road=1
  max_braking=1630	;Braking, 60-0 mph	100 ft
  braking_factor=1	;Braking, 100-0 mph	278 ft
  tire_rate=178000
  pacejka~pacejka
  {  
  }
}
wheel_rear
{
  y=0
  z=0
  steering=0
  mass=35
  inertia=1.26
  radius=0.34105	;285/35ZR19 Bridgestone Potenza RE050A
  rolling_coeff=0.018
  friction_road=1
  max_braking=1140
  braking_factor=1
  tire_rate=192000
  max_handbrake_torque=1260
	pacejka~pacejka
	{
		a0=1.25
		a1=-30
		a2=1350
		a3=2000
		b0=1.35
		b1=-50
		b2=1350
		optimal_slipratio=0.12
		optimal_slipangle=0.159
	}
}

wheel0~wheel_front
{
  toe=-0.1
  camber=-1.2
  ackerman=1.15
	model
	{
		file=wheel0frontleft.dof
                ;lod0_z=0
		;lod1_z=14
		;lod2_z=40
	}
	model2
	{
		file=wheel0_blur1.dof
		velocity=45		;radians/sec
	}
	model3
	{
		file=wheel0_blur2.dof
		velocity=85		;radians/sec
	}
	model4
	{
		file=wheel0_blur3.dof
		velocity=140		;radians/sec
	}
  model_brake
  {
   ;file=caliper_left.dof
  }
}
wheel1~wheel_front
{
  toe=0.1
  camber=-1.2
  ackerman=-1.15
	model
	{
		file=wheel1frontright.dof
                ;lod0_z=0
		;lod1_z=14
		;lod2_z=40
	}
	model2
	{
		file=wheel1_blur1.dof
		velocity=45		;radians/sec
	}
	model3
	{
		file=wheel1_blur2.dof
		velocity=85		;radians/sec
	}
	model4
	{
		file=wheel1_blur3.dof
		velocity=150		;radians/sec
	}
  model_brake
  {
   ;file=caliper_right.dof
  }
}
wheel2~wheel_rear
{
  toe=-0
  camber=0.6
	model
	{
		file=wheel2backleft.dof
                ;lod0_z=0
		;lod1_z=14
		;lod2_z=40
	}
	model2
	{
		file=wheel2_blur1.dof
		velocity=45		;radians/sec
	}
	model3
	{
		file=wheel2_blur2.dof
		velocity=85		;radians/sec
	}
	model4
	{
		file=wheel2_blur3.dof
		velocity=150		;radians/sec
	}
  model_brake
  {
   ;file=caliper_left.dof
  }
}
wheel3~wheel_rear
{
  toe=0
  camber=0.6
	model
	{
		file=wheel3backright.dof
                ;lod0_z=0
		;lod1_z=14
		;lod2_z=40
	}
	model2
	{
		file=wheel3_blur1.dof
		velocity=45		;radians/sec
	}
	model3
	{
		file=wheel3_blur2.dof
		velocity=85		;radians/sec
	}
	model4
	{
		file=wheel3_blur3.dof
		velocity=150		;radians/sec
	}
  model_brake
  {
    ;file=caliper_right.dof
  }
}
Camera

camera1
{
  offset
  {
    x=-0.006250
    y=3.
    z=-7.495010
  }
  angle
  {
    x=15.138849
    y=180.173615
    z=180.000000
  }
  name=Behind
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  fov=50
  model=0
  wheels=0
  view=0
  ; Source/target inertia
  src
  {
    mass=1
    k=200
    damping=30
    maxdist=1.5
  }
  dst
  {
    mass=1
    k=150
    damping=20
    maxdist=1.5
  }
}
camera0
{
  offset
  {
    x=0
    y=1.513334
    z=-5.045006
  }
  angle
  {
    x=21
    y=180
    z=50
  }
  name=Chase Close
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  fov=50
  model=0
  wheels=0
  view=0
  ; Source/target inertia
  src
  {
    mass=1
    k=200
    damping=30
    maxdist=1.5
  }
  dst
  {
    mass=1
    k=150
    damping=20
    maxdist=1.5
  }
}
camera8
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=-0.38
    y=-0.46
    z=-0.165
  }
  angle
  {
    x=-0.
    y=-180.694473
    z=0.000000
  }
   fov=70
   ;Type of model to use; 0=outside, 1=inside, 2=none
   model=1
   wheels=0
   view=1
   name=Inside pssngr
}
camera2
{
  offset
  {
    x=0
    y=-0.4
    z=2.100000
  }
  angle
  {
    x=0.000000
    y=180.000000
    z=0.000000
  }
  name=Bumper
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  fov=60
  model=2
  wheels=0
  view=2
}
camera3
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0
    y=-0.862501
    z=0.77
  }
  angle
  {
    x=9.027775
    y=180
    z=0.000000
  }
  name=Hood
  fov=60
  model=1
  wheels=0
  view=0
}
camera4
{
  offset
  {
    x=-0.670312
    y=-0.166667
    z=-3.944994
  }
  angle
  {
    x=2.500038
    y=-152.604248
    z=-15.017359
  }
  follow
  {
    pitch=0
    yaw=0
    roll=0
  }
  fov=50
  model=0
  wheels=0
  view=0
  name=Rear Side
}
camera6
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=-0.121874
    y=-0.064583
    z=-5.590004
  }
  angle
  {
    x=35.555546
    y=-83.159645
    z=16.579861
  }
  name=Side High
  fov=40
  model=0
  wheels=1
  view=0
}
camera7
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=-0.001563
    y=-0.179167
    z=-12.000000
  }
  angle
  {
    x=44.000000
    y=0.000000
    z=0.000000
  }
  fov=26
  model=0
  wheels=1
  view=0
  name=Front High
}
camera9
{
  follow
  {
    pitch=1
    yaw=1
    roll=1
  }
  offset
  {
    x=0.38
    y=0.4
    z=-0.15
  }
  offset_to
  {
    x=0.356
    y=0
    z=10
  }
  angle
  {
    x=0
    y=0
    z=0
  }
   fov=60
   model=1
   wheels=0
   view=1
   name=Inside Driver
  src
  {
    mass=5
    k=750
    damping=85
    maxdist=0.25
  }
  dst
  {
    mass=0
    k=0
    damping=0
    maxdist=0
  }
}
camera5
{
  follow
  {
    pitch=0
    yaw=1
    roll=0
  }
  offset
  {
    x=0.000000
    y=-1.000000
    z=-8.185002
  }
  angle
  {
    x=21.666662
    y=-105.555519
    z=2.430554
  }
  name=High
}



;----------------------audio----------------------

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

	accelerate_out
	{
		smp0~audio.acc_all
		{
			sample=a1000.wav
			min=1
			max=1000
			natural=1500
			volume=1.5
		}
		smp1~audio.acc_all
		{
			sample=a2000.wav
			min=4500
			max=4500
			natural=5500
			volume=1.25
		}
		smp2~audio.acc_all
		{
			sample=a3000.wav
			min=8000
			max=9000
			natural=8000
			volume=1
}
		smp3~audio.acc_all
		{
			sample=a4000.wav
			min=8000
			max=9000
			natural=8000
			volume=1
}
		smp4~audio.acc_all
		{
			sample=a5000.wav
			min=8000
			max=9000
			natural=8000
			volume=1
}
		smp5~audio.acc_all
		{
			sample=a7000.wav
			min=8000
			max=9000
			natural=8000
			volume=1
		}
	}

	decelerate_out
	{
		smp0~audio.acc_all
		{
			sample=di.wav
			min=1
			max=1000
			natural=1000
			volume=1.5
		}
		smp1~audio.acc_all
		{
			sample=dm.wav
			min=4500
			max=4500
			natural=5500
			volume=1.25
		}
		smp2~audio.acc_all
		{
			sample=dh.wav
			min=8000
			max=9000
			natural=8000
			volume=1
		}
	}

	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
		}
	}
}

;----------------------driving aids----------------------

traction_control
{
	;CST Modes
	
	;Snow
	;max_velocity_ratio=1.02
	;min_velocity_ratio=1
	
	;Rain
	;max_velocity_ratio=1.05
	;min_velocity_ratio=1

	;Sport
	max_velocity_ratio=1.1
	min_velocity_ratio=1.06

	;Race
	;max_velocity_ratio=1.12
	;min_velocity_ratio=1.08

	enable=1
}

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