car
{
  	name=Chevrolet Camaro Z/28
  	year=1969
  	credits=Model & Textures: Cube396 & BigBlock; Racer Adaption: LB, Some1, Outlaw & Cosmo°
  	comments=v01.13
  	id=69_camaro_z28
  	version=090
  	wheels=4
	acc_factor=1
  	shadow
  	{
    		texture=txt/shadow.tga
    		width=1.836
    		length=4.686
    		offset_z=0
		intensity_dark=0.75
		intensity_light=0.25
  	}
  	cg
  	{
    		x=0
		; ~20in	~0.508m
		y=-0.252
		; weight distribution 55.1% front / 44.9% rear
    		z=0.336
  	}
	ff_factor=0.40
	ff_gain=1.00
	ff_damping=0.00
	ff_friction=0.00
	ff_inertia=0.20
	ff_stickfriction=0.50
}

abs
{
	enable=0
	braking_factor=1
	max_velocity_ratio=1.3
	min_velocity_ratio=1.1
	min_velocity=0
}

traction_control
{
	enable=0
	max_velocity_ratio=1.2
	min_velocity_ratio=1.1
	min_velocity=0
}

ai
{
	cg_factor=0
	grip_factor=1
	max_velocity=1000
	rc_factor=0
	spring_lat_factor=0
	spring_dir_factor=0
	oversteer_correct=10
	understeer_correct=10
}

body
{
	; 1540kg + 75kg driver - 220kg unsprung mass
	mass=1395
  	inertia
  	{
    		x=2815
    		y=3065
    		z=570
  	}
  	model
  	{
    		file=body.dof
		offset
		{
			x=0
			y=0
			z=0
		}
  	}
  	model_braking_l
  	{
    		file=blight.dof
  	}
  	model_incar
  	{
    		file=body.dof
  	}
  	model_light_l
  	{
   		file=lights.dof
  	}
  	model_light_r
  	{
   		file=blight.dof
  	}
	;length=4.686
	; using shortened collision box as substitute for shaped mesh
  	length=2.743
  	width=1.836
	; ground clearance 0.150m?
  	height=1.143
  	manual_box=1
	box_offset=0.000 0.025 0.000
}

steer
{
  	x=0.354
  	y=0.065
  	z=0.225
  	radius=10
  	xa=24.5
  	lock=1044
	linearity=0.862
  	model
  	{
    		file=s_wheel.dof
  	}
}

engine
{
	x=0
	y=0
	z=0
	size=0
  	mass=0
	idle_method=1
	idle_throttle=0.05
  	idle_rpm=950
	min_warn_rpm=6500
	max_warn_rpm=7000
  	max_rpm=10000
	rev_limiter_time=0
  	start_rpm=2000
  	stall_rpm=600
	autoclutch=0
  	autoclutch_rpm=0
	launch_control=0
  	starter=1
  	starter_torque=140
  	start_stalled=1
	enable_stall=1
  	curve_torque=crv/engine_torque.crv
  	max_torque=1.0
  	braking_coeff=0
	braking_offset=0
	braking_torque_curve=crv/engine_braking.crv
  	torque_reaction=1.0
	friction=0
	cylinders=8
	cylinder_angle=90
	rumble_amplitude=0
	rumble_maxrpm=7500
  	inertia
  	{
    		engine=0.24
  	}
	jitter
	{
		amplitude=0.5
		frequency_min=0
		frequency_var=10
		time_min=0
		time_var=500
	}
  	shifting
  	{
    		automatic=0
		blip_throttle=0
		cut_ignition=0
		cut_throttle=0
		fast=0
    		shift_up_rpm=6700
    		shift_down_rpm=3000
    		time_to_declutch=0
		time_in_neutral=0
    		time_to_clutch=500
    		time_to_declutch_down=0
		time_in_neutral_down=0
    		time_to_clutch_down=500
  	}
	speedlimiter
	{
		time=0
		velocity=0
	}
}

fuel
{
	bsfc=7.1e-5
	max=70
	type=0
}

clutch
{
  	max_torque=500
}

; M20		2.52:1	1.88:1	1.46:1	1.00:1
; M21/22	2.20:1	1.64:1	1.28:1	1.00:1
gearbox
{
  	gears=5
  	gear0
  	{
    		ratio=-2.27
    		inertia=0.10
		engine_map=1.00
  	}
  	gear1
  	{
    		ratio=2.20
    		inertia=0.10
		engine_map=1.00
		warning_sound
		{
			duration=0
			freq=0
			rpm=0
		}
  	}
  	gear2
  	{
    		ratio=1.64
    		inertia=0.08
		engine_map=1.00
		warning_sound
		{
			duration=0
			freq=0
			rpm=0
		}
  	}
  	gear3
  	{
    		ratio=1.28
    		inertia=0.06
		engine_map=1.00
		warning_sound
		{
			duration=0
			freq=0
			rpm=0
		}
  	}
  	gear4
  	{
    		ratio=1.00
    		inertia=0.04
  		engine_map=1.00
		warning_sound
		{
			duration=0
			freq=0
			rpm=0
		}
	}
}

differentials
{
	count=1
	diff0
	{
		type=3
		; standard
  		ratio=3.73
		; optional
  		;ratio=4.10
		inertia=0.1
		friction=100
		preload=50
		power_ratio=2.000
		coast_ratio=1.000
		output0=2
		output1=3
	}
}

handbrakes
{
  	wheels=23
}

aero
{
  	body
  	{
    		center=0.000 -0.254 0.2552
    		cx=0.45
    		area=1.99
 	}
	draft
	{
		scale_lat_front=0.08
		scale_lat_rear=0.4
		scale_lon_front=0.2
		scale_lon_rear=1.0
	}
 	wings=2
  	wing0
  	{
		; 1468N lift @ 185km/h (330lbs lift @ 115mph)
    		name=front_axle
    		span=1
    		cord=1
    		coeff_drag=0
    		coeff_down=-52.012
    		center=0.000 -0.252 1.4865
    		angle=0
    		angle_offset=1
  	}
  	wing1
  	{
		; 578N downforce @ 185km/h (130lbs lift @ 115mph)
    		name=rear_axle
    		span=1
    		cord=1
    		coeff_drag=0
    		coeff_down=20.479
    		center=0.000 -0.252 -1.2565
    		angle=0
    		angle_offset=1
  	}
}

antirollbar
{
  	count=1
	arb0
  	{
		; bar rate	144lb/in
		; wheel rate	109lb/in
    		susp_left=0
    		susp_right=1
    		k=19089
  	}
}

susp_front
{
  	y=0.000
  	z=1.4865
	; static ride height	0.430m
	; bump travel		0.075m
	; rebound travel	0.115m
  	restlen=0.599
  	minlen=0.355
  	maxlen=0.545
	warplen=0.430
	; sprung corner mass	405kg
	; spring rate		380lb/in
	; wheel rate		135lb/in
	; critical damping	6184N/m/s
  	k=23607
	damper_curve=crv/suspension_damper_front.crv
	bumpstop_len=0.050
	bumpstop_k=100000
	bumpstop_damping=5000
	reboundstop_len=0.010
	reboundstop_k=100000
	reboundstop_damping=5000
	anti_pitch=0.25
  	roll_center
  	{
    		x=0
		; -0.067m
    		y=-0.837
    		z=0
  	}
}

susp0~susp_front
{
  	x=0.75692
	camber_change_per_m=-0.137
	camber_change_steering=0.006
	; -0.500°
	caster_angle=-0.009
	caster_offset=-0.029
	; -8.750°
	kingpin_angle=-0.153
	kingpin_offset=0
	susp_y_change_per_rad=0
	toe_change_per_m=0.348
	model
	{
		file=
	}
}

susp1~susp_front
{
  	x=-0.75692
	camber_change_per_m=-0.137
	camber_change_steering=-0.006
	; -0.500°
	caster_angle=-0.009
	caster_offset=-0.029
	; -8.300°
	kingpin_angle=-0.153
	kingpin_offset=0
	susp_y_change_per_rad=0
	toe_change_per_m=-0.348
	model
	{
		file=
	}
}

susp_rear
{
  	y=0.000
  	z=-1.2565
	; static ride height	0.450m
	; bump travel		0.095m
	; rebound travel	0.105m, was 0.110m
  	restlen=0.559
  	minlen=0.355
  	maxlen=0.555
	warplen=0.450
	; sprung corner mass	293kg
	; spring rate		125lb/in	150lb/in
	; critical damping	5549N/m/s
  	k=26269
	damper_curve=crv/suspension_damper_rear.crv
	bumpstop_len=0.050
	bumpstop_k=100000
	bumpstop_damping=5000
	reboundstop_len=0.010
	reboundstop_k=100000
	reboundstop_damping=5000
	anti_pitch=0.30
  	roll_center
  	{
    		x=0
		; 0.326m
    		y=-0.463
    		z=0
  	}
}

susp2~susp_rear
{
  	x=0.75565
	camber_change_per_m=0
	camber_change_steering=0
	caster_angle=0
	caster_offset=0
	kingpin_angle=0
	kingpin_offset=0
	susp_y_change_per_rad=0
	toe_change_per_m=0
	model
	{
		file=
	}
}

susp3~susp_rear
{
  	x=-0.75565
	camber_change_per_m=0
	camber_change_steering=0
	caster_angle=0
	caster_offset=0
	kingpin_angle=0
	kingpin_offset=0
	susp_y_change_per_rad=0
	toe_change_per_m=0
	model
	{
		file=
	}
}

;
; E70-15
;
; Car & Driver test 1968
; 60~0mph	~150ft		97~0km/h	~46m
; 80~0mph 	 209ft		129~0km/h	~64m
;
pacejka
{
	a0=1.2
	a1=-28
	a2=1010
	a3=2250
	a4=26.4
	a5=0.015
	a6=-0.25
	a7=0.1
	a8=-0.03
	a9=-0.001
	a10=-0.15
	a111=0
	a112=-0.29
	a12=17.8
	a13=-2.4
	b0=1.5
	b1=-28
	b2=1100
	b3=15
	b4=110
	b5=0.08
	b6=0
	b7=0.05
	b8=-0.025
	b9=0.015
	b10=0.4
	b11=-50
	b12=0
	c0=2.5
	c1=-3
	c2=-3
	c3=-0.5
	c4=-1.7
	c5=0
	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
	; 4363N
	optimal_slipratio=0.22
	optimal_slipangle=0.28
	camber_min=-99
	camber_max=99
	fz_min=0
	fz_max=1e6
	lxal=1.0
	lyka=1.0
	max_slip_len=6.0
	negate_camber=0
	slipangle_min=-99
	slipangle_max=99
	slipratio_min=-99
	slipratio_max=99
}

wheel_front
{
  	y=0
  	z=0
  	steering=1
	reverse_steering=0
  	lock=53
  	ackerman=1.1
  	mass=40
  	inertia=1.3
  	radius=0.339471
	width=0.1684
	rolling_coeff=0.014
  	max_braking=3000
  	max_handbrake_torque=0
  	braking_factor=0.70
	inboard_brakes=0
	brake_dissipation=0.0005
	brake_heating=0.0004
	brake_max_temp=800
  	tire_rate=200000
	tire_damping=250
	tire_damping_lowspeed=2500
	tire_damping_threshold=5
	load_filter_frequency=0
	noise_filter_damping=0
	noise_filter_frequency=0
	surface_height_filter_damping=0
	surface_height_filter_frequency=0
	pacejka~pacejka
	{
	}
	tire_model
	{
		damping_coefficient_lat=0.7
		damping_coefficient_long=0.7
		damping_predict_lat=0
		damping_predict_long=0
		damping_speed=0
		relaxation_length_lat=0.5
		relaxation_length_long=0.05
	}
}

wheel0~wheel_front
{
	x=0
	; 0.250°
  	camber=-1.076
	; -0.190°
	toe=-3.555
  	model
  	{
		file=tire_lf2.dof
		offset
		{
			x=-0.0243
		}
  	}
}

wheel1~wheel_front
{
  	x=0
	; 0.250°
  	camber=-1.076
	; 0.190°
  	toe=3.555
  	model
  	{
		file=tire_rf2.dof
		offset
		{
			x=0.0243
		}
  	}
}

wheel_rear
{
  	y=0
  	z=0
  	steering=0
	reverse_steering=0
	lock=0
  	ackerman=1.0
  	mass=70
  	inertia=1.3
  	radius=0.339471
	width=0.1684
	rolling_coeff=0.014
  	max_braking=3000
  	max_handbrake_torque=5000
  	braking_factor=0.30
	inboard_brakes=0
	brake_dissipation=0.0005
	brake_heating=0.0004
	brake_max_temp=800
  	tire_rate=200000
	tire_damping=250
	tire_damping_lowspeed=2500
	tire_damping_threshold=5
	load_filter_frequency=0
	noise_filter_damping=0
	noise_filter_frequency=0
	surface_height_filter_damping=0
	surface_height_filter_frequency=0
  	pacejka~pacejka
  	{
		; 3556N
		optimal_slipratio=0.22
		optimal_slipangle=0.28
  	}
	tire_model
	{
		damping_coefficient_lat=0.7
		damping_coefficient_long=0.7
		damping_predict_lat=0
		damping_predict_long=0
		damping_speed=0
		relaxation_length_lat=0.5
		relaxation_length_long=0.05
	}
}

wheel2~wheel_rear
{
  	x=0
	; 0.000°
  	camber=0.000
	; 0.000°
  	toe=0.000
  	model
  	{
		file=tire_l2.dof
		offset
		{
			x=-0.009
		}
  	}
}

wheel3~wheel_rear
{
  	x=0
	; 0.000°
  	camber=0.000
	; 0.000°
  	toe=0.000
  	model
  	{
		file=tire_r2.dof
		offset
		{
			x=0.009
		}
  	}
}

graphics
{
	shadow
	{
		intensity=
	}
}

animation
{
	flash_lights=0
}

damage
{
	chassis
	{
		damage=0
		damage_engine_factor=0.5
		damage_engine_from=1
		damage_engine_to=0
		damage_engine_time=5000
		damage_factor=0
		fade=0
		speed_factor=5e-5
		force_factor=2e-8
		texture_damage
		{
			enable=1
			dent_factor=1
			dent_linearity=2
			radius_factor=15
			radius_min=1
			ray_lod=0
			uv_randomness=0.2f
		}
	}
}

flares
{
	flare0
	{
		billboard=0
		color=32 40 38
		hor_scale=1
		intensity=1.5
		normal=0.000 0.000 1.000
		pos=0.000 0.000 0.000
		rule=
		size_factor=0.60
		z_offset=1000
	}
}

lights
{
	light0
	{
		aspect=5
		color=50.00 50.00 40.00
		far=50
		fov=50
		pitch=0
		texture=txt/light.tga
		z=1.5
	}
}

particles
{ 
	backfire
	{
		; disabled
		min_rpm=6
		max_rpm=7
		type=backfire
		exhaust0
		{
			pos=0.598 -0.430 -2.075
			normal=0.000 0.050 -1.000
		}
		exhaust1
		{
			pos=-0.598 -0.430 -2.075
			normal=0.000 0.050 -1.000
		}
	}
}

wipers
{
	count=0
	;wiper0
	;{
	;	x=
	;	y=
	;	z=
	;	xa=
	;	min_angle=
	;	max_angle=
	;	model
	;	{
	;		file=
	;		scale
	;		{
	;			x=
	;			y=
	;			z=
	;		}
	;	}
	;}
}


camera0
{
  	fov=70
  	model=1
  	name=driver
	steering_wheel=1
  	wheels=0
  	angle
  	{
    		x=0
    		y=0
    		z=0
  	}
  	follow
  	{
    		pitch=1
    		roll=1
    		yaw=1
  	}
  	offset
  	{
    		x=0.354
    		y=0.35
    		z=-0.30
  	}
	offset_to
	{
    		x=0.354
		y=0
		z=20
	}
	src
	{
		mass=7
		k=3000
		damping=300
		maxdist=0.1
	}
	dst
	{
		mass=7
		k=3000
		damping=300
		maxdist=0.1
	}
}

camera1
{
  	fov=75
  	model=0
  	name=bonnet
  	wheels=0
  	angle
  	{
    		x=0
    		y=0
    		z=0
  	}
  	follow
  	{
    		pitch=1
    		roll=1
    		yaw=1
  	}
  	offset
  	{
    		x=0
    		y=0.5
    		z=0.8
  	}
	offset_to
	{
		x=0
		y=0
		z=20
	}
	src
	{
		mass=1
		k=0
		damping=0
		maxdist=0
	}
	dst
	{
		mass=1
		k=0
		damping=0
		maxdist=0
	}
}

camera2
{
  	fov=80
  	model=2
  	name=bumper
  	wheels=0
  	angle
  	{
    		x=0
    		y=0
    		z=0
  	}
  	follow
  	{
    		pitch=1
    		roll=1
    		yaw=1
  	}
  	offset
  	{
    		x=0
    		y=-0.2
    		z=2.35
  	}
	offset_to
	{
		x=0
		y=0
		z=20
	}
	src
	{
		mass=1
		k=0
		damping=0
		maxdist=0
	}
	dst
	{
		mass=1
		k=0
		damping=0
		maxdist=0
	}
}

camera3
{
  	fov=50
  	model=0
  	name=chase
  	wheels=1
  	angle
  	{
    		x=0
    		y=0
    		z=0
  	}
  	follow
  	{
    		pitch=1
    		roll=1
    		yaw=1
  	}
  	offset
  	{
    		x=0
    		y=1.3
    		z=-5.5
  	}
	offset_to
	{
		x=0
		y=0
		z=10
	}
	src
	{
		mass=6
		k=500
		damping=125
		maxdist=4
	}
	dst
	{
		mass=6
		k=500
		damping=125
		maxdist=4
	}
}

camera4
{
  	fov=35
  	model=0
  	name=reverse
  	wheels=1
  	angle
  	{
    		x=40
    		y=0
    		z=0
  	}
  	follow
  	{
    		pitch=1
    		roll=1
    		yaw=1
  	}
  	offset
  	{
    		x=0
    		y=0.3
    		z=-8
  	}
}

camera5
{
  	fov=25
  	model=0
  	name=side
  	wheels=1
  	angle
  	{
    		x=0
    		y=270
    		z=0
  	}
  	follow
  	{
    		pitch=1
    		roll=1
    		yaw=1
  	}
  	offset
  	{
    		x=-0.34
    		y=0
    		z=-10
  	}
}

camera6
{
  	fov=70
  	model=0
  	name=wheel
  	wheels=1
  	angle
  	{
    		x=0
    		y=0
    		z=0
  	}
  	follow
  	{
    		pitch=1
    		roll=1
    		yaw=1
  	}
  	offset
  	{
    		x=1.15
    		y=-0.3
    		z=0.5
  	}
	offset_to
	{
		x=0
		y=0
		z=15
	}
	src
	{
		mass=1
		k=0
		damping=0
		maxdist=0
	}
	dst
	{
		mass=1
		k=0
		damping=0
		maxdist=0
	}
}

camera7
{
  	fov=85
  	model=1
  	name=passenger
  	wheels=0
  	angle
  	{
    		x=0
    		y=0
    		z=0
  	}
  	follow
  	{
    		pitch=1
    		roll=1
    		yaw=1
  	}
  	offset
  	{
    		x=-0.35
    		y=0.35
    		z=-0.25
  	}
	offset_to
	{
		x=3.5
		y=-3
		z=15
	}
	src
	{
		mass=7
		k=3000
		damping=300
		maxdist=0.1
	}
	dst
	{
		mass=7
		k=3000
		damping=300
		maxdist=0.1
	}
}

camera8
{
  	fov=45
  	model=0
  	name=front
  	wheels=1
  	angle
  	{
    		x=20
    		y=330
    		z=0
  	}
  	follow
  	{
    		pitch=1
    		roll=1
    		yaw=1
  	}
  	offset
  	{
    		x=1
    		y=1
    		z=-7
  	}
}

camera9
{
  	fov=25
  	model=0
  	name=rear
  	wheels=1
  	angle
  	{
    		x=15
    		y=155
    		z=0
  	}
  	follow
  	{
    		pitch=1
    		roll=0
    		yaw=0
  	}
  	offset
  	{
    		x=0.25
    		y=0.25
    		z=-10
  	}
}

audio
{
	horn
	{
		sample=wav/horn.wav
	}
	shiftin
	{
		sample=wav/shift.wav
	}
	shiftout
	{
		sample=wav/shift.wav
	}
  	skid
  	{
		smp0
		{
			sample=wav/skid_1.wav
			min=0.2
			max=0.8
			attack=0.1
			decay=1.0
			volume=1.0
		}
		smp1
		{
			sample=wav/skid_2.wav
			min=0.5
			max=10
			attack=0.1
			decay=1.0
			volume=1.0
		}
  	}
  	acc_all
  	{
    		attack=1000
    		decay=1000
  	}
  	accelerate_in
  	{
    		smp0~audio.acc_all
    		{
      			sample=wav/302cid.wav
      			min=0
      			max=9000
      			natural=2750
   			volume=0.6
    		}
  	}
  	accelerate_out
  	{
    		smp0~audio.acc_all
    		{
      			sample=wav/302cid.wav
      			min=0
      			max=9000
      			natural=2750
   			volume=0.9
    		}
  	}
  	decelerate_in
  	{
    		smp0~audio.acc_all
    		{
      			sample=wav/302cid.wav
      			min=0
      			max=9000
      			natural=2750
   			volume=0.5
    		}
	}
  	decelerate_out
  	{
    		smp0~audio.acc_all
    		{
      			sample=wav/302cid.wav
      			min=0
      			max=9000
      			natural=2750
   			volume=0.8
    		}
	}
	gearwhine
	{
		smp0
		{
			sample=wav/gearwhine.wav
			min=1
			max=100
			decay=2000
			natural=650
			volume=0.1
		}
	}
	wind
  	{
    		pitch_scale=0
    		pitch_offset=50
		volume=25.0
    		smp0
    		{
			sample=wav/wind_1.wav
			min=15
			max=100
			attack=10
			decay=10
			natural=80
			volume=1.0
    		}
   	 	smp1
    		{
      			sample=wav/wind_2.wav
      			min=25
      			max=100
      			attack=20
      			decay=20
      			natural=80
			volume=1.0
    		}
    		smp2
    		{
      			sample=wav/wind_3.wav
      			min=35
      			max=100
      			attack=10
      			decay=10
      			natural=80
			volume=1.0
    		}
  	}
}