car
{
  name=Mitsubishi Galant VR4 MK6 
  year=1992
  id=vr4mk6
  credits=Author:FM4, Converted to Racer by Capricorn (http://www.racer-polska.pl)
  comments=2.5 V6 DOHC Twin Turbo 280HP @ 5500RPM, 363NM @ 4000RPM
  version=090
  wheels=4
  skid
  {
    sample=skid.wav
  }
  shadow
  {
    texture=shadow.tga
    width=2.5
    length=4
    offset_z=-0.25
  }
  cg
  {
    x=0
    y=0
    z=0
  }
  ff_factor=2
}
graphics
{
  shadow
  {
    model
    {
      file=shadow.dof
      use_shaders=1
    }
    intensity=0.3
  }
  generic
  {
    model0
    {
      file=
      offset
      {
        x=0.375
        y=0.5
        z=-0.2
      }
    }
    model1
    {
      file=
      offset
      {
        x=0.375
        y=0.5
        z=-0.2
      }
    }
    model2
    {
      file=signal_left.dof
    }
    model3
    {
      file=signal_right.dof
    }
    model4
    {
      file=bonnet.dof
    }
    model5
    {
      file=boot.dof
    }
    model6
    {
      file=door_fl.dof
    }
    model7
    {
      file=door_fr.dof
    }
    model8
    {
      file=door_rl.dof
    }
    model9
    {
      file=door_rr.dof
    }
    model10
    {
      file=zdp.dof
    }
    model11
    {
      file=antena.dof
    }
    model12
    {
      file=zdt.dof
    }
    model13
    {
      file=
    }
    model14
    {
      file=
    }
  }
}
wipers
{
  count=2
  ; Front left
  wiper0
  {
    x=0.360
    y=0.355
    z=0.880
    xa=45
    min_angle=90
    max_angle=-15
    model
    {
      file=wiper_left.dof
    }
  }
  ; Front right
  wiper1
  {
    x=-0.360
    y=0.355
    z=0.880
    xa=47
    min_angle=-90
    max_angle=15
    model
    {
      file=wiper_right.dof
    }
  }
}
wipers
{
  count=2
  ; Front left
  wiper0
  {
    x=0.360
    y=0.355
    z=0.880
    xa=45
    min_angle=90
    max_angle=-15
    model
    {
      file=wiper_left.dof
    }
  }
  ; Front right
  wiper1
  {
    x=-0.360
    y=0.355
    z=0.880
    xa=47
    min_angle=-90
    max_angle=15
    model
    {
      file=wiper_right.dof
    }
  }
}
lights
{
  light0
  {
    texture=light0.tga
    fov=25
    aspect=2.5
    far=100
    z=1.75
    pitch=2.5
    color=2 1.75 1
  }
}
ai
{
  understeer_correct=10
  oversteer_correct=10
  grip_factor=1.2
}
body
{
  mass=1180		
  inertia
  {
    x=3900
    y=4200
    z=2450
  }
  width=1.810
  height=1.420
  length=5.000
  manual_box=0
  {
    file=body.dof
  }
  model_incar
  {
    file=body.dof
  }
  model_braking_l
  {
    file=brakes.dof
  }
  model_light_l
  {
    file=lights.dof
  }
  model_lightroad_l
  {
    file=lum_cpt.dof
  }
  model_collide
  {
    file=ombre_e.dof
  }
  model_reverse_l
  {
    file=wsteczny.dof
  }
  model_reverse_r
  {
    file=wsteczny.dof
  }
}
steer
{
  x=0.3446
  y=0.3558
  z=0.4748
  xa=27
  lock=900
  linearity=0.85
  model
  {
    file=swheel.dof
  }
}
fuel
{
  type=0
  max=105
  bsfc=7.0e-5
}
engine
{
	x=0
	y=0
	z=0
	size=0
  	mass=0
	idle_method=1
	idle_throttle=0
  	idle_rpm=850
	min_warn_rpm=6700
	max_warn_rpm=7200
  	max_rpm=7500
	rev_limiter_time=40
  	start_rpm=2000
  	stall_rpm=500
	autoclutch=0
  	autoclutch_rpm=0
	launch_control=0
  	starter=1
  	starter_torque=150
  	start_stalled=1
	enable_stall=1

	; Stock engine
	curve_torque=engine_torque.crv

	max_torque=0.65
  	braking_coeff=1
	braking_offset=0
	braking_torque_curve=engine_braking.crv
  	torque_reaction=0.4
	friction=0
	cylinders=6
	cylinder_angle=0
	rumble_amplitude=0
	rumble_maxrpm=7200
  	inertia
  	{
    		engine=0.36 ;0.18
  	}
	jitter
	{
		amplitude=1.0
		frequency_min=0
		frequency_var=10
		time_min=0
		time_var=750
	}
  	shifting
  	{
    		automatic=0
		blip_throttle=0
		cut_throttle=1
		fast=0
    		shift_up_rpm=6900
    		shift_down_rpm=4250
    		time_to_declutch=100
    		time_in_neutral=50
    		time_to_clutch=100
    		time_to_declutch_down=100
    		time_in_neutral_down=50
    		time_to_clutch_down=100
  	}
	speedlimiter
	{
		velocity=0
		time=0
	}
}
gearbox
{
	gears=6
	gear0
	{
		ratio=-3.280
		inertia=0.12
		engine_map=0.10
	}
	gear1
	{
		ratio=3.827
		inertia=0.14
		engine_map=0.10
	}
	gear2
	{
		ratio=2.360
		inertia=0.10
		engine_map=0.10
	}
	gear3
	{
		ratio=1.685
		inertia=0.08
		engine_map=0.10
	}
	gear4
	{
		ratio=1.312
		inertia=0.06
		engine_map=1.00
	}
	gear5
	{
		ratio=0.920
		inertia=0.04
		engine_map=1.00
	}
}
differential
{
	type=1
	ratio=4.2
	inertia=0.1
	locking_coeff=100 ;25
	output2=2
	output3=3
}

clutch
{
	max_torque=320 ;350
}
handbrakes
{
  wheels=23
}
traction_control
{
  max_velocity_ratio=1.1
  min_velocity_ratio=1.075
  min_velocity=5
  enable=0
}
abs
{
  max_velocity_ratio=1.1
  min_velocity_ratio=1.075
  min_velocity=5
  enable=1
}
aero
{
	body
	{
		center=0 0 0
		cx=0.335
		area=2.06
	}
	wings=1
	wing0
	{
		name=lift
		span=1
		cord=1
		coeff_drag=0
		coeff_down=0
		center=0 0 0
		angle=0
		angle_offset=10
	}
}

antirollbar
{
	count=2
	arb0
	{
		susp_left=0
		susp_right=1
		k=32000
	}
	arb1
	{
		susp_left=2
		susp_right=3
		k=25000
	}
}
susp_front
{
	y=0.02
	z=1.39
	restlen=0.25			;293	395kg
	minlen=0.05
	maxlen=0.25
	k=45000			;@ static load and 1.316 NF SR
	bump_rate=2500		;0.7	1944
	rebound_rate=4600	;0.7	6531
	bump_function=3
	bump_max=1500
	rebound_function=0
	anti_pitch=0.25
	camber_change_per_m=0.067
	roll_center
	{
		x=0
		y=-0.552	;60mm
		z=0
	}
}

susp_rear
{
	y=-0.01
	z=-1.30
	restlen=0.25			;305	275kg
	minlen=0.05
	maxlen=0.25
	k=45000			;@ static load and 1.502 NF SR
	bump_rate=2500		;0.75	1852
	rebound_rate=4200	;0.8	5191
	bump_function=3
	bump_max=1500
	rebound_function=0
	anti_pitch=0.15
	camber_change_per_m=0.14
	roll_center
	{
		x=0
		y=-0.504	;120mm
		z=0
	}
}

susp0~susp_front
{
	x=0.75
	camber_change_steering=0.147	;0.25 rad ~ 14.5 degree camber with 1 radian rotation of steering @ 8 degree caster
	caster_offset=-0.0235		;8 degrees static caster -0.0235	
	toe_change_per_m=0
}
susp1~susp_front
{
	x=-0.75
	camber_change_steering=-0.147	;0.25 rad ~ 14.5 degree camber with 1 radian rotation of steering @ 8 degree caster
	caster_offset=-0.0235		;5.78 degrees static caster -0.0235
	toe_change_per_m=0
}

susp2~susp_rear
{
	x=0.75
}
susp3~susp_rear
{
	x=-0.75
}
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=1200
	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=1280 ;1350
	b3=20
	b4=325
	b5=0.08
	b6=0
	b7=0.05
	b8=-0.025
	b9=0
	b10=0
	b11=0
	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.145
}

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=1
	lock=60
	mass=40
	inertia=1.4
	radius=0.32
        width=0.225		
	rolling_coeff=0.0180
	max_braking=2000
	braking_factor=1
	tire_rate=250000
	pacejka~pacejka
	{
	}
}

wheel_rear
{
	y=0
	z=0
	steering=0
	powered=1
	power_gearing=0.53	;20% rear drive, no diff, equal drive :eek:
	mass=40
	inertia=1.5
	radius=0.32
        width=0.225		;225/40 ZR18
	rolling_coeff=0.0180
	max_braking=1200
	braking_factor=1
	max_handbrake_torque=3400
	tire_rate=230000
	pacejka~pacejka
	{
		optimal_slipratio=0.11
		optimal_slipangle=0.155
	}
}

wheel0~wheel_front
{
	x=0
	ackerman=1.15
	toe=-0
	camber=0.007	;-0.6
	model
	{
		file=left.dof
	}
	model_brake
	{
		file=left_caliper_front.dof
	}
}

wheel1~wheel_front
{
	x=0
	ackerman=-1.15
	toe=0
	camber=0.007
	model
	{
		file=right.dof
	}
	model_brake
	{
		file=right_caliper_front.dof
	}
}

wheel2~wheel_rear
{
	x=0
	toe=-0.21	;toe in, goes to out under bump like M3 Z axle
	camber=-0.588	;-1.5
	model
	{
		file=left.dof
	}
	model_brake
	{
		file=left_caliper_rear.dof
	}
}

wheel3~wheel_rear
{
	x=0
	toe=0.21	;toe in, goes to out under bump like M3 Z axle
	camber=-0.588
	model
	{
		file=right.dof
	}
	model_brake
	{
		file=right_caliper_rear.dof
	}
}
camera0
{
  name=Driver
  fov=70
  model=0
  wheels=0
  view=0
  offset
  {
    x=0.35
    y=0.70
    z=-0.06
  }
  offset_to
  {
    x=0.43
    y=-0.5
    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=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0.35
    y=0.70
    z=-0.031
  }
  offset_to
  {
    x=10.43
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera2
{
  name=Driver, right
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0.35
    y=0.70
    z=-0.031
  }
  offset_to
  {
    x=-9.57
    y=0.5
    z=10
  }
  src
  {
    mass=1
    k=250
    damping=25
    maxdist=0.3
  }
  dst
  {
    mass=1
    k=0
    damping=0
    maxdist=0
  }
}
camera3
{
  name=Driver, rear
  fov=-65
  model=0
  wheels=0
  view=0
  offset
  {
    x=0.2
    y=0.6
    z=-0.13
  }
  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
{
  name=Chase
  fov=60
  model=0
  wheels=0
  view=0
  offset
  {
    x=0
    y=-0.2
    z=-5.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=-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=-5.2
	}
	angle
	{
		x=1.361085
		y=-165.972626
		z=1.298599
	}
	follow
	{
		pitch=0
		yaw=1
		roll=1
	}

}
camera8
{
  name=Driver2
  fov=70
  model=1
  wheels=0
  view=0
  offset
  {
    x=0.35
    y=0.62
    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=1
    k=0
    damping=0
    maxdist=0
  }
}
camera9
{
	name=Bonnet
	fov=60
	model=0
	wheels=0
	view=0
	offset
	{
		x=0.00
    		y=-0.90
    		z=0.65
	}
	follow
	{
		pitch=1
		yaw=1
		roll=1
	}
	angle
	{
		x=5
		y=180
		z=0
	}
}
;	------------------ 5.1 ALPHA AUDIO COMPATABILTY -----------------
audio
{
  accelerate_out
  {
    smp0
    {
      sample=idle.wav
      volume=1
      min=300
      max=1000
      attack=299
      decay=1300
      natural=850
    }
    smp1
    {
      sample=1000.wav
      volume=1.5
      min=1001
      max=1500
      attack=0
      decay=0
      natural=800
    }
    smp2
    {
      sample=1500.wav
      volume=2.5
      min=1501
      max=2200
      attack=1000
      decay=800
      natural=1500
    }
    smp3
    {
      sample=2200.wav
      volume=4
      min=2201
      max=2600
      attack=2000
      decay=1000
      natural=2200
    }
    smp4
    {
      sample=2600.wav
      volume=4
      min=2601
      max=3300
      attack=2000
      decay=1000
      natural=2600
    }
    smp5
    {
      sample=3300.wav
      volume=4
      min=3301
      max=3700
      attack=2000
      decay=1000
      natural=3300
    }
    smp6
    {
      sample=3700.wav
      volume=4
      min=3701
      max=4200
      attack=2000
      decay=1000
      natural=3700
    }
    smp7
    {
      sample=4200.wav
      volume=4
      min=4201
      max=4800
      attack=2000
      decay=1000
      natural=4200
    }
    smp8
    {
      sample=4800.wav
      volume=4
      min=4801
      max=5220
      attack=4000
      decay=4000
      natural=4800
    }
    smp9
    {
      sample=5220.wav
      volume=4
      min=5221
      max=5900
      attack=4000
      decay=4000
      natural=5220
    }
    smp10
    {
      sample=5900.wav
      volume=4
      min=5901
      max=6300
      attack=4000
      decay=4000
      natural=5900
    }
    smp11
    {
      sample=6300.wav
      volume=4
      min=6301
      max=8000
      attack=8301
      decay=9000
      natural=6300
    }

  }
  decelerate_out
  {
    smp0
    {
      sample=idle.wav
      volume=1
      min=300
      max=1000
      attack=299
      decay=1300
      natural=850
    }
    smp1
    {
      sample=1000.wav
      volume=1.5
      min=1001
      max=1500
      attack=0
      decay=0
      natural=800
    }
    smp2
    {
      sample=1500.wav
      volume=2.5
      min=1501
      max=2200
      attack=1000
      decay=800
      natural=1500
    }
    smp3
    {
      sample=2200.wav
      volume=4
      min=2201
      max=2600
      attack=2000
      decay=1000
      natural=2200
    }
    smp4
    {
      sample=2600.wav
      volume=4
      min=2601
      max=3300
      attack=2000
      decay=1000
      natural=2600
    }
    smp5
    {
      sample=3300.wav
      volume=4
      min=3301
      max=3700
      attack=2000
      decay=1000
      natural=3300
    }
    smp6
    {
      sample=3700.wav
      volume=4
      min=3701
      max=4200
      attack=2000
      decay=1000
      natural=3700
    }
    smp7
    {
      sample=4200.wav
      volume=4
      min=4201
      max=4800
      attack=2000
      decay=1000
      natural=4200
    }
    smp8
    {
      sample=4800.wav
      volume=4
      min=4801
      max=5220
      attack=4000
      decay=4000
      natural=4800
    }
    smp9
    {
      sample=5220.wav
      volume=4
      min=5221
      max=5900
      attack=4000
      decay=4000
      natural=5220
    }
    smp10
    {
      sample=5900.wav
      volume=4
      min=5901
      max=6300
      attack=4000
      decay=4000
      natural=5900
    }
    smp11
    {
      sample=6300.wav
      volume=4
      min=6301
      max=8000
      attack=9301
      decay=9000
      natural=6300
    }

  }
  accelerate_in
  {
    smp0
    {
      sample=idle.wav
      volume=1
      min=300
      max=1000
      attack=299
      decay=1300
      natural=850
    }
    smp1
    {
      sample=1000.wav
      volume=1.5
      min=1001
      max=1500
      attack=0
      decay=0
      natural=800
    }
    smp2
    {
      sample=1500.wav
      volume=2.5
      min=1501
      max=2200
      attack=1000
      decay=800
      natural=1500
    }
    smp3
    {
      sample=2200.wav
      volume=4
      min=2201
      max=2600
      attack=2000
      decay=1000
      natural=2200
    }
    smp4
    {
      sample=2600.wav
      volume=4
      min=2601
      max=3300
      attack=2000
      decay=1000
      natural=2600
    }
    smp5
    {
      sample=3300.wav
      volume=4
      min=3301
      max=3700
      attack=2000
      decay=1000
      natural=3300
    }
    smp6
    {
      sample=3700.wav
      volume=4
      min=3701
      max=4200
      attack=2000
      decay=1000
      natural=3700
    }
    smp7
    {
      sample=4200.wav
      volume=4
      min=4201
      max=4800
      attack=2000
      decay=1000
      natural=4200
    }
    smp8
    {
      sample=4800.wav
      volume=4
      min=4801
      max=5220
      attack=4000
      decay=4000
      natural=4800
    }
    smp9
    {
      sample=5220.wav
      volume=4
      min=5221
      max=5900
      attack=4000
      decay=4000
      natural=5220
    }
    smp10
    {
      sample=5900.wav
      volume=4
      min=5901
      max=6300
      attack=4000
      decay=4000
      natural=5900
    }
    smp11
    {
      sample=6300.wav
      volume=4
      min=6301
      max=7000
      attack=4000
      decay=4000
      natural=6300
    }
    smp12
    {
      sample=6800.wav
      volume=4
      min=7000
      max=7800
      attack=9000
      decay=9000
      natural=6800
    }
  }
  decelerate_in
  {
    smp0
    {
      sample=idle.wav
      volume=1
      min=300
      max=1000
      attack=299
      decay=1300
      natural=850
    }
    smp1
    {
      sample=1000.wav
      volume=1.5
      min=1001
      max=1500
      attack=0
      decay=0
      natural=800
    }
    smp2
    {
      sample=1500.wav
      volume=2.5
      min=1501
      max=2200
      attack=1000
      decay=800
      natural=1500
    }
    smp3
    {
      sample=2200.wav
      volume=4
      min=2201
      max=2600
      attack=2000
      decay=1000
      natural=2200
    }
    smp4
    {
      sample=2600.wav
      volume=4
      min=2601
      max=3300
      attack=2000
      decay=1000
      natural=2600
    }
    smp5
    {
      sample=3300.wav
      volume=4
      min=3301
      max=3700
      attack=2000
      decay=1000
      natural=3300
    }
    smp6
    {
      sample=3700.wav
      volume=4
      min=3701
      max=4200
      attack=2000
      decay=1000
      natural=3700
    }
    smp7
    {
      sample=4200.wav
      volume=4
      min=4201
      max=4800
      attack=2000
      decay=1000
      natural=4200
    }
    smp8
    {
      sample=4800.wav
      volume=4
      min=4801
      max=5220
      attack=4000
      decay=4000
      natural=4800
    }
    smp9
    {
      sample=5220.wav
      volume=4
      min=5221
      max=5900
      attack=4000
      decay=4000
      natural=5220
    }
    smp10
    {
      sample=5900.wav
      volume=4
      min=5901
      max=6300
      attack=4000
      decay=4000
      natural=5900
    }
    smp11
    {
      sample=6300.wav
      volume=4
      min=6301
      max=6800
      attack=4000
      decay=4000
      natural=6300
    }
    smp12
    {
      sample=6800.wav
      volume=4
      min=6801
      max=7800
      attack=9800
      decay=9000
      natural=6800
    }
  }
  wind
  {
    smp0
    {
      sample=wind.wav
      volume=1
      min=1
      max=2
      decay=100
      natural=30
    }	
  }
  skid
  {
    sample=skid.wav
  }

  horn
  {
    sample=horn.wav
  }



}